aa81af7
# This package is an experiment in active integration of upstream SCM with
afcbbe2
# Fedora packaging.  It works something like this:
afcbbe2
#
afcbbe2
# The "pristine" source is actually a git repo (with no working checkout).
afcbbe2
# The first step of %%prep is to check it out and switch to a "fedora" branch.
afcbbe2
# If you need to add a patch to the server, just do it like a normal git
afcbbe2
# operation, dump it with git-format-patch to a file in the standard naming
afcbbe2
# format, and add a PatchN: line.  If you want to push something upstream,
bd41e02
# check out the master branch, pull, cherry-pick, and push.
afcbbe2
9d87e95
# X.org requires lazy relocations to work.
9d87e95
%undefine _hardened_build
8dd9953
%undefine _strict_symbol_defs_build
9d87e95
7084842
#global gitdate 20161026
48dc8f4
%global stable_abi 1
243e82a
3a2d311
%if !0%{?gitdate} || %{stable_abi}
243e82a
# Released ABI versions.  Have to keep these manually in sync with the
243e82a
# source because rpm is a terrible language.
50633b0
%global ansic_major 0
50633b0
%global ansic_minor 4
120f876
%global videodrv_major 24
1e468bc
%global videodrv_minor 1
db3d278
%global xinput_major 24
Peter Hutterer 2d1fe9d
%global xinput_minor 1
db3d278
%global extension_major 10
50633b0
%global extension_minor 0
813c021
%endif
a8fb842
813c021
%if 0%{?gitdate}
243e82a
# For git snapshots, use date for major and a serial number for minor
50633b0
%global minor_serial 0
50633b0
%global git_ansic_major %{gitdate}
50633b0
%global git_ansic_minor %{minor_serial}
50633b0
%global git_videodrv_major %{gitdate}
50633b0
%global git_videodrv_minor %{minor_serial}
50633b0
%global git_xinput_major %{gitdate}
50633b0
%global git_xinput_minor %{minor_serial}
50633b0
%global git_extension_major %{gitdate}
50633b0
%global git_extension_minor %{minor_serial}
243e82a
%endif
243e82a
50633b0
%global pkgname xorg-server
Kristian Høgsberg ce50e2c
mharris 683564b
Summary:   X.Org X11 X server
mharris dc2469d
Name:      xorg-x11-server
f08aeec
Version:   1.20.14
47092bc
Release:   35%{?gitdate:.%{gitdate}}%{?dist}
mharris dc2469d
URL:       http://www.x.org
28a268e
# SPDX
Peter Hutterer d8ec154
License:   Adobe-Display-PostScript AND BSD-3-Clause AND DEC-3-Clause AND HPND AND HPND-sell-MIT-disclaimer-xserver AND HPND-sell-variant AND ICU AND ISC AND MIT AND MIT-open-group AND NTP AND SGI-B-2.0 AND SMLNJ AND X11 AND X11-distribute-modifications-variant
mharris 83c9ed8
f54fe15
#VCS:      git:git://git.freedesktop.org/git/xorg/xserver
37a43ab
%if 0%{?gitdate}
6757c65
# git snapshot.  to recreate, run:
afcbbe2
# ./make-git-snapshot.sh `cat commitid`
cec8696
Source0:   xorg-server-%{gitdate}.tar.xz
cec8696
#Source0:   http://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.bz2
6757c65
Source1:   make-git-snapshot.sh
afcbbe2
Source2:   commitid
6757c65
%else
f08aeec
Source0:   https://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.xz
b3fd507
Source1:   gitignore
6757c65
%endif
eee5ef9
611fa3c
Source10:   xserver.pamd
611fa3c
b87ee0a
# "useful" xvfb-run script
1b89ad9
Source20:  http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.sh
1b89ad9
a8fb842
# for requires generation in drivers
d7ae664
Source30: xserver-sdk-abi-requires.release
d7ae664
Source31: xserver-sdk-abi-requires.git
d7ae664
d7ae664
# maintainer convenience script
d7ae664
Source40: driver-abi-rebuild.sh
aa9281b
ee515e4
# From Debian use intel ddx driver only for gen4 and older chipsets
8833777
Patch1: 06_use-intel-only-on-pre-gen4.diff
8833777
# Default to xf86-video-modesetting on GeForce 8 and newer
8833777
Patch2: 0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch
ee515e4
f57420c
# Default to va_gl on intel i965 as we use the modesetting drv there
f57420c
# va_gl should probably just be the default everywhere ?
f57420c
Patch3: 0001-xf86-dri2-Use-va_gl-as-vdpau_driver-for-Intel-i965-G.patch
704bf42
6c7b302
# Submitted upstream, but not going anywhere
8833777
Patch5: 0001-autobind-GPUs-to-the-screen.patch
fc48514
9e2b258
# because the display-managers are not ready yet, do not upstream
8833777
Patch6: 0001-Fedora-hack-Make-the-suid-root-wrapper-always-start-.patch
f7f3689
Peter Hutterer 4e595ce
# Not sure anyone else cares about this so let's keep this Fedora-only for now
Peter Hutterer 4e595ce
# Upstream PR for the meson.build equivalent is here, so we can drop this patch
Peter Hutterer 4e595ce
# when we start building with meson.
Peter Hutterer 4e595ce
# https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1001`
Peter Hutterer 4e595ce
Patch7: 0001-configure.ac-search-for-the-fontrootdir-ourselves.patch
Peter Hutterer 4e595ce
622718e
# Backports from current stable "server-1.20-branch":
283d9cd
# <empty>
622718e
1e468bc
# Backports from "master" upstream:
befd31b
Patch100: 0001-present-Check-for-NULL-to-prevent-crash.patch
4f6b52c
Patch101: 0001-render-Fix-build-with-gcc-12.patch
672ae9a
Patch102: 0001-xf86-Accept-devices-with-the-simpledrm-driver.patch
ba5ead2
Patch103: 0001-Don-t-hardcode-fps-for-fake-screen.patch
140953a
Patch104: 0001-hw-Rename-boolean-config-value-field-from-bool-to-bo.patch
Leif Liddy 6c12217
Patch105: 0001-add-a-quirk-for-apple-silicon.patch
7730e12
98518b3
# CVE-2022-2319/ZDI-CAN-16062, CVE-2022-2320/ZDI-CAN-16070
98518b3
Patch110: 0001-xkb-switch-to-array-index-loops-to-moving-pointers.patch
98518b3
Patch111: 0002-xkb-swap-XkbSetDeviceInfo-and-XkbSetDeviceInfoCheck.patch
98518b3
Patch112: 0003-xkb-add-request-length-validation-for-XkbSetGeometry.patch
98518b3
9fc1d98
# CVE-2022-3550
9fc1d98
Patch113: 0001-xkb-proof-GetCountedString-against-request-length-at.patch
9fc1d98
# CVE-2022-3551
9fc1d98
Patch114: 0001-xkb-fix-some-possible-memleaks-in-XkbGetKbdByName.patch
9fc1d98
Peter Hutterer 75e6f92
# CVE-2022-46340
Peter Hutterer 75e6f92
Patch115: 0001-Xtest-disallow-GenericEvents-in-XTestSwapFakeInput.patch
Peter Hutterer 75e6f92
# related to CVE-2022-46344
Peter Hutterer 75e6f92
Patch116: 0002-Xi-return-an-error-from-XI-property-changes-if-verif.patch
Peter Hutterer 75e6f92
# CVE-2022-46344
Peter Hutterer 75e6f92
Patch117: 0003-Xi-avoid-integer-truncation-in-length-check-of-ProcX.patch
Peter Hutterer 75e6f92
# CVE-2022-46341
Peter Hutterer 75e6f92
Patch118: 0004-Xi-disallow-passive-grabs-with-a-detail-255.patch
Peter Hutterer 75e6f92
# CVE-2022-46343
Peter Hutterer 75e6f92
Patch119: 0005-Xext-free-the-screen-saver-resource-when-replacing-i.patch
Peter Hutterer 75e6f92
# CVE-2022-46342
Peter Hutterer 75e6f92
Patch120: 0006-Xext-free-the-XvRTVideoNotify-when-turning-off-from-.patch
Peter Hutterer 75e6f92
# CVE-2022-46283
Peter Hutterer 75e6f92
Patch121: 0007-xkb-reset-the-radio_groups-pointer-to-NULL-after-fre.patch
Peter Hutterer fc0c7be
# Fix for buggy patch to CVE-2022-46340
Peter Hutterer fc0c7be
Patch122: 0008-Xext-fix-invalid-event-type-mask-in-XTestSwapFakeInp.patch
Peter Hutterer 996eaa8
# CVE-2023-0494
Peter Hutterer 996eaa8
Patch123: 0001-Xi-fix-potential-use-after-free-in-DeepCopyPointerCl.patch
21269fd
# CVE-2023-1393
21269fd
Patch124: 0001-composite-Fix-use-after-free-of-the-COW.patch
a3932dc
# https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1114
c2b6cc0
Patch125: xorg-x11-server-fb-access-wrapper.patch
a3932dc
# https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1057
a3932dc
Patch126: 0001-present-Send-a-PresentConfigureNotify-event-for-dest.patch
c2b6cc0
Peter Hutterer 54e1512
# CVE-2023-5367
c88593e
Patch1010: 0001-Xi-randr-fix-handling-of-PropModeAppend-Prepend.patch
Peter Hutterer 54e1512
# CVE-2023-5380
c88593e
Patch1011: 0002-mi-reset-the-PointerWindows-reference-on-screen-swit.patch
Peter Hutterer d887a5b
# CVE-2023-6377
c88593e
Patch1012: 0001-Xi-allocate-enough-XkbActions-for-our-buttons.patch
Peter Hutterer d887a5b
# CVE-2023-6478
c88593e
Patch1013: 0001-randr-avoid-integer-truncation-in-length-check-of-Pr.patch
57dbbbe
# CVE-2023-6816
c88593e
Patch1014: 0001-dix-allocate-enough-space-for-logical-button-maps.patch
57dbbbe
# CVE-2024-0229
c88593e
Patch1015: 0002-dix-Allocate-sufficient-xEvents-for-our-DeviceStateN.patch
c88593e
Patch1016: 0003-dix-fix-DeviceStateNotify-event-calculation.patch
c88593e
Patch1017: 0004-Xi-when-creating-a-new-ButtonClass-set-the-number-of.patch
57dbbbe
# CVE-2024-21885
c88593e
Patch1018: 0005-Xi-flush-hierarchy-events-after-adding-removing-mast.patch
57dbbbe
# CVE-2024-21886
c88593e
Patch1019: 0006-Xi-do-not-keep-linked-list-pointer-during-recursion.patch
c88593e
Patch1020: 0007-dix-when-disabling-a-master-float-disabled-slaved-de.patch
57dbbbe
# CVE-2024-0408
c88593e
Patch1021: 0008-glx-Call-XACE-hooks-on-the-GLX-buffer.patch
57dbbbe
# CVE-2024-0409
c88593e
Patch1022: 0009-ephyr-xwayland-Use-the-proper-private-key-for-cursor.patch
9df532a
# Related to CVE-2024-21886
c88593e
Patch1023: 0001-dix-Fix-use-after-free-in-input-device-shutdown.patch
af32bd4
# Fix compilation error on i686
c88593e
Patch1024: 0001-ephyr-Fix-incompatible-pointer-type-build-error.patch
0ad871b
# Fix copy and paste error in CVE-2024-0229
0ad871b
Patch1025: 0001-dix-fix-valuator-copy-paste-error-in-the-DeviceState.patch
0ad871b
# CVE-2024-31080
0ad871b
Patch1026: 0001-Xi-ProcXIGetSelectedEvents-needs-to-use-unswapped-le.patch
0ad871b
# CVE-2024-31081
0ad871b
Patch1027: 0002-Xi-ProcXIPassiveGrabDevice-needs-to-use-unswapped-le.patch
0ad871b
# CVE-2024-31082
0ad871b
Patch1028: 0003-Xquartz-ProcAppleDRICreatePixmap-needs-to-use-unswap.patch
0ad871b
# CVE-2024-31083
0ad871b
Patch1029: 0004-render-fix-refcounting-of-glyphs-during-ProcRenderAd.patch
47092bc
Patch1030: 0001-render-Avoid-possible-double-free-in-ProcRenderAddGl.patch
c88593e
c88593e
## Add new patches above; Fedora-specific patches below
c88593e
c88593e
# Only on F38 and later (patch number starts at 3801, see autopatch below)
c88593e
# Upstream commits 73d6e88, f69280dd and 4127776, minus the xwayland.pc.in change
c88593e
Patch3801: 0001-Disallow-byte-swapped-clients-by-default.patch
Peter Hutterer 54e1512
Peter Hutterer 16f4e7f
BuildRequires: make
e57b98d
BuildRequires: systemtap-sdt-devel
Peter Hutterer 79af8e6
BuildRequires: git-core
5fadc5e
BuildRequires: automake autoconf libtool pkgconfig
973c76f
BuildRequires: xorg-x11-util-macros >= 1.17
78e07cf
9e2b258
BuildRequires: xorg-x11-proto-devel >= 7.7-10
7222836
45f3ce9
BuildRequires: dbus-devel libepoxy-devel systemd-devel
48dc8f4
BuildRequires: xorg-x11-xtrans-devel >= 1.3.2
db3d278
BuildRequires: libXfont2-devel libXau-devel libxkbfile-devel libXres-devel
3941e59
BuildRequires: libfontenc-devel libXtst-devel libXdmcp-devel
3941e59
BuildRequires: libX11-devel libXext-devel
520bba9
BuildRequires: libXinerama-devel libXi-devel
mharris 8b3540d
f7f3689
# DMX config utils buildreqs.
3941e59
BuildRequires: libXt-devel libdmx-devel libXmu-devel libXrender-devel
3941e59
BuildRequires: libXi-devel libXpm-devel libXaw-devel libXfixes-devel
3941e59
f1f70e6
BuildRequires: pkgconfig(epoxy)
48dc8f4
BuildRequires: pkgconfig(xshmfence) >= 1.1
d4760aa
BuildRequires: libXv-devel
973c76f
BuildRequires: pixman-devel >= 0.30.0
Peter Hutterer 5f0a71d
BuildRequires: libpciaccess-devel >= 0.13.1 openssl-devel bison flex
973c76f
BuildRequires: mesa-libGL-devel >= 9.2
45f3ce9
BuildRequires: mesa-libEGL-devel
644f646
BuildRequires: mesa-libgbm-devel
f7f3689
# XXX silly...
a1e98f1
BuildRequires: libdrm-devel >= 2.4.0 kernel-headers
869288f
5280401
BuildRequires: audit-libs-devel libselinux-devel >= 2.0.86-1
f21d354
BuildRequires: libudev-devel
e4a6a65
# libunwind is Exclusive for the following arches
bcd21a0
%ifarch aarch64 %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
a237e8d
%if !0%{?rhel}
Peter Hutterer 64241ad
BuildRequires: libunwind-devel
2b64932
%endif
a237e8d
%endif
869288f
973c76f
BuildRequires: pkgconfig(xcb-aux) pkgconfig(xcb-image) pkgconfig(xcb-icccm)
47a2434
BuildRequires: pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
973c76f
mharris dc2469d
%description
mharris 683564b
X.Org X11 X server
mharris dc2469d
9e2b258
494b014
%package common
494b014
Summary: Xorg server common files
973c76f
Requires: pixman >= 0.30.0
cdd3d22
Requires: xkeyboard-config xkbcomp
494b014
494b014
%description common
494b014
Common files shared among all X servers.
494b014
9e2b258
mharris dc2469d
%package Xorg
mharris 683564b
Summary: Xorg X server
f7f3689
Provides: Xorg = %{version}-%{release}
f7f3689
Provides: Xserver
9e2b258
# HdG: This should be moved to the wrapper package once the wrapper gets
9e2b258
# its own sub-package:
9e2b258
Provides: xorg-x11-server-wrapper = %{version}-%{release}
813c021
%if !0%{?gitdate} || %{stable_abi}
a8fb842
Provides: xserver-abi(ansic-%{ansic_major}) = %{ansic_minor}
a8fb842
Provides: xserver-abi(videodrv-%{videodrv_major}) = %{videodrv_minor}
a8fb842
Provides: xserver-abi(xinput-%{xinput_major}) = %{xinput_minor}
a8fb842
Provides: xserver-abi(extension-%{extension_major}) = %{extension_minor}
813c021
%endif
813c021
%if 0%{?gitdate}
813c021
Provides: xserver-abi(ansic-%{git_ansic_major}) = %{git_ansic_minor}
813c021
Provides: xserver-abi(videodrv-%{git_videodrv_major}) = %{git_videodrv_minor}
813c021
Provides: xserver-abi(xinput-%{git_xinput_major}) = %{git_xinput_minor}
813c021
Provides: xserver-abi(extension-%{git_extension_major}) = %{git_extension_minor}
813c021
%endif
74c3cbe
Obsoletes: xorg-x11-glamor < %{version}-%{release}
74c3cbe
Provides: xorg-x11-glamor = %{version}-%{release}
47a2434
Obsoletes: xorg-x11-drv-modesetting < %{version}-%{release}
47a2434
Provides: xorg-x11-drv-modesetting = %{version}-%{release}
50c29c4
# Dropped from F25
50c29c4
Obsoletes: xorg-x11-drv-vmmouse < 13.1.0-4
813c021
494b014
Requires: xorg-x11-server-common >= %{version}-%{release}
f21d354
Requires: system-setup-keyboard
00b4ee5
Requires: xorg-x11-drv-libinput
228641e
Requires: libEGL
mharris dc2469d
mharris dc2469d
%description Xorg
mharris dc2469d
X.org X11 is an open source implementation of the X Window System.  It
mharris dc2469d
provides the basic low level functionality which full fledged
mharris dc2469d
graphical user interfaces (GUIs) such as GNOME and KDE are designed
mharris dc2469d
upon.
mharris dc2469d
f7f3689
mharris dc2469d
%package Xnest
75c02ba
Summary: A nested server
494b014
Requires: xorg-x11-server-common >= %{version}-%{release}
mharris dc2469d
Provides: Xnest
mharris dc2469d
mharris dc2469d
%description Xnest
48dc8f4
Xnest is an X server which has been implemented as an ordinary
mharris dc2469d
X application.  It runs in a window just like other X applications,
mharris dc2469d
but it is an X server itself in which you can run other software.  It
mharris dc2469d
is a very useful tool for developers who wish to test their
mharris dc2469d
applications without running them on their real X server.
mharris dc2469d
9e2b258
mharris dc2469d
%package Xdmx
mharris dc2469d
Summary: Distributed Multihead X Server and utilities
494b014
Requires: xorg-x11-server-common >= %{version}-%{release}
mharris dc2469d
Provides: Xdmx
mharris dc2469d
mharris dc2469d
%description Xdmx
mharris dc2469d
Xdmx is proxy X server that provides multi-head support for multiple displays
mharris dc2469d
attached to different machines (each of which is running a typical X server).
mharris dc2469d
When Xinerama is used with Xdmx, the multiple displays on multiple machines
mharris dc2469d
are presented to the user as a single unified screen.  A simple application
mharris dc2469d
for Xdmx would be to provide multi-head support using two desktop machines,
mharris dc2469d
each of which has a single display device attached to it.  A complex
mharris dc2469d
application for Xdmx would be to unify a 4 by 4 grid of 1280x1024 displays
mharris dc2469d
(each attached to one of 16 computers) into a unified 5120x4096 display.
mharris dc2469d
9e2b258
mharris dc2469d
%package Xvfb
75c02ba
Summary: A X Windows System virtual framebuffer X server
1b89ad9
# xvfb-run is GPLv2, rest is MIT
1b89ad9
License: MIT and GPLv2
494b014
Requires: xorg-x11-server-common >= %{version}-%{release}
f79834a
# required for xvfb-run
f79834a
Requires: xorg-x11-xauth
43f6cee
Requires: util-linux
mharris dc2469d
Provides: Xvfb
mharris dc2469d
mharris dc2469d
%description Xvfb
mharris dc2469d
Xvfb (X Virtual Frame Buffer) is an X server that is able to run on
mharris dc2469d
machines with no display hardware and no physical input devices.
mharris dc2469d
Xvfb simulates a dumb framebuffer using virtual memory.  Xvfb does
mharris dc2469d
not open any devices, but behaves otherwise as an X display.  Xvfb
mharris dc2469d
is normally used for testing servers.
mharris dc2469d
304cf10
304cf10
%package Xephyr
75c02ba
Summary: A nested server
494b014
Requires: xorg-x11-server-common >= %{version}-%{release}
304cf10
Provides: Xephyr
304cf10
304cf10
%description Xephyr
48dc8f4
Xephyr is an X server which has been implemented as an ordinary
304cf10
X application.  It runs in a window just like other X applications,
304cf10
but it is an X server itself in which you can run other software.  It
304cf10
is a very useful tool for developers who wish to test their
304cf10
applications without running them on their real X server.  Unlike
304cf10
Xnest, Xephyr renders to an X image rather than relaying the
304cf10
X protocol, and therefore supports the newer X extensions like
304cf10
Render and Composite.
304cf10
f7f3689
494b014
%package devel
mharris dc2469d
Summary: SDK for X server driver module development
mharris 382d04d
Requires: xorg-x11-util-macros
mharris 2025148
Requires: xorg-x11-proto-devel
487f906
Requires: libXfont2-devel
9eb4ebc
Requires: pkgconfig pixman-devel libpciaccess-devel
7345582
Provides: xorg-x11-server-static
74c3cbe
Obsoletes: xorg-x11-glamor-devel < %{version}-%{release}
74c3cbe
Provides: xorg-x11-glamor-devel = %{version}-%{release}
74b976e
494b014
%description devel
mharris dc2469d
The SDK package provides the developmental files which are necessary for
mharris dc2469d
developing X server driver modules, and for compiling driver modules
mharris dc2469d
outside of the standard X11 source code tree.  Developers writing video
mharris dc2469d
drivers, input drivers, or other X modules should install this package.
f7f3689
9e2b258
Adam Tkac aeec5f9
%package source
Adam Tkac aeec5f9
Summary: Xserver source code required to build VNC server (Xvnc)
Adam Tkac 2766b34
BuildArch: noarch
Adam Tkac aeec5f9
Adam Tkac aeec5f9
%description source
Adam Tkac aeec5f9
Xserver source code needed to build VNC server (Xvnc)
mharris dc2469d
9e2b258
mharris dc2469d
%prep
bdf207e
%autosetup -N -n %{pkgname}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
d668250
rm -rf .git
b3fd507
cp %{SOURCE1} .gitignore
d668250
# ick
d668250
%global __scm git
d668250
%{expand:%__scm_setup_git -q}
Peter Hutterer 50af4f1
%if 0%{?fedora} >= 38
d668250
%autopatch
743d53f
%else
743d53f
%autopatch -M 3800
743d53f
%endif
a8fb842
8833777
%if 0%{?stable_abi}
a8fb842
# check the ABI in the source against what we expect.
a8fb842
getmajor() {
a8fb842
    grep -i ^#define.ABI.$1_VERSION hw/xfree86/common/xf86Module.h |
a8fb842
    tr '(),' '   ' | awk '{ print $4 }'
a8fb842
}
a8fb842
a8fb842
getminor() {
a8fb842
    grep -i ^#define.ABI.$1_VERSION hw/xfree86/common/xf86Module.h |
a8fb842
    tr '(),' '   ' | awk '{ print $5 }'
a8fb842
}
a8fb842
a8fb842
test `getmajor ansic` == %{ansic_major}
a8fb842
test `getminor ansic` == %{ansic_minor}
a8fb842
test `getmajor videodrv` == %{videodrv_major}
a8fb842
test `getminor videodrv` == %{videodrv_minor}
a8fb842
test `getmajor xinput` == %{xinput_major}
a8fb842
test `getminor xinput` == %{xinput_minor}
a8fb842
test `getmajor extension` == %{extension_major}
a8fb842
test `getminor extension` == %{extension_minor}
a8fb842
a8fb842
%endif
38f17a6
mharris dc2469d
%build
mharris aa15493
7245541
export CFLAGS="$RPM_OPT_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1"
7245541
export CXXFLAGS="$RPM_OPT_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1"
7245541
export LDFLAGS="$RPM_LD_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"
7245541
38a777c
%if !0%{?rhel}
29f0985
%ifarch %{ix86} x86_64
38a777c
%global int10_arch 1
38a777c
%endif
38a777c
%endif
38a777c
38a777c
%if %{undefined int10_arch}
8833777
%global no_int10 --disable-vbe --disable-int10-module
662973f
%endif
662973f
8833777
%global kdrive --enable-kdrive --enable-xephyr --disable-xfake --disable-xfbdev
8833777
%global xservers --enable-xvfb --enable-xnest %{kdrive} --enable-xorg
8833777
%global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
38a777c
%global dri_flags --disable-dri --enable-dri2 %{?!rhel:--enable-dri3} --enable-suid-wrapper --enable-glamor
d4760aa
Peter Hutterer a035615
autoreconf -f -v --install || exit 1
d4760aa
410f73f
%configure %{xservers} \
ed6c269
	--enable-dependency-tracking \
