diff options
author | Sam James <sam@gentoo.org> | 2023-03-27 15:12:52 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-27 15:12:52 +0100 |
commit | 71df66a832a266fd1c151d2fa89163586da4436f (patch) | |
tree | 14c9f4954a28ebb8166387c2de299a1d7490924a /x11-wm | |
parent | dev-db/postgresql: Stabilize 15.2 sparc, #903191 (diff) | |
download | gentoo-71df66a832a266fd1c151d2fa89163586da4436f.tar.gz gentoo-71df66a832a266fd1c151d2fa89163586da4436f.tar.bz2 gentoo-71df66a832a266fd1c151d2fa89163586da4436f.zip |
x11-wm/mutter: fix build w/ USE=-screencast
Closes: https://bugs.gentoo.org/901809
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/mutter/files/mutter-44.0-no-screencast-build.patch | 31 | ||||
-rw-r--r-- | x11-wm/mutter/mutter-44.0.ebuild | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/x11-wm/mutter/files/mutter-44.0-no-screencast-build.patch b/x11-wm/mutter/files/mutter-44.0-no-screencast-build.patch new file mode 100644 index 000000000000..85b95164a65a --- /dev/null +++ b/x11-wm/mutter/files/mutter-44.0-no-screencast-build.patch @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/901809 +https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2935 + +From 2c1eee4d0a27439e97ff5dee541ad138aa75aaed Mon Sep 17 00:00:00 2001 +From: Chris Mayo <aklhfex@gmail.com> +Date: Sat, 25 Mar 2023 17:22:01 +0000 +Subject: [PATCH] backend: Fix build with -Dremote_desktop=false +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +../mutter-44.0/src/backends/meta-backend.c: In function ‘meta_backend_real_post_init’: +../mutter-44.0/src/backends/meta-backend.c:560:7: error: ‘MetaBackendPrivate’ {aka ‘struct _MetaBackendPrivate’} has no member named ‘remote_access_controller’ + 560 | priv->remote_access_controller = + | ^~ + +Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2655 +--- a/src/backends/meta-backend.c ++++ b/src/backends/meta-backend.c +@@ -134,8 +134,8 @@ struct _MetaBackendPrivate + #endif + MetaSettings *settings; + MetaDbusSessionWatcher *dbus_session_watcher; +-#ifdef HAVE_REMOTE_DESKTOP + MetaRemoteAccessController *remote_access_controller; ++#ifdef HAVE_REMOTE_DESKTOP + MetaScreenCast *screen_cast; + MetaRemoteDesktop *remote_desktop; + #endif +-- +GitLab diff --git a/x11-wm/mutter/mutter-44.0.ebuild b/x11-wm/mutter/mutter-44.0.ebuild index 5ef3fcb79b38..b53a43637e87 100644 --- a/x11-wm/mutter/mutter-44.0.ebuild +++ b/x11-wm/mutter/mutter-44.0.ebuild @@ -128,6 +128,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-43.0-Disable-anonymous-file-test.patch + "${FILESDIR}"/${PN}-44.0-no-screencast-build.patch ) python_check_deps() { |