Blame SPECS/xorg-x11-server.spec

976099
# This package is an experiment in active integration of upstream SCM with
976099
# Fedora packaging.  It works something like this:
976099
#
976099
# The "pristine" source is actually a git repo (with no working checkout).
976099
# The first step of %%prep is to check it out and switch to a "fedora" branch.
976099
# If you need to add a patch to the server, just do it like a normal git
976099
# operation, dump it with git-format-patch to a file in the standard naming
976099
# format, and add a PatchN: line.  If you want to push something upstream,
976099
# check out the master branch, pull, cherry-pick, and push.
976099
976099
#global gitdate 20161026
976099
%global stable_abi 1
976099
976099
%if !0%{?gitdate} || %{stable_abi}
976099
# Released ABI versions.  Have to keep these manually in sync with the
976099
# source because rpm is a terrible language.
976099
%global ansic_major 0
976099
%global ansic_minor 4
976099
%global videodrv_major 24
976099
%global videodrv_minor 1
976099
%global xinput_major 24
976099
%global xinput_minor 1
976099
%global extension_major 10
976099
%global extension_minor 0
976099
%endif
976099
976099
%if 0%{?gitdate}
976099
# For git snapshots, use date for major and a serial number for minor
976099
%global minor_serial 0
976099
%global git_ansic_major %{gitdate}
976099
%global git_ansic_minor %{minor_serial}
976099
%global git_videodrv_major %{gitdate}
976099
%global git_videodrv_minor %{minor_serial}
976099
%global git_xinput_major %{gitdate}
976099
%global git_xinput_minor %{minor_serial}
976099
%global git_extension_major %{gitdate}
976099
%global git_extension_minor %{minor_serial}
976099
%endif
976099
976099
%global pkgname xorg-server
976099
976099
Summary:   X.Org X11 X server
976099
Name:      xorg-x11-server
976099
Version:   1.20.11
2de5ca
Release:   11%{?gitdate:.%{gitdate}}%{?dist}
976099
URL:       http://www.x.org
976099
License:   MIT
976099
976099
#VCS:      git:git://git.freedesktop.org/git/xorg/xserver
976099
%if 0%{?gitdate}
976099
# git snapshot.  to recreate, run:
976099
# ./make-git-snapshot.sh `cat commitid`
976099
Source0:   xorg-server-%{gitdate}.tar.xz
976099
#Source0:   http://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.bz2
976099
Source1:   make-git-snapshot.sh
976099
Source2:   commitid
976099
%else
976099
Source0:   https://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.bz2
976099
Source1:   gitignore
976099
%endif
976099
976099
Source4:   10-quirks.conf
976099
976099
Source10:   xserver.pamd
976099
976099
# "useful" xvfb-run script
976099
Source20:  http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.sh
976099
976099
# for requires generation in drivers
976099
Source30: xserver-sdk-abi-requires.release
976099
Source31: xserver-sdk-abi-requires.git
976099
976099
# maintainer convenience script
976099
Source40: driver-abi-rebuild.sh
976099
976099
# From Debian use intel ddx driver only for gen4 and older chipsets
976099
Patch1: 06_use-intel-only-on-pre-gen4.diff
976099
# Default to xf86-video-modesetting on GeForce 8 and newer
976099
Patch2: 0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch
976099
976099
# Default to va_gl on intel i965 as we use the modesetting drv there
976099
# va_gl should probably just be the default everywhere ?
976099
Patch3: 0001-xf86-dri2-Use-va_gl-as-vdpau_driver-for-Intel-i965-G.patch
976099
976099
# Submitted upstream, but not going anywhere
976099
Patch5: 0001-autobind-GPUs-to-the-screen.patch
976099
976099
# because the display-managers are not ready yet, do not upstream
976099
Patch6: 0001-Fedora-hack-Make-the-suid-root-wrapper-always-start-.patch
976099
d067e9
# https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/761
d067e9
Patch7: 0001-xkb-Drop-check-for-XkbSetMapResizeTypes.patch
d067e9
976099
# 1988922 - [Hyper-V]Installation failed with: 'x or window manager startup failed' when the VM was created with GEN1
ad2a79
# 2029769 - fbdev Xorg driver no longer works as a fallback with unsupported hardware
ad2a79
Patch8: 0001-mustard-xfree86-Disable-the-PCI-probe-path.patch
976099
976099
# Backports from current stable "server-1.20-branch":
976099
# <empty>
976099
976099
# Backports from "master" upstream:
cf7b2a
Patch102: 0002-xfree86-Link-fb-statically.patch
cf7b2a
Patch104: 0004-loader-Move-LoaderSymbolFromModule-to-public-API.patch
cf7b2a
Patch105: 0005-loader-Make-LoaderSymbolFromModule-take-a-ModuleDesc.patch
cf7b2a
Patch106: 0006-modesetting-Indirect-the-shadow-API-through-LoaderSy.patch
cf7b2a
Patch107: 0007-modesetting-Indirect-the-glamor-API-through-LoaderSy.patch
cf7b2a
Patch108: 0008-modesetting-Add-glamor_finish-convenience-macro.patch
cf7b2a
Patch109: 0009-modesetting-Use-EGL_MESA_query_driver-to-select-DRI-.patch
cf7b2a
Patch110: 0010-modesetting-Fix-build-with-glamor-disabled.patch
cf7b2a
# Because we still use automake
cf7b2a
Patch111: 0011-modesetting-set-gbm-as-dependency-for-autotools.patch
ad2a79
# Xorg crashes with NVIDIA proprietary driver when uisng Present
ad2a79
# https://bugzilla.redhat.com/show_bug.cgi?id=2046330
ad2a79
Patch112: 0001-present-Check-for-NULL-to-prevent-crash.patch
ad2a79
# Fix a regression with hybrid gfx and NVIDIA proprietary driver
ad2a79
# https://bugzilla.redhat.com/show_bug.cgi?id=2052605
ad2a79
Patch113: 0001-modesetting-Fix-msSharePixmapBacking-Segfault-Regres.patch
cf7b2a
b5718c
# CVE-2021-4011
b5718c
Patch10009: 0001-record-Fix-out-of-bounds-access-in-SwapCreateRegiste.patch
b5718c
# CVE-2021-4009
b5718c
Patch10010: 0002-xfixes-Fix-out-of-bounds-access-in-ProcXFixesCreateP.patch
b5718c
# CVE-2021-4010
b5718c
Patch10011: 0003-Xext-Fix-out-of-bounds-access-in-SProcScreenSaverSus.patch
b5718c
# CVE-2021-4008
b5718c
Patch10012: 0004-render-Fix-out-of-bounds-access-in-SProcRenderCompos.patch
2de5ca
# CVE-2022-2319/ZDI-CAN-16062, CVE-2022-2320/ZDI-CAN-16070
2de5ca
Patch10013: 0001-xkb-switch-to-array-index-loops-to-moving-pointers.patch
2de5ca
Patch10014: 0002-xkb-swap-XkbSetDeviceInfo-and-XkbSetDeviceInfoCheck.patch
2de5ca
Patch10015: 0003-xkb-add-request-length-validation-for-XkbSetGeometry.patch
976099
976099
BuildRequires: make
976099
BuildRequires: systemtap-sdt-devel
976099
BuildRequires: git-core
976099
BuildRequires: automake autoconf libtool pkgconfig
976099
BuildRequires: xorg-x11-util-macros >= 1.17
976099
976099
BuildRequires: xorg-x11-proto-devel >= 7.7-10
976099
BuildRequires: xorg-x11-font-utils >= 7.2-11
976099
976099
BuildRequires: dbus-devel libepoxy-devel systemd-devel
976099
BuildRequires: xorg-x11-xtrans-devel >= 1.3.2
976099
BuildRequires: libXfont2-devel libXau-devel libxkbfile-devel libXres-devel
976099
BuildRequires: libfontenc-devel libXtst-devel libXdmcp-devel
976099
BuildRequires: libX11-devel libXext-devel
976099
BuildRequires: libXinerama-devel libXi-devel
976099
976099
# DMX config utils buildreqs.
976099
BuildRequires: libXt-devel libdmx-devel libXmu-devel libXrender-devel
976099
BuildRequires: libXi-devel libXpm-devel libXaw-devel libXfixes-devel
976099
976099
BuildRequires: pkgconfig(epoxy)
976099
BuildRequires: pkgconfig(xshmfence) >= 1.1
976099
BuildRequires: libXv-devel
976099
BuildRequires: pixman-devel >= 0.30.0
976099
BuildRequires: libpciaccess-devel >= 0.13.1 openssl-devel bison flex
976099
BuildRequires: mesa-libGL-devel >= 9.2
976099
BuildRequires: mesa-libEGL-devel
976099
BuildRequires: mesa-libgbm-devel
976099
# XXX silly...
976099
BuildRequires: libdrm-devel >= 2.4.0 kernel-headers
976099
976099
BuildRequires: audit-libs-devel libselinux-devel >= 2.0.86-1
976099
BuildRequires: libudev-devel
976099
# libunwind is Exclusive for the following arches
976099
%ifarch aarch64 %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
976099
%if !0%{?rhel}
976099
BuildRequires: libunwind-devel
976099
%endif
976099
%endif
976099
976099
BuildRequires: pkgconfig(xcb-aux) pkgconfig(xcb-image) pkgconfig(xcb-icccm)
976099
BuildRequires: pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
976099
976099
%description
976099
X.Org X11 X server
976099
976099
976099
%package common
976099
Summary: Xorg server common files
976099
Requires: pixman >= 0.30.0
976099
Requires: xkeyboard-config xkbcomp
976099
976099
%description common
976099
Common files shared among all X servers.
976099
976099
976099
%package Xorg
976099
Summary: Xorg X server
976099
Provides: Xorg = %{version}-%{release}
976099
Provides: Xserver
976099
# HdG: This should be moved to the wrapper package once the wrapper gets
976099
# its own sub-package:
976099
Provides: xorg-x11-server-wrapper = %{version}-%{release}
976099
%if !0%{?gitdate} || %{stable_abi}
976099
Provides: xserver-abi(ansic-%{ansic_major}) = %{ansic_minor}
976099
Provides: xserver-abi(videodrv-%{videodrv_major}) = %{videodrv_minor}
976099
Provides: xserver-abi(xinput-%{xinput_major}) = %{xinput_minor}
976099
Provides: xserver-abi(extension-%{extension_major}) = %{extension_minor}
976099
%endif
976099
%if 0%{?gitdate}
976099
Provides: xserver-abi(ansic-%{git_ansic_major}) = %{git_ansic_minor}
976099
Provides: xserver-abi(videodrv-%{git_videodrv_major}) = %{git_videodrv_minor}
976099
Provides: xserver-abi(xinput-%{git_xinput_major}) = %{git_xinput_minor}
976099
Provides: xserver-abi(extension-%{git_extension_major}) = %{git_extension_minor}
976099
%endif
976099
Obsoletes: xorg-x11-glamor < %{version}-%{release}
976099
Provides: xorg-x11-glamor = %{version}-%{release}
976099
Obsoletes: xorg-x11-drv-modesetting < %{version}-%{release}
976099
Provides: xorg-x11-drv-modesetting = %{version}-%{release}
976099
# Dropped from F25
976099
Obsoletes: xorg-x11-drv-vmmouse < 13.1.0-4
976099
976099
Requires: xorg-x11-server-common >= %{version}-%{release}
976099
Requires: system-setup-keyboard
976099
Requires: xorg-x11-drv-libinput
976099
Requires: libEGL
976099
976099
%description Xorg
976099
X.org X11 is an open source implementation of the X Window System.  It
976099
provides the basic low level functionality which full fledged
976099
graphical user interfaces (GUIs) such as GNOME and KDE are designed
976099
upon.
976099
976099
976099
%package Xnest
976099
Summary: A nested server
976099
Requires: xorg-x11-server-common >= %{version}-%{release}
976099
Provides: Xnest
976099
976099
%description Xnest
976099
Xnest is an X server which has been implemented as an ordinary
976099
X application.  It runs in a window just like other X applications,
976099
but it is an X server itself in which you can run other software.  It
976099
is a very useful tool for developers who wish to test their
976099
applications without running them on their real X server.
976099
976099
976099
%package Xdmx
976099
Summary: Distributed Multihead X Server and utilities
976099
Requires: xorg-x11-server-common >= %{version}-%{release}
976099
Provides: Xdmx
976099
976099
%description Xdmx
976099
Xdmx is proxy X server that provides multi-head support for multiple displays
976099
attached to different machines (each of which is running a typical X server).
976099
When Xinerama is used with Xdmx, the multiple displays on multiple machines
976099
are presented to the user as a single unified screen.  A simple application
976099
for Xdmx would be to provide multi-head support using two desktop machines,
976099
each of which has a single display device attached to it.  A complex
976099
application for Xdmx would be to unify a 4 by 4 grid of 1280x1024 displays
976099
(each attached to one of 16 computers) into a unified 5120x4096 display.
976099
976099
976099
%package Xvfb
976099
Summary: A X Windows System virtual framebuffer X server
976099
# xvfb-run is GPLv2, rest is MIT
976099
License: MIT and GPLv2
976099
Requires: xorg-x11-server-common >= %{version}-%{release}
976099
# required for xvfb-run
976099
Requires: xorg-x11-xauth
976099
Provides: Xvfb
976099
976099
%description Xvfb
976099
Xvfb (X Virtual Frame Buffer) is an X server that is able to run on
976099
machines with no display hardware and no physical input devices.
976099
Xvfb simulates a dumb framebuffer using virtual memory.  Xvfb does
976099
not open any devices, but behaves otherwise as an X display.  Xvfb
976099
is normally used for testing servers.
976099
976099
976099
%package Xephyr
976099
Summary: A nested server
976099
Requires: xorg-x11-server-common >= %{version}-%{release}
976099
Provides: Xephyr
976099
976099
%description Xephyr
976099
Xephyr is an X server which has been implemented as an ordinary
976099
X application.  It runs in a window just like other X applications,
976099
but it is an X server itself in which you can run other software.  It
976099
is a very useful tool for developers who wish to test their
976099
applications without running them on their real X server.  Unlike
976099
Xnest, Xephyr renders to an X image rather than relaying the
976099
X protocol, and therefore supports the newer X extensions like
976099
Render and Composite.
976099
976099
976099
%package devel
976099
Summary: SDK for X server driver module development
976099
Requires: xorg-x11-util-macros
976099
Requires: xorg-x11-proto-devel
976099
Requires: libXfont2-devel
976099
Requires: pkgconfig pixman-devel libpciaccess-devel
976099
Provides: xorg-x11-server-static
976099
Obsoletes: xorg-x11-glamor-devel < %{version}-%{release}
976099
Provides: xorg-x11-glamor-devel = %{version}-%{release}
976099
976099
%description devel
976099
The SDK package provides the developmental files which are necessary for
976099
developing X server driver modules, and for compiling driver modules
976099
outside of the standard X11 source code tree.  Developers writing video
976099
drivers, input drivers, or other X modules should install this package.
976099
976099
976099
%package source
976099
Summary: Xserver source code required to build VNC server (Xvnc)
976099
BuildArch: noarch
976099
976099
%description source
976099
Xserver source code needed to build VNC server (Xvnc)
976099
976099
976099
%prep
976099
%autosetup -N -n %{pkgname}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
976099
rm -rf .git
976099
cp %{SOURCE1} .gitignore
976099
# ick
976099
%global __scm git
976099
%{expand:%__scm_setup_git -q}
976099
%autopatch
976099
976099
%if 0%{?stable_abi}
976099
# check the ABI in the source against what we expect.
976099
getmajor() {
976099
    grep -i ^#define.ABI.$1_VERSION hw/xfree86/common/xf86Module.h |
976099
    tr '(),' '   ' | awk '{ print $4 }'
976099
}
976099
976099
getminor() {
976099
    grep -i ^#define.ABI.$1_VERSION hw/xfree86/common/xf86Module.h |
976099
    tr '(),' '   ' | awk '{ print $5 }'
976099
}
976099
976099
test `getmajor ansic` == %{ansic_major}
976099
test `getminor ansic` == %{ansic_minor}
976099
test `getmajor videodrv` == %{videodrv_major}
976099
test `getminor videodrv` == %{videodrv_minor}
976099
test `getmajor xinput` == %{xinput_major}
976099
test `getminor xinput` == %{xinput_minor}
976099
test `getmajor extension` == %{extension_major}
976099
test `getminor extension` == %{extension_minor}
976099
976099
%endif
976099
976099
%build
976099
976099
%if !0%{?rhel}
976099
%ifarch %{ix86} x86_64
976099
%global int10_arch 1
976099
%endif
976099
%endif
976099
976099
%if %{undefined int10_arch}
976099
%global no_int10 --disable-vbe --disable-int10-module
976099
%endif
976099
976099
%global kdrive --enable-kdrive --enable-xephyr --disable-xfake --disable-xfbdev
976099
%global xservers --enable-xvfb --enable-xnest %{kdrive} --enable-xorg
976099
%global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
976099
%global dri_flags --disable-dri --enable-dri2 %{?!rhel:--enable-dri3} --enable-suid-wrapper --enable-glamor
976099
976099
autoreconf -f -v --install || exit 1
976099
976099
%configure %{xservers} \
976099
	--enable-dependency-tracking \
