From: Wang Mingyu Date: Wed, 25 Mar 2026 10:43:59 +0000 (+0800) Subject: harfbuzz: upgrade 12.3.2 -> 13.2.1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8fb3e09e2f24bbd88cf13c5522ba425ccdb9c1;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git harfbuzz: upgrade 12.3.2 -> 13.2.1 This commit upgrades HarfBuzz to version 13.2.1, addressing the need for a newer release with extended capabilities. Key changes and improvements in this upgrade include: * New hb-raster and hb-vector libraries:** HarfBuzz 13.x introduces 'hb-raster' for glyph rasterization and 'hb-vector' for vector output. * Optional libpng and zlib dependencies:** The new 'hb-raster' and 'hb-vector' libraries may optionally depend on 'libpng' and 'zlib' for specific functionalities * PACKAGECONFIG for libpng and zlib * Separate Packaging for hb-raster and hb-vector Signed-off-by: Wang Mingyu Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_12.3.2.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_13.2.1.bb similarity index 76% rename from meta/recipes-graphics/harfbuzz/harfbuzz_12.3.2.bb rename to meta/recipes-graphics/harfbuzz/harfbuzz_13.2.1.bb index 12bebc4bee..4a3d9df241 100644 --- a/meta/recipes-graphics/harfbuzz/harfbuzz_12.3.2.bb +++ b/meta/recipes-graphics/harfbuzz/harfbuzz_13.2.1.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b98429b8e8e3c2a67cfef01e99e4893d \ " SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "6f6db164359a2da5a84ef826615b448b33e6306067ad829d85d5b0bf936f1bb8" +SRC_URI[sha256sum] = "6695da3eb7e1be0aa3092fe4d81433a33b47f4519259c759d729e3a9a55c1429" DEPENDS += "glib-2.0-native" @@ -29,11 +29,13 @@ PACKAGECONFIG ??= "cairo freetype glib icu" PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" PACKAGECONFIG[chafa] = "-Dchafa=enabled,-Dchafa=disabled,chafa" PACKAGECONFIG[freetype] = "-Dfreetype=enabled,-Dfreetype=disabled,freetype" +PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" +PACKAGECONFIG[zlib] = "-Dzlib=enabled,-Dzlib=disabled,zlib" PACKAGECONFIG[glib] = "-Dglib=enabled,-Dglib=disabled,glib-2.0" PACKAGECONFIG[graphite] = "-Dgraphite2=enabled,-Dgraphite2=disabled,graphite2" PACKAGECONFIG[icu] = "-Dicu=enabled,-Dicu=disabled,icu" -PACKAGES =+ "${PN}-icu ${PN}-icu-dev ${PN}-subset" +PACKAGES =+ "${PN}-icu ${PN}-icu-dev ${PN}-subset ${PN}-raster ${PN}-vector" LEAD_SONAME = "libharfbuzz.so" @@ -48,5 +50,9 @@ FILES:${PN}-icu-dev = "${libdir}/libharfbuzz-icu.so \ ${libdir}/pkgconfig/harfbuzz-icu.pc \ " FILES:${PN}-subset = "${libdir}/libharfbuzz-subset.so.*" +FILES:${PN}-raster = "${libdir}/libharfbuzz-raster.so.*" +FILES:${PN}-raster-dev = "${libdir}/libharfbuzz-raster.so ${libdir}/pkgconfig/harfbuzz-raster.pc" +FILES:${PN}-vector = "${libdir}/libharfbuzz-vector.so.*" +FILES:${PN}-vector-dev = "${libdir}/libharfbuzz-vector.so ${libdir}/pkgconfig/harfbuzz-vector.pc" BBCLASSEXTEND = "native nativesdk"