Skip to contentSkip to conversation

Upgrade gtk+3 3.24.34 -> 3.24.51

kirkstone In review Jörg Sommer 3 participants 25 messages Nov 3, 2025 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

The current version 3.24.34 fails to build gtk+3-native with Debian 13:

../../gtk+-3.24.34/gtk/gtklabel.c: In function ‘gtk_label_style_updated’:
../../gtk+-3.24.34/gtk/gtklabel.c:4235:32: error: passing argument 1 of ‘gtk_widget_queue_resize’ from incompatible pointer type [-Wincompatible-pointer-types]

 4235 |       gtk_widget_queue_resize (label);
      |                                ^~~~~
      |                                |
      |                                GtkLabel * {aka struct _GtkLabel *}
In file included from ../../gtk+-3.24.34/gtk/deprecated/gtkmisc.h:33,
                 from ../../gtk+-3.24.34/gtk/gtklabel.h:32,
                 from ../../gtk+-3.24.34/gtk/gtklabel.c:30:
../../gtk+-3.24.34/gtk/gtkwidget.h:663:65: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkLabel *’ {aka ‘struct _GtkLabel *’}
  663 | void       gtk_widget_queue_resize        (GtkWidget           *widget);
      |                                            ~~~~~~~~~~~~~~~~~~~~~^~~~~~

This was fixed somewhere between 3.24.34 and 3.24.51. Therefore, upgrade the recipe with the commits from master.

 ...Do-not-try-to-initialize-GL-without-libGL.patch |  57 --
 .../0003-Add-disable-opengl-configure-option.patch | 872 ---------------------
 meta/recipes-gnome/gtk+/gtk+3/CVE-2024-6655.patch  |  39 -
 meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch   |  19 -
 meta/recipes-gnome/gtk+/gtk+3/opengl.patch         | 747 ++++++++++++++++++
 meta/recipes-gnome/gtk+/gtk+3_3.24.34.bb           |  18 -
 .../gtk+/{gtk+3.inc => gtk+3_3.24.51.bb}           |  66 +-
 7 files changed, 782 insertions(+), 1036 deletions(-)
#1 lore raw

PATCH 1/19 gtk+3: upgrade 3.24.34 -> 3.24.35

From: Ross Burton <[email protected]>

The gtktypefuncs.c removal is obsolete as that file isn't in the tarball anymore, so remove it.

However the wayland-scanner files are still in the tarball despite efforts to stop this, so generalise the removal to ensure it covers all files which may be affected. Further investigation will be needed to see if this is still an issue.

Rebase 0003-Add-disable-opengl-configure-option.patch.

(From OE-Core rev: cf5c5b4b83642ea44b21d29e7c59342666fbda6d)

Cherry-pick-of: 6aa9011ab446b83496b4e682869bd000e69d45e4

