代码拉取完成,页面将自动刷新
%global pkgname xwayland
%global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
Summary: Xwayland
Name: xorg-x11-server-Xwayland
Version: 23.1.2
Release: 5%{?dist}
License: MIT
URL: http://www.x.org
Source0: https://gitlab.freedesktop.org/xorg/xserver/-/archive/%{pkgname}-%{version}/xserver-%{pkgname}-%{version}.tar.gz
Patch0001: fixed-CVE-2023-5367.patch
Patch0002: fixed-CVE-2024-21885.patch
Patch0003: fixed-CVE-2024-21886-1.patch
Patch0004: fixed-CVE-2024-21886-2.patch
Patch0005: fixed-CVE-2024-0408.patch
Patch0006: fixed-CVE-2024-0409.patch
Patch0007: fixed-CVE-2024-0229-1.patch
Patch0008: fixed-CVE-2024-0229-2.patch
Patch0009: fixed-CVE-2024-0229-3.patch
Patch0010: fixed-CVE-2023-6816.patch
Patch0011: fixed-CVE-2023-6377.patch
Patch0012: fixed-CVE-2024-31080.patch
Patch0013: fixed-CVE-2024-31081.patch
BuildRequires: gcc meson git-core
BuildRequires: wayland-devel pkgconfig(wayland-protocols) pkgconfig(wayland-eglstream-protocols)
BuildRequires: pkgconfig(wayland-client) >= 1.18.0
BuildRequires: pkgconfig(fontenc) pkgconfig(pixman-1)
BuildRequires: pkgconfig(x11) pkgconfig(xau) pkgconfig(xdmcp) pkgconfig(xext)
BuildRequires: pkgconfig(xfixes) pkgconfig(xfont2) pkgconfig(xi) pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbfile) pkgconfig(xmu) pkgconfig(xpm) pkgconfig(xrender)
BuildRequires: pkgconfig(xres) pkgconfig(xtst) pkgconfig(xv) pkgconfig(libxcvt) libxcvt
BuildRequires: pkgconfig(xcb-aux) pkgconfig(xcb-image) pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(epoxy) >= 1.5.5
BuildRequires: pkgconfig(libdrm) >= 2.4.0
BuildRequires: pkgconfig(xorg-macros) >= 1.17
BuildRequires: pkgconfig(xshmfence) >= 1.1
BuildRequires: pkgconfig(xtrans) >= 1.3.2
BuildRequires: xorg-x11-proto-devel >= 7.7-10
BuildRequires: mesa-libGL-devel >= 9.2
BuildRequires: mesa-libEGL-devel mesa-libgbm-devel
BuildRequires: audit-libs-devel pkgconfig(libssl) pkgconfig(libtirpc)
BuildRequires: libselinux-devel >= 2.0.86-1
#for check
BuildRequires: desktop-file-utils
Requires: xorg-x11-server-common
Requires: libEGL
Requires: libepoxy >= 1.5.5
%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
%autosetup -p1 -S git_am -n xserver-%{pkgname}-%{version}
%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
rm %{buildroot}%{_mandir}/man1/Xserver.1*
rm -Rf %{buildroot}%{_libdir}/xorg
rm -Rf %{buildroot}%{_includedir}/xorg
rm -Rf %{buildroot}%{_datadir}/aclocal
rm -Rf %{buildroot}%{_localstatedir}/lib/xkb
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%files
%{_bindir}/Xwayland
%{_datadir}/applications/org.freedesktop.Xwayland.desktop
%{_mandir}/man1/Xwayland.1*
%files devel
%{_libdir}/pkgconfig/xwayland.pc
%changelog
* Thu Sep 26 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 23.1.2-5
- Rebuilt for clarifying the packages requirement in BaseOS and AppStream
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 23.1.2-4
- Rebuilt for loongarch release
* Tue Jun 11 2024 Zhao Zhen <jeremiazhao@tencent.com> - 23.1.2-3
- fixed CVE-2023-5367.patch CVE-2024-21885.patch CVE-2024-21886.patch CVE-2024-0408.patch
- CVE-2024-0409.patch CVE-2024-0229.patch CVE-2023-6816.patch CVE-2023-6377.patch
- CVE-2024-31080.patch CVE-2024-31081.patch
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 23.1.2-2
- Rebuilt for OpenCloudOS Stream 23.09
* Wed Jul 5 2023 rockerzhu <rockerzhu@tencent.com> - 23.1.2-1
- Upgrade to 23.1.2
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 22.1.5-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 22.1.5-2
- Rebuilt for OpenCloudOS Stream 23
* Fri Dec 2 2022 rockerzhu <rockerzhu@tencent.com> - 22.1.5-1
- Initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。