2023-04-27 15:58:27 +00:00
|
|
|
%global commit 9a55c402aa803fb10e39ab4fd18a709d0cd06fd4
|
2021-02-01 09:50:22 +00:00
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
2023-04-27 15:58:27 +00:00
|
|
|
#global gitdate 20230426
|
2021-02-18 09:10:39 +00:00
|
|
|
%global pkgname %{?gitdate:xserver}%{!?gitdate:xwayland}
|
2021-02-01 09:50:22 +00:00
|
|
|
|
|
|
|
%global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
|
|
|
|
|
|
|
|
Summary: Xwayland
|
|
|
|
Name: xorg-x11-server-Xwayland
|
2023-07-19 16:12:21 +00:00
|
|
|
Version: 23.1.99.901
|
2023-06-06 12:53:57 +00:00
|
|
|
Release: 1%{?gitdate:.%{gitdate}git%{shortcommit}}%{?dist}
|
2021-02-01 09:50:22 +00:00
|
|
|
|
|
|
|
URL: http://www.x.org
|
2021-02-18 09:10:39 +00:00
|
|
|
%if 0%{?gitdate}
|
2021-02-01 09:50:22 +00:00
|
|
|
Source0: https://gitlab.freedesktop.org/xorg/%{pkgname}/-/archive/%{commit}/%{pkgname}-%{shortcommit}.tar.gz
|
2021-02-18 09:10:39 +00:00
|
|
|
%else
|
|
|
|
Source0: https://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.xz
|
|
|
|
%endif
|
2021-06-10 08:14:18 +00:00
|
|
|
|
2021-02-01 09:50:22 +00:00
|
|
|
License: MIT
|
|
|
|
|
|
|
|
Requires: xorg-x11-server-common
|
|
|
|
Requires: libEGL
|
2021-07-01 09:21:05 +00:00
|
|
|
Requires: libepoxy >= 1.5.5
|
2021-02-01 09:50:22 +00:00
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: git-core
|
|
|
|
BuildRequires: meson
|
|
|
|
|
|
|
|
BuildRequires: wayland-devel
|
2023-02-22 11:03:52 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.21.0
|
2023-07-19 16:12:21 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.30
|
2021-02-01 09:50:22 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-eglstream-protocols)
|
|
|
|
|
2021-07-01 09:21:05 +00:00
|
|
|
BuildRequires: pkgconfig(epoxy) >= 1.5.5
|
2021-02-01 09:50:22 +00:00
|
|
|
BuildRequires: pkgconfig(fontenc)
|
2023-02-22 11:03:52 +00:00
|
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.89
|
2021-02-01 09:50:22 +00:00
|
|
|
BuildRequires: pkgconfig(libssl)
|
|
|
|
BuildRequires: pkgconfig(libtirpc)
|
|
|
|
BuildRequires: pkgconfig(pixman-1)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xau)
|
|
|
|
BuildRequires: pkgconfig(xdmcp)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xfont2)
|
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(xinerama)
|
|
|
|
BuildRequires: pkgconfig(xkbfile)
|
|
|
|
BuildRequires: pkgconfig(xmu)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.17
|
|
|
|
BuildRequires: pkgconfig(xpm)
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
BuildRequires: pkgconfig(xres)
|
|
|
|
BuildRequires: pkgconfig(xshmfence) >= 1.1
|
|
|
|
BuildRequires: pkgconfig(xtrans) >= 1.3.2
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
BuildRequires: pkgconfig(xv)
|
2022-01-21 13:35:11 +00:00
|
|
|
BuildRequires: pkgconfig(libxcvt)
|
2023-02-22 11:03:52 +00:00
|
|
|
BuildRequires: pkgconfig(libdecor-0) >= 0.1.1
|
2023-07-19 16:12:21 +00:00
|
|
|
BuildRequires: pkgconfig(liboeffis-1.0) >= 1.0.0
|
|
|
|
BuildRequires: pkgconfig(libei-1.0) >= 1.0.0
|
|
|
|
BuildRequires: xorg-x11-proto-devel >= 2023.2-1
|
2021-02-01 09:50:22 +00:00
|
|
|
|
|
|
|
BuildRequires: mesa-libGL-devel >= 9.2
|
|
|
|
BuildRequires: mesa-libEGL-devel
|
|
|
|
BuildRequires: mesa-libgbm-devel
|
|
|
|
|
|
|
|
BuildRequires: audit-libs-devel
|
|
|
|
BuildRequires: libselinux-devel >= 2.0.86-1
|
|
|
|
|
|
|
|
# libunwind is Exclusive for the following arches
|
|
|
|
%ifarch aarch64 %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
|
|
|
|
%if !0%{?rhel}
|
|
|
|
BuildRequires: libunwind-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(xcb-aux)
|
|
|
|
BuildRequires: pkgconfig(xcb-image)
|
|
|
|
BuildRequires: pkgconfig(xcb-icccm)
|
|
|
|
BuildRequires: pkgconfig(xcb-keysyms)
|
|
|
|
BuildRequires: pkgconfig(xcb-renderutil)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Xwayland is an X server for running X clients under Wayland.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The development package provides the developmental files which are
|
|
|
|
necessary for developing Wayland compositors using Xwayland.
|
|
|
|
|
|
|
|
%prep
|
2023-02-22 11:03:52 +00:00
|
|
|
%autosetup -S git_am -n %{pkgname}-%{?gitdate:%{commit}}%{!?gitdate:%{version}}
|
2021-02-01 09:50:22 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%meson \
|
2023-04-27 15:58:27 +00:00
|
|
|
%{?gitdate:-Dxwayland=true -D{xorg,xnest,xvfb,udev}=false} \
|
2021-02-01 09:50:22 +00:00
|
|
|
-Dxwayland_eglstream=true \
|
|
|
|
-Ddefault_font_path=%{default_font_path} \
|
|
|
|
-Dbuilder_string="Build ID: %{name} %{version}-%{release}" \
|
|
|
|
-Dxkb_output_dir=%{_localstatedir}/lib/xkb \
|
|
|
|
-Dxcsecurity=true \
|
|
|
|
-Dglamor=true \
|
|
|
|
-Ddri3=true
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
# Remove unwanted files/dirs
|
|
|
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/Xserver.1*
|
|
|
|
rm -Rf $RPM_BUILD_ROOT%{_libdir}/xorg
|
|
|
|
rm -Rf $RPM_BUILD_ROOT%{_includedir}/xorg
|
|
|
|
rm -Rf $RPM_BUILD_ROOT%{_datadir}/aclocal
|
|
|
|
rm -Rf $RPM_BUILD_ROOT%{_localstatedir}/lib/xkb
|
|
|
|
|
2023-02-22 11:03:52 +00:00
|
|
|
%check
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
|
2021-02-01 09:50:22 +00:00
|
|
|
%files
|
|
|
|
%{_bindir}/Xwayland
|
|
|
|
%{_mandir}/man1/Xwayland.1*
|
2023-02-22 11:03:52 +00:00
|
|
|
%{_datadir}/applications/org.freedesktop.Xwayland.desktop
|
2021-02-01 09:50:22 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/pkgconfig/xwayland.pc
|
|
|
|
|
|
|
|
%changelog
|
2023-07-19 16:12:21 +00:00
|
|
|
* Wed Jul 19 2023 Olivier Fourdan <ofourdan@redhat.com> - 23.1.99.901
|
|
|
|
- xwayland 23.1.99.901 (xwayland 23.2.0 rc1)
|
|
|
|
|
2023-06-06 12:53:57 +00:00
|
|
|
* Tue Jun 6 2023 Olivier Fourdan <ofourdan@redhat.com> - 23.1.2-1
|
|
|
|
- xwayland 23.1.2
|
|
|
|
|
2023-04-27 15:58:27 +00:00
|
|
|
* Thu Apr 27 2023 Olivier Fourdan <ofourdan@redhat.com> - 23.1.1-2
|
|
|
|
- Fix spec file to build from git upstream - (#2190211)
|
|
|
|
|
2023-03-29 14:11:15 +00:00
|
|
|
* Wed Mar 29 2023 Olivier Fourdan <ofourdan@redhat.com> - 23.1.1-1
|
|
|
|
- xwayland 23.1.1 - (#2182734)
|
|
|
|
CVE fix for: CVE-2023-1393
|
|
|
|
|
2023-03-22 16:03:16 +00:00
|
|
|
* Wed Mar 22 2023 Olivier Fourdan <ofourdan@redhat.com> - 23.1.0-1
|
|
|
|
- xwayland 23.1.0 - (#2180913)
|
|
|
|
|
2023-03-09 12:20:38 +00:00
|
|
|
* Thu Mar 9 2023 Olivier Fourdan <ofourdan@redhat.com> - 23.0.99.902-1
|
|
|
|
- xwayland 23.0.99.902 (xwayland 23.1.0 rc2) - (#2172415, #2173201)
|
|
|
|
|
|
|
|
* Wed Feb 22 2023 Olivier Fourdan <ofourdan@redhat.com> - 23.0.99.901-1
|
2023-02-22 11:03:52 +00:00
|
|
|
- xwayland 23.0.99.901 (xwayland 23.1.0 rc1) - (#2172415)
|
|
|
|
|
2023-02-07 12:32:15 +00:00
|
|
|
* Tue Feb 7 2023 Olivier Fourdan <ofourdan@redhat.com> - 22.1.8-1
|
|
|
|
- xwayland 22.1.8
|
|
|
|
Fixes CVE-2023-0494 (#2165995, #2167566, #2167734)
|
|
|
|
|
2023-01-29 21:16:25 +00:00
|
|
|
* Sun Jan 29 2023 Stefan Bluhm <stefan.bluhm@clacee.eu> - 22.1.7-4
|
|
|
|
- Updated conditional Fedora statement.
|
|
|
|
|
2023-01-19 15:06:08 +00:00
|
|
|
* Thu Jan 19 2023 Olivier Fourdan <ofourdan@redhat.com> - 22.1.7-3
|
|
|
|
- Use the recommended way to apply conditional patches without
|
|
|
|
conditionalizing the sources (for byte-swapped clients).
|
|
|
|
|
2023-01-17 12:35:52 +00:00
|
|
|
* Tue Jan 17 2023 Olivier Fourdan <ofourdan@redhat.com> - 22.1.7-2
|
|
|
|
- Disallow byte-swapped clients on Fedora 38 and above (#2159489)
|
|
|
|
|
2022-12-19 14:21:06 +00:00
|
|
|
* Mon Dec 19 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.1.7-1
|
|
|
|
- xwayland 22.1.7
|
|
|
|
|
2022-12-14 03:17:12 +00:00
|
|
|
* Wed Dec 14 2022 Peter Hutterer <peter.hutterer@redhat.com> - 22.1.6-1
|
|
|
|
- xwayland 22.1.6
|
|
|
|
Fixes CVE-2022-46340, CVE-2022-46341, CVE-2022-46342, CVE-2022-46343,
|
|
|
|
CVE-2022-46344, CVE-2022-4283
|
|
|
|
|
2022-11-02 12:39:25 +00:00
|
|
|
* Wed Nov 2 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.1.5-1
|
|
|
|
- xwayland 22.1.5 (#2139387)
|
|
|
|
|
2022-10-20 14:48:39 +00:00
|
|
|
* Thu Oct 20 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.1.4-1
|
|
|
|
- xwayland 22.1.4 (#2136518)
|
|
|
|
|
2022-07-23 13:26:04 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 22.1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-12 14:22:05 +00:00
|
|
|
* Tue Jul 12 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.1.3-1
|
|
|
|
- xwayland 22.1.3 - (#2106387)
|
|
|
|
Fix CVE-2022-2319/ZDI-CAN-16062, CVE-2022-2320/ZDI-CAN-16070
|
|
|
|
|
2022-05-25 09:46:44 +00:00
|
|
|
* Wed May 25 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.1.2-1
|
|
|
|
- xwayland 22.1.2 - (#2090172)
|
|
|
|
|
2022-03-31 08:12:01 +00:00
|
|
|
* Thu Mar 31 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.1.1-1
|
|
|
|
- xwayland 22.1.1 - (#2070435)
|
|
|
|
|
2022-02-16 15:11:10 +00:00
|
|
|
* Wed Feb 16 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.1.0
|
|
|
|
- xwayland 22.1.0 - (#2055270)
|
|
|
|
|
2022-02-02 14:51:00 +00:00
|
|
|
* Wed Feb 2 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.0.99.902
|
|
|
|
- xwayland 22.0.99.902 (xwayland 22.1.0 rc2) - (#2042521)
|
|
|
|
|
2022-01-21 13:35:11 +00:00
|
|
|
* Tue Jan 25 2022 Olivier Fourdan <ofourdan@redhat.com> - 22.0.99.901
|
|
|
|
- xwayland 22.0.99.901 (xwayland 22.1.0 rc1) - (#2042521)
|
|
|
|
|
2022-01-22 05:24:28 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 21.1.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-12-14 14:37:52 +00:00
|
|
|
* Tue Dec 14 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.4
|
|
|
|
- xwayland 21.1.4
|
|
|
|
|
2021-11-08 10:56:04 +00:00
|
|
|
* Mon Nov 8 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.3
|
|
|
|
- xwayland 21.1.3 - (#2016468)
|
|
|
|
|
2021-10-21 15:35:37 +00:00
|
|
|
* Thu Oct 21 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.2.901-1
|
|
|
|
- xwayland 21.1.2.901 (aka 21.1.3 RC1) - (#2015413)
|
|
|
|
|
2021-09-14 17:18:13 +00:00
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 21.1.2-3
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
2021-07-23 21:51:23 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 21.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-09 11:50:35 +00:00
|
|
|
* Fri Jul 9 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.2-1
|
|
|
|
- xwayland 21.1.2
|
|
|
|
|
2021-07-01 09:21:05 +00:00
|
|
|
* Thu Jul 1 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1.901-1
|
|
|
|
- xwayland 21.1.1.901
|
|
|
|
|
2021-06-21 09:35:24 +00:00
|
|
|
* Mon Jun 21 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1-3
|
|
|
|
- Fix a use-after-free in the previous changes for GLX
|
|
|
|
|
2021-06-10 08:14:18 +00:00
|
|
|
* Thu Jun 10 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1-2
|
|
|
|
- Backport fixes for GLX and EGLstream (#1948003)
|
|
|
|
|
2021-04-14 07:41:12 +00:00
|
|
|
* Wed Apr 14 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1-1
|
|
|
|
- xwayland 21.1.1 (CVE-2021-3472 / ZDI-CAN-1259)
|
|
|
|
|
2021-03-18 13:17:37 +00:00
|
|
|
* Thu Mar 18 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.0-1
|
|
|
|
- xwayland 21.1.0
|
|
|
|
|
2021-03-04 08:59:24 +00:00
|
|
|
* Thu Mar 4 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.0.99.902-1
|
|
|
|
- xwayland 21.0.99.902
|
|
|
|
- Remove xdmcp, udev, udev_kms build options
|
|
|
|
- Stop overriding the vendor name, same as xorg-x11-server
|
|
|
|
|
2021-02-18 09:10:39 +00:00
|
|
|
* Thu Feb 18 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.0.99.901-1
|
|
|
|
- xwayland 21.0.99.901
|
|
|
|
|
2021-02-01 09:50:22 +00:00
|
|
|
* Mon Feb 1 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.99.1-0.1.20210201git5429791
|
|
|
|
- Initial import (#1912335).
|