]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
libpsl: use libidn2 instead of ICU
authorRoss Burton <ross.burton@arm.com>
Wed, 15 Jul 2026 14:04:58 +0000 (15:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jul 2026 19:51:32 +0000 (20:51 +0100)
The default IDNA library was changed from libidn2 to ICU in 2021[1] with
no rationale, and upstream has had libidn2 as the default since 2017.

Switch back to libidn2 to respect upstream's opinion, and because ICU is
a monolithic dependency: this switch causes a minimal image containg
libpsl to shrink by ~30MB.

[1] oe-core 20fc11919e2 ("libpsl: Add config knobs for runtime/builtin conversion choices")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libpsl/libpsl_0.22.0.bb

index 741038ddc52b1f0af4cef7cc943ecaf49be9ff18..1e5e9c74b4c98c200fc7b7bb174cc9287fb5b0c1 100644 (file)
@@ -19,7 +19,7 @@ GITHUB_BASE_URI = "https://github.com/rockdaboot/libpsl/releases"
 
 inherit autotools gettext gtk-doc manpages pkgconfig lib_package github-releases
 
-PACKAGECONFIG ?= "icu"
+PACKAGECONFIG ?= "idn2"
 PACKAGECONFIG[manpages] = "--enable-man,--disable-man,libxslt-native"
 PACKAGECONFIG[icu] = "--enable-runtime=libicu --enable-builtin=libicu,,icu"
 PACKAGECONFIG[idn2] = "--enable-runtime=libidn2 --enable-builtin=libidn2,,libidn2 libunistring"