Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org, Michael Fischer <mf@go-sys.de>
Subject: Re: [Buildroot] [PATCH 1/1] package/sdl3: fix X11 dependencies
Date: Tue, 22 Sep 2026 21:22:04 +0200	[thread overview]
Message-ID: <96cdcf1de326540d2949a0fb0e91eef8@free.fr> (raw)
In-Reply-To: <20260908080651.35258-1-bernd@kuhls.net>

Hi Bernd,

Thanks for the patch.

On 08/09/2026 10:06, Bernd Kuhls wrote:
> Add handling for optional X11 dependencies to fix configure errors:
> 
> CMake Error at cmake/macros.cmake:433 (message):
>   Couldn't find dependency package for XCURSOR.  Please install the 
> needed
>   packages or configure with -DSDL_X11_XCURSOR=OFF
> 
> CMake Error at cmake/macros.cmake:433 (message):
>   Couldn't find dependency package for XINPUT.  Please install the 
> needed
>   packages or configure with -DSDL_X11_XINPUT=OFF
> 
> CMake Error at cmake/macros.cmake:433 (message):
>   Couldn't find dependency package for XSCRNSAVER.  Please install the 
> needed
>   packages or configure with -DSDL_X11_XSCRNSAVER=OFF
> 
> CMake Error at cmake/macros.cmake:433 (message):
>   Couldn't find dependency package for XTEST.  Please install the 
> needed
>   packages or configure with -DSDL_X11_XTEST=OFF

While trying this patch with the following commands:

cat >.config <<EOF
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_SDL3=y
BR2_PACKAGE_SDL3_X11=y
BR2_PACKAGE_XORG7=y
EOF
make olddefconfig
make sdl3

I had the following error:

CMake Error at cmake/macros.cmake:433 (message):
   Couldn't find dependency package for XFIXES.  Please install the 
needed
   packages or configure with -DSDL_X11_XFIXES=OFF

Could you have a look, please?

I did not checked if there is other instances of those dependency 
checks.

> Please note that SDL3 only checks for these dependencies when X11
> support is enabled so we do not need to add =OFF options to the else-
> clause -DSDL_X11=OFF:
> https://github.com/libsdl-org/SDL/blob/release-3.4.12/cmake/sdlchecks.cmake#L325
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-09-22 19:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08  8:06 [Buildroot] [PATCH 1/1] package/sdl3: fix X11 dependencies Bernd Kuhls
2026-09-22 19:22 ` Julien Olivain via buildroot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=96cdcf1de326540d2949a0fb0e91eef8@free.fr \
    --to=buildroot@buildroot.org \
    --cc=bernd@kuhls.net \
    --cc=ju.o@free.fr \
    --cc=mf@go-sys.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox