buildroot/package/fcft/Config.in
Adam Duskett f6cf183031 package/fcft: disable uClibc support
fcft needs ISO C threads, aka C11 threads, which are different from
POSIX threads, and are available in both glibc and musl, but not in
uClibc-ng.

Add a dependency on glibc or musl, and since both imply threads, drop
the dependency on threads.

Propagate the new dependency to the foot package, and adapt the comments
accordingly.

Fixes:
http://autobuild.buildroot.net/results/1b2dda32a90d7db8117eede09f46d44cffe60993
http://autobuild.buildroot.net/results/5f03bb5c0c107a2b908be974421ae0a032d4dd89
http://autobuild.buildroot.net/results/31a1f022414a8a1888cac4a5cd1761257d0f2196
http://autobuild.buildroot.net/results/4522781e0448b325b54e93bbfb20f8295ea7061d

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
[yann.morin.1998@free.fr;
  - drop the dependencies on threads, implied by glibc or musl
  - fix dependencies on comments
  - reword the commit log to refer to ICO C threads
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-01-04 22:27:57 +01:00

53 lines
1.6 KiB
Plaintext

config BR2_PACKAGE_FCFT
bool "fcft"
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # C11 threads
select BR2_PACKAGE_FONTCONFIG
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_PIXMAN
select BR2_PACKAGE_TLLIST
help
A simple library for font loading and glyph rasterization
using FontConfig, FreeType and pixman.
https://codeberg.org/dnkl/fcft
if BR2_PACKAGE_FCFT
config BR2_PACKAGE_FCFT_GRAPHEME_SHAPING
bool "grapheme-shaping"
depends on BR2_INSTALL_LIBSTDCPP # harfbuzz
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz
select BR2_PACKAGE_HARFBUZZ
help
Enables shaping of individual grapheme clusters
comment "grapheme-shaping needs a toolchain w/ C++, gcc >= 4.9"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_FCFT_RUN_SHAPING
bool "run-shaping"
depends on BR2_INSTALL_LIBSTDCPP # harfbuzz
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz
select BR2_PACKAGE_HARFBUZZ
select BR2_PACKAGE_UTF8PROC
help
Enables shaping of whole text runs.
comment "run-shaping needs a toolchain w/ C++, gcc >= 4.9"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_FCFT_SVG_SUPPORT
bool "svg support"
help
Enables svg support. This option increases the size of the
library by approximately 55KB.
endif # BR2_PACKAGE_FCFT
comment "fcft needs a glibc or musl toolchain"
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)