diff mbox series

[meta-gnome,25/26] yelp: upgrade 42.2 -> 49.2

Message ID 20261021100717.11068-25-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome,01/26] eog: upgrade 50.3 -> 50.4 | expand

Commit Message

Markus Volk Oct. 21, 2026, 10:07 a.m. UTC
yelp is ported to GTK 4 and libadwaita and builds with meson only now.
Drop the autotools build class, autotools-brokensep, gtk-doc and the
configure workaround. DEPENDS move from gtk+3, libhandy and webkitgtk3 to
gtk4, libadwaita and webkitgtk (WebKitGTK 6.0); appstream-glib is no
longer used. The lzma and bzip2 support become PACKAGECONFIG options.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../yelp/{yelp_42.2.bb => yelp_49.2.bb}       | 21 +++++++++----------
 1 file changed, 10 insertions(+), 11 deletions(-)
 rename meta-gnome/recipes-gnome/yelp/{yelp_42.2.bb => yelp_49.2.bb} (53%)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/yelp/yelp_42.2.bb b/meta-gnome/recipes-gnome/yelp/yelp_49.2.bb
similarity index 53%
rename from meta-gnome/recipes-gnome/yelp/yelp_42.2.bb
rename to meta-gnome/recipes-gnome/yelp/yelp_49.2.bb
index 4ebb5bb3b3..ce0d1dc69e 100644
--- a/meta-gnome/recipes-gnome/yelp/yelp_42.2.bb
+++ b/meta-gnome/recipes-gnome/yelp/yelp_49.2.bb
@@ -3,36 +3,35 @@  LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = " \
     file://COPYING;md5=6e1b9cb787e76d7e6946887a65caa754 \
 "
-GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase itstool autotools-brokensep gsettings gettext gtk-doc features_check mime-xdg
+inherit gnomebase itstool gsettings gettext features_check mime-xdg
 
 # for webkitgtk
 REQUIRED_DISTRO_FEATURES = "opengl"
 ANY_OF_DISTRO_FEATURES = "wayland x11"
 
-SRC_URI[archive.sha256sum] = "a2c5fd0787a9089c722cc66bd0f85cdf7088d870e7b6cc85799f8e5bff9eac4b"
+SRC_URI[archive.sha256sum] = "5afc8e77308451ee45ee919efee5a154ca3c153a90e2a1b58cebf7827ab88ad0"
 
 DEPENDS += " \
     libxml2-native \
     glib-2.0-native \
-    gtk+3 \
-    appstream-glib \
+    gtk4 \
+    libadwaita \
     libxslt \
     sqlite3 \
-    libhandy \
-    webkitgtk3 \
+    webkitgtk \
     yelp-xsl \
 "
 
-do_configure:prepend() {
-    export ITSTOOL=${STAGING_BINDIR_NATIVE}/itstool
-}
+PACKAGECONFIG ??= "lzma bzip2"
+PACKAGECONFIG[lzma] = "-Dlzma=enabled,-Dlzma=disabled,xz"
+PACKAGECONFIG[bzip2] = "-Dbzip2=enabled,-Dbzip2=disabled,bzip2"
 
 FILES:${PN} += " \
+    ${libdir}/yelp-1/web-process-extensions \
     ${datadir}/metainfo \
     ${datadir}/yelp-xsl \
 "
 
 RDEPENDS:${PN} += "yelp-xsl"
 
-CVE_STATUS[CVE-2008-3533] = "cpe-incorrect: The current version (42.2) is not affected. Fixed in 2.24."
+CVE_STATUS[CVE-2008-3533] = "cpe-incorrect: The current version (49.2) is not affected. Fixed in 2.24."