Blame SPECS/xorg-x11-server.spec

877270
# This package is an experiment in active integration of upstream SCM with
877270
# Fedora packaging.  It works something like this:
877270
#
877270
# The "pristine" source is actually a git repo (with no working checkout).
877270
# The first step of %%prep is to check it out and switch to a "fedora" branch.
877270
# If you need to add a patch to the server, just do it like a normal git
877270
# operation, dump it with git-format-patch to a file in the standard naming
877270
# format, and add a PatchN: line.  If you want to push something upstream,
877270
# check out the master branch, pull, cherry-pick, and push.
877270
877270
# X.org requires lazy relocations to work.
877270
%undefine _hardened_build
877270
%undefine _strict_symbol_defs_build
877270
877270
#global gitdate 20161026
877270
%global stable_abi 1
877270
877270
%if !0%{?gitdate} || %{stable_abi}
877270
# Released ABI versions.  Have to keep these manually in sync with the
877270
# source because rpm is a terrible language.
877270
%global ansic_major 0
877270
%global ansic_minor 4
877270
%global videodrv_major 24
8f5827
%global videodrv_minor 1
877270
%global xinput_major 24
877270
%global xinput_minor 1
877270
%global extension_major 10
877270
%global extension_minor 0
877270
%endif
877270
877270
%if 0%{?gitdate}
877270
# For git snapshots, use date for major and a serial number for minor
877270
%global minor_serial 0
877270
%global git_ansic_major %{gitdate}
877270
%global git_ansic_minor %{minor_serial}
877270
%global git_videodrv_major %{gitdate}
877270
%global git_videodrv_minor %{minor_serial}
877270
%global git_xinput_major %{gitdate}
877270
%global git_xinput_minor %{minor_serial}
877270
%global git_extension_major %{gitdate}
877270
%global git_extension_minor %{minor_serial}
877270
%endif
877270
877270
%global pkgname xorg-server
877270
877270
Summary:   X.Org X11 X server
877270
Name:      xorg-x11-server
382b95
Version:   1.20.11
bf0baa
Release:   5%{?gitdate:.%{gitdate}}%{?dist}
877270
URL:       http://www.x.org
877270
License:   MIT
877270
Group:     User Interface/X
877270
877270
#VCS:      git:git://git.freedesktop.org/git/xorg/xserver
877270
%if 0%{?gitdate}
877270
# git snapshot.  to recreate, run:
877270
# ./make-git-snapshot.sh `cat commitid`
877270
Source0:   xorg-server-%{gitdate}.tar.xz
877270
#Source0:   http://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.bz2
877270
Source1:   make-git-snapshot.sh
877270
Source2:   commitid
877270
%else
877270
Source0:   https://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.bz2
877270
Source1:   gitignore
877270
%endif
877270
877270
Source4:   10-quirks.conf
877270
877270
Source10:   xserver.pamd
877270
877270
# "useful" xvfb-run script
877270
Source20:  http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.sh
877270
877270
# for requires generation in drivers
877270
Source30: xserver-sdk-abi-requires.release
877270
Source31: xserver-sdk-abi-requires.git
877270
877270
# maintainer convenience script
877270
Source40: driver-abi-rebuild.sh
877270
877270
# From Debian use intel ddx driver only for gen4 and older chipsets
877270
Patch1: 06_use-intel-only-on-pre-gen4.diff
877270
# Default to xf86-video-modesetting on GeForce 8 and newer
877270
Patch2: 0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch
877270
Patch3: 0001-xf86-dri2-Use-va_gl-as-vdpau_driver-for-Intel-i965-G.patch
877270
Patch4: 0001-Always-install-vbe-and-int10-sdk-headers.patch
877270
# Submitted upstream, but not going anywhere
877270
Patch5: 0001-autobind-GPUs-to-the-screen.patch
877270
# because the display-managers are not ready yet, do not upstream
877270
Patch6: 0001-Fedora-hack-Make-the-suid-root-wrapper-always-start-.patch
877270
877270
# RHEL mustard
877270
Patch10: 0001-mustard-Don-t-probe-for-drivers-not-shipped-in-RHEL8.patch
877270
Patch11: 0001-mustard-Add-DRI2-fallback-driver-mappings-for-i965-a.patch
877270
#Patch11: 0001-Enable-PAM-support.patch
877270
Patch12: 0001-link-with-z-now.patch
877270
Patch14: 0001-xfree86-Don-t-autoconfigure-vesa-or-fbdev.patch
877270
Patch15: 0001-xfree86-LeaveVT-from-xf86CrtcCloseScreen.patch
877270
Patch16: 0001-xfree86-try-harder-to-span-on-multihead.patch
877270
Patch18: 0001-mustard-Work-around-broken-fbdev-headers.patch
877270
877270
# fix to be upstreamed
877270
Patch100: 0001-linux-Make-platform-device-probe-less-fragile.patch
877270
Patch102: 0001-xfree86-ensure-the-readlink-buffer-is-null-terminate.patch
877270
877270
# fix already upstream
877270
Patch200: 0001-Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch
877270
Patch201: 0001-linux-Fix-platform-device-PCI-detection-for-complex-.patch
88270d
Patch202: 0001-modesetting-Reduce-glamor-initialization-failed-mess.patch
e557a1
Patch203: 0001-xfree86-Only-switch-to-original-VT-if-it-is-active.patch
a800c1
Patch204: 0001-xf86-logind-Fix-drm_drop_master-before-vt_reldisp.patch
bf0baa
Patch205: 0001-present-Check-for-NULL-to-prevent-crash.patch
a800c1
a800c1
# CVE-2021-4011
a800c1
Patch10009: 0001-record-Fix-out-of-bounds-access-in-SwapCreateRegiste.patch
a800c1
# CVE-2021-4009
a800c1
Patch10010: 0002-xfixes-Fix-out-of-bounds-access-in-ProcXFixesCreateP.patch
a800c1
# CVE-2021-4010
a800c1
Patch10011: 0003-Xext-Fix-out-of-bounds-access-in-SProcScreenSaverSus.patch
a800c1
# CVE-2021-4008
a800c1
Patch10012: 0004-render-Fix-out-of-bounds-access-in-SProcRenderCompos.patch
23ac27
877270
BuildRequires: systemtap-sdt-devel
877270
BuildRequires: git
877270
BuildRequires: automake autoconf libtool pkgconfig
877270
BuildRequires: xorg-x11-util-macros >= 1.17
877270
877270
BuildRequires: xorg-x11-proto-devel >= 7.7-10
877270
BuildRequires: xorg-x11-font-utils >= 7.2-11
877270
877270
BuildRequires: dbus-devel libepoxy-devel systemd-devel
877270
BuildRequires: xorg-x11-xtrans-devel >= 1.3.2
877270
BuildRequires: libXfont2-devel libXau-devel libxkbfile-devel libXres-devel
877270
BuildRequires: libfontenc-devel libXtst-devel libXdmcp-devel
877270
BuildRequires: libX11-devel libXext-devel
877270
BuildRequires: libXinerama-devel libXi-devel
877270
877270
# DMX config utils buildreqs.
877270
BuildRequires: libXt-devel libdmx-devel libXmu-devel libXrender-devel
877270
BuildRequires: libXi-devel libXpm-devel libXaw-devel libXfixes-devel
877270
877270
BuildRequires: pkgconfig(epoxy)
877270
BuildRequires: pkgconfig(xshmfence) >= 1.1
877270
BuildRequires: libXv-devel
877270
BuildRequires: pixman-devel >= 0.30.0
877270
BuildRequires: libpciaccess-devel >= 0.13.1 openssl-devel bison flex flex-devel
877270
BuildRequires: mesa-libGL-devel >= 9.2
877270
BuildRequires: mesa-libEGL-devel
877270
BuildRequires: mesa-libgbm-devel
877270
# XXX silly...
877270
BuildRequires: libdrm-devel >= 2.4.0 kernel-headers
877270
BuildRequires: pam-devel
877270
BuildRequires: audit-libs-devel libselinux-devel >= 2.0.86-1
877270
BuildRequires: libudev-devel
877270
# libunwind is Exclusive for the following arches
877270
%ifarch aarch64 %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
877270
%if !0%{?rhel}
877270
BuildRequires: libunwind-devel
877270
%endif
877270
%endif
877270
877270
BuildRequires: pkgconfig(xcb-aux) pkgconfig(xcb-image) pkgconfig(xcb-icccm)
877270
BuildRequires: pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
877270
877270
%description
877270
X.Org X11 X server
877270
877270
877270
%package common
877270
Summary: Xorg server common files
877270
Group: User Interface/X
877270
Requires: pixman >= 0.30.0
877270
Requires: xkeyboard-config xkbcomp
877270
877270
%description common
877270
Common files shared among all X servers.
877270
877270
877270
%package Xorg
877270
Summary: Xorg X server
877270
Group: User Interface/X
877270
Provides: Xorg = %{version}-%{release}
877270
Provides: Xserver
877270
# HdG: This should be moved to the wrapper package once the wrapper gets
877270
# its own sub-package:
877270
Provides: xorg-x11-server-wrapper = %{version}-%{release}
877270
%if !0%{?gitdate} || %{stable_abi}
877270
Provides: xserver-abi(ansic-%{ansic_major}) = %{ansic_minor}
877270
Provides: xserver-abi(videodrv-%{videodrv_major}) = %{videodrv_minor}
877270
Provides: xserver-abi(xinput-%{xinput_major}) = %{xinput_minor}
877270
Provides: xserver-abi(extension-%{extension_major}) = %{extension_minor}
877270
%endif
877270
%if 0%{?gitdate}
877270
Provides: xserver-abi(ansic-%{git_ansic_major}) = %{git_ansic_minor}
877270
Provides: xserver-abi(videodrv-%{git_videodrv_major}) = %{git_videodrv_minor}
877270
Provides: xserver-abi(xinput-%{git_xinput_major}) = %{git_xinput_minor}
877270
Provides: xserver-abi(extension-%{git_extension_major}) = %{git_extension_minor}
877270
%endif
877270
Obsoletes: xorg-x11-glamor < %{version}-%{release}
877270
Provides: xorg-x11-glamor = %{version}-%{release}
877270
Obsoletes: xorg-x11-drv-modesetting < %{version}-%{release}
877270
Provides: xorg-x11-drv-modesetting = %{version}-%{release}
877270
# Dropped from F25
877270
Obsoletes: xorg-x11-drv-vmmouse < 13.1.0-4
877270
877270
Requires: xorg-x11-server-common >= %{version}-%{release}
877270
Requires: system-setup-keyboard
877270
Requires: xorg-x11-drv-libinput
877270
%ifnarch s390 s390x
877270
Requires: xorg-x11-drv-fbdev
877270
%ifarch x86_64
877270
Requires: xorg-x11-drv-vesa
877270
%endif
877270
%endif
877270
Requires: libEGL
877270
877270
%description Xorg
877270
X.org X11 is an open source implementation of the X Window System.  It
877270
provides the basic low level functionality which full fledged
877270
graphical user interfaces (GUIs) such as GNOME and KDE are designed
877270
upon.
877270
877270
877270
%package Xnest
877270
Summary: A nested server
877270
Group: User Interface/X
877270
Requires: xorg-x11-server-common >= %{version}-%{release}
877270
Provides: Xnest
877270
877270
%description Xnest
877270
Xnest is an X server which has been implemented as an ordinary
877270
X application.  It runs in a window just like other X applications,
877270
but it is an X server itself in which you can run other software.  It
877270
is a very useful tool for developers who wish to test their
877270
applications without running them on their real X server.
877270
877270
877270
%package Xdmx
877270
Summary: Distributed Multihead X Server and utilities
877270
Group: User Interface/X
877270
Requires: xorg-x11-server-common >= %{version}-%{release}
877270
Provides: Xdmx
877270
877270
%description Xdmx
877270
Xdmx is proxy X server that provides multi-head support for multiple displays
877270
attached to different machines (each of which is running a typical X server).
877270
When Xinerama is used with Xdmx, the multiple displays on multiple machines
877270
are presented to the user as a single unified screen.  A simple application
877270
for Xdmx would be to provide multi-head support using two desktop machines,
877270
each of which has a single display device attached to it.  A complex
877270
application for Xdmx would be to unify a 4 by 4 grid of 1280x1024 displays
877270
(each attached to one of 16 computers) into a unified 5120x4096 display.
877270
877270
877270
%package Xvfb
877270
Summary: A X Windows System virtual framebuffer X server
877270
Group: User Interface/X
877270
# xvfb-run is GPLv2, rest is MIT
877270
License: MIT and GPLv2
877270
Requires: xorg-x11-server-common >= %{version}-%{release}
877270
# required for xvfb-run
877270
Requires: xorg-x11-xauth
877270
Provides: Xvfb
877270
877270
%description Xvfb
877270
Xvfb (X Virtual Frame Buffer) is an X server that is able to run on
877270
machines with no display hardware and no physical input devices.
877270
Xvfb simulates a dumb framebuffer using virtual memory.  Xvfb does
877270
not open any devices, but behaves otherwise as an X display.  Xvfb
877270
is normally used for testing servers.
877270
877270
877270
%package Xephyr
877270
Summary: A nested server
877270
Group: User Interface/X
877270
Requires: xorg-x11-server-common >= %{version}-%{release}
877270
Provides: Xephyr
877270
877270
%description Xephyr
877270
Xephyr is an X server which has been implemented as an ordinary
877270
X application.  It runs in a window just like other X applications,
877270
but it is an X server itself in which you can run other software.  It
877270
is a very useful tool for developers who wish to test their
877270
applications without running them on their real X server.  Unlike
877270
Xnest, Xephyr renders to an X image rather than relaying the
877270
X protocol, and therefore supports the newer X extensions like
877270
Render and Composite.
877270
877270
877270
%package devel
877270
Summary: SDK for X server driver module development
877270
Group: User Interface/X
877270
Requires: xorg-x11-util-macros
877270
Requires: xorg-x11-proto-devel
877270
Requires: libXfont2-devel
877270
Requires: pkgconfig pixman-devel libpciaccess-devel
877270
Provides: xorg-x11-server-static
877270
Obsoletes: xorg-x11-glamor-devel < %{version}-%{release}
877270
Provides: xorg-x11-glamor-devel = %{version}-%{release}
877270
877270
%description devel
877270
The SDK package provides the developmental files which are necessary for
877270
developing X server driver modules, and for compiling driver modules
877270
outside of the standard X11 source code tree.  Developers writing video
877270
drivers, input drivers, or other X modules should install this package.
877270
877270
877270
%package source
877270
Summary: Xserver source code required to build VNC server (Xvnc)
877270
Group: Development/Libraries
877270
BuildArch: noarch
877270
877270
%description source
877270
Xserver source code needed to build VNC server (Xvnc)
877270
877270
877270
%prep
877270
%autosetup -N -n %{pkgname}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
877270
rm -rf .git
877270
cp %{SOURCE1} .gitignore
877270
# ick
877270
%global __scm git
877270
%{expand:%__scm_setup_git -q}
877270
%autopatch
877270
877270
%if 0%{?stable_abi}
877270
# check the ABI in the source against what we expect.
877270
getmajor() {
877270
    grep -i ^#define.ABI.$1_VERSION hw/xfree86/common/xf86Module.h |
877270
    tr '(),' '   ' | awk '{ print $4 }'
877270
}
877270
877270
getminor() {
877270
    grep -i ^#define.ABI.$1_VERSION hw/xfree86/common/xf86Module.h |
877270
    tr '(),' '   ' | awk '{ print $5 }'
877270
}
877270
877270
test `getmajor ansic` == %{ansic_major}
877270
test `getminor ansic` == %{ansic_minor}
877270
test `getmajor videodrv` == %{videodrv_major}
877270
test `getminor videodrv` == %{videodrv_minor}
877270
test `getmajor xinput` == %{xinput_major}
877270
test `getminor xinput` == %{xinput_minor}
877270
test `getmajor extension` == %{extension_major}
877270
test `getminor extension` == %{extension_minor}
877270
877270
%endif
877270
877270
%build
877270
877270
export CFLAGS="$RPM_OPT_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1"
877270
export CXXFLAGS="$RPM_OPT_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1"
877270
export LDFLAGS="$RPM_LD_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"
877270
877270
%ifnarch %{ix86} x86_64
877270
%global no_int10 --disable-vbe --disable-int10-module
877270
%endif
877270
877270
%global kdrive --enable-kdrive --enable-xephyr --disable-xfake --disable-xfbdev
877270
%global xservers --enable-xvfb --enable-xnest %{kdrive} --enable-xorg
877270
%global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
877270
%global dri_flags --enable-dri --enable-dri2 %{?!rhel:--enable-dri3} --enable-suid-wrapper --enable-glamor
877270
877270
autoreconf -f -v --install || exit 1
877270
877270
%configure %{xservers} \
877270
	--enable-dependency-tracking \
