Accepting request 1146917 from home:jtorres:branches:X11:XOrg

- Don't provide xorg-x11-server-source
  * xwayland sources are not meant for a generic server.
  * https://github.com/TigerVNC/tigervnc/issues/1728

OBS-URL: https://build.opensuse.org/request/show/1146917
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xwayland?expand=0&rev=73
This commit is contained in:
Stefan Dirsch 2024-02-15 18:36:04 +00:00 committed by Git OBS Bridge
parent 239e48c7e2
commit 9c2dfa035c
2 changed files with 7 additions and 21 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 15 17:13:03 UTC 2024 - Joan Torres <joan.torres@suse.com>
- Don't provide xorg-x11-server-source
* xwayland sources are not meant for a generic server.
* https://github.com/TigerVNC/tigervnc/issues/1728
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 15 10:41:13 UTC 2024 - Joan Torres <joan.torres@suse.com> Thu Feb 15 10:41:13 UTC 2024 - Joan Torres <joan.torres@suse.com>

View File

@ -125,22 +125,10 @@ Requires: pkgconfig(xv)
%description devel %description devel
This package contains the Xwayland Server development files. This package contains the Xwayland Server development files.
%package -n xorg-x11-server-source
Summary: Source code of X.Org server
Group: Development/Sources
%description -n xorg-x11-server-source
This package contains patched sources of X.Org Server.
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
test -e source-file-list || \
find -L . -type f ! -path './.*' ! -name '.*' ! -name '*.orig' ! -name source-file-list > \
source-file-list
%{meson} \ %{meson} \
-Dglamor=true \ -Dglamor=true \
%if 0%{?have_wayland_eglstream} == 1 %if 0%{?have_wayland_eglstream} == 1
@ -193,11 +181,6 @@ rm -f %{buildroot}%{_mandir}/man1/Xserver.1
# Provided by xorg-x11-server # Provided by xorg-x11-server
rm -f %{buildroot}%{_libdir}/xorg/protocol.txt rm -f %{buildroot}%{_libdir}/xorg/protocol.txt
mkdir -p %{buildroot}%{_usrsrc}/xserver
xargs cp --parents --target-directory=%{buildroot}%{_usrsrc}/xserver < source-file-list
# unneeded python2 script; simply remove it (boo#1179591)
rm -f %{buildroot}%{_usrsrc}/xserver/config/fdi2iclass.py
%files %files
%{_bindir}/Xwayland %{_bindir}/Xwayland
%{_mandir}/man1/Xwayland.1%{ext_man} %{_mandir}/man1/Xwayland.1%{ext_man}
@ -207,8 +190,4 @@ rm -f %{buildroot}%{_usrsrc}/xserver/config/fdi2iclass.py
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%dir %{_libdir}/xorg %dir %{_libdir}/xorg
%files -n xorg-x11-server-source
%defattr(-,root,root)
%{_usrsrc}/xserver
%changelog %changelog