2022-06-20 09:42:18 +08:00
|
|
|
%global pkgname xwayland
|
|
|
|
|
%global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
|
|
|
|
|
|
|
|
|
|
Summary: Xwayland
|
2022-06-24 06:50:02 +00:00
|
|
|
Name: xorg-x11-server-Xwayland
|
2022-06-20 09:42:18 +08:00
|
|
|
Version: 22.1.2
|
2024-05-06 17:40:27 +08:00
|
|
|
Release: 4
|
2022-06-20 09:42:18 +08:00
|
|
|
License: MIT
|
|
|
|
|
URL: http://www.x.org
|
|
|
|
|
Source0: https://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.xz
|
|
|
|
|
|
2024-04-28 16:41:09 +08:00
|
|
|
Patch1: 0001-fix-CVE-2024-31080.patch
|
|
|
|
|
Patch2: 0002-fix-CVE-2024-31081.patch
|
2024-05-06 17:40:27 +08:00
|
|
|
Patch3: 0003-fix-CVE-2023-6377.patch
|
|
|
|
|
Patch4: 0004-fix-CVE-2023-6478.patch
|
|
|
|
|
Patch5: 0005-fix-CVE-2023-6816.patch
|
|
|
|
|
Patch6: 0006-fix-CVE-2024-0408.patch
|
|
|
|
|
Patch7: 0007-fix-CVE-2024-0409.patch
|
|
|
|
|
|
2022-06-20 09:42:18 +08:00
|
|
|
Requires: xorg-x11-server-common
|
|
|
|
|
Requires: libEGL
|
|
|
|
|
Requires: libepoxy >= 1.5.5
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
|
|
|
|
|
BuildRequires: wayland-devel
|
|
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.3.0
|
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-eglstream-protocols)
|
|
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(epoxy) >= 1.5.5
|
|
|
|
|
BuildRequires: pkgconfig(fontenc)
|
|
|
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.0
|
|
|
|
|
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)
|
|
|
|
|
BuildRequires: pkgconfig(libxcvt)
|
|
|
|
|
BuildRequires: libxcvt
|
|
|
|
|
BuildRequires: xorg-x11-proto-devel >= 7.7-10
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
BuildRequires: libunwind-devel
|
|
|
|
|
|
|
|
|
|
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
|
2024-04-28 16:41:09 +08:00
|
|
|
%autosetup -n %{pkgname}-%{version} -p1
|
2022-06-20 09:42:18 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson \
|
|
|
|
|
-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,provide by xorg-x11-server
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_bindir}/Xwayland
|
|
|
|
|
%{_mandir}/man1/Xwayland.1*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/pkgconfig/xwayland.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-05-06 17:40:27 +08:00
|
|
|
* Mon May 06 2024 cenhuilin <cenhuilin@kylinos.cn> - 22.1.2-4
|
|
|
|
|
- fix CVE-2023-6377 CVE-2023-6478 CVE-2023-6816 CVE-2024-0408 CVE-2024-0409
|
|
|
|
|
|
2024-04-28 16:41:09 +08:00
|
|
|
* Sun Apr 28 2024 cenhuilin <cenhuilin@kylinos.cn> - 22.1.2-3
|
|
|
|
|
- fix CVE-2024-31080 CVE-2024-31081
|
|
|
|
|
|
2022-06-24 06:50:02 +00:00
|
|
|
* Fri Jun 24 2022 wangkerong <wangkerong@h-partners.com> - 22.1.2-2
|
|
|
|
|
- rename packagename
|
|
|
|
|
|
2022-06-20 09:42:18 +08:00
|
|
|
* Mon Jun 20 2022 wangkerong <wangkerong@h-partners.com> - 22.1.2-1
|
|
|
|
|
- Package init
|