976099
	--disable-static \
976099
	--with-pic \
976099
	%{?no_int10} \
976099
	--with-default-font-path=%{default_font_path} \
976099
	--with-module-dir=%{_libdir}/xorg/modules \
976099
	--with-builderstring="Build ID: %{name} %{version}-%{release}" \
976099
	--with-os-name="$(hostname -s) $(uname -r)" \
976099
	--with-xkb-output=%{_localstatedir}/lib/xkb \
976099
        --without-dtrace \
976099
	--disable-linux-acpi --disable-linux-apm \
976099
	--enable-xselinux --enable-record --enable-present \
976099
        --enable-xcsecurity \
976099
	--enable-config-udev \
976099
	--disable-unit-tests \
976099
	--enable-dmx \
976099
	--disable-xwayland \
976099
	%{dri_flags} \
976099
	${CONFIGURE}
976099
976099
make V=1 %{?_smp_mflags}
976099
976099
976099
%install
976099
%make_install
976099
976099
mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
976099
976099
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
976099
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xserver
976099
976099
mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
976099
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
976099
976099
# make sure the (empty) /etc/X11/xorg.conf.d is there, system-setup-keyboard
976099
# relies on it more or less.
976099
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d
976099
976099
%if %{stable_abi}
976099
install -m 755 %{SOURCE30} $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
976099
%else
976099
sed -e s/@MAJOR@/%{gitdate}/g -e s/@MINOR@/%{minor_serial}/g %{SOURCE31} > \
976099
    $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
