summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2024-06-09 00:22:49 +0200
committerArmin Kuster <akuster808@gmail.com>2024-06-27 11:24:46 -0400
commit23398704b5a17f835882fc2a0cd8a134a544c7bc (patch)
treecd71c6d02acba70ca3476ec1c1560ae39e8104d9 /meta-gnome
parentbbbe4d53206f8d545effaa2a1f1caaf9811f8daf (diff)
downloadmeta-openembedded-23398704b5a17f835882fc2a0cd8a134a544c7bc.tar.gz
gnome-shell: correct regression with glib-2.0 fix for CVE-2024-34397
Backport fix to work with new glib-2.0. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0002-screencast-Correct-expected-bus-name-for-streams.patch38
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell_42.0.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0002-screencast-Correct-expected-bus-name-for-streams.patch b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0002-screencast-Correct-expected-bus-name-for-streams.patch
new file mode 100644
index 0000000000..a4178b87e0
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0002-screencast-Correct-expected-bus-name-for-streams.patch
@@ -0,0 +1,38 @@
1From 50a011a19dcc6997ea6173c07bb80b2d9888d363 Mon Sep 17 00:00:00 2001
2From: Simon McVittie <smcv@debian.org>
3Date: Mon, 6 May 2024 21:58:09 +0100
4Subject: [PATCH] screencast: Correct expected bus name for streams
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Previously, this only worked because GDBusConnection was not filtering
10signals by their sender correctly (GNOME/glib#3268).
11
12Thanks: Alicia Boya GarcĂ­a
13Signed-off-by: Simon McVittie <smcv@debian.org>
14Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3303>
15
16Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/50a011a19dcc6997ea6173c07bb80b2d9888d363]
17
18Signed-off-by: Peter Marko <peter.marko@siemens.com>
19---
20 js/dbusServices/screencast/screencastService.js | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/js/dbusServices/screencast/screencastService.js b/js/dbusServices/screencast/screencastService.js
24index d664a51b083..0645811fa0a 100644
25--- a/js/dbusServices/screencast/screencastService.js
26+++ b/js/dbusServices/screencast/screencastService.js
27@@ -166,7 +166,7 @@ var Recorder = class {
28 });
29
30 this._streamProxy = new ScreenCastStreamProxy(Gio.DBus.session,
31- 'org.gnome.ScreenCast.Stream',
32+ 'org.gnome.Mutter.ScreenCast',
33 streamPath);
34
35 this._streamProxy.connectSignal('PipeWireStreamAdded',
36--
372.30.2
38
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_42.0.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_42.0.bb
index f54d966c73..b58058ed86 100644
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_42.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_42.0.bb
@@ -33,6 +33,7 @@ REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
33 33
34SRC_URI[archive.sha256sum] = "33d404fb3c93b9de42984f0110a2969d6a4a7247c27fe7f5e24c67ecfec75094" 34SRC_URI[archive.sha256sum] = "33d404fb3c93b9de42984f0110a2969d6a4a7247c27fe7f5e24c67ecfec75094"
35SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch" 35SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch"
36SRC_URI += "file://0002-screencast-Correct-expected-bus-name-for-streams.patch"
36 37
37PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 38PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
38PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth" 39PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"