877270
	--disable-static \
877270
	--with-pic \
877270
	%{?no_int10} --with-int10=x86emu \
877270
	--with-default-font-path=%{default_font_path} \
877270
	--with-module-dir=%{_libdir}/xorg/modules \
877270
	--with-builderstring="Build ID: %{name} %{version}-%{release}" \
877270
	--with-os-name="$(hostname -s) $(uname -r)" \
877270
	--with-xkb-output=%{_localstatedir}/lib/xkb \
877270
        --without-dtrace \
877270
	--disable-linux-acpi --disable-linux-apm \
877270
	--enable-xselinux --enable-record --enable-present \
23ac27
        --enable-xcsecurity \
877270
	--enable-config-udev \
877270
	--disable-unit-tests \
877270
	--enable-dmx \
1e144a
	--disable-xwayland \
877270
	%{dri_flags} %{?bodhi_flags} \
877270
	${CONFIGURE}
877270
        
877270
make V=1 %{?_smp_mflags}
877270
877270
877270
%install
877270
%make_install
877270
877270
mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
877270
877270
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
877270
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xserver
877270
# restore this if/when restoring the PAM patch
877270
#mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
877270
#touch $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/xserver
877270
877270
mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
877270
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
877270
877270
# make sure the (empty) /etc/X11/xorg.conf.d is there, system-setup-keyboard
877270
# relies on it more or less.
877270
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d
877270
877270
%if %{stable_abi}
877270
install -m 755 %{SOURCE30} $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
877270
%else
877270
sed -e s/@MAJOR@/%{gitdate}/g -e s/@MINOR@/%{minor_serial}/g %{SOURCE31} > \
877270
    $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
