2021-02-26 11:10:59 +01:00
|
|
|
#
|
|
|
|
# spec file for package xwayland
|
|
|
|
#
|
|
|
|
# Copyright (c) 2021 SUSE LLC
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-07-01 12:59:43 +02:00
|
|
|
%define have_wayland_eglstream 1
|
2021-02-26 11:10:59 +01:00
|
|
|
|
|
|
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
|
|
|
%if ! %{defined _fillupdir}
|
|
|
|
%define _fillupdir /var/adm/fillup-templates
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Name: xwayland
|
2021-12-14 16:52:17 +01:00
|
|
|
Version: 21.1.4
|
2021-02-26 11:10:59 +01:00
|
|
|
Release: 0
|
|
|
|
URL: http://xorg.freedesktop.org/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: X
|
|
|
|
# Source URL: https://xorg.freedesktop.org/archive/individual/xserver/
|
|
|
|
License: MIT
|
|
|
|
Group: System/X11/Servers/XF86_4
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2021-03-17 22:41:28 +01:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2021-02-26 11:10:59 +01:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: ninja
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: rendercheck
|
|
|
|
BuildRequires: pkgconfig(bigreqsproto)
|
|
|
|
BuildRequires: pkgconfig(compositeproto)
|
|
|
|
BuildRequires: pkgconfig(damageproto)
|
|
|
|
BuildRequires: pkgconfig(dri)
|
|
|
|
BuildRequires: pkgconfig(dri3proto)
|
|
|
|
BuildRequires: pkgconfig(epoxy)
|
2021-10-07 16:51:26 +02:00
|
|
|
BuildRequires: pkgconfig(libtirpc)
|
2021-02-26 11:10:59 +01:00
|
|
|
|
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
|
|
|
%if 0%{?have_wayland_eglstream} == 1
|
|
|
|
BuildRequires: pkgconfig(wayland-eglstream-protocols)
|
|
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(fixesproto)
|
|
|
|
BuildRequires: pkgconfig(fontsproto)
|
|
|
|
BuildRequires: pkgconfig(fontutil)
|
|
|
|
BuildRequires: pkgconfig(gbm)
|
2021-02-26 11:37:40 +01:00
|
|
|
BuildRequires: pkgconfig(gl)
|
2021-02-26 11:28:17 +01:00
|
|
|
BuildRequires: pkgconfig(glproto)
|
2021-02-26 11:10:59 +01:00
|
|
|
BuildRequires: pkgconfig(inputproto)
|
|
|
|
BuildRequires: pkgconfig(kbproto)
|
|
|
|
BuildRequires: pkgconfig(libbsd)
|
|
|
|
BuildRequires: pkgconfig(libdrm)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
BuildRequires: pkgconfig(pixman-1)
|
|
|
|
BuildRequires: pkgconfig(presentproto)
|
|
|
|
BuildRequires: pkgconfig(randrproto)
|
|
|
|
BuildRequires: pkgconfig(recordproto)
|
|
|
|
BuildRequires: pkgconfig(renderproto)
|
|
|
|
BuildRequires: pkgconfig(resourceproto)
|
|
|
|
BuildRequires: pkgconfig(scrnsaverproto)
|
|
|
|
BuildRequires: pkgconfig(videoproto)
|
|
|
|
BuildRequires: pkgconfig(xau)
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-damage)
|
|
|
|
BuildRequires: pkgconfig(xcb-sync)
|
|
|
|
BuildRequires: pkgconfig(xcb-xinput)
|
|
|
|
BuildRequires: pkgconfig(xcmiscproto)
|
|
|
|
BuildRequires: pkgconfig(xdmcp)
|
|
|
|
BuildRequires: pkgconfig(xextproto)
|
|
|
|
BuildRequires: pkgconfig(xf86bigfontproto)
|
|
|
|
BuildRequires: pkgconfig(xf86vidmodeproto)
|
|
|
|
BuildRequires: pkgconfig(xfont2)
|
|
|
|
BuildRequires: pkgconfig(xineramaproto)
|
|
|
|
BuildRequires: pkgconfig(xkbcomp)
|
|
|
|
BuildRequires: pkgconfig(xkbfile)
|
|
|
|
BuildRequires: pkgconfig(xproto)
|
|
|
|
BuildRequires: pkgconfig(xshmfence)
|
|
|
|
BuildRequires: pkgconfig(xtrans)
|
|
|
|
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
Requires(pre): %fillup_prereq
|
|
|
|
%endif
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: xkbcomp
|
|
|
|
#Recommends: xorg-x11-fonts-core
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
Requires: libpixman-1-0
|
|
|
|
%endif
|
|
|
|
Obsoletes: xorg-x11-server-wayland < %{version}
|
|
|
|
Provides: xorg-x11-server-wayland = %{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the Xwayland Server.
|
|
|
|
|
|
|
|
%package %{name}
|
|
|
|
Summary: Xwayland Xserver
|
|
|
|
Group: System/X11/Servers/XF86_4
|
|
|
|
Requires: xkbcomp
|
|
|
|
Requires: xkeyboard-config
|
|
|
|
Recommends: xorg-x11-fonts-core
|
|
|
|
|
|
|
|
%description %{name}
|
|
|
|
This package contains the Xserver running on the Wayland Display Server.
|
|
|
|
|
|
|
|
%package devel
|
2021-04-07 10:58:55 +02:00
|
|
|
Summary: Development files for Xwayland
|
2021-02-26 11:10:59 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}
|
2021-07-01 12:59:43 +02:00
|
|
|
Requires: c_compiler
|
|
|
|
Requires: meson
|
2021-02-26 11:10:59 +01:00
|
|
|
Requires: pkgconfig(libdrm)
|
|
|
|
Requires: pkgconfig(xau)
|
|
|
|
Requires: pkgconfig(xdmcp)
|
|
|
|
Requires: pkgconfig(xkbfile)
|
|
|
|
Requires: pkgconfig(xtrans)
|
|
|
|
Requires: pkgconfig(xv)
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the Xwayland Server development files.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
|
|
|
|
%{meson} \
|
|
|
|
-Dglamor=true \
|
|
|
|
%if 0%{?have_wayland_eglstream} == 1
|
|
|
|
-Dxwayland_eglstream=true \
|
|
|
|
%endif
|
|
|
|
-Dxvfb=true \
|
|
|
|
-Dglx=true \
|
|
|
|
-Dxdmcp=true \
|
|
|
|
-Dxdm-auth-1=true \
|
|
|
|
-Dsecure-rpc=true \
|
|
|
|
-Dipv6=true \
|
|
|
|
-Dinput_thread=true \
|
2021-04-12 13:20:18 +02:00
|
|
|
-Dvendor_name="SUSE LINUX" \
|
2021-02-26 11:10:59 +01:00
|
|
|
-Dvendor_name_short="openSUSE" \
|
|
|
|
-Dvendor_web="https://www.opensuse.org" \
|
|
|
|
-Dlisten_tcp=false \
|
|
|
|
-Dlisten_unix=true \
|
|
|
|
-Dlisten_local=true \
|
|
|
|
-Ddpms=true \
|
|
|
|
-Dxf86bigfont=true \
|
|
|
|
-Dscreensaver=true \
|
|
|
|
-Dxres=true \
|
|
|
|
-Dxace=true \
|
|
|
|
-Dxselinux=false \
|
|
|
|
-Dxinerama=true \
|
|
|
|
-Dxcsecurity=true \
|
|
|
|
-Dxv=true \
|
|
|
|
-Dmitshm=true \
|
|
|
|
-Dsha1=libcrypto \
|
|
|
|
-Ddri3=true \
|
|
|
|
-Dxwayland-path="%{_bindir}" \
|
|
|
|
-Ddtrace=false \
|
|
|
|
-Dlibunwind=false \
|
|
|
|
-Dxkb_dir="/usr/share/X11/xkb" \
|
|
|
|
-Dxkb_output_dir="/var/lib/xkb/compiled" \
|
|
|
|
-Ddefault_font_path="/usr/share/fonts/misc:unscaled,\
|
|
|
|
/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,\
|
|
|
|
/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/ghostscript/,\
|
|
|
|
/usr/share/fonts/cyrillic:unscaled,\
|
|
|
|
/usr/share/fonts/misc/sgi:unscaled,\
|
|
|
|
/usr/share/fonts/truetype/,built-ins" \
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
%{meson_build}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{meson_install}
|
|
|
|
# Let xorg-x11-server provide the Xserver manual
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/Xserver.1
|
2021-04-12 20:42:42 +02:00
|
|
|
# Provided by xorg-x11-server
|
|
|
|
rm -f %{buildroot}%{_libdir}/xorg/protocol.txt
|
2021-02-26 11:10:59 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/Xwayland
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%dir %{_libdir}/xorg
|
|
|
|
%{_mandir}/man1/Xwayland.1.gz
|
|
|
|
|
|
|
|
%changelog
|