Skip to contentSkip to conversation

gtk4: update 4.18.6 -> 4.20.0

PATCH Markus Volk 1 participant 1 message Sep 4, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

This should have been marked as RFC. It is only applicable once glib has been updated to the upcoming version. gtk4 itself compiles without any problems, but gtkmm in meta-oe requires an update for glibmm, which needs at least 2.85.2. | Dependency glib-2.0 found: NO. Found 2.84.4 but need: '>= 2.85.2'

Quoted 73 lines · Markus Volk via lists.openembedded.org

Changelog: [<https://gitlab.gnome.org/GNOME/gtk/-/blob/71926a295583bc44c1c52c4d7b74f375381d68b2/NEWS>]

- add bash-completion to FILES to avoid an installed-vs-shipped issue
- make gtk4-printbackend-cups rrecommend instead of rdepend to avoid a situation where gtk4 depends
on itself:
ERROR: gtk4-4.20.0-r0 do_package_qa: QA Issue: gtk4 rdepends on
gtk4-printbackend-cups, but it isn't a build dependency? [build-deps]
ERROR: gtk4-4.20.0-r0 do_package_qa: Fatal QA errors were found,
failing task.

Signed-off-by Markus Volk <[email protected] <mailto:[email protected]>>
---
 meta/recipes-gnome/gtk+/{gtk4_4.18.6.bb => gtk4_4.20.0.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-gnome/gtk+/{gtk4_4.18.6.bb => gtk4_4.20.0.bb} 

(96%)

meta/recipes-gnome/gtk+/gtk4_4.20.0.bb renamed from meta/recipes-gnome/gtk+/gtk4_4.18.6.bb +0 -0
similarity index 96%
rename from meta/recipes-gnome/gtk+/gtk4_4.18.6.bb
rename to meta/recipes-gnome/gtk+/gtk4_4.20.0.bb
index 2d24468dcc..f99789a9e9 100644
@@ -38,7 +38,7 @@ 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 <http://ftp.gnome.org/pub/gnome/sources/gtk/$%7BMAJ_VER%7D/gtk-$%7BPV%7D.tar.xz>"
-SRC_URI[sha256sum] =
"e1817c650ddc3261f9a8345b3b22a26a5d80af154630dedc03cc7becefffd0fa"
+SRC_URI[sha256sum] =
"79e51e62f7f0cff32904569b0cebc96297d0ebfafa6de8172073c69ce0391a98"

S = "${UNPACKDIR}/gtk-${PV}"

meta/recipes-gnome/gtk+/gtk4_4.20.0.bb renamed from meta/recipes-gnome/gtk+/gtk4_4.18.6.bb +0 -0
@@ -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,gtk4-printbackend-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
meta/recipes-gnome/gtk+/gtk4_4.20.0.bb renamed from meta/recipes-gnome/gtk+/gtk4_4.18.6.bb +1 -1
@@ -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/ \
--

2.50.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#222904): <https://lists.openembedded.org/g/openembedded-core/message/222904>
Mute This Topic: <https://lists.openembedded.org/mt/115059592/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-core/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-