mharris 683564b
	--disable-static \
998c064
	--with-pic \
38a777c
	%{?no_int10} \
fed3940
	--with-default-font-path=%{default_font_path} \
8833777
	--with-module-dir=%{_libdir}/xorg/modules \
6824c6b
	--with-builderstring="Build ID: %{name} %{version}-%{release}" \
d62a092
	--with-os-name="$(hostname -s) $(uname -r)" \
mharris 382d04d
	--with-xkb-output=%{_localstatedir}/lib/xkb \
48dc8f4
        --without-dtrace \
488b3f2
	--disable-linux-acpi --disable-linux-apm \
48dc8f4
	--enable-xselinux --enable-record --enable-present \
eb8a796
        --enable-xcsecurity \
f21d354
	--enable-config-udev \
f936b2f
	--disable-unit-tests \
9e2b258
	--enable-dmx \
b1458e4
	--disable-xwayland \
38a777c
	%{dri_flags} \
a549381
	${CONFIGURE}
Peter Hutterer 79af8e6
704bf42
make V=1 %{?_smp_mflags}
Kristian Høgsberg ce50e2c
9e2b258
mharris dc2469d
%install
8833777
%make_install
Kristian Høgsberg ce50e2c
mharris dc2469d
mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
mharris dc2469d
611fa3c
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
611fa3c
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xserver
611fa3c
eee5ef9
# make sure the (empty) /etc/X11/xorg.conf.d is there, system-setup-keyboard
eee5ef9
# relies on it more or less.
eee5ef9
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d
f21d354
10e9e1a
%if %{stable_abi}
Peter Hutterer 70b4c71
install -m 755 %{SOURCE30} $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
Peter Hutterer 70b4c71
%else
1f3418b
sed -e s/@MAJOR@/%{gitdate}/g -e s/@MINOR@/%{minor_serial}/g %{SOURCE31} > \
243e82a
    $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
