package/graphene: needs a toolchain with threads

Building without threads support fails:
/home/autobuild/autobuild/instance-9/output-1/host/aarch64-buildroot-linux-uclibc/sysroot/usr/include/features.h:220:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp]

Added dependency to threads as suggested by upstream:
https://github.com/ebassi/graphene/pull/268#issuecomment-2283737538

Fixes:
http://autobuild.buildroot.org/results/9b3/9b357b1ef2eccd3110d0ecaaff1ae4883dff9280

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Bernd:
 - added comment to libgtk4
 - added upstream response to our bug report]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Francois Perrad
2026-05-27 22:39:40 +02:00
committed by Arnout Vandecappelle
parent 8b79a9fec5
commit 07f872bfe2
2 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
config BR2_PACKAGE_GRAPHENE
bool "graphene"
depends on BR2_TOOLCHAIN_HAS_THREADS
help
A thin layer of types for graphic libraries.
https://ebassi.github.io/graphene/
comment "graphene needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -15,7 +15,7 @@ config BR2_PACKAGE_LIBGTK4
bool "libgtk4"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # librsvg
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, graphene
depends on BR2_USE_MMU # glib2
depends on BR2_INSTALL_LIBSTDCPP # pango
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz