Backport upstream MR2785 to add byte-swapped support

Xwayland now disallows byte-swapped clients by default on Fedora 38 and
above.

This adds the ability to re-enable support for byte-swapped client
support in Xwayland if needed.

Related: #2159489
This commit is contained in:
Olivier Fourdan
2023-01-17 14:17:43 +01:00
parent 89161ff785
commit d55d552a7b
3 changed files with 222 additions and 1 deletions

View File

@@ -12,7 +12,7 @@
Name: mutter
Version: 43.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Window and compositing manager based on Clutter
License: GPLv2+
@@ -35,6 +35,14 @@ Patch2: mutter-42.alpha-disable-tegra.patch
# https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2687
Patch3: post-43.1-fixes.patch
# Only on F38 and later
%if 0%{fedora} >= 38
# Add Xwayland byte-swapped clients support
# https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2785
Patch4: 0001-settings-Add-Xwayland-byte-swapped-clients.patch
Patch5: 0002-xwayland-Add-support-for-byte-swapped-clients.patch
%endif
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.41.0
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(libwacom)
@@ -180,6 +188,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%{_datadir}/mutter-%{mutter_api_version}/tests
%changelog
* Tue Jan 17 2023 Olivier Fourdan <ofourdan@redhat.com> - 43.1-3
- Add Xwayland byte-swapped clients support on Fedora 38 and above (#2159489)
* Thu Nov 17 2022 Jonas Ådahl <jadahl@redhat.com> - 43.1-2
- Backport regression fixes