976099
chmod 755 $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
976099
%endif
976099
976099
install -m 0755 %{SOURCE20} $RPM_BUILD_ROOT%{_bindir}/xvfb-run
976099
976099
# Make the source package
976099
%global xserver_source_dir %{_datadir}/xorg-x11-server-source
976099
%global inst_srcdir %{buildroot}/%{xserver_source_dir}
976099
976099
mkdir -p %{inst_srcdir}/{Xext,xkb,GL,hw/{xquartz/bundle,xfree86/common}}
976099
mkdir -p %{inst_srcdir}/{hw/dmx/doc,man,doc,hw/dmx/doxygen}
976099
cp {,%{inst_srcdir}/}hw/xquartz/bundle/cpprules.in
976099
cp {,%{inst_srcdir}/}man/Xserver.man
976099
cp {,%{inst_srcdir}/}doc/smartsched
976099
cp {,%{inst_srcdir}/}hw/dmx/doxygen/doxygen.conf.in
976099
cp {,%{inst_srcdir}/}xserver.ent.in
976099
cp {,%{inst_srcdir}/}hw/xfree86/Xorg.sh.in
976099
cp xkb/README.compiled %{inst_srcdir}/xkb
976099
cp hw/xfree86/xorgconf.cpp %{inst_srcdir}/hw/xfree86
976099
976099
find . -type f | egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' |
976099
xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
976099
find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
976099
976099
# Remove unwanted files/dirs
976099
{
976099
    find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
976099
# wtf
976099
%ifnarch %{ix86} x86_64
976099
    rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/lib{int10,vbe}.so
976099
%endif
976099
}
976099
976099
976099
%files common
976099
%doc COPYING
976099
%{_mandir}/man1/Xserver.1*
976099
%{_libdir}/xorg/protocol.txt
976099
%dir %{_localstatedir}/lib/xkb
976099
%{_localstatedir}/lib/xkb/README.compiled
976099
976099
%if 1
976099
%global Xorgperms %attr(4755, root, root)
976099
%else
976099
# disable until module loading is audited
976099
%global Xorgperms %attr(0711,root,root) %caps(cap_sys_admin,cap_sys_rawio,cap_dac_override=pe)
976099
%endif
976099
976099
%files Xorg
976099
%config %attr(0644,root,root) %{_sysconfdir}/pam.d/xserver
976099
%{_bindir}/X
976099
%{_bindir}/Xorg
976099
%{_libexecdir}/Xorg
976099
%{Xorgperms} %{_libexecdir}/Xorg.wrap
976099
%{_bindir}/cvt
976099
%{_bindir}/gtf
976099
%dir %{_libdir}/xorg
976099
%dir %{_libdir}/xorg/modules
976099
%dir %{_libdir}/xorg/modules/drivers
976099
%{_libdir}/xorg/modules/drivers/modesetting_drv.so
976099
%dir %{_libdir}/xorg/modules/extensions
976099
%{_libdir}/xorg/modules/extensions/libglx.so
976099
%dir %{_libdir}/xorg/modules/input
976099
%{_libdir}/xorg/modules/libfbdevhw.so
976099
%{_libdir}/xorg/modules/libexa.so
976099
%{_libdir}/xorg/modules/libglamoregl.so
976099
%{_libdir}/xorg/modules/libshadow.so
976099
%{_libdir}/xorg/modules/libshadowfb.so
976099
%{_libdir}/xorg/modules/libvgahw.so
976099
%{_libdir}/xorg/modules/libwfb.so
976099
%if %{defined int10_arch}
976099
%{_libdir}/xorg/modules/libint10.so
976099
%{_libdir}/xorg/modules/libvbe.so
976099
%endif
976099
%{_mandir}/man1/gtf.1*
976099
%{_mandir}/man1/Xorg.1*
976099
%{_mandir}/man1/Xorg.wrap.1*
976099
%{_mandir}/man1/cvt.1*
976099
%{_mandir}/man4/fbdevhw.4*
976099
%{_mandir}/man4/exa.4*
976099
%{_mandir}/man4/modesetting.4*
976099
%{_mandir}/man5/Xwrapper.config.5*
976099
%{_mandir}/man5/xorg.conf.5*
976099
%{_mandir}/man5/xorg.conf.d.5*
976099
%dir %{_sysconfdir}/X11/xorg.conf.d
976099
%dir %{_datadir}/X11/xorg.conf.d
976099
%{_datadir}/X11/xorg.conf.d/10-quirks.conf
976099
976099
%files Xnest
976099
%{_bindir}/Xnest
976099
%{_mandir}/man1/Xnest.1*
976099
976099
%files Xdmx
976099
%{_bindir}/Xdmx
976099
%{_bindir}/dmxaddinput
976099
%{_bindir}/dmxaddscreen
976099
%{_bindir}/dmxreconfig
976099
%{_bindir}/dmxresize
976099
%{_bindir}/dmxrminput
976099
%{_bindir}/dmxrmscreen
976099
%{_bindir}/dmxtodmx
976099
%{_bindir}/dmxwininfo
976099
%{_bindir}/vdltodmx
976099
%{_bindir}/dmxinfo
976099
%{_bindir}/xdmxconfig
976099
%{_mandir}/man1/Xdmx.1*
976099
%{_mandir}/man1/dmxtodmx.1*
976099
%{_mandir}/man1/vdltodmx.1*
976099
%{_mandir}/man1/xdmxconfig.1*
976099
976099
%files Xvfb
976099
%{_bindir}/Xvfb
976099
%{_bindir}/xvfb-run
976099
%{_mandir}/man1/Xvfb.1*
976099
976099
%files Xephyr
976099
%{_bindir}/Xephyr
976099
%{_mandir}/man1/Xephyr.1*
976099
976099
%files devel
976099
%doc COPYING
976099
#{_docdir}/xorg-server
976099
%{_bindir}/xserver-sdk-abi-requires
976099
%{_libdir}/pkgconfig/xorg-server.pc
976099
%dir %{_includedir}/xorg
976099
%{_includedir}/xorg/*.h
976099
%{_datadir}/aclocal/xorg-server.m4
976099
976099
%files source
976099
%{xserver_source_dir}
976099
976099
976099
%changelog
2de5ca
* Fri Jul 29 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-11
2de5ca
- CVE fix for: CVE-2022-2319/ZDI-CAN-16062, CVE-2022-2320/ZDI-CAN-16070
2de5ca
  Resolves: rhbz#2108157, rhbz#2108162
2de5ca
ad2a79
* Thu Feb 10 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-10
ad2a79
- Fix a regression with hybrid gfx and NVIDIA proprietary driver (#2052605)
ad2a79
ad2a79
* Fri Jan 28 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-9
ad2a79
- Fix crash with NVIDIA proprietary driver with Present (#2046330)
ad2a79
ad2a79
* Wed Jan 26 2022 Adam Jackson <ajax@redhat.com> - 1.20.11-8
ad2a79
- Only disable the PCI-specific driver probe, since we do still want fallback
ad2a79
  to fbdev to work.
ad2a79
  Resolves: #2029769
ad2a79
b5718c
* Thu Jan  6 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-7
b5718c
- CVE fix for: CVE-2021-4008 (#2030160), CVE-2021-4009 (#2030170),
b5718c
  CVE-2021-4010 (#2030174), CVE-2021-4011 (#2030179)
b5718c
cf7b2a
* Tue Nov 23 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-6
cf7b2a
- Restore hardened builds
cf7b2a
  Resolves: #2024556
cf7b2a
d067e9
* Tue Nov  9 2021 Adam Jackson <ajax@redhat.com> - 1.20.11-5
976099
- Disable non-platform video driver probe, it should never be needed and the
976099
  PCI probe code interferes with the (default) platform path.
d067e9
  Resolves: #2000921
d067e9
d067e9
* Tue Oct 26 2021 Ray Strode <rstrode@redhat.com> - 1.20.11-4
d067e9
- Fix XkbChangeMap
d067e9
  Resolves: #2009928
976099
976099
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.20.11-3
976099
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
976099
  Related: rhbz#1991688
976099
976099
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 1.20.11-2
976099
- Rebuilt for RHEL 9 BETA for openssl 3.0
976099
  Related: rhbz#1971065
976099
976099
* Thu Jun 17 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-1
976099
- xserver 1.20.11 (#1952895)
976099
976099
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.20.10-6
976099
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
976099
976099
* Wed Feb 03 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.20.10-5
976099
- Drop BuildRequires for flex-devel (#1871101)
976099
976099
* Mon Feb  1 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.10-4
976099
- Remove Xwayland from the xserver builds
976099
976099
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.10-3
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
976099
976099
* Tue Jan 19 2021 Adam Jackson <ajax@redhat.com> - 1.20.10-2
976099
- Disable int10 and vbe on RHEL
976099
- Disable DRI1
976099
- Stop overriding the vendor name
976099
976099
* Wed Dec  2 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.10-1
976099
- xserver 1.20.10 (CVE-2020-14360, CVE-2020-25712)
976099
976099
* Thu Nov  5 10:35:09 AEST 2020 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.9-3
976099
- Add BuildRequires for make
976099
976099
* Wed Nov 04 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.20.9-2
976099
- Drop BuildRequires to git-core only
976099
976099
* Thu Oct  8 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.9-1
976099
- xserver 1.20.9 + all current fixes from upstream
976099
976099
* Wed Aug 12 2020 Adam Jackson <ajax@redhat.com> - 1.20.8-4
976099
- Enable XC-SECURITY
976099
976099
* Fri Jul 31 2020 Adam Jackson <ajax@redhat.com> - 1.20.8-3
976099
- Fix information disclosure bug in pixmap allocation (CVE-2020-14347)
976099
976099
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.8-2
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
976099
976099
* Mon Mar 30 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.8-1
976099
- xserver 1.20.8
976099
- Backport latest Xwayland randr resolution change emulation support
976099
  patches.
976099
976099
* Wed Mar 18 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.7-2
976099
- Fix a crash on closing a window using Present found upstream:
976099
  https://gitlab.freedesktop.org/xorg/xserver/issues/1000
976099
976099
* Fri Mar 13 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.7-1
976099
- xserver 1.20.7
976099
- backport from stable "xserver-1.20-branch" up to commit ad7364d8d
976099
  (for mutter fullscreen unredirect on Wayland)
976099
- Update videodrv minor ABI as 1.20.7 changed the minor ABI version
976099
  (backward compatible, API addition in glamor)
976099
- Rebase Xwayland randr resolution change emulation support patches
976099
976099
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.6-2
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
976099
976099
* Mon Nov 25 2019 Olivier Fourdan <ofourdan@redhat.com> - 1.20.6-1
976099
- xserver 1.20.6
976099
976099
* Mon Nov  4 2019 Hans de Goede <hdegoede@redhat.com> - 1.20.5-9
976099
- Fix building with new libglvnd-1.2.0 (E)GL headers and pkgconfig files
976099
976099
* Mon Nov  4 2019 Hans de Goede <hdegoede@redhat.com> - 1.20.5-8
976099
- Backport Xwayland randr resolution change emulation support
976099
976099
* Thu Aug 29 2019 Olivier Fourdan <ofourdan@redhat.com> 1.20.5-7
976099
- Pick latest fixes from xserver stable branch upstream (rhbz#1729925)
976099
976099
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.5-6
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
976099
976099
* Mon Jul  8 2019 Olivier Fourdan <ofourdan@redhat.com> 1.20.5-5
976099
- Do not include <sys/io.h> on ARM with glibc to avoid compilation failure.
976099
- Do not force vbe and int10 sdk headers as this enables int10 which does
976099
  not build on ARM without <sys/io.h>
976099
976099
* Mon Jul  8 2019 Olivier Fourdan <ofourdan@redhat.com> 1.20.5-4
976099
- Fix regression causing screen tearing with upstream xserver 1.20.5
976099
  (rhbz#1726419)
976099
976099
* Fri Jun 28 2019 Olivier Fourdan <ofourdan@redhat.com> 1.20.5-3
976099
- Remove atomic downstream patches causing regressions (#1714981, #1723715)
976099
- Xwayland crashes (#1708119, #1691745)
976099
- Cursor issue with tablet on Xwayland
976099
- Xorg/modesetting issue with flipping pixmaps with Present (#1645553)
976099
976099
* Thu Jun 06 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.20.5-2
976099
- Return AlreadyGrabbed for keycodes > 255 (#1697804)
976099
976099
* Thu May 30 2019 Adam Jackson <ajax@redhat.com> - 1.20.5-1
976099
- xserver 1.20.5
976099
976099
* Tue Apr 23 2019 Adam Jackson <ajax@redhat.com> - 1.20.4-4
976099
- Fix some non-atomic modesetting calls to be atomic
976099
976099
* Wed Mar 27 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.20.4-3
976099
- Fix a Qt scrolling bug, don't reset the valuator on slave switch
976099
976099
* Thu Mar 21 2019 Adam Jackson <ajax@redhat.com> - 1.20.4-2
976099
- Backport an Xwayland crash fix in the Present code
976099
976099
* Tue Feb 26 2019 Adam Jackson <ajax@redhat.com> - 1.20.4-1
976099
- xserver 1.20.4
976099
976099
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.3-4
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
976099
976099
* Fri Jan 11 2019 Olivier Fourdan <ofourdan@redhat.com> - 1.20.3-3
976099
- More Xwayland/Present fixes from upstream (rhbz#1609181, rhbz#1661748)
976099
976099
* Thu Dec 06 2018 Olivier Fourdan <ofourdan@redhat.com> - 1.20.3-2
976099
- Xwayland/Present fixes from master upstream
976099
976099
* Thu Nov 01 2018 Adam Jackson <ajax@redhat.com> - 1.20.3-1
976099
- xserver 1.20.3
976099
976099
* Mon Oct 15 2018 Adam Jackson <ajax@redhat.com> - 1.20.2-1
976099
- xserver 1.20.2
976099
976099
* Thu Oct  4 2018 Hans de Goede <hdegoede@redhat.com> - 1.20.1-4
976099
- Rebase patch to use va_gl as vdpau driver on i965 GPUs, re-fix rhbz#1413733
976099
976099
* Thu Sep 13 2018 Dave Airlie <airlied@redhat.com> - 1.20.1-3
976099
- Build with PIE enabled (this doesn't enable bind now)
976099
976099
* Mon Sep 10 2018 Olivier Fourdan <ofourdan@redhat.com> - 1.20.1-2
976099
- Include patches from upstream to fix Xwayland crashes
976099
976099
* Thu Aug 09 2018 Adam Jackson <ajax@redhat.com> - 1.20.1-1
976099
- xserver 1.20.1
976099
976099
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-5
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
976099
976099
* Tue Jun 12 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-4
976099
- Xorg and Xwayland Requires: libEGL
976099
976099
* Fri Jun 01 2018 Adam Williamson <awilliam@redhat.com> - 1.20.0-3
976099
- Backport fixes for RHBZ#1579067
976099
976099
* Wed May 16 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-2
976099
- Xorg Requires: xorg-x11-drv-libinput
976099
976099
* Thu May 10 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-1
976099
- xserver 1.20
976099
976099
* Wed Apr 25 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.905-2
976099
- Fix xvfb-run's default depth to be 24
976099
976099
* Tue Apr 24 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.905-1
976099
- xserver 1.20 RC5
976099
976099
* Thu Apr 12 2018 Olivier Fourdan <ofourdan@redhat.com> - 1.19.99.904-2
976099
- Re-fix "use type instead of which in xvfb-run (rhbz#1443357)" which
976099
  was overridden inadvertently
976099
976099
* Tue Apr 10 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.904-1
976099
- xserver 1.20 RC4
976099
976099
* Mon Apr 02 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.903-1
976099
- xserver 1.20 RC3
976099
976099
* Tue Feb 13 2018 Olivier Fourdan <ofourdan@redhat.com> 1.19.6-5
976099
- xwayland: avoid race condition on new keymap
976099
- xwayland: Keep separate variables for pointer and tablet foci (rhbz#1519961)
976099
- xvfb-run now support command line option “--auto-display”
976099
976099
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.6-4
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
976099
976099
* Tue Jan 30 2018 Olivier Fourdan <ofourdan@redhat.com> 1.19.6-3
976099
- Avoid generating a core file when the Wayland compositor is gone.
976099
976099
* Thu Jan 11 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.19.6-2
976099
- Fix handling of devices with ID_INPUT=null
976099
976099
* Wed Dec 20 2017 Adam Jackson <ajax@redhat.com> - 1.19.6-1
976099
- xserver 1.19.6
976099
976099
* Thu Oct 12 2017 Adam Jackson <ajax@redhat.com> - 1.19.5-1
976099
- xserver 1.19.5
976099
976099
* Thu Oct 05 2017 Olivier Fourdan <ofourdan@redhat.com> - 1.19.4-1
976099
- xserver-1.19.4
976099
- Backport tablet support for Xwayland
976099
976099
* Fri Sep 08 2017 Troy Dawson <tdawson@redhat.com> - 1.19.3-9
976099
- Cleanup spec file conditionals
976099
976099
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.3-8
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
976099
976099
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.3-7
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
976099
976099
* Sun Jul  2 2017 Ville Skyttä <ville.skytta@iki.fi> - 1.19.3-6
976099
- Use type instead of which in xvfb-run (rhbz#1443357)
976099
976099
* Thu May 04 2017 Orion Poplawski <orion@cora.nwra.com> - 1.19.3-5
976099
- Enable full build for s390/x
976099
976099
* Mon Apr 24 2017 Ben Skeggs <bskeggs@redhat.com> - 1.19.3-4
976099
- Default to xf86-video-modesetting on GeForce 8 and newer
976099
976099
* Fri Apr 07 2017 Adam Jackson <ajax@redhat.com> - 1.19.3-3
976099
- Inoculate against a versioning bug with libdrm 2.4.78
976099
976099
* Thu Mar 23 2017 Hans de Goede <hdegoede@redhat.com> - 1.19.3-2
976099
- Use va_gl as vdpau driver on i965 GPUs (rhbz#1413733)
976099
976099
* Wed Mar 15 2017 Adam Jackson <ajax@redhat.com> - 1.19.3-1
976099
- xserver 1.19.3
976099
976099
* Thu Mar 02 2017 Adam Jackson <ajax@redhat.com> - 1.19.2-1
976099
- xserver 1.19.2
976099
976099
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-4
976099
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
976099
976099
* Wed Feb 01 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.19.1-3
976099
- Fix a few input thread lock issues causing intel crashes (#1384486)
976099
976099
* Mon Jan 16 2017 Adam Jackson <ajax@redhat.com> - 1.19.1-2
976099
- Limit the intel driver only on F26 and up
976099
976099
* Wed Jan 11 2017 Adam Jackson <ajax@redhat.com> - 1.19.1-1
976099
- xserver 1.19.1
976099
976099
* Tue Jan 10 2017 Hans de Goede <hdegoede@redhat.com> - 1.19.0-4
976099
- Follow Debian and only default to the intel ddx on gen4 or older intel GPUs
976099
976099
* Tue Dec 20 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-3
976099
- Add one more patch for better integration with the nvidia binary driver
976099
976099
* Thu Dec 15 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-2
976099
- Add some patches for better integration with the nvidia binary driver
976099
- Add a patch from upstream fixing a crash (rhbz#1389886)
976099
976099
* Wed Nov 23 2016 Olivier Fourdan <ofourdan@redhat.com> 1.19.0-1
976099
- xserver 1.19.0
976099
- Fix use after free of cursors in Xwayland (rhbz#1385258)
976099
- Fix an issue where some monitors would show only black, or
976099
  partially black when secondary GPU outputs are used
976099
976099
* Tue Nov 15 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.19.0-0.8.rc2
976099
- Update device barriers for new master devices (#1384432)
976099
976099
* Thu Nov  3 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.7.rc2
976099
- Update to 1.19.0-rc2
976099
- Fix (hopefully) various crashes in FlushAllOutput() (rhbz#1382444)
976099
- Fix Xwayland crashing in glamor on non glamor capable hw (rhbz#1390018)
976099
976099
* Tue Nov  1 2016 Ben Crocker <bcrocker@redhat.com> - 1.19.0-0.6.20161028
976099
- Fix Config record allocation during startup: if xorg.conf.d directory
976099
- was absent, a segfault resulted.
976099
976099
* Mon Oct 31 2016 Adam Jackson <ajax@redhat.com> - 1.19.0-0.5.20161026
976099
- Use %%autopatch instead of doing our own custom git-am trick
976099
976099
* Fri Oct 28 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.4.20161026
976099
- Add missing Requires: libXfont2-devel to -devel sub-package (rhbz#1389711)
976099
976099
* Wed Oct 26 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.3.20161026
976099
- Sync with upstream git, bringing in a bunch if bug-fixes
976099
- Add some extra fixes which are pending upstream
976099
- This also adds PointerWarping emulation to Xwayland, which should improve
976099
  compatiblity with many games