]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
harfbuzz: upgrade 12.3.2 -> 13.2.1
authorWang Mingyu <wangmy@fujitsu.com>
Wed, 25 Mar 2026 10:43:59 +0000 (18:43 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Apr 2026 20:05:12 +0000 (21:05 +0100)
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 <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/harfbuzz/harfbuzz_13.2.1.bb [moved from meta/recipes-graphics/harfbuzz/harfbuzz_12.3.2.bb with 76% similarity]

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 12bebc4bee4281300ab4ce5b2191aeb7c8df2f2a..4a3d9df24140b89cd630e880f308a7b53bbfdd72 100644 (file)
@@ -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"