public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v2] gtk4: update 4.18.6 -> 4.20.2
@ 2025-10-21 17:08 Jörg Sommer
  2025-10-21 17:27 ` Jason Schonberg
  0 siblings, 1 reply; 2+ messages in thread
From: Jörg Sommer @ 2025-10-21 17:08 UTC (permalink / raw)
  To: openembedded-core, f_l_k, joerg.sommer; +Cc: Markus Volk, Jörg Sommer

From: Markus Volk <f_l_k@t-online.de>

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
- update download URL from ftp.gnome.org to download.gnome.org

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
---
 .../gtk+/{gtk4_4.18.6.bb => gtk4_4.20.2.bb}         | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
 rename meta/recipes-gnome/gtk+/{gtk4_4.18.6.bb => gtk4_4.20.2.bb} (89%)

Changes since v1:

  - Fixed author email

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 2d24468dcc..ee6a84d7c2 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<pver>\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 = "https://download.gnome.org/sources/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')
 }
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH v2] gtk4: update 4.18.6 -> 4.20.2
  2025-10-21 17:08 [PATCH v2] gtk4: update 4.18.6 -> 4.20.2 Jörg Sommer
@ 2025-10-21 17:27 ` Jason Schonberg
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Schonberg @ 2025-10-21 17:27 UTC (permalink / raw)
  To: joerg.sommer; +Cc: f_l_k, openembedded-core

 "https://download.gnome.org/sources" --> "${GNOME_MIRROR}"

If you are looking for the definition, it's defined in bitbake.conf

Cheers,
Jason Schonberg


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-21 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-21 17:08 [PATCH v2] gtk4: update 4.18.6 -> 4.20.2 Jörg Sommer
2025-10-21 17:27 ` Jason Schonberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox