From 88180fe0ff76a75a3fe983f20e0f3b73300d2019 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 21 Oct 2026 12:07:08 +0200 Subject: [PATCH] gthumb: upgrade 3.12.10 -> 4.0 gthumb 4 is ported to GTK 4, libadwaita and Vala. Update DEPENDS (gtk4, libadwaita, libportal, gstreamer, lcms and libpng are required now; bison, json-glib and gsettings-desktop-schemas are gone) and the PACKAGECONFIG options to the new meson options. The help moved out of the tarball, so gnome-help and itstool are dropped. GTK 4 needs opengl. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../{gthumb_3.12.10.bb => gthumb_4.0.bb} | 38 +++++++++++-------- 1 file changed, 23 insertions(+), 15 deletions(-) rename meta-gnome/recipes-gnome/gthumb/{gthumb_3.12.10.bb => gthumb_4.0.bb} (53%) diff --git a/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.10.bb b/meta-gnome/recipes-gnome/gthumb/gthumb_4.0.bb similarity index 53% rename from meta-gnome/recipes-gnome/gthumb/gthumb_3.12.10.bb rename to meta-gnome/recipes-gnome/gthumb/gthumb_4.0.bb index 58aefbff2e..f534d5f1f4 100644 --- a/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.10.bb +++ b/meta-gnome/recipes-gnome/gthumb/gthumb_4.0.bb @@ -5,26 +5,34 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" DEPENDS = " \ glib-2.0 \ glib-2.0-native \ - bison-native \ desktop-file-utils-native \ exiv2 \ - gtk+3 \ - gsettings-desktop-schemas \ - zlib \ + gstreamer1.0 \ + gstreamer1.0-plugins-base \ + gtk4 \ jpeg \ - json-glib \ + lcms \ + libadwaita \ + libpng \ + libportal \ + zlib \ " -PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'colord', '', d)} gstreamer lcms libjxl libraw librsvg libwebp" -PACKAGECONFIG[gstreamer] = "-Dgstreamer=true,-Dgstreamer=false,gstreamer1.0 gstreamer1.0-plugins-base" -PACKAGECONFIG[libwebp] = "-Dlibwebp=true,-Dlibwebp=false,libwebp" -PACKAGECONFIG[libjxl] = "-Dlibjxl=true,-Dlibjxl=false,libjxl" -PACKAGECONFIG[lcms] = "-Dlcms2=true,-Dlcms2=false,lcms" -PACKAGECONFIG[colord] = "-Dcolord=true,-Dcolord=false,colord" -PACKAGECONFIG[librsvg] = "-Dlibrsvg=true,-Dlibrsvg=false,librsvg" -PACKAGECONFIG[libraw] = "-Dlibraw=true,-Dlibraw=false,libraw" +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'colord', '', d)} libgif libjxl libraw librsvg libtiff libwebp" -inherit gnomebase gnome-help gsettings itstool gtk-icon-cache mime-xdg -SRC_URI[archive.sha256sum] = "3222344653cd6fb5d7981b73951ae3d90c414f74220a8b1c8665b25574284c75" +PACKAGECONFIG[colord] = "-Dcolord=true,-Dcolord=false,colord" +PACKAGECONFIG[libgif] = "-Dlibgif=true,-Dlibgif=false,giflib" +PACKAGECONFIG[libheif] = "-Dlibheif=true,-Dlibheif=false,libheif" +PACKAGECONFIG[libjxl] = "-Dlibjxl=true,-Dlibjxl=false,libjxl" +PACKAGECONFIG[libraw] = "-Dlibraw=true,-Dlibraw=false,libraw" +PACKAGECONFIG[librsvg] = "-Dlibrsvg=true,-Dlibrsvg=false,librsvg" +PACKAGECONFIG[libtiff] = "-Dlibtiff=true,-Dlibtiff=false,tiff" +PACKAGECONFIG[libwebp] = "-Dlibwebp=true,-Dlibwebp=false,libwebp" + +inherit gnomebase gsettings gtk-icon-cache mime-xdg vala features_check + +REQUIRED_DISTRO_FEATURES = "opengl" + +SRC_URI[archive.sha256sum] = "a24aaa72b5637f49097dedc9c141a33615da770d029315f3285ebf2156cf7b61" FILES:${PN} += "${datadir}/metainfo"