d11511e
chmod 755 $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
243e82a
%endif
a8fb842
8833777
install -m 0755 %{SOURCE20} $RPM_BUILD_ROOT%{_bindir}/xvfb-run
mharris 0af35d4
9d53449
# Make the source package
50633b0
%global xserver_source_dir %{_datadir}/xorg-x11-server-source
50633b0
%global inst_srcdir %{buildroot}/%{xserver_source_dir}
8833777
82739d8
mkdir -p %{inst_srcdir}/{Xext,xkb,GL,hw/{xquartz/bundle,xfree86/common}}
Adam Tkac 07b355c
mkdir -p %{inst_srcdir}/{hw/dmx/doc,man,doc,hw/dmx/doxygen}
Adam Tkac f3bef3a
cp {,%{inst_srcdir}/}hw/xquartz/bundle/cpprules.in
82739d8
cp {,%{inst_srcdir}/}man/Xserver.man
Adam Tkac 46db593
cp {,%{inst_srcdir}/}doc/smartsched
Adam Tkac 07b355c
cp {,%{inst_srcdir}/}hw/dmx/doxygen/doxygen.conf.in
Adam Tkac 07b355c
cp {,%{inst_srcdir}/}xserver.ent.in
2318108
cp {,%{inst_srcdir}/}hw/xfree86/Xorg.sh.in
9d53449
cp xkb/README.compiled %{inst_srcdir}/xkb
520bba9
cp hw/xfree86/xorgconf.cpp %{inst_srcdir}/hw/xfree86
Adam Tkac aeec5f9
Adam Tkac ee454c3
find . -type f | egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' |
Adam Tkac 6d65eb0
xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
7a95650
find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
Adam Tkac aeec5f9
0f2c2e4
# Remove unwanted files/dirs
mharris 382d04d
{
mharris a30689e
    find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
c11d4db
# wtf
48dc8f4
%ifnarch %{ix86} x86_64
c11d4db
    rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/lib{int10,vbe}.so
c11d4db
%endif
mharris 382d04d
}
mharris 382d04d
mharris 3a3aa5e
494b014
%files common
ed9d6ac
%doc COPYING
494b014
%{_mandir}/man1/Xserver.1*
9e07a0f
%{_libdir}/xorg/protocol.txt
494b014
%dir %{_localstatedir}/lib/xkb
494b014
%{_localstatedir}/lib/xkb/README.compiled
494b014
2c6c5a5
%if 1
50633b0
%global Xorgperms %attr(4755, root, root)
3cf5861
%else
2c6c5a5
# disable until module loading is audited
50633b0
%global Xorgperms %attr(0711,root,root) %caps(cap_sys_admin,cap_sys_rawio,cap_dac_override=pe)
3cf5861
%endif
mharris dc2469d
mharris dc2469d
%files Xorg
611fa3c
%config %attr(0644,root,root) %{_sysconfdir}/pam.d/xserver
mharris af712a9
%{_bindir}/X
9e2b258
%{_bindir}/Xorg
47a2434
%{_libexecdir}/Xorg
9e2b258
%{Xorgperms} %{_libexecdir}/Xorg.wrap
46fa1ed
%{_bindir}/cvt
59994a9
%{_bindir}/gtf
mharris dc2469d
%dir %{_libdir}/xorg
mharris dc2469d
%dir %{_libdir}/xorg/modules
mharris dc2469d
%dir %{_libdir}/xorg/modules/drivers
47a2434
%{_libdir}/xorg/modules/drivers/modesetting_drv.so
mharris 382d04d
%dir %{_libdir}/xorg/modules/extensions
mharris aa15493
%{_libdir}/xorg/modules/extensions/libglx.so
mharris dc2469d
%dir %{_libdir}/xorg/modules/input
c22de5d
%{_libdir}/xorg/modules/libfbdevhw.so
mharris 382d04d
%{_libdir}/xorg/modules/libexa.so
mharris 382d04d
%{_libdir}/xorg/modules/libfb.so
74c3cbe
%{_libdir}/xorg/modules/libglamoregl.so
mharris 382d04d
%{_libdir}/xorg/modules/libshadow.so
mharris 382d04d
%{_libdir}/xorg/modules/libshadowfb.so
mharris 382d04d
%{_libdir}/xorg/modules/libvgahw.so
afcbbe2
%{_libdir}/xorg/modules/libwfb.so
38a777c
%if %{defined int10_arch}
e862ba8
%{_libdir}/xorg/modules/libint10.so
e862ba8
%{_libdir}/xorg/modules/libvbe.so
e862ba8
%endif
74d1670
%{_mandir}/man1/gtf.1*
74d1670
%{_mandir}/man1/Xorg.1*
9e2b258
%{_mandir}/man1/Xorg.wrap.1*
Kristian Høgsberg 16cbfe9
%{_mandir}/man1/cvt.1*
mharris aa15493
%{_mandir}/man4/fbdevhw.4*
99319d2
%{_mandir}/man4/exa.4*
47a2434
%{_mandir}/man4/modesetting.4*
9e2b258
%{_mandir}/man5/Xwrapper.config.5*
74d1670
%{_mandir}/man5/xorg.conf.5*
Peter Hutterer 379416a
%{_mandir}/man5/xorg.conf.d.5*
eee5ef9
%dir %{_sysconfdir}/X11/xorg.conf.d
eee5ef9
%dir %{_datadir}/X11/xorg.conf.d
eee5ef9
%{_datadir}/X11/xorg.conf.d/10-quirks.conf
mharris dc2469d
mharris dc2469d
%files Xnest
mharris dc2469d
%{_bindir}/Xnest
74d1670
%{_mandir}/man1/Xnest.1*
mharris dc2469d
12af377
%files Xdmx
12af377
%{_bindir}/Xdmx
12af377
%{_bindir}/dmxaddinput
12af377
%{_bindir}/dmxaddscreen
12af377
%{_bindir}/dmxreconfig
12af377
%{_bindir}/dmxresize
12af377
%{_bindir}/dmxrminput
12af377
%{_bindir}/dmxrmscreen
12af377
%{_bindir}/dmxtodmx
12af377
%{_bindir}/dmxwininfo
12af377
%{_bindir}/vdltodmx
f342378
%{_bindir}/dmxinfo
12af377
%{_bindir}/xdmxconfig
12af377
%{_mandir}/man1/Xdmx.1*
12af377
%{_mandir}/man1/dmxtodmx.1*
12af377
%{_mandir}/man1/vdltodmx.1*
12af377
%{_mandir}/man1/xdmxconfig.1*
mharris dc2469d
mharris dc2469d
%files Xvfb
mharris dc2469d
%{_bindir}/Xvfb
1b89ad9
%{_bindir}/xvfb-run
74d1670
%{_mandir}/man1/Xvfb.1*
mharris dc2469d
304cf10
%files Xephyr
304cf10
%{_bindir}/Xephyr
7222836
%{_mandir}/man1/Xephyr.1*
304cf10
494b014
%files devel
ed9d6ac
%doc COPYING
48dc8f4
#{_docdir}/xorg-server
a8fb842
%{_bindir}/xserver-sdk-abi-requires
mharris dc2469d
%{_libdir}/pkgconfig/xorg-server.pc
mharris 0a0dee1
%dir %{_includedir}/xorg
8833777
%{_includedir}/xorg/*.h
mharris af712a9
%{_datadir}/aclocal/xorg-server.m4
f7f3689
Adam Tkac aeec5f9
%files source
9d53449
%{xserver_source_dir}
Adam Tkac aeec5f9
9e2b258
mharris dc2469d
%changelog
47092bc
* Wed Apr 10 2024 José Expósito <jexposit@redhat.com> - 1.20.14-35
47092bc
- Fix regression caused by the fix for CVE-2024-31083
47092bc
0ad871b
* Wed Apr 03 2024 José Expósito <jexposit@redhat.com> - 1.20.14-34
0ad871b
- CVE fix for: CVE-2024-31080, CVE-2024-31081, CVE-2024-31082 and
0ad871b
  CVE-2024-31083
0ad871b
43f6cee
* Mon Mar 04 2024 José Expósito <jexposit@redhat.com> - 1.20.14-33
43f6cee
- Add util-linux as a dependency of Xvfb
43f6cee
3982aab
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.14-32
3982aab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
3982aab
af32bd4
* Fri Jan 19 2024 José Expósito <jexposit@redhat.com> - 1.20.14-31
af32bd4
- Fix compilation error on i686
af32bd4
9df532a
* Fri Jan 19 2024 José Expósito <jexposit@redhat.com> - 1.20.14-30
9df532a
- Fix use after free related to CVE-2024-21886
9df532a
57dbbbe
* Tue Jan 16 2024 José Expósito <jexposit@redhat.com> - 1.20.14-29
57dbbbe
- CVE fix for: CVE-2023-6816, CVE-2024-0229, CVE-2024-21885, CVE-2024-21886,
57dbbbe
  CVE-2024-0408 and CVE-2024-0409
57dbbbe
Peter Hutterer d887a5b
* Wed Dec 13 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.14-28
Peter Hutterer d887a5b
- CVE fix for: CVE-2023-6377, CVE-2023-6478
Peter Hutterer d887a5b
Peter Hutterer d8ec154
* Fri Nov 10 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.14-27
Peter Hutterer d8ec154
- Update with full SPDX license list
Peter Hutterer d8ec154
Peter Hutterer 54e1512
* Wed Oct 25 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.14-26
Peter Hutterer 54e1512
- CVE fix for: CVE-2023-5367, CVE-2023-5380
Peter Hutterer 54e1512
28a268e
* Fri Oct 20 2023 José Expósito <jexposit@redhat.com>
28a268e
- SPDX migration: license is already SPDX compatible
28a268e
fdd7c4b
* Fri Sep 29 2023 Orion Poplawski <orion@nwra.com> - 1.20.14-25
fdd7c4b
- Fix xvfb-run --error-file / auth-file options
fdd7c4b
78721b7
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.14-24
78721b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
78721b7
a3932dc
* Tue Apr 25 2023 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-23
a3932dc
- Backport fix for a deadlock with DRI3 (#2189434)
a3932dc
c2b6cc0
* Thu Apr 13 2023 Florian Weimer <fweimer@redhat.com> - 1.20.14-22
c2b6cc0
- Make more functions available in fb.h with !FB_ACCESS_WRAPPER
c2b6cc0
21269fd
* Wed Mar 29 2023 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-21
21269fd
- CVE fix for: CVE-2023-1393
21269fd
31ea8b9
* Thu Feb 23 2023 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-20
31ea8b9
- Fix xvfb-run script with --listen-tcp
31ea8b9
7c9187a
* Thu Feb 09 2023 Iker Pedrosa <ipedrosa@redhat.com> - 1.20.14-19
7c9187a
- Remove pam_console from service file (#1822209)
7c9187a
Peter Hutterer 996eaa8
* Thu Feb 02 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.14-18
Peter Hutterer 996eaa8
- CVE-2023-0494: potential use-after-free
Peter Hutterer 996eaa8
Peter Hutterer 50af4f1
* Wed Feb 01 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.14-17
Peter Hutterer 50af4f1
- Updated conditional fedora statement
Peter Hutterer 50af4f1
743d53f
* Tue Jan 17 2023 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-16
743d53f
- Use the recommended way to apply conditional patches without
743d53f
  conditionalizing the sources (for byte-swapped clients).
743d53f
Leif Liddy 6c12217
* Fri Jan 13 2023 Leif Liddy <leifliddy@fedoraproject.org> 1.20.14-15
Leif Liddy 6c12217
- Xorg server does not correctly select the DCP for the display
Leif Liddy 6c12217
  without a quirk on Apple silicon machines (#2152414)
Leif Liddy 6c12217
Peter Hutterer e6bf129
* Fri Jan 13 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.14-14
Peter Hutterer e6bf129
- Disallow byte-swapped clients (#2159489)
Peter Hutterer e6bf129
140953a
* Wed Jan 11 2023 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-13
140953a
- Rename boolean config value field from bool to boolean to fix drivers
140953a
  build failures due to a conflict with C++ and stdbool.h
140953a
Peter Hutterer fc0c7be
* Mon Dec 19 2022 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.14-12
Peter Hutterer fc0c7be
- Fix buggy patch to CVE-2022-46340
Peter Hutterer fc0c7be
Peter Hutterer 75e6f92
* Wed Dec 14 2022 Peter Hutterer <peter.hutterer@redhat.com> 1.20.14-11
Peter Hutterer 75e6f92
- CVE fix for: CVE-2022-4283, CVE-2022-46340, CVE-2022-46341,
Peter Hutterer 75e6f92
  CVE-2022-46342, CVE-2022-46343, CVE-2022-46344
Peter Hutterer 75e6f92
Peter Hutterer 4e595ce
* Wed Nov 23 2022 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.14-10
Peter Hutterer 4e595ce
- Drop dependency on xorg-x11-font-utils, it was only there for on
Peter Hutterer 4e595ce
  build-time variable that's always the same value anyway (#2145088)
Peter Hutterer 4e595ce
9fc1d98
* Tue Nov  8 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-9
9fc1d98
- Fix CVE-2022-3550, CVE-2022-3551
9fc1d98
88dcddb
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.14-8
88dcddb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
88dcddb
98518b3
* Tue Jul 12 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-7
98518b3
- Fix CVE-2022-2319/ZDI-CAN-16062, CVE-2022-2320/ZDI-CAN-16070
98518b3
ba5ead2
* Wed Apr 13 2022 Dominik Mierzejewski <rpm@greysector.net> - 1.20.14-6
ba5ead2
- Don't hardcode fps for fake screen (#2054188)
ba5ead2
672ae9a
* Fri Apr 8 2022 Jocelyn Falempe <jfalempe@redhat.com> - 1.20.14-5
672ae9a
- Fix basic graphic mode not working with simpledrm (#2067151)
672ae9a
4f6b52c
* Fri Jan 28 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-4
4f6b52c
- Fix build with GCC 12 (#2047134)
4f6b52c
befd31b
* Tue Jan 25 2022 Olivier Fourdan <ofourdan@redhat.com> - 1.20.14-3
befd31b
- Fix crash with NVIDIA proprietary driver with Present (#2046147)
befd31b
5125f50
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.14-2
5125f50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
5125f50
f08aeec
* Fri Dec 17 2021 Olivier <ofourdan@redhat.com> - 1.20.14-1
f08aeec
- xserver 1.20.14
f08aeec
  CVE-2021-4008/ZDI-CAN-14192 (#2026059, #2032941)
f08aeec
  CVE-2021-4009/ZDI-CAN-14950 (#2026072, #2032943)
f08aeec
  CVE-2021-4010/ZDI-CAN-14951 (#2026073, #2032944)
f08aeec
  CVE-2021-4011/ZDI-CAN-14952 (#2026074, #2032945)
f08aeec
a6fbe2c
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.20.11-3
a6fbe2c
- Rebuilt with OpenSSL 3.0.0
a6fbe2c
4818e48
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.11-2
4818e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
4818e48
03bc044
* Wed Apr  14 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.11-1
03bc044
- xserver 1.20.11 (CVE-2021-3472 / ZDI-CAN-1259)
03bc044
Peter Hutterer 5f0a71d
* Wed Feb 03 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.20.10-5
Peter Hutterer 5f0a71d
- Drop BuildRequires for flex-devel (#1871101)
Peter Hutterer 5f0a71d
b1458e4
* Mon Feb  1 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.10-4
b1458e4
- Remove Xwayland from the xserver builds
b1458e4
11999b2
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.10-3
11999b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
11999b2
38a777c
* Tue Jan 19 2021 Adam Jackson <ajax@redhat.com> - 1.20.10-2
38a777c
- Disable int10 and vbe on RHEL
38a777c
- Disable DRI1
38a777c
- Stop overriding the vendor name
38a777c
283d9cd
* Wed Dec  2 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.10-1
283d9cd
- xserver 1.20.10 (CVE-2020-14360, CVE-2020-25712)
283d9cd
Peter Hutterer 16f4e7f
* Thu Nov  5 10:35:09 AEST 2020 Peter Hutterer <peter.hutterer@redhat.com> - 1.20.9-3
Peter Hutterer 16f4e7f
- Add BuildRequires for make
Peter Hutterer 16f4e7f
Peter Hutterer 79af8e6
* Wed Nov 04 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.20.9-2
Peter Hutterer 79af8e6
- Drop BuildRequires to git-core only
Peter Hutterer 79af8e6
eaf4422
* Thu Oct  8 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.9-1
eaf4422
- xserver 1.20.9 + all current fixes from upstream
eaf4422
eb8a796
* Wed Aug 12 2020 Adam Jackson <ajax@redhat.com> - 1.20.8-4
eb8a796
- Enable XC-SECURITY
eb8a796
e6480d9
* Fri Jul 31 2020 Adam Jackson <ajax@redhat.com> - 1.20.8-3
e6480d9
- Fix information disclosure bug in pixmap allocation (CVE-2020-14347)
e6480d9
9d32eb4
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.8-2
9d32eb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9d32eb4
efa2d86
* Mon Mar 30 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.8-1
efa2d86
- xserver 1.20.8
efa2d86
- Backport latest Xwayland randr resolution change emulation support
efa2d86
  patches.
efa2d86
97b803e
* Wed Mar 18 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.7-2
97b803e
- Fix a crash on closing a window using Present found upstream:
97b803e
  https://gitlab.freedesktop.org/xorg/xserver/issues/1000
97b803e
1e468bc
* Fri Mar 13 2020 Olivier Fourdan <ofourdan@redhat.com> - 1.20.7-1
1e468bc
- xserver 1.20.7
1e468bc
- backport from stable "xserver-1.20-branch" up to commit ad7364d8d
1e468bc
  (for mutter fullscreen unredirect on Wayland)
1e468bc
- Update videodrv minor ABI as 1.20.7 changed the minor ABI version
1e468bc
  (backward compatible, API addition in glamor)
1e468bc
- Rebase Xwayland randr resolution change emulation support patches
1e468bc
dafffed
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.6-2
dafffed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
dafffed
622718e
* Mon Nov 25 2019 Olivier Fourdan <ofourdan@redhat.com> - 1.20.6-1
622718e
- xserver 1.20.6
622718e
f1f3380
* Mon Nov  4 2019 Hans de Goede <hdegoede@redhat.com> - 1.20.5-9
76e2fe6
- Fix building with new libglvnd-1.2.0 (E)GL headers and pkgconfig files
f1f3380
3ae2631
* Mon Nov  4 2019 Hans de Goede <hdegoede@redhat.com> - 1.20.5-8
3ae2631
- Backport Xwayland randr resolution change emulation support
3ae2631
7730e12
* Thu Aug 29 2019 Olivier Fourdan <ofourdan@redhat.com> 1.20.5-7
7730e12
- Pick latest fixes from xserver stable branch upstream (rhbz#1729925)
7730e12
cf7f90e
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.5-6
cf7f90e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cf7f90e
945c62a
* Mon Jul  8 2019 Olivier Fourdan <ofourdan@redhat.com> 1.20.5-5
945c62a
- Do not include <sys/io.h> on ARM with glibc to avoid compilation failure.
945c62a
- Do not force vbe and int10 sdk headers as this enables int10 which does
945c62a
  not build on ARM without <sys/io.h>
945c62a
5160bab
* Mon Jul  8 2019 Olivier Fourdan <ofourdan@redhat.com> 1.20.5-4
5160bab
- Fix regression causing screen tearing with upstream xserver 1.20.5
5160bab
  (rhbz#1726419)
5160bab
84ed0d0
* Fri Jun 28 2019 Olivier Fourdan <ofourdan@redhat.com> 1.20.5-3
84ed0d0
- Remove atomic downstream patches causing regressions (#1714981, #1723715)
84ed0d0
- Xwayland crashes (#1708119, #1691745)
84ed0d0
- Cursor issue with tablet on Xwayland
84ed0d0
- Xorg/modesetting issue with flipping pixmaps with Present (#1645553)
84ed0d0
Peter Hutterer 9f7e9a8
* Thu Jun 06 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.20.5-2
Peter Hutterer 9f7e9a8
- Return AlreadyGrabbed for keycodes > 255 (#1697804)
Peter Hutterer 9f7e9a8
9b1cb6e
* Thu May 30 2019 Adam Jackson <ajax@redhat.com> - 1.20.5-1
9b1cb6e
- xserver 1.20.5
9b1cb6e
c0df45f
* Tue Apr 23 2019 Adam Jackson <ajax@redhat.com> - 1.20.4-4
c0df45f
- Fix some non-atomic modesetting calls to be atomic
c0df45f
Peter Hutterer 324f637
* Wed Mar 27 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.20.4-3
Peter Hutterer 324f637
- Fix a Qt scrolling bug, don't reset the valuator on slave switch
Peter Hutterer 324f637
d3c0c12
* Thu Mar 21 2019 Adam Jackson <ajax@redhat.com> - 1.20.4-2
d3c0c12
- Backport an Xwayland crash fix in the Present code
d3c0c12
2a32986
* Tue Feb 26 2019 Adam Jackson <ajax@redhat.com> - 1.20.4-1
2a32986
- xserver 1.20.4
2a32986
ad1a5b3
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.3-4
ad1a5b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ad1a5b3
914938e
* Fri Jan 11 2019 Olivier Fourdan <ofourdan@redhat.com> - 1.20.3-3
914938e
- More Xwayland/Present fixes from upstream (rhbz#1609181, rhbz#1661748)
914938e
e625aaa
* Thu Dec 06 2018 Olivier Fourdan <ofourdan@redhat.com> - 1.20.3-2
e625aaa
- Xwayland/Present fixes from master upstream
e625aaa
71d7136
* Thu Nov 01 2018 Adam Jackson <ajax@redhat.com> - 1.20.3-1
71d7136
- xserver 1.20.3
71d7136
60bd7d1
* Mon Oct 15 2018 Adam Jackson <ajax@redhat.com> - 1.20.2-1
60bd7d1
- xserver 1.20.2
60bd7d1
f57420c
* Thu Oct  4 2018 Hans de Goede <hdegoede@redhat.com> - 1.20.1-4
f57420c
- Rebase patch to use va_gl as vdpau driver on i965 GPUs, re-fix rhbz#1413733
f57420c
7245541
* Thu Sep 13 2018 Dave Airlie <airlied@redhat.com> - 1.20.1-3
7245541
- Build with PIE enabled (this doesn't enable bind now)
7245541
b25ac7f
* Mon Sep 10 2018 Olivier Fourdan <ofourdan@redhat.com> - 1.20.1-2
b25ac7f
- Include patches from upstream to fix Xwayland crashes
b25ac7f
a237e8d
* Thu Aug 09 2018 Adam Jackson <ajax@redhat.com> - 1.20.1-1
a237e8d
- xserver 1.20.1
a237e8d
63ad72a
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-5
63ad72a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
63ad72a
228641e
* Tue Jun 12 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-4
228641e
- Xorg and Xwayland Requires: libEGL
228641e
a24c5fa
* Fri Jun 01 2018 Adam Williamson <awilliam@redhat.com> - 1.20.0-3
a24c5fa
- Backport fixes for RHBZ#1579067
a24c5fa
00b4ee5
* Wed May 16 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-2
00b4ee5
- Xorg Requires: xorg-x11-drv-libinput
00b4ee5
f0e9855
* Thu May 10 2018 Adam Jackson <ajax@redhat.com> - 1.20.0-1
f0e9855
- xserver 1.20
f0e9855
117a24d
* Wed Apr 25 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.905-2
117a24d
- Fix xvfb-run's default depth to be 24
117a24d
01bf953
* Tue Apr 24 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.905-1
01bf953
- xserver 1.20 RC5
01bf953
17fe326
* Thu Apr 12 2018 Olivier Fourdan <ofourdan@redhat.com> - 1.19.99.904-2
17fe326
- Re-fix "use type instead of which in xvfb-run (rhbz#1443357)" which
17fe326
  was overridden inadvertently
17fe326
3e9561a
* Tue Apr 10 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.904-1
3e9561a
- xserver 1.20 RC4
3e9561a
120f876
* Mon Apr 02 2018 Adam Jackson <ajax@redhat.com> - 1.19.99.903-1
120f876
- xserver 1.20 RC3
120f876
9e2c567
* Tue Feb 13 2018 Olivier Fourdan <ofourdan@redhat.com> 1.19.6-5
9e2c567
- xwayland: avoid race condition on new keymap
9e2c567
- xwayland: Keep separate variables for pointer and tablet foci (rhbz#1519961)
9e2c567
- xvfb-run now support command line option “--auto-display”
9e2c567
bcdafa2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.6-4
bcdafa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bcdafa2
f3307b8
* Tue Jan 30 2018 Olivier Fourdan <ofourdan@redhat.com> 1.19.6-3
f3307b8
- Avoid generating a core file when the Wayland compositor is gone.
f3307b8
Peter Hutterer dbeed86
* Thu Jan 11 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.19.6-2
Peter Hutterer dbeed86
- Fix handling of devices with ID_INPUT=null
Peter Hutterer dbeed86
3a9dd86
* Wed Dec 20 2017 Adam Jackson <ajax@redhat.com> - 1.19.6-1
3a9dd86
- xserver 1.19.6
3a9dd86
c56aef5
* Thu Oct 12 2017 Adam Jackson <ajax@redhat.com> - 1.19.5-1
c56aef5
- xserver 1.19.5
c56aef5
314a7ca
* Thu Oct 05 2017 Olivier Fourdan <ofourdan@redhat.com> - 1.19.4-1
314a7ca
- xserver-1.19.4
314a7ca
- Backport tablet support for Xwayland
314a7ca
78f5362
* Fri Sep 08 2017 Troy Dawson <tdawson@redhat.com> - 1.19.3-9
78f5362
- Cleanup spec file conditionals
78f5362
75ea02b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.3-8
75ea02b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
75ea02b
084381c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.3-7
084381c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
084381c
fa4fbb9
* Sun Jul  2 2017 Ville Skyttä <ville.skytta@iki.fi> - 1.19.3-6
fa4fbb9
- Use type instead of which in xvfb-run (rhbz#1443357)
fa4fbb9
Orion Poplawski 283c3da
* Thu May 04 2017 Orion Poplawski <orion@cora.nwra.com> - 1.19.3-5
Orion Poplawski 283c3da
- Enable full build for s390/x
Orion Poplawski 283c3da
Ben Skeggs de1c849
* Mon Apr 24 2017 Ben Skeggs <bskeggs@redhat.com> - 1.19.3-4
Ben Skeggs de1c849
- Default to xf86-video-modesetting on GeForce 8 and newer
Ben Skeggs de1c849
0eac067
* Fri Apr 07 2017 Adam Jackson <ajax@redhat.com> - 1.19.3-3
0eac067
- Inoculate against a versioning bug with libdrm 2.4.78
0eac067
842f3bc
* Thu Mar 23 2017 Hans de Goede <hdegoede@redhat.com> - 1.19.3-2
842f3bc
- Use va_gl as vdpau driver on i965 GPUs (rhbz#1413733)
842f3bc
cd3cfd2
* Wed Mar 15 2017 Adam Jackson <ajax@redhat.com> - 1.19.3-1
cd3cfd2
- xserver 1.19.3
cd3cfd2
5c08772
* Thu Mar 02 2017 Adam Jackson <ajax@redhat.com> - 1.19.2-1
5c08772
- xserver 1.19.2
5c08772
5a859bf
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-4
5a859bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5a859bf
Peter Hutterer 75479d7
* Wed Feb 01 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.19.1-3
Peter Hutterer 75479d7
- Fix a few input thread lock issues causing intel crashes (#1384486)
Peter Hutterer 75479d7
4ef2a80
* Mon Jan 16 2017 Adam Jackson <ajax@redhat.com> - 1.19.1-2
4ef2a80
- Limit the intel driver only on F26 and up
4ef2a80
62cd573
* Wed Jan 11 2017 Adam Jackson <ajax@redhat.com> - 1.19.1-1
62cd573
- xserver 1.19.1
62cd573
ee515e4
* Tue Jan 10 2017 Hans de Goede <hdegoede@redhat.com> - 1.19.0-4
ee515e4
- Follow Debian and only default to the intel ddx on gen4 or older intel GPUs
ee515e4
7d570e0
* Tue Dec 20 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-3
7d570e0
- Add one more patch for better integration with the nvidia binary driver
7d570e0
6c7b302
* Thu Dec 15 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-2
6c7b302
- Add some patches for better integration with the nvidia binary driver
6c7b302
- Add a patch from upstream fixing a crash (rhbz#1389886)
6c7b302
bdf207e
* Wed Nov 23 2016 Olivier Fourdan <ofourdan@redhat.com> 1.19.0-1
bdf207e
- xserver 1.19.0
bdf207e
- Fix use after free of cursors in Xwayland (rhbz#1385258)
bdf207e
- Fix an issue where some monitors would show only black, or
bdf207e
  partially black when secondary GPU outputs are used
bdf207e
Peter Hutterer fb49b29
* Tue Nov 15 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.19.0-0.8.rc2
Peter Hutterer fb49b29
- Update device barriers for new master devices (#1384432)
Peter Hutterer fb49b29
7084842
* Thu Nov  3 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.7.rc2
7084842
- Update to 1.19.0-rc2
7084842
- Fix (hopefully) various crashes in FlushAllOutput() (rhbz#1382444)
7084842
- Fix Xwayland crashing in glamor on non glamor capable hw (rhbz#1390018)
7084842
0af4a5b
* Tue Nov  1 2016 Ben Crocker <bcrocker@redhat.com> - 1.19.0-0.6.20161028
0af4a5b
- Fix Config record allocation during startup: if xorg.conf.d directory
0af4a5b
- was absent, a segfault resulted.
0af4a5b
d668250
* Mon Oct 31 2016 Adam Jackson <ajax@redhat.com> - 1.19.0-0.5.20161026
d668250
- Use %%autopatch instead of doing our own custom git-am trick
d668250
487f906
* Fri Oct 28 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.4.20161026
487f906
- Add missing Requires: libXfont2-devel to -devel sub-package (rhbz#1389711)
487f906
c72d21a
* Wed Oct 26 2016 Hans de Goede <hdegoede@redhat.com> - 1.19.0-0.3.20161026
c72d21a
- Sync with upstream git, bringing in a bunch if bug-fixes
c72d21a
- Add some extra fixes which are pending upstream
c72d21a
- This also adds PointerWarping emulation to Xwayland, which should improve
c72d21a
  compatiblity with many games