From a0cb3a36eb3432f509a2eb516cdeb7249ed1472d Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 12 May 2021 21:39:36 +0200 Subject: [PATCH] - xnest, xvfb, xephyr bconds --- xorg-xserver-server.spec | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/xorg-xserver-server.spec b/xorg-xserver-server.spec index 6b440e7..b0299fa 100644 --- a/xorg-xserver-server.spec +++ b/xorg-xserver-server.spec @@ -14,6 +14,9 @@ %bcond_with xselinux # SELinux extension %bcond_without dmx # DMX DDX (Xdmx server) %bcond_without wayland # Wayland DDX (Xwayland server) +%bcond_without xnest # Xnest DDX (Xnest server) +%bcond_without xvfb # Xvfb DDX (Xvfb server) +%bcond_without xephyr # kdrive Xephyr server %bcond_with eglstream # XWayland eglstream support %bcond_without glamor # glamor dix module %bcond_without systemtap # systemtap/dtrace probes @@ -504,15 +507,17 @@ fi %{?with_libunwind:--enable-libunwind} \ %{?with_record:--enable-record} \ --enable-secure-rpc \ + --enable-suid-wrapper \ %{?with_xcsecurity:--enable-xcsecurity} \ - --enable-xephyr \ + --enable-xephyr%{!?with_xephyr:=no} \ %{?with_xf86bigfont:--enable-xf86bigfont} \ + --enable-xnest%{!?with_xnest:=no} \ %{?with_xselinux:--enable-xselinux} \ + %{!?with_xvfb:--disable-xvfb} \ %{?with_wayland:--enable-xwayland} \ %{?with_eglstream:--enable-xwayland-eglstream} \ %{!?with_systemtap:--without-dtrace} \ --without-fop \ - --enable-suid-wrapper \ --with-systemd-daemon %{__make} @@ -540,10 +545,12 @@ install -p %{SOURCE12} $RPM_BUILD_ROOT%{_bindir}/xvfb-run cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/10-quirks.conf +%if %{with xvfb} install -d $RPM_BUILD_ROOT/etc/rc.d/init.d install -d $RPM_BUILD_ROOT/etc/sysconfig install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/Xvfb cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/sysconfig/Xvfb +%endif # Xorg.wrap config cat >$RPM_BUILD_ROOT/etc/X11/Xwrapper.config <