|
|
d05f4b |
%global commit 280aac5a0ee09c45b17ec4be0681397f7c34c12e
|
|
|
d05f4b |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
d05f4b |
|
|
|
d05f4b |
#global gitdate 20210201
|
|
|
d05f4b |
%global pkgname %{?gitdate:xserver}%{!?gitdate:xwayland}
|
|
|
d05f4b |
|
|
|
d05f4b |
%global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
|
|
|
d05f4b |
|
|
|
d05f4b |
Summary: Xwayland
|
|
|
d05f4b |
Name: xorg-x11-server-Xwayland
|
|
|
d05f4b |
Version: 21.1.1
|
|
|
d05f4b |
Release: 6%{?gitdate:.%{gitdate}git%{shortcommit}}%{?dist}
|
|
|
d05f4b |
|
|
|
d05f4b |
URL: http://www.x.org
|
|
|
d05f4b |
%if 0%{?gitdate}
|
|
|
d05f4b |
Source0: https://gitlab.freedesktop.org/xorg/%{pkgname}/-/archive/%{commit}/%{pkgname}-%{shortcommit}.tar.gz
|
|
|
d05f4b |
%else
|
|
|
d05f4b |
Source0: https://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.xz
|
|
|
d05f4b |
%endif
|
|
|
d05f4b |
|
|
|
d05f4b |
Patch1: 0001-xwayland-Move-dmabuf-interface-to-common-glamor-code.patch
|
|
|
d05f4b |
Patch2: 0002-xwayland-move-formats-and-modifiers-functions-to-com.patch
|
|
|
d05f4b |
Patch3: 0003-xwayland-Add-check_flip-glamor-backend-function.patch
|
|
|
d05f4b |
Patch4: 0004-xwayland-implement-pixmap_from_buffers-for-the-eglst.patch
|
|
|
d05f4b |
Patch5: 0005-xwayland-eglstream-fix-X11-rendering-to-flipping-GL-.patch
|
|
|
d05f4b |
Patch6: 0006-xwayland-eglstream-Check-buffer-creation.patch
|
|
|
d05f4b |
Patch7: 0007-xwayland-Check-buffer-prior-to-attaching-it.patch
|
|
|
d05f4b |
Patch8: 0008-glamor-Dump-backtrace-on-GL-error.patch
|
|
|
d05f4b |
Patch9: 0009-xwayland-glamor-Add-return-status-to-post_damage.patch
|
|
|
d05f4b |
Patch10: 0010-xwayland-eglstream-Check-framebuffer-status.patch
|
|
|
d05f4b |
Patch11: 0011-xwayland-eglstream-Small-refactoring.patch
|
|
|
d05f4b |
Patch12: 0012-xwayland-eglstream-Add-more-error-checking.patch
|
|
|
d05f4b |
Patch13: 0013-xwayland-eglstream-Dissociate-pending-stream-from-wi.patch
|
|
|
d05f4b |
Patch14: 0014-xwayland-eglstream-Keep-a-reference-to-the-pixmap.patch
|
|
|
d05f4b |
Patch15: 0015-xwayland-eglstream-Drop-the-list-of-pending-streams.patch
|
|
|
d05f4b |
Patch16: 0016-xwayland-eglstream-Do-not-commit-without-surface.patch
|
|
|
d05f4b |
Patch17: 0017-xwayland-eglstream-Fix-calloc-malloc.patch
|
|
|
d05f4b |
Patch18: 0018-xwayland-eglstream-Check-eglSwapBuffers.patch
|
|
|
d05f4b |
Patch19: 0019-xwayland-eglstream-Do-not-always-increment-pixmap-re.patch
|
|
|
d05f4b |
Patch20: 0020-xwayland-eglstream-Set-ALU-to-GXCopy-for-blitting.patch
|
|
|
d05f4b |
Patch21: 0021-xwayland-eglstream-allow-commits-to-dma-buf-backed-p.patch
|
|
|
d05f4b |
Patch22: 0022-xwayland-eglstream-flush-stream-after-eglSwapBuffers.patch
|
|
|
d05f4b |
Patch23: 0023-xwayland-Add-preferred-GLVND-vendor-to-xwl_screen.patch
|
|
|
d05f4b |
Patch24: 0024-xwayland-eglstream-Use-nvidia-for-GLVND.patch
|
|
|
d05f4b |
Patch25: 0025-xwayland-eglstream-Log-when-GL_OES_EGL_image-is-miss.patch
|
|
|
d05f4b |
Patch26: 0026-glx-don-t-create-implicit-GLXWindow-if-one-already-e.patch
|
|
|
d05f4b |
Patch27: 0027-glx-Set-ContextTag-for-all-contexts.patch
|
|
|
d05f4b |
# https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/704
|
|
|
d05f4b |
Patch28: 0001-xwayland-eglstream-Keep-pending-stream-if-the-pixmap.patch
|
|
|
d05f4b |
Patch29: 0002-xwayland-eglstream-Remove-stream-validity.patch
|
|
|
d05f4b |
|
|
|
d05f4b |
License: MIT
|
|
|
d05f4b |
|
|
|
d05f4b |
Requires: xorg-x11-server-common
|
|
|
d05f4b |
Requires: libEGL
|
|
|
d05f4b |
Requires: libepoxy >= 1.5.5
|
|
|
d05f4b |
|
|
|
d05f4b |
BuildRequires: gcc
|
|
|
d05f4b |
BuildRequires: git-core
|
|
|
d05f4b |
BuildRequires: meson
|
|
|
d05f4b |
|
|
|
d05f4b |
BuildRequires: wayland-devel
|
|
|
d05f4b |
BuildRequires: pkgconfig(wayland-client) >= 1.3.0
|
|
|
d05f4b |
BuildRequires: pkgconfig(wayland-protocols)
|
|
|
d05f4b |
BuildRequires: pkgconfig(wayland-eglstream-protocols)
|
|
|
d05f4b |
|
|
|
d05f4b |
BuildRequires: pkgconfig(dmx)
|
|
|
d05f4b |
BuildRequires: pkgconfig(epoxy) >= 1.5.5
|
|
|
d05f4b |
BuildRequires: pkgconfig(fontenc)
|
|
|
d05f4b |
BuildRequires: pkgconfig(libdrm) >= 2.4.0
|
|
|
d05f4b |
BuildRequires: pkgconfig(libssl)
|
|
|
d05f4b |
BuildRequires: pkgconfig(libtirpc)
|
|
|
d05f4b |
BuildRequires: pkgconfig(pixman-1)
|
|
|
d05f4b |
BuildRequires: pkgconfig(x11)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xau)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xdmcp)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xext)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xfixes)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xfont2)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xi)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xinerama)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xkbfile)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xmu)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xorg-macros) >= 1.17
|
|
|
d05f4b |
BuildRequires: pkgconfig(xpm)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xrender)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xres)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xshmfence) >= 1.1
|
|
|
d05f4b |
BuildRequires: pkgconfig(xtrans) >= 1.3.2
|
|
|
d05f4b |
BuildRequires: pkgconfig(xtst)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xv)
|
|
|
d05f4b |
BuildRequires: xorg-x11-proto-devel >= 7.7-10
|
|
|
d05f4b |
|
|
|
d05f4b |
BuildRequires: mesa-libGL-devel >= 9.2
|
|
|
d05f4b |
BuildRequires: mesa-libEGL-devel
|
|
|
d05f4b |
BuildRequires: mesa-libgbm-devel
|
|
|
d05f4b |
|
|
|
d05f4b |
BuildRequires: audit-libs-devel
|
|
|
d05f4b |
BuildRequires: libselinux-devel >= 2.0.86-1
|
|
|
d05f4b |
|
|
|
d05f4b |
# libunwind is Exclusive for the following arches
|
|
|
d05f4b |
%ifarch aarch64 %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
|
|
|
d05f4b |
%if !0%{?rhel}
|
|
|
d05f4b |
BuildRequires: libunwind-devel
|
|
|
d05f4b |
%endif
|
|
|
d05f4b |
%endif
|
|
|
d05f4b |
|
|
|
d05f4b |
BuildRequires: pkgconfig(xcb-aux)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xcb-image)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xcb-icccm)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xcb-keysyms)
|
|
|
d05f4b |
BuildRequires: pkgconfig(xcb-renderutil)
|
|
|
d05f4b |
|
|
|
d05f4b |
%description
|
|
|
d05f4b |
Xwayland is an X server for running X clients under Wayland.
|
|
|
d05f4b |
|
|
|
d05f4b |
%package devel
|
|
|
d05f4b |
Summary: Development package
|
|
|
d05f4b |
Requires: pkgconfig
|
|
|
d05f4b |
|
|
|
d05f4b |
%description devel
|
|
|
d05f4b |
The development package provides the developmental files which are
|
|
|
d05f4b |
necessary for developing Wayland compositors using Xwayland.
|
|
|
d05f4b |
|
|
|
d05f4b |
%prep
|
|
|
d05f4b |
%autosetup -S git_am -n %{pkgname}-%{?gitdate:%{commit}}%{!?gitdate:%{version}}
|
|
|
d05f4b |
|
|
|
d05f4b |
%build
|
|
|
d05f4b |
%meson \
|
|
|
d05f4b |
-Dxwayland_eglstream=true \
|
|
|
d05f4b |
-Ddefault_font_path=%{default_font_path} \
|
|
|
d05f4b |
-Dbuilder_string="Build ID: %{name} %{version}-%{release}" \
|
|
|
d05f4b |
-Dxkb_output_dir=%{_localstatedir}/lib/xkb \
|
|
|
d05f4b |
-Dxcsecurity=true \
|
|
|
d05f4b |
-Dglamor=true \
|
|
|
d05f4b |
-Ddri3=true
|
|
|
d05f4b |
|
|
|
d05f4b |
%meson_build
|
|
|
d05f4b |
|
|
|
d05f4b |
%install
|
|
|
d05f4b |
%meson_install
|
|
|
d05f4b |
|
|
|
d05f4b |
# Remove unwanted files/dirs
|
|
|
d05f4b |
rm $RPM_BUILD_ROOT%{_mandir}/man1/Xserver.1*
|
|
|
d05f4b |
rm -Rf $RPM_BUILD_ROOT%{_libdir}/xorg
|
|
|
d05f4b |
rm -Rf $RPM_BUILD_ROOT%{_includedir}/xorg
|
|
|
d05f4b |
rm -Rf $RPM_BUILD_ROOT%{_datadir}/aclocal
|
|
|
d05f4b |
rm -Rf $RPM_BUILD_ROOT%{_localstatedir}/lib/xkb
|
|
|
d05f4b |
|
|
|
d05f4b |
%files
|
|
|
d05f4b |
%{_bindir}/Xwayland
|
|
|
d05f4b |
%{_mandir}/man1/Xwayland.1*
|
|
|
d05f4b |
|
|
|
d05f4b |
%files devel
|
|
|
d05f4b |
%{_libdir}/pkgconfig/xwayland.pc
|
|
|
d05f4b |
|
|
|
d05f4b |
%changelog
|
|
|
d05f4b |
* Mon Aug 9 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1-6
|
|
|
d05f4b |
- Backport the latest fixes from Xwayland for EGLstream (rhbz#1977741)
|
|
|
d05f4b |
|
|
|
d05f4b |
* Tue Jun 29 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1-5
|
|
|
d05f4b |
- Require libepoxy >= 1.5.5 (rhbz#1976132)
|
|
|
d05f4b |
|
|
|
d05f4b |
* Mon Jun 21 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1-4
|
|
|
d05f4b |
- Fix a use-after-free in the previous changes for GLX
|
|
|
d05f4b |
|
|
|
d05f4b |
* Mon Jun 14 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1-3
|
|
|
d05f4b |
- Backport fixes for GLX and EGLstream (#1961981)
|
|
|
d05f4b |
|
|
|
d05f4b |
* Thu Jun 03 2021 Tomas Pelka <tpelka@redhat.com> - 21.1.1-2
|
|
|
d05f4b |
- bump release and rebuild to correctly trigger gating
|
|
|
d05f4b |
|
|
|
d05f4b |
* Wed Apr 14 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.1-1
|
|
|
d05f4b |
- xwayland 21.1.1 (CVE-2021-3472 / ZDI-CAN-1259)
|
|
|
d05f4b |
|
|
|
d05f4b |
* Thu Mar 18 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.1.0-1
|
|
|
d05f4b |
- xwayland 21.1.0
|
|
|
d05f4b |
|
|
|
d05f4b |
* Thu Mar 4 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.0.99.902-1
|
|
|
d05f4b |
- xwayland 21.0.99.902
|
|
|
d05f4b |
- Remove xdmcp, udev, udev_kms build options
|
|
|
d05f4b |
- Stop overriding the vendor name, same as xorg-x11-server
|
|
|
d05f4b |
|
|
|
d05f4b |
* Thu Feb 18 2021 Olivier Fourdan <ofourdan@redhat.com> - 21.0.99.901-1
|
|
|
d05f4b |
- xwayland 21.0.99.901
|
|
|
d05f4b |
|
|
|
d05f4b |
* Mon Feb 1 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.99.1-0.1.20210201git5429791
|
|
|
d05f4b |
- Initial import (#1912335).
|