diff options
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0002-screencast-Correct-expected-bus-name-for-streams.patch | 38 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-shell/gnome-shell_46.1.bb | 1 |
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..736594716a --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0002-screencast-Correct-expected-bus-name-for-streams.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | From 50a011a19dcc6997ea6173c07bb80b2d9888d363 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Simon McVittie <smcv@debian.org> | ||
| 3 | Date: Mon, 6 May 2024 21:58:09 +0100 | ||
| 4 | Subject: [PATCH] screencast: Correct expected bus name for streams | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Previously, this only worked because GDBusConnection was not filtering | ||
| 10 | signals by their sender correctly (GNOME/glib#3268). | ||
| 11 | |||
| 12 | Thanks: Alicia Boya GarcĂa | ||
| 13 | Signed-off-by: Simon McVittie <smcv@debian.org> | ||
| 14 | Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3303> | ||
| 15 | |||
| 16 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/50a011a19dcc6997ea6173c07bb80b2d9888d363] | ||
| 17 | |||
| 18 | Signed-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 | |||
| 23 | diff --git a/js/dbusServices/screencast/screencastService.js b/js/dbusServices/screencast/screencastService.js | ||
| 24 | index d664a51b083..0645811fa0a 100644 | ||
| 25 | --- a/js/dbusServices/screencast/screencastService.js | ||
| 26 | +++ b/js/dbusServices/screencast/screencastService.js | ||
| 27 | @@ -340,7 +340,7 @@ class Recorder extends Signals.EventEmitter { | ||
| 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 | -- | ||
| 37 | 2.30.2 | ||
| 38 | |||
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_46.1.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_46.1.bb index ed86cbcb6a..1bc9b6b394 100644 --- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_46.1.bb +++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_46.1.bb | |||
| @@ -34,6 +34,7 @@ REQUIRED_DISTRO_FEATURES += "gobject-introspection-data" | |||
| 34 | 34 | ||
| 35 | SRC_URI[archive.sha256sum] = "64f999844c101e63bf294d45b138de56319ad2f326282721aad0fa860653b369" | 35 | SRC_URI[archive.sha256sum] = "64f999844c101e63bf294d45b138de56319ad2f326282721aad0fa860653b369" |
| 36 | SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch" | 36 | SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch" |
| 37 | SRC_URI += "file://0002-screencast-Correct-expected-bus-name-for-streams.patch" | ||
| 37 | 38 | ||
| 38 | PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 39 | PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 39 | PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth" | 40 | PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth" |