---
 meta/recipes-gnome/gtk+/gtk+3.inc             |  7 +-
 ...-Add-disable-opengl-configure-option.patch | 86 ++++++++++---------
 .../{gtk+3_3.24.34.bb => gtk+3_3.24.35.bb}    |  2 +-
 3 files changed, 46 insertions(+), 49 deletions(-)
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.34.bb => gtk+3_3.24.35.bb} (89%)
meta/recipes-gnome/gtk+/gtk+3.inc +1 -6
index 7d50d7bd2e..5b7b73ac8d 100644
@@ -27,15 +27,10 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 export PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native"
 
 do_configure:prepend() {
-    #delete a file that will get confused with generated one in ${B}
-    rm -f ${S}/gtk/gtktypefuncs.c
-
     # These files are generated by wayland-scanner but will race over modification
     # time between the copies in the sysroot from wayland-protocols and the copy
     # in the source tree. Solve the race by deleting so they need to be regenerated.
-    # 3.24.22 will not be shipping these files so this can be deleted then:
-    # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2183
-    rm -f ${S}/modules/input/text-input-unstable-v3*.[ch]
+    rm -f ${S}/modules/input/*-text-input-*.[ch]
 }
 
 EXTRA_OECONF += " \
meta/recipes-gnome/gtk+/gtk+3/0003-Add-disable-opengl-configure-option.patch +44 -42

288 lines not on this page · raw message

meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb renamed from meta/recipes-gnome/gtk+/gtk+3_3.24.34.bb +1 -1
similarity index 89%
rename from meta/recipes-gnome/gtk+/gtk+3_3.24.34.bb
rename to meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb
index 3e974c91e5..0b27e5c178 100644
@@ -8,7 +8,7 @@ SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar
            file://link_fribidi.patch \
            file://CVE-2024-6655.patch \
            "
-SRC_URI[sha256sum] = "dbc69f90ddc821b8d1441f00374dc1da4323a2eafa9078e61edbe5eeefa852ec"
+SRC_URI[sha256sum] = "ec10fe6d712ef0b3c63b5f932639c9d1ae99fce94f500f6f06965629fef60bd1"
 
 S = "${WORKDIR}/gtk+-${PV}"
 
Signature · 1 line
2.51.0
#2 lore raw

PATCH 2/19 gtk+3: port to Meson

From: Ross Burton <[email protected]>

GTK+ 3.24.36 will drop the autotools build, so get ahead of the curve and switch to Meson.

The tarball is missing one meson.build file so add that explictly for now.

(From OE-Core rev: f9b0930eab6cf89bbf80c565676c89997b610206)

Cherry-pick-of: 9eb2b0bb7ab4b047acc11c3ce0034aa4def49432

---
 meta/recipes-gnome/gtk+/gtk+3.inc             |  34 +-
 ...t-try-to-initialize-GL-without-libGL.patch |  57 --
 ...-Add-disable-opengl-configure-option.patch | 874 ------------------
 .../recipes-gnome/gtk+/gtk+3/buildpaths.patch |  57 ++
 .../gtk+/gtk+3/link_fribidi.patch             |  19 -
 meta/recipes-gnome/gtk+/gtk+3/meson.build     |  14 +
 meta/recipes-gnome/gtk+/gtk+3/opengl.patch    | 765 +++++++++++++++
 meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb      |   6 +-
 8 files changed, 851 insertions(+), 975 deletions(-)
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3/0002-Do-not-try-to-initialize-GL-without-libGL.patch
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3/0003-Add-disable-opengl-configure-option.patch
 create mode 100644 meta/recipes-gnome/gtk+/gtk+3/buildpaths.patch
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch
 create mode 100644 meta/recipes-gnome/gtk+/gtk+3/meson.build
 create mode 100644 meta/recipes-gnome/gtk+/gtk+3/opengl.patch
meta/recipes-gnome/gtk+/gtk+3.inc +12 -22
index 5b7b73ac8d..1d726b5696 100644
@@ -6,12 +6,11 @@ HOMEPAGE = "http://www.gtk.org"
 BUGTRACKER = "https://bugzilla.gnome.org/"
 SECTION = "libs"
 
-DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf \
-           gdk-pixbuf-native"
+DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf gdk-pixbuf-native"
 
 LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
 
-inherit autotools gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings features_check gobject-introspection
+inherit meson gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings features_check gobject-introspection
 
 BBCLASSEXTEND = "native nativesdk"
 
@@ -22,10 +21,6 @@ UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>3\.([1-8]?[02468])+(\.\d+)+)\.tar"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-# This should be in autotools.bbclass, but until something elses uses it putting
-# it here avoids rebuilding everything.
-export PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native"
-
 do_configure:prepend() {
     # These files are generated by wayland-scanner but will race over modification
     # time between the copies in the sysroot from wayland-protocols and the copy
@@ -33,27 +28,21 @@ do_configure:prepend() {
     rm -f ${S}/modules/input/*-text-input-*.[ch]
 }
 
-EXTRA_OECONF += " \
-                 --disable-glibtest \
-                 --disable-xinerama \
-                 --enable-modules \
-                 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "--disable-gtk-doc", d)} \
-                 "
+GTKDOC_MESON_OPTION = 'gtk_doc'
 
-do_compile:prepend() {
-        export GIR_EXTRA_LIBS_PATH="${B}/gdk/.libs"
-}
+EXTRA_OEMESON = "-Dxinerama=no -Dtests=false"
+EXTRA_OEMESON:append:class-native = " -Ddemos=false -Dexamples=false"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland x11', d)}"
 PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
 PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
 
-PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes"
+PACKAGECONFIG[x11] = "-Dx11_backend=true,-Dx11_backend=false,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes"
 # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build
-PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,libepoxy"
-PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native"
-PACKAGECONFIG[cups] = "--enable-cups,--disable-cups,cups"
-PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord"
+PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy"
+PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native"
+PACKAGECONFIG[cups] = "-Dprint_backends=cups,-Dprint_backends=file,cups"
+PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
 
 prepare_gtk_scripts() {
     mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
@@ -96,7 +85,8 @@ FILES:${PN}-demo = "${bindir}/gtk3-demo \
 FILES:${PN}:append = " ${bindir}/gtk-update-icon-cache-3.0 \
                ${bindir}/gtk-query-immodules-3.0 \
                ${bindir}/gtk-launch \
-               ${datadir}/themes ${sysconfdir} ${datadir}/glib-2.0/schemas/ \
+               ${datadir}/themes ${datadir}/gtk-3.0/emoji \
+               ${sysconfdir} ${datadir}/glib-2.0/schemas/ \
                ${libdir}/gtk-3.0/${LIBV}/engines/libpixmap.so \
                ${libdir}/gtk-3.0/modules/*.so"
 
meta/recipes-gnome/gtk+/gtk+3/0002-Do-not-try-to-initialize-GL-without-libGL.patch deleted +0 -57

57 lines not on this page · raw message

meta/recipes-gnome/gtk+/gtk+3/0003-Add-disable-opengl-configure-option.patch deleted +0 -874

874 lines not on this page · raw message

meta/recipes-gnome/gtk+/gtk+3/buildpaths.patch new file +57 -0

57 lines not on this page · raw message

meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch deleted +0 -19
deleted file mode 100644
index e4bbd799f1..0000000000
@@ -1,19 +0,0 @@
-Link with libfribidi, this is to avoid under linking where these functions are
-used but the library is not linked in, and they are marked undefined by BFD linker
-but gold linker refuses to link
-
-| ./.libs/libgdk-3.so: error: undefined reference to 'fribidi_get_bidi_type'
-
-Signed-off-by: Khem Raj <[email protected]>
-Upstream-Status: Pending
-
---- a/gdk/Makefile.am
-+++ b/gdk/Makefile.am
-@@ -55,6 +55,7 @@ LDADD = 					\
- 	-version-info $(LT_VERSION_INFO)	\
- 	-export-dynamic 			\
- 	-rpath $(libdir) 			\
-+	-lfribidi	 			\
- 	$(no_undefined)
- 
- #
meta/recipes-gnome/gtk+/gtk+3/meson.build new file +14 -0
new file mode 100644
index 0000000000..94cf47a37f
@@ -0,0 +1,14 @@
+# This file is missing from the 3.24.35 tarball
+
+wayland_cursor_sources = files([
+  'wayland-cursor.c',
+  'xcursor.c',
+  'os-compatibility.c'
+])
+
+libwayland_cursor = static_library('wayland+cursor',
+  sources: wayland_cursor_sources,
+  include_directories: [ confinc, ],
+  dependencies: [ glib_dep, wlclientdep, ],
+  c_args: common_cflags,
+)
meta/recipes-gnome/gtk+/gtk+3/opengl.patch new file +765 -0

765 lines not on this page · raw message

meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb +3 -3
index 0b27e5c178..dae0d029df 100644
@@ -3,9 +3,9 @@ require gtk+3.inc
 MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 
 SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \
-           file://0002-Do-not-try-to-initialize-GL-without-libGL.patch \
-           file://0003-Add-disable-opengl-configure-option.patch \
-           file://link_fribidi.patch \
+           file://meson.build;subdir=${S}/gdk/wayland/cursor \
+           file://buildpaths.patch \
+           file://opengl.patch \
            file://CVE-2024-6655.patch \
            "
 SRC_URI[sha256sum] = "ec10fe6d712ef0b3c63b5f932639c9d1ae99fce94f500f6f06965629fef60bd1"
Signature · 1 line
2.51.0
#3 lore raw

PATCH 3/19 gtk+3: fix reproducible builds

In reply to Jörg Sommer

From: Ross Burton <[email protected]>

We can't drop the missing meson.build file into the build tree via SRC_URI as then the timestamp of that file becomes the timestamp of the build, which results in repeated builds having different timestamps.

Instead patch the file into the build, which doesn't change the SDE every build.

(From OE-Core rev: b525fab08cb4f6d7b9a71bf82378a8396a20aba8)

Cherry-pick-of: 1628054eca82f3441cc119a8f741d00360171e77

---
 .../gtk+/gtk+3/add-missing-meson.build.patch  | 38 +++++++++++++++++++
 meta/recipes-gnome/gtk+/gtk+3/meson.build     | 14 -------
 meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb      |  2 +-
 3 files changed, 39 insertions(+), 15 deletions(-)
 create mode 100644 meta/recipes-gnome/gtk+/gtk+3/add-missing-meson.build.patch
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3/meson.build
meta/recipes-gnome/gtk+/gtk+3/add-missing-meson.build.patch new file +38 -0
new file mode 100644
index 0000000000..ef971ccff4
@@ -0,0 +1,38 @@
+From 8a00d0269d547799b598adda364ad6c6ee328e6b Mon Sep 17 00:00:00 2001
+From: Ross Burton <[email protected]>
+Date: Tue, 20 Dec 2022 12:09:07 +0000
+Subject: [PATCH] Add missing meson.build
+
+This file was missing from the tarball, but will be in the .36 release.
+
+Upstream-Status: Inappropriate
+Signed-off-by: Ross Burton <[email protected]>
+
+---
+ gdk/wayland/cursor/meson.build | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+ create mode 100644 gdk/wayland/cursor/meson.build
+
+diff --git a/gdk/wayland/cursor/meson.build b/gdk/wayland/cursor/meson.build
+new file mode 100644
+index 0000000..94cf47a
+--- /dev/null
++++ b/gdk/wayland/cursor/meson.build
+@@ -0,0 +1,14 @@
++# This file is missing from the 3.24.35 tarball
++
++wayland_cursor_sources = files([
++  'wayland-cursor.c',
++  'xcursor.c',
++  'os-compatibility.c'
++])
++
++libwayland_cursor = static_library('wayland+cursor',
++  sources: wayland_cursor_sources,
++  include_directories: [ confinc, ],
++  dependencies: [ glib_dep, wlclientdep, ],
++  c_args: common_cflags,
++)
+-- 
+2.34.1
+
meta/recipes-gnome/gtk+/gtk+3/meson.build deleted +0 -14
deleted file mode 100644
index 94cf47a37f..0000000000
@@ -1,14 +0,0 @@
-# This file is missing from the 3.24.35 tarball
-
-wayland_cursor_sources = files([
-  'wayland-cursor.c',
-  'xcursor.c',
-  'os-compatibility.c'
-])
-
-libwayland_cursor = static_library('wayland+cursor',
-  sources: wayland_cursor_sources,
-  include_directories: [ confinc, ],
-  dependencies: [ glib_dep, wlclientdep, ],
-  c_args: common_cflags,
-)
meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb +1 -1
index dae0d029df..52e3a59ad6 100644
@@ -3,7 +3,7 @@ require gtk+3.inc
 MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 
 SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \
-           file://meson.build;subdir=${S}/gdk/wayland/cursor \
+           file://add-missing-meson.build.patch \
            file://buildpaths.patch \
            file://opengl.patch \
            file://CVE-2024-6655.patch \
Signature · 1 line
2.51.0
#4 lore raw

PATCH 4/19 gtk+3: update 3.24.35 -> 3.24.36

In reply to Jörg Sommer

From: Alexander Kanavin <[email protected]>

Drop autotools-specific chunks in opengl.patch.

Drop add-missing-meson.build.patch (.35 tarball issue) Drop buildpaths.patch (backport)

(From OE-Core rev: cd3cc911ea565a740b377fcc53cab1b754971d8b)

Cherry-pick-of: 82ed25ab1af6272d0dab419964c69d56ee7f2d00

---
 ...d-introspection-according-to-option-.patch | 34 +++++++++++
 .../gtk+/gtk+3/add-missing-meson.build.patch  | 38 -------------
 .../recipes-gnome/gtk+/gtk+3/buildpaths.patch | 57 -------------------
 meta/recipes-gnome/gtk+/gtk+3/opengl.patch    | 48 ++++------------
 .../{gtk+3_3.24.35.bb => gtk+3_3.24.36.bb}    |  5 +-
 5 files changed, 46 insertions(+), 136 deletions(-)
 create mode 100644 meta/recipes-gnome/gtk+/gtk+3/0001-meson.build-build-introspection-according-to-option-.patch
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3/add-missing-meson.build.patch
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3/buildpaths.patch
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.35.bb => gtk+3_3.24.36.bb} (77%)
meta/recipes-gnome/gtk+/gtk+3/0001-meson.build-build-introspection-according-to-option-.patch new file +34 -0
new file mode 100644
index 0000000000..11effd421f
@@ -0,0 +1,34 @@
+From 6e533d5598ef875f30b84d931aae11b768465869 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <[email protected]>
+Date: Mon, 2 Jan 2023 15:00:02 +0100
+Subject: [PATCH] meson.build: build introspection according to option only
+
+The way the check is written, if the build is native, then the
+introspection option has no effect.
+
+Particularly yocto project does want to disable introspection in
+native builds and enable it in cross builds (both via the option),
+and without this patch the former is not possible.
+
+Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5382]
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index bfc33af0f6..94ffaa7769 100644
+--- a/meson.build
++++ b/meson.build
+@@ -854,7 +854,7 @@ endif
+ 
+ # Introspection
+ gir = find_program('g-ir-scanner', required : get_option('introspection'))
+-build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection'))
++build_gir = gir.found() and get_option('introspection')
+ 
+ subdir('gdk')
+ subdir('gtk')
+-- 
+2.30.2
+
meta/recipes-gnome/gtk+/gtk+3/add-missing-meson.build.patch deleted +0 -38
deleted file mode 100644
index ef971ccff4..0000000000
@@ -1,38 +0,0 @@
-From 8a00d0269d547799b598adda364ad6c6ee328e6b Mon Sep 17 00:00:00 2001
-From: Ross Burton <[email protected]>
-Date: Tue, 20 Dec 2022 12:09:07 +0000
-Subject: [PATCH] Add missing meson.build
-
-This file was missing from the tarball, but will be in the .36 release.
-
-Upstream-Status: Inappropriate
-Signed-off-by: Ross Burton <[email protected]>
-
----
- gdk/wayland/cursor/meson.build | 14 ++++++++++++++
- 1 file changed, 14 insertions(+)
- create mode 100644 gdk/wayland/cursor/meson.build
-
-diff --git a/gdk/wayland/cursor/meson.build b/gdk/wayland/cursor/meson.build
-new file mode 100644
-index 0000000..94cf47a
---- /dev/null
-+++ b/gdk/wayland/cursor/meson.build
-@@ -0,0 +1,14 @@
-+# This file is missing from the 3.24.35 tarball
-+
-+wayland_cursor_sources = files([
-+  'wayland-cursor.c',
-+  'xcursor.c',
-+  'os-compatibility.c'
-+])
-+
-+libwayland_cursor = static_library('wayland+cursor',
-+  sources: wayland_cursor_sources,
-+  include_directories: [ confinc, ],
-+  dependencies: [ glib_dep, wlclientdep, ],
-+  c_args: common_cflags,
-+)
--- 
-2.34.1
-
meta/recipes-gnome/gtk+/gtk+3/buildpaths.patch deleted +0 -57

57 lines not on this page · raw message

meta/recipes-gnome/gtk+/gtk+3/opengl.patch +10 -38

113 lines not on this page · raw message

meta/recipes-gnome/gtk+/gtk+3_3.24.36.bb renamed from meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb +2 -3
similarity index 77%
rename from meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb
rename to meta/recipes-gnome/gtk+/gtk+3_3.24.36.bb
index 52e3a59ad6..3df4e6164c 100644
@@ -3,12 +3,11 @@ require gtk+3.inc
 MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 
 SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \
-           file://add-missing-meson.build.patch \
-           file://buildpaths.patch \
            file://opengl.patch \
+           file://0001-meson.build-build-introspection-according-to-option-.patch \
            file://CVE-2024-6655.patch \
            "
-SRC_URI[sha256sum] = "ec10fe6d712ef0b3c63b5f932639c9d1ae99fce94f500f6f06965629fef60bd1"
+SRC_URI[sha256sum] = "27a6ef157743350c807ffea59baa1d70226dbede82a5e953ffd58ea6059fe691"
 
 S = "${WORKDIR}/gtk+-${PV}"
 
Signature · 1 line
2.51.0
#5 lore raw

PATCH 5/19 gtk+3: add PACKAGECONFIG for libcloudservice and tracker; fix cups backend

In reply to Jörg Sommer

From: Markus Volk <[email protected]>

Add options to enable support for libcloudprovider and tracker

If the cups backend is enabled, the mandatory file backend gets disabled and thus configure fails. Fix it by not defining the print-backend and just include cups as a dependency. Additionally add it as a runtime dependency.

Now, if cups gets enabled, it should include the following print-backends by default: cups,lpr,file

(From OE-Core rev: 5ac88d032968f4d005a61fc34f7e3e6e55426ccd)

Cherry-pick-of: 2725d99b79b4caa9b301d206a2b1a7851d2b74cc

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +3 -1
index 1d726b5696..8d01e6077f 100644
@@ -41,8 +41,10 @@ PACKAGECONFIG[x11] = "-Dx11_backend=true,-Dx11_backend=false,at-spi2-atk fontcon
 # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build
 PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy"
 PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native"
-PACKAGECONFIG[cups] = "-Dprint_backends=cups,-Dprint_backends=file,cups"
+PACKAGECONFIG[cups] = ",,cups,cups"
 PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
+PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
+PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
 
 prepare_gtk_scripts() {
     mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
Signature · 1 line
2.51.0
#6 lore raw

Re: [OE-core] [kirkstone][PATCH 05/19] gtk+3: add PACKAGECONFIG for libcloudservice and tracker; fix cups backend

Note that libcloudproviders doesn't exist in Kirkstone meta-oe.

I guess it's a matter of taste, but in general I think changing packageconfigs in a stable branch can be dicey.
(I get that these are cherry-picks, but maybe adding custom patches to update would be less invasive)

Quoted 47 lines · Jörg Sommer via lists.openembedded.org

From: Markus Volk <[email protected]>

Add options to enable support for libcloudprovider and tracker

If the cups backend is enabled, the mandatory file backend gets disabled and thus configure fails. Fix it by not defining the print-backend and just include cups as a dependency. Additionally add it as a runtime dependency.

Now, if cups gets enabled, it should include the following print-backends by default: cups,lpr,file

(From OE-Core rev: 5ac88d032968f4d005a61fc34f7e3e6e55426ccd)

Cherry-pick-of: 2725d99b79b4caa9b301d206a2b1a7851d2b74cc

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +3 -2
index 1d726b5696..8d01e6077f 100644
@@ -41,8 +41,10 @@ PACKAGECONFIG[x11] = "-Dx11_backend=true,-Dx11_backend=false,at-spi2-atk fontcon
 # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build
 PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy"
 PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native"
-PACKAGECONFIG[cups] = "-Dprint_backends=cups,-Dprint_backends=file,cups"
+PACKAGECONFIG[cups] = ",,cups,cups"
 PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
+PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
+PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
 
 prepare_gtk_scripts() {
     mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
 
-=-=-=-=-=-=-=-=-=-=-=-

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

#7 lore raw

PATCH 6/19 gtk+3: upgrade 3.24.36 -> 3.24.37

In reply to Jörg Sommer

From: Ross Burton <[email protected]>

Drop merged introspection patch.

(From OE-Core rev: 8ac81784ce414057039bc16417a8b2dd8f58497d)

Cherry-pick-of: 801538a3495cfc8d7d3264e470336ee5df5f1048

---
 ...d-introspection-according-to-option-.patch | 34 -------------------
 .../{gtk+3_3.24.36.bb => gtk+3_3.24.37.bb}    |  3 +-
 2 files changed, 1 insertion(+), 36 deletions(-)
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3/0001-meson.build-build-introspection-according-to-option-.patch
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.36.bb => gtk+3_3.24.37.bb} (78%)
meta/recipes-gnome/gtk+/gtk+3/0001-meson.build-build-introspection-according-to-option-.patch deleted +0 -34
deleted file mode 100644
index 11effd421f..0000000000
@@ -1,34 +0,0 @@
-From 6e533d5598ef875f30b84d931aae11b768465869 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <[email protected]>
-Date: Mon, 2 Jan 2023 15:00:02 +0100
-Subject: [PATCH] meson.build: build introspection according to option only
-
-The way the check is written, if the build is native, then the
-introspection option has no effect.
-
-Particularly yocto project does want to disable introspection in
-native builds and enable it in cross builds (both via the option),
-and without this patch the former is not possible.
-
-Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5382]
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index bfc33af0f6..94ffaa7769 100644
---- a/meson.build
-+++ b/meson.build
-@@ -854,7 +854,7 @@ endif
- 
- # Introspection
- gir = find_program('g-ir-scanner', required : get_option('introspection'))
--build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection'))
-+build_gir = gir.found() and get_option('introspection')
- 
- subdir('gdk')
- subdir('gtk')
--- 
-2.30.2
-
meta/recipes-gnome/gtk+/gtk+3_3.24.37.bb renamed from meta/recipes-gnome/gtk+/gtk+3_3.24.36.bb +1 -2
similarity index 78%
rename from meta/recipes-gnome/gtk+/gtk+3_3.24.36.bb
rename to meta/recipes-gnome/gtk+/gtk+3_3.24.37.bb
index 3df4e6164c..382fceecc1 100644
@@ -4,10 +4,9 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 
 SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \
            file://opengl.patch \
-           file://0001-meson.build-build-introspection-according-to-option-.patch \
            file://CVE-2024-6655.patch \
            "
-SRC_URI[sha256sum] = "27a6ef157743350c807ffea59baa1d70226dbede82a5e953ffd58ea6059fe691"
+SRC_URI[sha256sum] = "6745f0b4c053794151fd0f0e2474b077cccff5f83e9dd1bf3d39fe9fe5fb7f57"
 
 S = "${WORKDIR}/gtk+-${PV}"
 
Signature · 1 line
2.51.0
#8 lore raw

PATCH 7/19 gtk+3: upgrade 3.24.37 -> 3.24.38

In reply to Jörg Sommer

From: Ross Burton <[email protected]>

(From OE-Core rev: 7056611ae3bd356908b17201d35879024f2628c2)

Cherry-pick-of: 1e049e4e7af7846f58652aed110f0a688a5809c1

---
 meta/recipes-gnome/gtk+/{gtk+3_3.24.37.bb => gtk+3_3.24.38.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.37.bb => gtk+3_3.24.38.bb} (87%)
meta/recipes-gnome/gtk+/gtk+3_3.24.38.bb renamed from meta/recipes-gnome/gtk+/gtk+3_3.24.37.bb +1 -1
similarity index 87%
rename from meta/recipes-gnome/gtk+/gtk+3_3.24.37.bb
rename to meta/recipes-gnome/gtk+/gtk+3_3.24.38.bb
index 382fceecc1..7337591fa5 100644
@@ -6,7 +6,7 @@ SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar
            file://opengl.patch \
            file://CVE-2024-6655.patch \
            "
-SRC_URI[sha256sum] = "6745f0b4c053794151fd0f0e2474b077cccff5f83e9dd1bf3d39fe9fe5fb7f57"
+SRC_URI[sha256sum] = "ce11decf018b25bdd8505544a4f87242854ec88be054d9ade5f3a20444dd8ee7"
 
 S = "${WORKDIR}/gtk+-${PV}"
 
Signature · 1 line
2.51.0
#9 lore raw

PATCH 8/19 gtk: Add rdepend on printbackend for cups

In reply to Jörg Sommer

From: Markus Volk <[email protected]>

install the required printbackends

(From OE-Core rev: 0a97892920db46043102d54ef1623669241e9780)

Cherry-pick-of: 7e847cb969a399f825f468bdfd567dd6c1bdfce8

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +1 -1
index 8d01e6077f..4a04c06432 100644
@@ -41,7 +41,7 @@ PACKAGECONFIG[x11] = "-Dx11_backend=true,-Dx11_backend=false,at-spi2-atk fontcon
 # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build
 PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy"
 PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native"
-PACKAGECONFIG[cups] = ",,cups,cups"
+PACKAGECONFIG[cups] = ",,cups,cups gtk3-printbackend-cups"
 PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
 PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
 PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
Signature · 1 line
2.51.0
#10 lore raw

PATCH 9/19 gtk: Set CVE_PRODUCT

In reply to Jörg Sommer

From: Robert Joslyn <[email protected]>

The CPE vendor is "gnome" and the CPE product is "gtk" for both gtk+3 and gtk4 recipes. Set CVE_PRODUCT so we properly match the NVD database.

(From OE-Core rev: 253f5f745d66acefcc739f1c9ad2dd46be630e47)

Cherry-pick-of: 17a2c6e38d306de3367478e3e24fe2d5c1f4c13b

---
 meta/recipes-gnome/gtk+/gtk+3_3.24.38.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-gnome/gtk+/gtk+3_3.24.38.bb +2 -0
index 7337591fa5..3bcb9793ba 100644
@@ -14,3 +14,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
                     file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \
                     file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \
                     file://tests/testgtk.c;endline=25;md5=cb732daee1d82af7a2bf953cf3cf26f1"
+
+CVE_PRODUCT = "gnome:gtk"
Signature · 1 line
2.51.0
#11 lore raw

PATCH 10/19 gtk+3: update 3.24.38 -> 3.24.41

In reply to Jörg Sommer

From: Markus Volk <[email protected]>

- update opengl.patch

Overview of Changes in GTK+ 3.24.41, 23-01-2024
===============================================

* Fix a crash introduced in the X11 changes in 3.24.40

* Build fixes

* Wayland: Fix interpretation of gtk-shell protocol

Overview of Changes in GTK+ 3.24.40, 17-01-2024
===============================================

* GtkEmojiChooser:
- Update to CLDR v44
- Add more translations

* GtkGestures:
- Preserve accuracy when translating events

* X11
- Support 'virtual' XRANDR monitors

* MacOs:
- Use consistent event coordinates

* Translation updates:
Georgian
Hebrew
Swedish

Overview of Changes in GTK+ 3.24.39, 19-12-2023
===============================================

* GtkMountOperation:
- Avoid a segfault

* GtkTooltip:
- Fix some positioning problems

* GtkFileChooser:
- Handle webdav in the pathbar

* GtkFileChooserNative:
- Fix closing portal file choosers

* GDK:
- Handle offscreen windows better in some places

* Wayland:
- Create pad devices on enter
- Ensure device-added/removed are emitted
- Make stylus button mappings compatible with X11
- Try harder to preserve cursor size with scaling
- Avoid oob access to cursor images
- Support tiling in xdg-shell
- Avoid using legacy cursor names
- Fix buffer size for scaled custom cursors

* X11:
- Remove slow path in gdk_cairo_draw_from_gl
- Trap more XRANDR errors

* MacOs:
- Make gdkquartz-cocoa-access.h usable again
- Silence secure-restore message

* Translation updates
Belarusian
British English
Catalan
Chinese (China)
Czech
Danish
Esperanto
Farsi
Georgian
Greek
Hebrew
Icelandic
Kazakh
Korean
Polish
Punjabi
Romanian
Slovak
Slovenian
Spanish
Turkish

(From OE-Core rev: 2378f50d32aa955a269fc747de3af2cb28767741)

Cherry-pick-of: d3b384e899556c4bac8cef1fc43fb054602e3183

---
 meta/recipes-gnome/gtk+/gtk+3/opengl.patch    | 25 ++++++++++---------
 .../{gtk+3_3.24.38.bb => gtk+3_3.24.41.bb}    |  2 +-
 2 files changed, 14 insertions(+), 13 deletions(-)
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.38.bb => gtk+3_3.24.41.bb} (87%)
meta/recipes-gnome/gtk+/gtk+3/opengl.patch +13 -12
index 7354265e10..8f2feb0ee7 100644
@@ -141,17 +141,18 @@ diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
 index 9690077cc2..55f85ef605 100644
 --- a/gdk/gdkgl.c
 +++ b/gdk/gdkgl.c
-@@ -26,7 +26,9 @@
- # include "win32/gdkwin32.h"
- #endif
+@@ -21,8 +21,9 @@
+ #include "gdkglcontextprivate.h"
  
+ #include "gdkinternals.h"
+-
 +#ifdef HAVE_OPENGL
  #include <epoxy/gl.h>
 +#endif
  #include <math.h>
  #include <string.h>
  
-@@ -40,6 +42,7 @@ gdk_cairo_surface_mark_as_direct (cairo_surface_t *surface,
+@@ -36,6 +37,7 @@
                                 g_object_ref (window),  g_object_unref);
  }
  
@@ -159,7 +160,7 @@ index 9690077cc2..55f85ef605 100644
  static const char *
  get_vertex_type_name (int type)
  {
-@@ -212,6 +215,7 @@ use_texture_rect_program (GdkGLContextPaintData *paint_data)
+@@ -208,6 +210,7 @@
        glUseProgram (paint_data->current_program->program);
      }
  }
@@ -167,7 +168,7 @@ index 9690077cc2..55f85ef605 100644
  
  void
  gdk_gl_texture_quads (GdkGLContext *paint_context,
-@@ -220,6 +224,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context,
+@@ -216,6 +219,7 @@
                        GdkTexturedQuad *quads,
                        gboolean flip_colors)
  {
@@ -175,7 +176,7 @@ index 9690077cc2..55f85ef605 100644
    GdkGLContextPaintData *paint_data  = gdk_gl_context_get_paint_data (paint_context);
    GdkGLContextProgram *program;
    GdkWindow *window = gdk_gl_context_get_window (paint_context);
-@@ -293,6 +298,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context,
+@@ -289,6 +293,7 @@
  
    glDisableVertexAttribArray (program->position_location);
    glDisableVertexAttribArray (program->uv_location);
@@ -183,15 +184,15 @@ index 9690077cc2..55f85ef605 100644
  }
  
  /* x,y,width,height describes a rectangle in the gl render buffer
-@@ -341,6 +347,7 @@ gdk_cairo_draw_from_gl (cairo_t              *cr,
+@@ -337,6 +342,7 @@
                          int                   width,
                          int                   height)
  {
 +#ifdef HAVE_OPENGL
-   GdkGLContext *paint_context;
+   GdkGLContext *paint_context, *current_context;
    cairo_surface_t *image;
    cairo_matrix_t matrix;
-@@ -718,6 +725,7 @@ out:
+@@ -703,6 +709,7 @@
    if (clip_region)
      cairo_region_destroy (clip_region);
  
@@ -199,7 +200,7 @@ index 9690077cc2..55f85ef605 100644
  }
  
  /* This is always called with the paint context current */
-@@ -725,6 +733,7 @@ void
+@@ -710,6 +717,7 @@
  gdk_gl_texture_from_surface (cairo_surface_t *surface,
  			     cairo_region_t  *region)
  {
@@ -207,7 +208,7 @@ index 9690077cc2..55f85ef605 100644
    GdkGLContext *paint_context;
    cairo_surface_t *image;
    double device_x_offset, device_y_offset;
-@@ -825,4 +834,5 @@ gdk_gl_texture_from_surface (cairo_surface_t *surface,
+@@ -810,4 +818,5 @@
  
    glDisable (GL_SCISSOR_TEST);
    glDeleteTextures (1, &texture_id);
meta/recipes-gnome/gtk+/gtk+3_3.24.41.bb renamed from meta/recipes-gnome/gtk+/gtk+3_3.24.38.bb +1 -1
similarity index 87%
rename from meta/recipes-gnome/gtk+/gtk+3_3.24.38.bb
rename to meta/recipes-gnome/gtk+/gtk+3_3.24.41.bb
index 3bcb9793ba..94a553584a 100644
@@ -6,7 +6,7 @@ SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar
            file://opengl.patch \
            file://CVE-2024-6655.patch \
            "
-SRC_URI[sha256sum] = "ce11decf018b25bdd8505544a4f87242854ec88be054d9ade5f3a20444dd8ee7"
+SRC_URI[sha256sum] = "47da61487af3087a94bc49296fd025ca0bc02f96ef06c556e7c8988bd651b6fa"
 
 S = "${WORKDIR}/gtk+-${PV}"
 
Signature · 1 line
2.51.0
#12 lore raw

PATCH 11/19 gtk+3: disable wayland without opengl

In reply to Jörg Sommer

From: Markus Volk <[email protected]>

Wayland backend requires epoxy so it will pull in a requirement for opengl While doing some tests in building old stuff like matchbox-terminal with vte 0.76, I encountered an issue with building matchbox-terminal without opengl in DISTRO_FEATURES.

Explicitly stating that the Wayland backend requires opengl fixes this problem and allows matchbox-terminal to be used without.

(From OE-Core rev: 35a7e970bfba02fa01ebcf03169d2ddad90ad419)

Cherry-pick-of: f9ed8b9fa1b348baed17b97110c2a2403b058dbc

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +4 -1
index 4a04c06432..e1603b43fc 100644
@@ -33,7 +33,10 @@ GTKDOC_MESON_OPTION = 'gtk_doc'
 EXTRA_OEMESON = "-Dxinerama=no -Dtests=false"
 EXTRA_OEMESON:append:class-native = " -Ddemos=false -Dexamples=false"
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland x11', d)}"
+PACKAGECONFIG ??= " \
+	${@bb.utils.filter('DISTRO_FEATURES', 'opengl x11', d)} \
+	${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'wayland', '', d)} \
+"
 PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
 PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
 
Signature · 1 line
2.51.0
#13 lore raw

PATCH 12/19 gtk+3: add gtk+ to CVE_PRODUCT

In reply to Jörg Sommer

From: Emil Kronborg <[email protected]>

While the plus in GTK+ was dropped in GTK4 and onwards [1], it is still necessary for GTK3. This is also reflected upstream where two versions
exist: http://ftp.gnome.org/pub/gnome/sources/gtk+ and
http://ftp.gnome.org/pub/gnome/sources/gtk.

[1]: https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html

(From OE-Core rev: 378e1f415855feabe88b168e14f8d367f388e4bc)

Cherry-pick-of: 2f3dafe8aafd4b52b152a1abab6b9412de621147

---
 meta/recipes-gnome/gtk+/gtk+3_3.24.41.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3_3.24.41.bb +1 -1
index 94a553584a..a9b2065683 100644
@@ -15,4 +15,4 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
                     file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \
                     file://tests/testgtk.c;endline=25;md5=cb732daee1d82af7a2bf953cf3cf26f1"
 
-CVE_PRODUCT = "gnome:gtk"
+CVE_PRODUCT = "gnome:gtk gtk:gtk\+"
Signature · 1 line
2.51.0
#14 lore raw

PATCH 13/19 gtk+3: upgrade 3.24.41 -> 3.24.42

In reply to Jörg Sommer

From: Wang Mingyu <[email protected]>

Changelog:
===========
* GtkFileChooser:
- Avoid warnings about floating refs
- Improve performance of recursive search
- Populate search model in an idle

* GtkGLArea:
- Fix a regression in transparency handling

* Printing:
- Avoid accessing freed printers

* Accessibility:
- Drop support for the deprecated atk_focus_tracker

* Wayland:
- Fix monitor sizes
- Fix a crash related to tablet removal
- Infer resizable edges for tiled windows
- Always commit soon after acking a configure

* Windows:
- Avoid committing NULL strings to IME

* gdk:
- Use css cursor names as far as possible
- Sync DND cursor use with GTK4

* macOs:
- Fix cocoa pasteboard constants

* build:
- Allow building against sysprof-capture-4

* Translation updates:
Georgian
Hebrew
Kabyle
Persian

(From OE-Core rev: 2f4cdc1ef16f1b86f5632fded21792d71d58de16)

Cherry-pick-of: 051e1bd593cb0f7c8d47cbb3953eeaf8fc0f8314

---
 meta/recipes-gnome/gtk+/{gtk+3_3.24.41.bb => gtk+3_3.24.42.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.41.bb => gtk+3_3.24.42.bb} (88%)
meta/recipes-gnome/gtk+/gtk+3_3.24.42.bb renamed from meta/recipes-gnome/gtk+/gtk+3_3.24.41.bb +1 -1
similarity index 88%
rename from meta/recipes-gnome/gtk+/gtk+3_3.24.41.bb
rename to meta/recipes-gnome/gtk+/gtk+3_3.24.42.bb
index a9b2065683..5612e50e8b 100644
@@ -6,7 +6,7 @@ SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar
            file://opengl.patch \
            file://CVE-2024-6655.patch \
            "
-SRC_URI[sha256sum] = "47da61487af3087a94bc49296fd025ca0bc02f96ef06c556e7c8988bd651b6fa"
+SRC_URI[sha256sum] = "50f89f615092d4dd01bbd759719f8bd380e5f149f6fd78a94725e2de112377e2"
 
 S = "${WORKDIR}/gtk+-${PV}"
 
Signature · 1 line
2.51.0
#15 lore raw

PATCH 14/19 gtk+3: upgrade 3.24.42 -> 3.24.43

In reply to Jörg Sommer

From: Ross Burton <[email protected]>

* Stop looking for modules in cwd (CVE-2024-6655)

(From OE-Core rev: a0a1b4b8992cb3ef7acd72f0de69a0a4bafb9e20)

Cherry-pick-of: f8a5d23dd6eea6b33bfdb2067007b7d441daa2d0

---
 .../gtk+/gtk+3/CVE-2024-6655.patch            | 39 --------
 meta/recipes-gnome/gtk+/gtk+3/opengl.patch    | 97 +++++++++----------
 .../{gtk+3_3.24.42.bb => gtk+3_3.24.43.bb}    |  3 +-
 3 files changed, 48 insertions(+), 91 deletions(-)
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3/CVE-2024-6655.patch
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.42.bb => gtk+3_3.24.43.bb} (82%)
meta/recipes-gnome/gtk+/gtk+3/CVE-2024-6655.patch deleted +0 -39
deleted file mode 100644
index 2460b97b6b..0000000000
@@ -1,39 +0,0 @@
-From 3bbf0b6176d42836d23c36a6ac410e807ec0a7a7 Mon Sep 17 00:00:00 2001
-From: Matthias Clasen <[email protected]>
-Date: Sat, 15 Jun 2024 14:18:01 -0400
-Subject: [PATCH] Stop looking for modules in cwd
-
-This is just not a good idea. It is surprising, and can be misused.
-
-Fixes: #6786
-
-CVE: CVE-2024-6655
-Upstream-Status: Backport [https://launchpad.net/ubuntu/+source/gtk+3.0/3.24.33-1ubuntu2.2]
-Signed-off-by: Ashish Sharma <[email protected]>
-
- gtk/gtkmodules.c | 9 ++-------
- 1 file changed, 2 insertions(+), 7 deletions(-)
-
-diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
-index 704e412aeb5..f93101c272e 100644
---- a/gtk/gtkmodules.c
-+++ b/gtk/gtkmodules.c
-@@ -214,13 +214,8 @@ find_module (const gchar *name)
-   gchar *module_name;
- 
-   module_name = _gtk_find_module (name, "modules");
--  if (!module_name)
--    {
--      /* As last resort, try loading without an absolute path (using system
--       * library path)
--       */
--      module_name = g_module_build_path (NULL, name);
--    }
-+  if (module_name == NULL)
-+    return NULL;
- 
-   module = g_module_open (module_name, G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
- 
--- 
-GitLab
-
meta/recipes-gnome/gtk+/gtk+3/opengl.patch +47 -50

367 lines not on this page · raw message

meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb renamed from meta/recipes-gnome/gtk+/gtk+3_3.24.42.bb +1 -2
similarity index 82%
rename from meta/recipes-gnome/gtk+/gtk+3_3.24.42.bb
rename to meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb
index 5612e50e8b..a8cc1152c3 100644
@@ -4,9 +4,8 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 
 SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \
            file://opengl.patch \
-           file://CVE-2024-6655.patch \
            "
-SRC_URI[sha256sum] = "50f89f615092d4dd01bbd759719f8bd380e5f149f6fd78a94725e2de112377e2"
+SRC_URI[sha256sum] = "7e04f0648515034b806b74ae5d774d87cffb1a2a96c468cb5be476d51bf2f3c7"
 
 S = "${WORKDIR}/gtk+-${PV}"
 
Signature · 1 line
2.51.0
#16 lore raw

PATCH 15/19 gtk+3: rename tracker dependencies

In reply to Jörg Sommer

From: Markus Volk <[email protected]>

This is required for gnome 47 update in meta-openembedded

(From OE-Core rev: 51864b3494bd8fe456fffb2e0ccf70fee13cc013)

Cherry-pick-of: 07d2dc4c98f2fe1e2c8c0aae5ce863e7bc190b5f

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +1 -1
index e1603b43fc..03913768b1 100644
@@ -47,7 +47,7 @@ PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland
 PACKAGECONFIG[cups] = ",,cups,cups gtk3-printbackend-cups"
 PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
 PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
-PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
+PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tinysparql,localsearch"
 
 prepare_gtk_scripts() {
     mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
Signature · 1 line
2.51.0
#17 lore raw

Re: [OE-core] [kirkstone][PATCH 15/19] gtk+3: rename tracker dependencies

I'm not sure if this patch can work. I believe tinysparql was added in Walnascar in meta-oe, and I'm sure that it's not in Kirkstone.

Quoted 36 lines · Jörg Sommer via lists.openembedded.org

From: Markus Volk <[email protected]>

This is required for gnome 47 update in meta-openembedded

(From OE-Core rev: 51864b3494bd8fe456fffb2e0ccf70fee13cc013)

Cherry-pick-of: 07d2dc4c98f2fe1e2c8c0aae5ce863e7bc190b5f

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +1 -2
index e1603b43fc..03913768b1 100644
@@ -47,7 +47,7 @@ PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland
 PACKAGECONFIG[cups] = ",,cups,cups gtk3-printbackend-cups"
 PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
 PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
-PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
+PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tinysparql,localsearch"
 
 prepare_gtk_scripts() {
     mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
 
-=-=-=-=-=-=-=-=-=-=-=-

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

#18 lore raw

Re: [OE-core] [kirkstone][PATCH 15/19] gtk+3: rename tracker dependencies

Gyorgy Sarvari schrieb am Mo 03. Nov, 11:15 (+0100):

Quoted 2 lines

I'm not sure if this patch can work. I believe tinysparql was added in Walnascar in meta-oe, and I'm sure that it's not in Kirkstone.

Yes, it fails to build. I would drop the following commits, because there should be no user of/need for these PACKAGECONFIGs.

* gtk+3: add PACKAGECONFIG for libcloudservice and tracker; fix cups backend
* gtk: Add rdepend on printbackend for cups
* gtk+3: rename tracker dependencies

Quoted 28 lines · Jörg Sommer via lists.openembedded.org
Quoted 27 lines

From: Markus Volk <[email protected]>

This is required for gnome 47 update in meta-openembedded

(From OE-Core rev: 51864b3494bd8fe456fffb2e0ccf70fee13cc013)

Cherry-pick-of: 07d2dc4c98f2fe1e2c8c0aae5ce863e7bc190b5f

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +1 -1
index e1603b43fc..03913768b1 100644
@@ -47,7 +47,7 @@ PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland
 PACKAGECONFIG[cups] = ",,cups,cups gtk3-printbackend-cups"
 PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
 PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
-PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
+PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tinysparql,localsearch"
 
 prepare_gtk_scripts() {
     mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
Signature · 6 lines
Navimatix GmbH           T: 03641 - 327 99 0
Tatzendpromenade 2       F: 03641 - 526 306
07745 Jena               www.navimatix.de

Geschäftsführer: Steffen Späthe, Jan Rommeley
Registergericht: Amtsgericht Jena, HRB 501480
#19 lore raw

Re: [OE-core] [kirkstone][PATCH 15/19] gtk+3: rename tracker dependencies

Quoted 10 lines · Jörg Sommer

Gyorgy Sarvari schrieb am Mo 03. Nov, 11:15 (+0100):

Quoted 2 lines

I'm not sure if this patch can work. I believe tinysparql was added in Walnascar in meta-oe, and I'm sure that it's not in Kirkstone.

Yes, it fails to build. I would drop the following commits, because there should be no user of/need for these PACKAGECONFIGs.

* gtk+3: add PACKAGECONFIG for libcloudservice and tracker; fix cups backend
* gtk: Add rdepend on printbackend for cups
* gtk+3: rename tracker dependencies

Don't know about the middle one, that sounds like a bugfix that fixes something that's broken now... but I could be wrong
I agree about the other two, I think also that they could be dropped.

Quoted 28 lines
Quoted 28 lines · Jörg Sommer via lists.openembedded.org
Quoted 27 lines

From: Markus Volk <[email protected]>

This is required for gnome 47 update in meta-openembedded

(From OE-Core rev: 51864b3494bd8fe456fffb2e0ccf70fee13cc013)

Cherry-pick-of: 07d2dc4c98f2fe1e2c8c0aae5ce863e7bc190b5f

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +1 -1
index e1603b43fc..03913768b1 100644
@@ -47,7 +47,7 @@ PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland
 PACKAGECONFIG[cups] = ",,cups,cups gtk3-printbackend-cups"
 PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
 PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
-PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
+PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tinysparql,localsearch"
 
 prepare_gtk_scripts() {
     mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
#20 lore raw

PATCH 16/19 gtk+3: remove unneeded .inc file

In reply to Jörg Sommer

From: Markus Volk <[email protected]>

(From OE-Core rev: fa8d6a892c4cb8479602298997140e531dbb8230)

Cherry-pick-of: 5ccfc9f411bb19a5d47e1f42784d259160778741

---
 meta/recipes-gnome/gtk+/gtk+3.inc        | 154 ---------------------
 meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb | 164 ++++++++++++++++++++++-
 2 files changed, 157 insertions(+), 161 deletions(-)
 delete mode 100644 meta/recipes-gnome/gtk+/gtk+3.inc
meta/recipes-gnome/gtk+/gtk+3.inc deleted +0 -154
deleted file mode 100644
index 03913768b1..0000000000
@@ -1,154 +0,0 @@
-
-SUMMARY = "Multi-platform toolkit for creating GUIs"
-DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \
-set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites."
-HOMEPAGE = "http://www.gtk.org"
-BUGTRACKER = "https://bugzilla.gnome.org/"
-SECTION = "libs"
-
-DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf gdk-pixbuf-native"
-
-LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
-
-inherit meson gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings features_check gobject-introspection
-
-BBCLASSEXTEND = "native nativesdk"
-
-GSETTINGS_PACKAGE:class-native = ""
-
-# versions >= 3.90 are development versions, otherwise like upstream-version-is-even
-UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>3\.([1-8]?[02468])+(\.\d+)+)\.tar"
-
-ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-
-do_configure:prepend() {
-    # These files are generated by wayland-scanner but will race over modification
-    # time between the copies in the sysroot from wayland-protocols and the copy
-    # in the source tree. Solve the race by deleting so they need to be regenerated.
-    rm -f ${S}/modules/input/*-text-input-*.[ch]
-}
-
-GTKDOC_MESON_OPTION = 'gtk_doc'
-
-EXTRA_OEMESON = "-Dxinerama=no -Dtests=false"
-EXTRA_OEMESON:append:class-native = " -Ddemos=false -Dexamples=false"
-
-PACKAGECONFIG ??= " \
-	${@bb.utils.filter('DISTRO_FEATURES', 'opengl x11', d)} \
-	${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'wayland', '', d)} \
-"
-PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
-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"
-# this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build
-PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy"
-PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native"
-PACKAGECONFIG[cups] = ",,cups,cups gtk3-printbackend-cups"
-PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
-PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
-PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tinysparql,localsearch"
-
-prepare_gtk_scripts() {
-    mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
-
-    # duplicate gtk-query-immodules for post install script update_gtk_immodules_cache
-    mkdir -p ${D}${libexecdir}
-    ln ${D}${bindir}/gtk-query-immodules-3.0 ${D}${libexecdir}/${MLPREFIX}gtk-query-immodules-3.0
-}
-
-do_install:append:class-target() {
-    prepare_gtk_scripts
-}
-
-do_install:append:class-nativesdk() {
-    prepare_gtk_scripts
-}
-
-do_install:append:class-native() {
-        create_wrapper ${D}/${bindir}/gtk-update-icon-cache \
-                GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache
-        create_wrapper ${D}/${bindir}/gtk-encode-symbolic-svg \
-                GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache
-}
-
-PROVIDES += "gtk-icon-utils"
-PACKAGES =+ "${PN}-demo"
-LIBV = "3.0.0"
-
-FILES:${PN}-demo = "${bindir}/gtk3-demo \
-                    ${bindir}/gtk3-demo-application \
-                    ${bindir}/gtk3-icon-browser \
-                    ${bindir}/gtk3-widget-factory \
-                    ${datadir}/gtk-3.0/demo \
-                    ${datadir}/applications/gtk3-demo.desktop \
-                    ${datadir}/applications/gtk3-icon-browser.desktop \
-                    ${datadir}/applications/gtk3-widget-factory.desktop \
-                    ${datadir}/icons/hicolor/*/apps/gtk3-demo*.png \
-                    ${datadir}/icons/hicolor/*/apps/gtk3-widget-factory*.png"
-
-FILES:${PN}:append = " ${bindir}/gtk-update-icon-cache-3.0 \
-               ${bindir}/gtk-query-immodules-3.0 \
-               ${bindir}/gtk-launch \
-               ${datadir}/themes ${datadir}/gtk-3.0/emoji \
-               ${sysconfdir} ${datadir}/glib-2.0/schemas/ \
-               ${libdir}/gtk-3.0/${LIBV}/engines/libpixmap.so \
-               ${libdir}/gtk-3.0/modules/*.so"
-
-FILES:${PN}-dev += " \
-                    ${datadir}/gtk-3.0/gtkbuilder.rng \
-                    ${datadir}/gtk-3.0/include \
-                    ${datadir}/gtk-3.0/valgrind \
-                    ${datadir}/gettext/its \
-                    ${libdir}/gtk-3.0/include \
-                    ${libdir}/gtk-3.0/${LIBV}/loaders/*.la \
-                    ${libdir}/gtk-3.0/${LIBV}/immodules/*.la \
-                    ${libdir}/gtk-3.0/3.0.0/printbackends/*.la \
-                    ${libdir}/gtk-3.0/${LIBV}/engines/*.la \
-                    ${libdir}/gtk-3.0/modules/*.la \
-                    ${bindir}/gtk-builder-convert \
-                    ${bindir}/gtk-encode-symbolic-svg \
-                    ${bindir}/gtk-builder-tool \
-                    ${bindir}/gtk-query-settings \
-                    "
-
-GTKBASE_RRECOMMENDS ?= "liberation-fonts \
-                        gdk-pixbuf-loader-png \
-                        gdk-pixbuf-loader-jpeg \
-                        gdk-pixbuf-loader-gif \
-                        gdk-pixbuf-loader-xpm \
-                        shared-mime-info \
-                        adwaita-icon-theme-symbolic \
-                        "
-
-GTKBASE_RRECOMMENDS:class-native ?= "\
-                        "
-
-GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1"
-
-RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}"
-RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}"
-RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}"
-
-PACKAGES_DYNAMIC += "^gtk3-immodule-.* ^gtk3-printbackend-.*"
-
-ALTERNATIVE:${PN} = "gtk-update-icon-cache"
-ALTERNATIVE_TARGET[gtk-update-icon-cache] = "${bindir}/gtk-update-icon-cache-3.0"
-ALTERNATIVE_PRIORITY = "30"
-
-python populate_packages:prepend () {
-    import os.path
-
-    gtk_libdir = d.expand('${libdir}/gtk-3.0/${LIBV}')
-    immodules_root = os.path.join(gtk_libdir, 'immodules')
-    printmodules_root = os.path.join(gtk_libdir, 'printbackends');
-
-    immodules = do_split_packages(d, immodules_root, r'^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s')
-    if immodules:
-        d.setVar("GTKIMMODULES_PACKAGES", " ".join(immodules))
-
-    do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s')
-
-    if (d.getVar('DEBIAN_NAMES')):
-        d.setVar(d.expand('PKG:${PN}'), '${MLPREFIX}libgtk-3.0')
-}
meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb +157 -7

173 lines not on this page · raw message

Signature · 1 line
2.51.0
#21 lore raw

PATCH 17/19 gtk+3: depend on the librsvg pixbuf loader in gtk3-demo

In reply to Jörg Sommer

From: Ross Burton <[email protected]>

The demo uses some SVG icons, so depend on the SVG pixbuf loader so that they are visible.

(From OE-Core rev: 77e18e640c42ee3992464fddc1a16760cea9bc4f)

Cherry-pick-of: 7517eed223cbe42efd022fdf759e846331847836

---
 meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb +1 -0
index 2171880c50..15870dcc08 100644
@@ -142,6 +142,7 @@ GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1"
 RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}"
 RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}"
 RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}"
+RDEPENDS:${PN}-demo += "librsvg-gtk"
 
 PACKAGES_DYNAMIC += "^gtk3-immodule-.* ^gtk3-printbackend-.*"
 
Signature · 1 line
2.51.0
#22 lore raw

PATCH 18/19 gtk: set correct bug tracker

In reply to Jörg Sommer

From: Ross Burton <[email protected]>

GTK hasn't used bugzilla for many years, switch the bug tracker fields to gitlab.gnome.org.

(From OE-Core rev: 87e42afb25b3faa8dfae1e37118bf18b9f8b6531)

Cherry-pick-of: f42421f09ec2ab9c588a03d47d57e4ec1fb28ebc

---
 meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb +1 -1
index 15870dcc08..0ee2f18167 100644
@@ -2,7 +2,7 @@ SUMMARY = "Multi-platform toolkit for creating GUIs"
 DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \
 set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites."
 HOMEPAGE = "http://www.gtk.org"
-BUGTRACKER = "https://bugzilla.gnome.org/"
+BUGTRACKER = "https://gitlab.gnome.org/GNOME/gtk/-/issues/"
 SECTION = "libs"
 LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
                     file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \
Signature · 1 line
2.51.0
#23 lore raw

PATCH 19/19 gtk+3: Update 3.24.43 -> 3.24.51

In reply to Jörg Sommer

From: Jörg Sommer <[email protected]>

According to https://www.gtk.org/docs/installations/linux/#gtk-v3x the new place for downloads is download.gnome.org aka $GNOME_MIRROR (ftp.g.o redirects to this). And new versions are without +.

Update opengl.patch, handle new is_gl_context_current.

Overview of Changes in GTK+ 3.24.51, 29-09-2025
===============================================

* Wayland:
- Force window titles to be valid utf8
- Flush tablet events when neccessary

* X11:
- Avoid a use-after-free with threads

* Windows:
- Avoid min/max buttons for dialogs

* Images:
- Replace a few calls to gdk_pixbuf_get_pixels
with read_pixels to avoid thread-safety issues

* GL:
- Try harder to keep the GL context current

* Input:
- Make compose file parsing more robust

* Translation updates:
Catalan
Esperanto
Persian

Overview of Changes in GTK+ 3.24.50, 07-08-2025
===============================================

* Themes:
- Add a progress-working-symbolic icon
- Support strokes in symbolic icons
- Update theme CSS
- Remove hardcoded Cantarell font

* GtkShortcutsWindow:
- Differentiate all keypad symbols visually

* GtkApplication:
- Register unsandboxed apps with the portals

* macOS:
- Remove redundant NSView calls
- Fix some memory leaks
- Don't try to use the file transfer portal

* Windows:
- Always mark windows as minimizable

* X11
- Fix problems with gtk_window_get_geometry

* Wayland:
- Fix a crash

* Input:
- Make compose sequence visuals configurable

* Printing:
- Fix the build with libcups 3
- Support gnome-papers as previewer

* Translation updates
Nepali
Persian
Uzbek (Latin)

Overview of Changes in GTK+ 3.24.49, 05-03-2025
===============================================

* Fix a crash in GtkIMContext

* Fix crashes in DND with GtkPlug/GtkSocket

* Wayland:
- Fix erroneous crossing events, causing menus to malfunction
- Support the cursor-shape protocol

* X11:
- Enforce size limits on windows, preventing lockups

* macOS:
- Fix pen tilt handling

* Translation updates
Bulgarian
Thai

Overview of Changes in GTK+ 3.24.48, 25-02-2025
===============================================

* Switch to the new ci-based release process

Overview of Changes in GTK+ 3.24.44, 24-01-2025
===============================================

* GtkFileChooser:
- Stop replacing : (colon) with U+2236 (ratio)

* GtkEmojiChooser:
- Update to Unicode 16 / CLDR 46

* GtkSpinButton:
- Use semantically appropriate icon names
- Make numeric spin buttons always LTR

* GtkEntry:
- Stop guessing text direction from keyboard layout
- Add a shortcut and context menu item to change text direction

* GtkEventControllerMotion:
- Make enter and leave signals work

* Accessibility:
- Use message dialog titles as names

* GDK:
- Fix portal handling of gvfs files

* Wayland:
- Support the xdg_foreign_v2 protocol
- Try to fix monitor geometry on sway
- Improve font setting fallback
- Use a better default cursor size
- Fix a crash during DND

* macOS:
- Fix a UI hang

* Translation updates:
Bulgarian
Farsi
Hindi
Hungarian
Icelandic
Latvian
Serbian

(From OE-Core rev: 7f370c3b9c10e723324ea8f924011c5f570749d4)

Cherry-pick-of: 78a280af441a60cebbecdd2416106ad8b3095018

---
 meta/recipes-gnome/gtk+/gtk+3/opengl.patch    | 72 +++++++++++--------
 .../{gtk+3_3.24.43.bb => gtk+3_3.24.51.bb}    |  6 +-
 2 files changed, 45 insertions(+), 33 deletions(-)
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.43.bb => gtk+3_3.24.51.bb} (97%)
meta/recipes-gnome/gtk+/gtk+3/opengl.patch +42 -30
index d846045c24..51d4c8e43a 100644
@@ -1,4 +1,4 @@
-From 24a0d767251b81810767e03aa1db8cc497408db3 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Jussi Kukkonen <[email protected]>
 Date: Fri, 16 Oct 2015 16:35:16 +0300
 Subject: [PATCH] Do not try to initialize GL without libGL
@@ -20,12 +20,12 @@ Signed-off-by: Jussi Kukkonen <[email protected]>
  docs/tools/meson.build           |  7 +++++--
  docs/tools/widgets.c             |  6 +++++-
  gdk/gdkconfig.h.meson            |  1 +
- gdk/gdkdisplay.c                 |  4 ++++
+ gdk/gdkdisplay.c                 |  8 ++++++++
  gdk/gdkgl.c                      | 11 ++++++++++-
  gdk/gdkglcontext.c               |  6 ++++++
  gdk/gdkwindow.c                  | 13 +++++++++++++
  gdk/meson.build                  |  8 +++++++-
- gdk/x11/gdkdisplay-x11.c         |  6 +++++-
+ gdk/x11/gdkdisplay-x11.c         |  4 ++++
  gdk/x11/gdkvisual-x11.c          |  5 +++++
  gdk/x11/gdkwindow-x11.c          |  4 ++++
  gdk/x11/gdkx-autocleanups.h      |  2 ++
@@ -37,10 +37,10 @@ Signed-off-by: Jussi Kukkonen <[email protected]>
  meson_options.txt                |  2 ++
  tests/meson.build                |  9 +++++++--
  testsuite/gtk/objects-finalize.c |  2 ++
- 21 files changed, 128 insertions(+), 14 deletions(-)
+ 21 files changed, 131 insertions(+), 13 deletions(-)
 
 diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build
-index 252da16..4b57cff 100644
+index 252da16d05..4b57cff6ac 100644
 --- a/demos/gtk-demo/meson.build
 +++ b/demos/gtk-demo/meson.build
 @@ -28,7 +28,6 @@ demos = files([
@@ -63,7 +63,7 @@ index 252da16..4b57cff 100644
    demos += files('pagesetup.c')
  endif
 diff --git a/docs/tools/meson.build b/docs/tools/meson.build
-index 05621ee..3d0a333 100644
+index 05621ee7ed..3d0a333b32 100644
 --- a/docs/tools/meson.build
 +++ b/docs/tools/meson.build
 @@ -2,10 +2,13 @@ if x11_enabled
@@ -83,7 +83,7 @@ index 05621ee..3d0a333 100644
                             include_directories: [ confinc, gdkinc, gtkinc, testinc, ],
                             dependencies: libgtk_dep)
 diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
-index 932daf1..348807e 100644
+index 932daf1746..348807e133 100644
 --- a/docs/tools/widgets.c
 +++ b/docs/tools/widgets.c
 @@ -8,7 +8,9 @@
@@ -110,7 +110,7 @@ index 932daf1..348807e 100644
  
    return info;
 diff --git a/gdk/gdkconfig.h.meson b/gdk/gdkconfig.h.meson
-index 7db19e0..088651b 100644
+index 7db19e0470..088651bafa 100644
 --- a/gdk/gdkconfig.h.meson
 +++ b/gdk/gdkconfig.h.meson
 @@ -15,6 +15,7 @@ G_BEGIN_DECLS
@@ -122,10 +122,22 @@ index 7db19e0..088651b 100644
  G_END_DECLS
  
 diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
-index fd5e9ea..87b45e7 100644
+index 5c41a48fd0..920bb18ce8 100644
 --- a/gdk/gdkdisplay.c
 +++ b/gdk/gdkdisplay.c
-@@ -2420,7 +2420,11 @@ gboolean
+@@ -2412,7 +2412,11 @@ gboolean
+ gdk_display_is_gl_context_current (GdkDisplay   *display,
+                                    GdkGLContext *context)
+ {
++#ifdef HAVE_OPENGL
+   return GDK_DISPLAY_GET_CLASS (display)->is_gl_context_current (display, context);
++#else
++  return FALSE;
++#endif
+ }
+ 
+ /*< private >
+@@ -2427,7 +2431,11 @@ gboolean
  gdk_display_make_gl_context_current (GdkDisplay   *display,
                                       GdkGLContext *context)
  {
@@ -138,7 +150,7 @@ index fd5e9ea..87b45e7 100644
  
  GdkRenderingMode
 diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
-index 0940c06..4b56614 100644
+index 0940c06c71..4b56614f9f 100644
 --- a/gdk/gdkgl.c
 +++ b/gdk/gdkgl.c
 @@ -21,8 +21,9 @@
@@ -215,7 +227,7 @@ index 0940c06..4b56614 100644
 +#endif
  }
 diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
-index cb0ed90..7ed74f3 100644
+index 52c7bce692..fa544794ac 100644
 --- a/gdk/gdkglcontext.c
 +++ b/gdk/gdkglcontext.c
 @@ -85,7 +85,9 @@
@@ -261,7 +273,7 @@ index cb0ed90..7ed74f3 100644
  
  /**
 diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
-index 62e0cf8..b8bda71 100644
+index 62e0cf816f..b8bda7140d 100644
 --- a/gdk/gdkwindow.c
 +++ b/gdk/gdkwindow.c
 @@ -45,7 +45,9 @@
@@ -321,7 +333,7 @@ index 62e0cf8..b8bda71 100644
            cairo_region_destroy (opaque_region);
  
 diff --git a/gdk/meson.build b/gdk/meson.build
-index 297c38c..fc71f8f 100644
+index 297c38c68e..fc71f8f49d 100644
 --- a/gdk/meson.build
 +++ b/gdk/meson.build
 @@ -56,7 +56,6 @@ gdk_gir_public_headers = files(
@@ -354,7 +366,7 @@ index 297c38c..fc71f8f 100644
  gdkconfig = configure_file(
    input  : 'gdkconfig.h.meson',
 diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
-index 7e08f47..30fd7b6 100644
+index c6d1f53d70..9793cb4329 100644
 --- a/gdk/x11/gdkdisplay-x11.c
 +++ b/gdk/x11/gdkdisplay-x11.c
 @@ -37,7 +37,9 @@
@@ -367,19 +379,19 @@ index 7e08f47..30fd7b6 100644
  #include "gdk-private.h"
  #include "gdkprofilerprivate.h"
  
-@@ -3191,7 +3193,9 @@ gdk_x11_display_class_init (GdkX11DisplayClass * class)
+@@ -3191,8 +3193,10 @@ gdk_x11_display_class_init (GdkX11DisplayClass * class)
    display_class->text_property_to_utf8_list = _gdk_x11_display_text_property_to_utf8_list;
    display_class->utf8_to_string_target = _gdk_x11_display_utf8_to_string_target;
  
--  display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current;
 +#ifdef HAVE_OPENGL
-+   display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current;
+   display_class->is_gl_context_current = gdk_x11_display_is_gl_context_current;
+   display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current;
 +#endif
  
    display_class->get_default_seat = gdk_x11_display_get_default_seat;
  
 diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c
-index 81479d8..3c8c5c0 100644
+index 81479d81f4..3c8c5c02ff 100644
 --- a/gdk/x11/gdkvisual-x11.c
 +++ b/gdk/x11/gdkvisual-x11.c
 @@ -306,7 +306,12 @@ _gdk_x11_screen_init_visuals (GdkScreen *screen)
@@ -396,7 +408,7 @@ index 81479d8..3c8c5c0 100644
  
  gint
 diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
-index 89f0666..d3e1440 100644
+index 0c59ad464e..ad3244f152 100644
 --- a/gdk/x11/gdkwindow-x11.c
 +++ b/gdk/x11/gdkwindow-x11.c
 @@ -36,7 +36,9 @@
@@ -409,7 +421,7 @@ index 89f0666..d3e1440 100644
  #include "gdkprivate-x11.h"
  #include "gdk-private.h"
  
-@@ -5906,7 +5908,9 @@ gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass)
+@@ -5916,7 +5918,9 @@ gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass)
    impl_class->set_opaque_region = gdk_x11_window_set_opaque_region;
    impl_class->set_shadow_width = gdk_x11_window_set_shadow_width;
    impl_class->show_window_menu = gdk_x11_window_show_window_menu;
@@ -420,7 +432,7 @@ index 89f0666..d3e1440 100644
    impl_class->get_unscaled_size = gdk_x11_window_get_unscaled_size;
  }
 diff --git a/gdk/x11/gdkx-autocleanups.h b/gdk/x11/gdkx-autocleanups.h
-index edb0ea7..a317d61 100644
+index edb0ea7dbf..a317d61cca 100644
 --- a/gdk/x11/gdkx-autocleanups.h
 +++ b/gdk/x11/gdkx-autocleanups.h
 @@ -30,7 +30,9 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DeviceXI2, g_object_unref)
@@ -434,7 +446,7 @@ index edb0ea7..a317d61 100644
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Screen, g_object_unref)
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Visual, g_object_unref)
 diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h
-index 1f64bcc..4db6c18 100644
+index 1f64bccb6d..4db6c18351 100644
 --- a/gdk/x11/gdkx.h
 +++ b/gdk/x11/gdkx.h
 @@ -43,7 +43,9 @@
@@ -448,7 +460,7 @@ index 1f64bcc..4db6c18 100644
  #include <gdk/x11/gdkx11monitor.h>
  #include <gdk/x11/gdkx11property.h>
 diff --git a/gdk/x11/meson.build b/gdk/x11/meson.build
-index 754ae0a..0318c83 100644
+index 754ae0a615..0318c83877 100644
 --- a/gdk/x11/meson.build
 +++ b/gdk/x11/meson.build
 @@ -14,7 +14,6 @@ gdk_x11_sources = files(
@@ -480,7 +492,7 @@ index 754ae0a..0318c83 100644
  install_headers('gdkx.h', subdir: 'gtk-3.0/gdk/')
  
 diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c
-index 802303e..6439d77 100644
+index 802303ea9f..6439d7745d 100644
 --- a/gtk/gtkglarea.c
 +++ b/gtk/gtkglarea.c
 @@ -29,7 +29,9 @@
@@ -568,7 +580,7 @@ index 802303e..6439d77 100644
  
  static gboolean
 diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
-index a3a3419..274600e 100644
+index a3a341956b..274600e74a 100644
 --- a/gtk/inspector/general.c
 +++ b/gtk/inspector/general.c
 @@ -35,8 +35,10 @@
@@ -615,7 +627,7 @@ index a3a3419..274600e 100644
    if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default ()))
      {
 diff --git a/meson.build b/meson.build
-index 67b24e5..c1cc09a 100644
+index 04d54a8e2c..324915c9ee 100644
 --- a/meson.build
 +++ b/meson.build
 @@ -137,6 +137,7 @@ wayland_enabled        = get_option('wayland_backend')
@@ -673,7 +685,7 @@ index 67b24e5..c1cc09a 100644
    gtk_private_packages += ['pangoft2']
  endif
 diff --git a/meson_options.txt b/meson_options.txt
-index 94099aa..8bd0968 100644
+index 94099aa01e..8bd096896d 100644
 --- a/meson_options.txt
 +++ b/meson_options.txt
 @@ -19,6 +19,8 @@ option('profiler', type: 'boolean', value: false,
@@ -686,7 +698,7 @@ index 94099aa..8bd0968 100644
  # Print backends
  option('print_backends', type : 'string', value : 'auto',
 diff --git a/tests/meson.build b/tests/meson.build
-index 6ff249f..f2a9fba 100644
+index 6ff249f8a1..f2a9fbad6d 100644
 --- a/tests/meson.build
 +++ b/tests/meson.build
 @@ -5,7 +5,6 @@ gtk_tests = [
@@ -720,7 +732,7 @@ index 6ff249f..f2a9fba 100644
    gtk_tests += [['testfontchooserdialog']]
  endif
 diff --git a/testsuite/gtk/objects-finalize.c b/testsuite/gtk/objects-finalize.c
-index 95b565c..7f340c3 100644
+index 95b565c591..7f340c3775 100644
 --- a/testsuite/gtk/objects-finalize.c
 +++ b/testsuite/gtk/objects-finalize.c
 @@ -109,7 +109,9 @@ main (int argc, char **argv)
meta/recipes-gnome/gtk+/gtk+3_3.24.51.bb renamed from meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb +3 -3
similarity index 97%
rename from meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb
rename to meta/recipes-gnome/gtk+/gtk+3_3.24.51.bb
index 0ee2f18167..206578542c 100644
@@ -18,12 +18,12 @@ LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
 inherit meson gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings features_check gobject-introspection
 
 MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
-SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \
+SRC_URI = "${GNOME_MIRROR}/gtk/${MAJ_VER}/gtk-${PV}.tar.xz \
            file://opengl.patch \
            "
-SRC_URI[sha256sum] = "7e04f0648515034b806b74ae5d774d87cffb1a2a96c468cb5be476d51bf2f3c7"
+SRC_URI[sha256sum] = "0013877c6bd23c2dbe42ad7c70a053d0e449be66736574e37867c49c5f905a4f"
 
-S = "${WORKDIR}/gtk+-${PV}"
+S = "${WORKDIR}/gtk-${PV}"
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.51.0
#24 lore raw
In reply to Jörg Sommer

Hi Jörg,

Have you verified that all of these version bumps contain only bug/security fixes, no features added or removed, and no API changes?

Thanks!

Steve

Quoted 37 lines · Jörg Sommer via lists.openembedded.org

The current version 3.24.34 fails to build gtk+3-native with Debian 13:

../../gtk+-3.24.34/gtk/gtklabel.c: In function ‘gtk_label_style_updated’:
../../gtk+-3.24.34/gtk/gtklabel.c:4235:32: error: passing argument 1 of ‘gtk_widget_queue_resize’ from incompatible pointer type [-Wincompatible-pointer-types]

 4235 |       gtk_widget_queue_resize (label);
      |                                ^~~~~
      |                                |
      |                                GtkLabel * {aka struct _GtkLabel *}
In file included from ../../gtk+-3.24.34/gtk/deprecated/gtkmisc.h:33,
                 from ../../gtk+-3.24.34/gtk/gtklabel.h:32,
                 from ../../gtk+-3.24.34/gtk/gtklabel.c:30:
../../gtk+-3.24.34/gtk/gtkwidget.h:663:65: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkLabel *’ {aka ‘struct _GtkLabel *’}
  663 | void       gtk_widget_queue_resize        (GtkWidget           *widget);
      |                                            ~~~~~~~~~~~~~~~~~~~~~^~~~~~

This was fixed somewhere between 3.24.34 and 3.24.51. Therefore, upgrade the recipe with the commits from master.

 ...Do-not-try-to-initialize-GL-without-libGL.patch |  57 --
 .../0003-Add-disable-opengl-configure-option.patch | 872 ---------------------
 meta/recipes-gnome/gtk+/gtk+3/CVE-2024-6655.patch  |  39 -
 meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch   |  19 -
 meta/recipes-gnome/gtk+/gtk+3/opengl.patch         | 747 ++++++++++++++++++
 meta/recipes-gnome/gtk+/gtk+3_3.24.34.bb           |  18 -
 .../gtk+/{gtk+3.inc => gtk+3_3.24.51.bb}           |  66 +-
 7 files changed, 782 insertions(+), 1036 deletions(-)

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