877270
chmod 755 $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
877270
%endif
877270
877270
install -m 0755 %{SOURCE20} $RPM_BUILD_ROOT%{_bindir}/xvfb-run
877270
877270
# Make the source package
877270
%global xserver_source_dir %{_datadir}/xorg-x11-server-source
877270
%global inst_srcdir %{buildroot}/%{xserver_source_dir}
877270
877270
mkdir -p %{inst_srcdir}/{Xext,xkb,GL,hw/{xquartz/bundle,xfree86/common}}
877270
mkdir -p %{inst_srcdir}/{hw/dmx/doc,man,doc,hw/dmx/doxygen}
877270
cp {,%{inst_srcdir}/}hw/xquartz/bundle/cpprules.in
877270
cp {,%{inst_srcdir}/}man/Xserver.man
877270
cp {,%{inst_srcdir}/}doc/smartsched
877270
cp {,%{inst_srcdir}/}hw/dmx/doxygen/doxygen.conf.in
877270
cp {,%{inst_srcdir}/}xserver.ent.in
877270
cp {,%{inst_srcdir}/}hw/xfree86/Xorg.sh.in
877270
cp xkb/README.compiled %{inst_srcdir}/xkb
877270
cp hw/xfree86/xorgconf.cpp %{inst_srcdir}/hw/xfree86
877270
877270
find . -type f | egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' |
877270
xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
877270
find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
877270
877270
# Remove unwanted files/dirs
877270
{
877270
    find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
877270
%ifnarch %{ix86} x86_64
877270
    rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/lib{int10,vbe}.so
877270
%endif
877270
}
877270
877270
877270
%files common
877270
%doc COPYING
877270
%{_mandir}/man1/Xserver.1*
877270
%{_libdir}/xorg/protocol.txt
877270
%dir %{_localstatedir}/lib/xkb
877270
%{_localstatedir}/lib/xkb/README.compiled
877270
877270
%if 1
877270
%global Xorgperms %attr(4755, root, root)
877270
%else
877270
# disable until module loading is audited
877270
%global Xorgperms %attr(0711,root,root) %caps(cap_sys_admin,cap_sys_rawio,cap_dac_override=pe)
877270
%endif
877270
877270
# restore the missingok one if/when restoring the PAM patch
877270
%files Xorg
877270
%config %attr(0644,root,root) %{_sysconfdir}/pam.d/xserver
877270
#config(missingok) /etc/security/console.apps/xserver
877270
%{_bindir}/X
877270
%{_bindir}/Xorg
877270
%{_libexecdir}/Xorg
877270
%{Xorgperms} %{_libexecdir}/Xorg.wrap
877270
%{_bindir}/cvt
877270
%{_bindir}/gtf
877270
%dir %{_libdir}/xorg
877270
%dir %{_libdir}/xorg/modules
877270
%dir %{_libdir}/xorg/modules/drivers
877270
%{_libdir}/xorg/modules/drivers/modesetting_drv.so
877270
%dir %{_libdir}/xorg/modules/extensions
877270
%{_libdir}/xorg/modules/extensions/libglx.so
877270
%dir %{_libdir}/xorg/modules/input
877270
%{_libdir}/xorg/modules/libfbdevhw.so
877270
%{_libdir}/xorg/modules/libexa.so
877270
%{_libdir}/xorg/modules/libfb.so
877270
%{_libdir}/xorg/modules/libglamoregl.so
877270
%{_libdir}/xorg/modules/libshadow.so
877270
%{_libdir}/xorg/modules/libshadowfb.so
877270
%{_libdir}/xorg/modules/libvgahw.so
877270
%{_libdir}/xorg/modules/libwfb.so
877270
%ifarch %{ix86} x86_64
877270
%{_libdir}/xorg/modules/libint10.so
877270
%{_libdir}/xorg/modules/libvbe.so
877270
%endif
877270
%{_mandir}/man1/gtf.1*
877270
%{_mandir}/man1/Xorg.1*
877270
%{_mandir}/man1/Xorg.wrap.1*
877270
%{_mandir}/man1/cvt.1*
877270
%{_mandir}/man4/fbdevhw.4*
877270
%{_mandir}/man4/exa.4*
877270
%{_mandir}/man4/modesetting.4*
877270
%{_mandir}/man5/Xwrapper.config.5*
877270
%{_mandir}/man5/xorg.conf.5*
877270
%{_mandir}/man5/xorg.conf.d.5*
877270
%dir %{_sysconfdir}/X11/xorg.conf.d
877270
%dir %{_datadir}/X11/xorg.conf.d
877270
%{_datadir}/X11/xorg.conf.d/10-quirks.conf
877270
877270
%files Xnest
877270
%{_bindir}/Xnest
877270
%{_mandir}/man1/Xnest.1*
877270
877270
%files Xdmx
877270
%{_bindir}/Xdmx
877270
%{_bindir}/dmxaddinput
877270
%{_bindir}/dmxaddscreen
877270
%{_bindir}/dmxreconfig
877270
%{_bindir}/dmxresize
877270
%{_bindir}/dmxrminput
877270
%{_bindir}/dmxrmscreen
877270
%{_bindir}/dmxtodmx
877270
%{_bindir}/dmxwininfo
877270
%{_bindir}/vdltodmx
877270
%{_bindir}/dmxinfo
877270
%{_bindir}/xdmxconfig
877270
%{_mandir}/man1/Xdmx.1*
877270
%{_mandir}/man1/dmxtodmx.1*
877270
%{_mandir}/man1/vdltodmx.1*
877270
%{_mandir}/man1/xdmxconfig.1*
877270
877270
%files Xvfb
877270
%{_bindir}/Xvfb
877270
%{_bindir}/xvfb-run
877270
%{_mandir}/man1/Xvfb.1*
877270
877270
%files Xephyr
877270
%{_bindir}/Xephyr
877270
%{_mandir}/man1/Xephyr.1*
877270
877270
%files devel
877270
%doc COPYING
877270
#{_docdir}/xorg-server
877270
%{_bindir}/xserver-sdk-abi-requires
877270
%{_libdir}/pkgconfig/xorg-server.pc
877270
%dir %{_includedir}/xorg
877270
%{_includedir}/xorg/*.h
877270
%{_datadir}/aclocal/xorg-server.m4
877270
877270
%files source
877270
%{xserver_source_dir}
877270
877270
877270
%changelog
bf0baa
* Fri Jan 28 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-5
bf0baa
- Fix crash with NVIDIA proprietary driver with Present (#2046329)
bf0baa
a800c1
* Thu Jan  6 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-4
a800c1
- CVE fix for: CVE-2021-4008 (#2030162), CVE-2021-4009 (#2030172),
a800c1
  CVE-2021-4010 (#2030175), CVE-2021-4011 (#2030181)
a800c1
a800c1
* Mon Nov  29 2021 Jocelyn Falempe <jfalempe@redhat.com> - 1.20.11-3
a800c1
- xf86/logind Fix drm_drop_master before vt_reldis
a800c1
  Resolves: #1771863
a800c1
1e144a
* Wed Jun  9 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-2
1e144a
- Remove Xwayland from the xserver builds
1e144a
  Resolves: #1956838
1e144a
382b95
* Tue Jun  1 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-1
382b95
- xserver 1.20.11
382b95
  Resolves: #1954260
382b95
9c80a8
* Thu Dec 10 2020 Adam Jackson <ajax@redhat.com> - 1.20.10-1
9c80a8
- xserver 1.20.10
9c80a8
  Resolves: #1891871
9c80a8
9c80a8
* Wed Dec  9 2020 Michel Dänzer <mdaenzer@redhat.com> - 1.20.8-10
9c80a8
- modesetting: keep going if a modeset fails on EnterVT
9c80a8
  Resolves: #1838392
9c80a8
5b80f6
* Mon Nov 16 2020 Adam Jackson <ajax@redhat.com> - 1.20.8-9
5b80f6
- CVE fix for: CVE-2020-14347 (#1862320)
5b80f6
23ac27
* Thu Oct 29 2020 Michel Dänzer <mdaenzer@redhat.com> - 1.20.8-8
23ac27
- CVE fixes for: CVE-2020-14345 (#1872391), CVE-2020-14346 (#1872395),
23ac27
  CVE-2020-14361 (#1872402), CVE-2020-14362 (#1872409)
23ac27
23ac27
* Tue Oct 27 2020 Adam Jackson <ajax@redhat.com> - 1.20.8-7
23ac27
- Enable XC-SECURITY
23ac27
  Resolves: #1863142
23ac27
4acde6
* Thu Aug 20 2020 Michel Dänzer <mdaenzer@redhat.com> - 1.20.8-6
4acde6
- xfree86: add drm modes on non-GTF panels
4acde6
  Resolves: #1823461
4acde6
d23b1d
* Tue Aug  4 2020 Michel Dänzer <mdaenzer@redhat.com> - 1.20.8-5
d23b1d
- xwayland: Hold a pixmap reference in struct xwl_present_event
d23b1d
  Related: #1728684
d23b1d
- glamor: Fix glamor_poly_fill_rect_gl xRectangle::width/height handling
d23b1d
  Resolves: #1740250
d23b1d
e557a1
* Fri Jul 10 2020 Ray Strode <rstrode@redhat.com> - 1.20.8-4
e557a1
- Don't switch VTs in the exit path, if killed on inactive VT
e557a1
  Related: #1618481
e557a1
88270d
* Fri Jun 26 2020 Michel Dänzer <mdaenzer@redhat.com> - 1.20.8-3
88270d
- Downgrade modesetting "glamor initialization failed" X_ERROR → X_INFO
88270d
  Resolves: #1724573
88270d
- Xwayland / Present leak fixes for #1728684
88270d
88270d
* Wed Jun 10 2020 Michel Dänzer <mdaenzer@redhat.com> - 1.20.8-2
88270d
- Re-enable Xwayland Present support
88270d
  Resolves: #1728684, #1715676
88270d
- Remove unused patch
88270d
8f5827
* Tue May 26 2020 Adam Jackson <ajax@redhat.com> - 1.20.8-1
8f5827
- xserver 1.20.8
8f5827
877270
* Tue Feb 11 2020 Michel Dänzer <mdaenzer@redhat.com> - 1.20.6-3
877270
- Add fix for crash with Option "Rotate" in xorg.conf
877270
  Resolves: #1795328
877270
877270
* Wed Dec 11 2019 Michel Dänzer <mdaenzer@redhat.com> - 1.20.6-2
877270
- Add fixes for intermittent modesetting artifacts
877270
  Resolves: #1738670
877270
877270
* Mon Dec  9 2019 Olivier Fourdan <ofourdan@redhat.com> - 1.20.6-1
877270
- xserver 1.20.6
877270
877270
* Tue Sep 03 2019 Adam Jackson <ajax@redhat.com> - 1.20.3-11
877270
- Add DRI2 fallback driver mappings for i965 and radeonsi
877270
877270
* Mon Aug 19 2019 Adam Jackson <ajax@redhat.com> - 1.20.3-10
877270
- Backport glvnd vendor selection for prime render offloading
877270
877270
* Fri Jul 12 2019 Adam Jackson <ajax@redhat.com> - 1.20.3-8
877270
- Fix platform device PCI detection for complex bus topologies
877270
877270
* Wed Apr 10 2019 Adam Jackson <ajax@redhat.com> - 1.20.3-7
877270
- Don't require fbdev on s390x, where it doesn't exist
877270
877270
* Wed Apr 03 2019 Adam Jackson <ajax@redhat.com> - 1.20.3-6
877270
- Add Requires: fbdev (and on x86_64, vesa) to Xorg subpackage
877270
877270
* Mon Jan 14 2019 Ben Crocker <bcrocker@redhat.com> - 1.20.3-5
877270
- Add Eric Anholt's patch e50c85f4ebf559 from upstream:
877270
- Fix segfault on probing a non-PCI platform device on a system with PCI
877270
- NOTE: also pertains on a system with no PCI, e.g. s390x.
877270
  Resolves: #1652013
877270
877270
* Mon Jan 07 2019 Olivier Fourdan <ofourdan@redhat.com> - 1.20.3-4
877270
- Move LeaveVT after resetting randr pointers in xf86CrtcCloseScreen
877270
877270
* Mon Nov 19 2018 Adam Jackson <ajax@redhat.com> - 1.20.3-3
877270
- Apply even more -z now and -pie
877270
877270
* Mon Nov 19 2018 Ray Strode <rstrode@redhat.com> - 1.20.3-2
877270
- Fix crash in Xephyr on server reset
877270
  Resolves: #1650168
877270
877270
* Tue Nov 13 2018 Adam Jackson <ajax@redhat.com> - 1.20.3-1
877270
- xserver 1.20.3
877270
- Also forget about DRI driver names for drivers we're not shipping
877270
877270
* Fri Oct 26 2018 Adam Jackson <ajax@redhat.com> - 1.20.2-5
877270
- Work around broken fbdev headers
877270
877270
* Mon Oct 22 2018 Adam Jackson <ajax@redhat.com> - 1.20.2-4
877270
- Back out the PAM patch, may not be necessary in 8
877270
877270
* Wed Oct 17 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.20.2-3
877270
- Backport fix for readlink call from master
877270
877270
* Tue Oct 16 2018 Adam Jackson <ajax@redhat.com> - 1.20.2-2
877270
- Avoid drmSetInterfaceVersion in platform device probe
877270
- Backport a misparenthesis fix from master
877270
877270
* Mon Oct 15 2018 Adam Jackson <ajax@redhat.com> - 1.20.2-1
877270
- xserver 1.20.2
877270
877270
* Mon Oct 15 2018 Olivier Fourdan <ofourdan@redhat.com>> - 1.20.1-4
877270
- Some more RHEL mustard:
877270
  - Disable Present support in Xwayland (rhbz#1638463)
877270
877270
* Fri Oct 12 2018 Adam Jackson <ajax@redhat.com> - 1.20.1-3
877270
- Assorted RHEL mustard:
877270
  - Don't probe for drivers we're not shipping
877270
  - Enable PAM
877270
  - Link Xorg with -z now
877270
  - Nerf modesetting's atomic ioctl support
877270
  - Don't autoconfigure vesa or fbdev from X -configure
877270
  - Call LeaveVT on RANDR's CloseScreen path so we drop drm master
877270
  - Try harder to get initial spanning desktop if the output's
877270
    preferred mode was filtered away
877270
- Sync va_gl/vdpau patch from F29
877270
877270
* Thu Sep 13 2018 Dave Airlie <airlied@redhat.com> - 1.20.1-2
877270
- build with PIE flags
877270
877270
* Thu Aug 09 2018 Adam Jackson <ajax@redhat.com> - 1.20.1-1
877270
- xserver 1.20.1
877270
877270
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-5
877270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
877270
877270
* Tue Jun 12 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-4
877270
- Xorg and Xwayland Requires: libEGL
877270
877270
* Fri Jun 01 2018 Adam Williamson <awilliam@redhat.com> - 1.20.0-3
877270
- Backport fixes for RHBZ#1579067
877270
877270
* Wed May 16 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-2
877270
- Xorg Requires: xorg-x11-drv-libinput
877270
877270
* Thu May 10 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-1
877270
- xserver 1.20
877270
877270
* Wed Apr 25 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.905-2
877270
- Fix xvfb-run's default depth to be 24
877270
877270
* Tue Apr 24 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.905-1
877270
- xserver 1.20 RC5
877270
877270
* Thu Apr 12 2018 Olivier Fourdan <ofourdan@redhat.com> - 1.19.99.904-2
877270
- Re-fix "use type instead of which in xvfb-run (rhbz#1443357)" which
877270
  was overridden inadvertently
877270
877270
* Tue Apr 10 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.904-1
877270
- xserver 1.20 RC4
877270
877270
* Mon Apr 02 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.903-1
877270
- xserver 1.20 RC3
877270
877270
* Tue Feb 13 2018 Olivier Fourdan <ofourdan@redhat.com> 1.19.6-5
877270
- xwayland: avoid race condition on new keymap
877270
- xwayland: Keep separate variables for pointer and tablet foci (rhbz#1519961)
877270
- xvfb-run now support command line option “--auto-display”
877270
877270
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.6-4
877270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
877270
877270
* Tue Jan 30 2018 Olivier Fourdan <ofourdan@redhat.com> 1.19.6-3
877270
- Avoid generating a core file when the Wayland compositor is gone.
877270
877270
* Thu Jan 11 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.19.6-2
877270
- Fix handling of devices with ID_INPUT=null
877270
877270
* Wed Dec 20 2017 Adam Jackson <ajax@redhat.com> - 1.19.6-1
877270
- xserver 1.19.6
877270
877270
* Thu Oct 12 2017 Adam Jackson <ajax@redhat.com> - 1.19.5-1
877270
- xserver 1.19.5
877270
877270
* Thu Oct 05 2017 Olivier Fourdan <ofourdan@redhat.com> - 1.19.4-1
877270
- xserver-1.19.4
877270
- Backport tablet support for Xwayland
877270
877270
* Fri Sep 08 2017 Troy Dawson <tdawson@redhat.com> - 1.19.3-9
877270
- Cleanup spec file conditionals
877270
877270
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.3-8
877270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
877270
877270
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.3-7
877270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
877270
877270
* Sun Jul  2 2017 Ville Skyttä <ville.skytta@iki.fi> - 1.19.3-6
877270
- Use type instead of which in xvfb-run (rhbz#1443357)
877270
877270
* Thu May 04 2017 Orion Poplawski <orion@cora.nwra.com> - 1.19.3-5
877270
- Enable full build for s390/x
877270
877270
* Mon Apr 24 2017 Ben Skeggs <bskeggs@redhat.com> - 1.19.3-4
877270
- Default to xf86-video-modesetting on GeForce 8 and newer
877270
877270
* Fri Apr 07 2017 Adam Jackson <ajax@redhat.com> - 1.19.3-3
877270
- Inoculate against a versioning bug with libdrm 2.4.78
877270
877270
* Thu Mar 23 2017 Hans de Goede <hdegoede@redhat.com> - 1.19.3-2
877270
- Use va_gl as vdpau driver on i965 GPUs (rhbz#1413733)
877270
877270
* Wed Mar 15 2017 Adam Jackson <ajax@redhat.com> - 1.19.3-1
877270
- xserver 1.19.3
877270
877270
* Thu Mar 02 2017 Adam Jackson <ajax@redhat.com> - 1.19.2-1
877270
- xserver 1.19.2
877270
877270
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-4
877270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
877270
877270
* Wed Feb 01 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.19.1-3
877270
- Fix a few input thread lock issues causing intel crashes (#1384486)
877270
877270
* Mon Jan 16 2017 Adam Jackson <ajax@redhat.com> - 1.19.1-2
877270
- Limit the intel driver only on F26 and up
877270
877270
* Wed Jan 11 2017 Adam Jackson <ajax@redhat.com> - 1.19.1-1
877270
- xserver 1.19.1
877270
877270
* Tue Jan 10 2017 Hans de Goede <hdegoede@redhat.com> - 1.19.0-4
877270
- Follow Debian and only default to the intel ddx on gen4 or older intel GPUs
877270
877270
* Tue Dec 20 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-3
877270
- Add one more patch for better integration with the nvidia binary driver
877270
877270
* Thu Dec 15 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-2
877270
- Add some patches for better integration with the nvidia binary driver
877270
- Add a patch from upstream fixing a crash (rhbz#1389886)
877270
877270
* Wed Nov 23 2016 Olivier Fourdan <ofourdan@redhat.com> 1.19.0-1
877270
- xserver 1.19.0
877270
- Fix use after free of cursors in Xwayland (rhbz#1385258)
877270
- Fix an issue where some monitors would show only black, or
877270
  partially black when secondary GPU outputs are used
877270
877270
* Tue Nov 15 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.19.0-0.8.rc2
877270
- Update device barriers for new master devices (#1384432)
877270
877270
* Thu Nov  3 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.7.rc2
877270
- Update to 1.19.0-rc2
877270
- Fix (hopefully) various crashes in FlushAllOutput() (rhbz#1382444)
877270
- Fix Xwayland crashing in glamor on non glamor capable hw (rhbz#1390018)
877270
877270
* Tue Nov  1 2016 Ben Crocker <bcrocker@redhat.com> - 1.19.0-0.6.20161028
877270
- Fix Config record allocation during startup: if xorg.conf.d directory
877270
- was absent, a segfault resulted.
877270
877270
* Mon Oct 31 2016 Adam Jackson <ajax@redhat.com> - 1.19.0-0.5.20161026
877270
- Use %%autopatch instead of doing our own custom git-am trick
877270
877270
* Fri Oct 28 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.4.20161026
877270
- Add missing Requires: libXfont2-devel to -devel sub-package (rhbz#1389711)
877270
877270
* Wed Oct 26 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.3.20161026
877270
- Sync with upstream git, bringing in a bunch if bug-fixes
877270
- Add some extra fixes which are pending upstream
877270
- This also adds PointerWarping emulation to Xwayland, which should improve
877270
  compatiblity with many games