From: Ross Burton Date: Wed, 15 Jul 2026 14:04:58 +0000 (+0100) Subject: libpsl: use libidn2 instead of ICU X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35014b128ce2c5dc96e75a1da02e3828f3632b82;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git libpsl: use libidn2 instead of ICU 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/libpsl/libpsl_0.22.0.bb b/meta/recipes-support/libpsl/libpsl_0.22.0.bb index 741038ddc5..1e5e9c74b4 100644 --- a/meta/recipes-support/libpsl/libpsl_0.22.0.bb +++ b/meta/recipes-support/libpsl/libpsl_0.22.0.bb @@ -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"