6 Star 0 Fork 2

OpenCloudOS Stream/xorg-x11-server-Xwayland

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xorg-x11-server-Xwayland.spec 4.29 KB
一键复制 编辑 原始数据 按行查看 历史
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/xorg-x11-server-Xwayland.git
git@gitee.com:opencloudos-stream/xorg-x11-server-Xwayland.git
opencloudos-stream
xorg-x11-server-Xwayland
xorg-x11-server-Xwayland
master

搜索帮助