From: Markus Volk Date: Tue, 21 Oct 2025 18:21:52 +0000 (+0200) Subject: gtk4: update 4.18.6 -> 4.20.2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d748115fbcaed85c040562c6704814900bf35e6e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gtk4: update 4.18.6 -> 4.20.2 Changelog: [https://gitlab.gnome.org/GNOME/gtk/-/blob/4.20.2/NEWS] - add bash-completion to FILES to avoid an installed-vs-shipped issue - remove gtk4-printbackend-cups package - use $GNOME_MIRROR in download URL Signed-off-by: Markus Volk Signed-off-by: Jörg Sommer Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-gnome/gtk+/gtk4_4.18.6.bb b/meta/recipes-gnome/gtk+/gtk4_4.20.2.bb similarity index 89% rename from meta/recipes-gnome/gtk+/gtk4_4.18.6.bb rename to meta/recipes-gnome/gtk+/gtk4_4.20.2.bb index 2d24468dcc2..9fcb55b52ab 100644 --- a/meta/recipes-gnome/gtk+/gtk4_4.18.6.bb +++ b/meta/recipes-gnome/gtk+/gtk4_4.20.2.bb @@ -37,8 +37,8 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" UPSTREAM_CHECK_REGEX = "gtk-(?P\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz" -SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz" -SRC_URI[sha256sum] = "e1817c650ddc3261f9a8345b3b22a26a5d80af154630dedc03cc7becefffd0fa" +SRC_URI = "${GNOME_MIRROR}/gtk/${MAJ_VER}/gtk-${PV}.tar.xz" +SRC_URI[sha256sum] = "5e8240edecafaff2b8baf4663bdceaa668ef10a207bee4d7f90e010e10bddc5c" S = "${UNPACKDIR}/gtk-${PV}" @@ -69,7 +69,7 @@ PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d) PACKAGECONFIG[x11] = "-Dx11-backend=true,-Dx11-backend=false,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes xinerama" PACKAGECONFIG[wayland] = "-Dwayland-backend=true,-Dwayland-backend=false,wayland wayland-protocols virtual/egl virtual/libgles2 wayland-native" PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=enabled,-Dcloudproviders=disabled,libcloudproviders" -PACKAGECONFIG[cups] = "-Dprint-cups=enabled,-Dprint-cups=disabled,cups,cups gtk4-printbackend-cups" +PACKAGECONFIG[cups] = "-Dprint-cups=enabled,-Dprint-cups=disabled,cups,cups" PACKAGECONFIG[colord] = "-Dcolord=enabled,-Dcolord=disabled,colord" PACKAGECONFIG[iso-codes] = ",,iso-codes,iso-codes" # gtk4 wants gstreamer-player-1.0 -> gstreamer1.0-plugins-bad @@ -84,6 +84,7 @@ CFLAGS += "-Wno-error=int-conversion" LIBV = "4.0.0" FILES:${PN}:append = " \ + ${datadir}/bash-completion \ ${datadir}/glib-2.0/schemas/ \ ${datadir}/gtk-4.0/emoji/ \ ${datadir}/metainfo/ \ @@ -121,15 +122,9 @@ RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}" RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}" RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}" -PACKAGES_DYNAMIC += "^gtk4-printbackend-.*" python populate_packages:prepend () { import os.path - gtk_libdir = d.expand('${libdir}/gtk-4.0/${LIBV}') - printmodules_root = os.path.join(gtk_libdir, 'printbackends'); - - do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$', 'gtk4-printbackend-%s', 'GTK printbackend module for %s') - if (d.getVar('DEBIAN_NAMES')): d.setVar(d.expand('PKG:${PN}'), '${MLPREFIX}libgtk-4.0') }