]> git.pld-linux.org Git - packages/mutter.git/commitdiff
- added no-xwayland patch (don't require Xwayland binary at configure time) auto/th/mutter-3.38.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 3 Dec 2020 20:34:39 +0000 (21:34 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 3 Dec 2020 20:34:39 +0000 (21:34 +0100)
mutter-no-xwayland.patch [new file with mode: 0644]
mutter.spec

diff --git a/mutter-no-xwayland.patch b/mutter-no-xwayland.patch
new file mode 100644 (file)
index 0000000..3d7ead0
--- /dev/null
@@ -0,0 +1,18 @@
+--- mutter-3.38.2/meson.build.orig     2020-12-02 22:42:53.975304000 +0100
++++ mutter-3.38.2/meson.build  2020-12-03 21:29:37.119893722 +0100
+@@ -411,14 +411,11 @@
+   # For Xwayland -initfd usage
+   use_initfd = get_option('xwayland_initfd')
+-  xwayland_options = run_command(xwayland_path, '-help')
+   if use_initfd.auto()
++    xwayland_options = run_command(xwayland_path, '-help')
+     have_xwayland_initfd = xwayland_options.stderr().contains('-initfd')
+   else
+     have_xwayland_initfd = use_initfd.enabled()
+-    if have_xwayland_initfd and not xwayland_options.stderr().contains('-initfd')
+-      error('XWayland -initfd support requested but not available')
+-    endif
+   endif
+   if (have_xwayland_initfd)
index 52bda4d299e6aa8a1ce1adb04523733d190237f5..3af74f3829aed2d21781fcd688419467c5d2a0ee 100644 (file)
@@ -14,6 +14,7 @@ License:      GPL v2+
 Group:         X11/Window Managers
 Source0:       https://download.gnome.org/sources/mutter/3.38/%{name}-%{version}.tar.xz
 # Source0-md5: 07307571f9f2bdb433894741222773e1
+Patch0:                %{name}-no-xwayland.patch
 URL:           https://gitlab.gnome.org/GNOME/mutter
 BuildRequires: EGL-devel
 BuildRequires: OpenGL-GLX-devel
@@ -177,6 +178,7 @@ Mutter.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build \
This page took 0.258628 seconds and 4 git commands to generate.