forked from pool/xorg-x11-server
- Changed patch numbering, reordered patches to group
SUSE specific and to-be-upstreamed patches. - Added descriptions to a number of patches. - Renamed some patches: * N_p_default-module-path.diff -> N_default-module-path.diff * n_xorg-x11-server-rpmmacros.patch -> N_xorg-x11-server-rpmmacros.patch OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=480
This commit is contained in:
parent
34680956c9
commit
63af0702ac
@ -1,3 +1,8 @@
|
|||||||
|
From: Stefan Dirsch <sndirsch@suse.de>
|
||||||
|
|
||||||
|
Add /usr/lib[64]/xorg/modules/updates to the module path.
|
||||||
|
Make sure this path is considered first.
|
||||||
|
|
||||||
Index: hw/xfree86/common/xf86Globals.c
|
Index: hw/xfree86/common/xf86Globals.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- hw/xfree86/common/xf86Globals.c.orig
|
--- hw/xfree86/common/xf86Globals.c.orig
|
@ -1,3 +1,9 @@
|
|||||||
|
From: Stefan Dirsch <sndirsch@suse.de>
|
||||||
|
|
||||||
|
Modify driver fallback list for automatic configuration
|
||||||
|
such that the proprietary ATI, NVIDIA and VIA drivers are
|
||||||
|
considered first.
|
||||||
|
|
||||||
Index: hw/xfree86/common/xf86pciBus.c
|
Index: hw/xfree86/common/xf86pciBus.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- hw/xfree86/common/xf86pciBus.c.orig
|
--- hw/xfree86/common/xf86pciBus.c.orig
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
From: Egbert Eich <eich@suse.de>
|
||||||
|
|
||||||
|
Fix calculation of DPI using mode data if present.
|
||||||
|
|
||||||
Index: hw/xfree86/common/xf86Helper.c
|
Index: hw/xfree86/common/xf86Helper.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- hw/xfree86/common/xf86Helper.c.orig
|
--- hw/xfree86/common/xf86Helper.c.orig
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
From: Stefan Dirsch <sndirsch@suse.de>
|
||||||
|
|
||||||
|
Set DefaultDepth for implicite screen section when using FGLRX driver
|
||||||
|
|
||||||
|
The binary only AMD FGLRX driver doesn't set the default depth in the
|
||||||
|
driver. Do it for it in the server.
|
||||||
|
|
||||||
Index: hw/xfree86/common/xf86AutoConfig.c
|
Index: hw/xfree86/common/xf86AutoConfig.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- hw/xfree86/common/xf86AutoConfig.c.orig
|
--- hw/xfree86/common/xf86AutoConfig.c.orig
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Author: Michal Srb <msrb@suse.com>
|
||||||
|
|
||||||
|
Fix compatibility with nvidia binary drivers
|
||||||
|
|
||||||
|
(bnc#849152)
|
||||||
|
|
||||||
diff --git a/randr/randrstr.h b/randr/randrstr.h
|
diff --git a/randr/randrstr.h b/randr/randrstr.h
|
||||||
index 15299fd..03ed146 100644
|
index 15299fd..03ed146 100644
|
||||||
--- a/randr/randrstr.h
|
--- a/randr/randrstr.h
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
From: dimstar@opensuse.org
|
||||||
|
|
||||||
|
Provide RPM macros to require correct ABI Versions.
|
||||||
|
|
||||||
Index: xorg-server-1.12.1/configure.ac
|
Index: xorg-server-1.12.1/configure.ac
|
||||||
===================================================================
|
===================================================================
|
||||||
--- xorg-server-1.12.1.orig/configure.ac
|
--- xorg-server-1.12.1.orig/configure.ac
|
@ -1,3 +1,13 @@
|
|||||||
|
From: Luc Verhaegen <lverhaegen@suse.de>
|
||||||
|
|
||||||
|
Handle 'Zap' - Ctrl-Alt-Backspace more gracefully
|
||||||
|
|
||||||
|
To avoid accidental zapping of the Xserver warn after
|
||||||
|
the first ctrl-alt-backspace by emitting a beep. Only
|
||||||
|
Zap the server if a second ctrl-alt-backspace is sent
|
||||||
|
within 2 seconds.
|
||||||
|
This can be enabled with a new option flag "ZapWarning"
|
||||||
|
|
||||||
Index: xorg-server-1.12.1/hw/xfree86/common/xf86Config.c
|
Index: xorg-server-1.12.1/hw/xfree86/common/xf86Config.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- xorg-server-1.12.1.orig/hw/xfree86/common/xf86Config.c
|
--- xorg-server-1.12.1.orig/hw/xfree86/common/xf86Config.c
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
From: Egbert Eich <eich@suse.de>
|
||||||
|
|
||||||
|
DIX/ConfineTo: Improve algorithm to jump to the nearest point inside
|
||||||
|
|
||||||
|
ConfineToShape does not work well: The cursor often times doesn't jump
|
||||||
|
to the point closest to the current cursor position outside the shape.
|
||||||
|
This patch fixes this.
|
||||||
|
|
||||||
--- dix/events.c.orig 2012-04-17 11:34:39.714915372 -0500
|
--- dix/events.c.orig 2012-04-17 11:34:39.714915372 -0500
|
||||||
+++ dix/events.c 2012-04-17 11:26:54.735728478 -0500
|
+++ dix/events.c 2012-04-17 11:26:54.735728478 -0500
|
||||||
@@ -671,32 +671,77 @@
|
@@ -671,32 +671,77 @@
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
From: Egbert Eich <eich@suse.de>
|
||||||
|
|
||||||
|
Make error message about FBIOBLANK missing less prominent but more telling
|
||||||
|
|
||||||
|
The FBIOBLANK ioctl is not present in some fbdev kernel drivers. This
|
||||||
|
however is not a huge problem. This don't mark it as error in the log
|
||||||
|
instead give more information on the possible cause.
|
||||||
|
|
||||||
Index: hw/xfree86/fbdevhw/fbdevhw.c
|
Index: hw/xfree86/fbdevhw/fbdevhw.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- hw/xfree86/fbdevhw/fbdevhw.c.orig
|
--- hw/xfree86/fbdevhw/fbdevhw.c.orig
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
Author: Reinhard Max <max@suse.de>
|
||||||
|
|
||||||
|
XDMCP: For IPv6 add IPv6 link local addresses to the end of the list
|
||||||
|
|
||||||
|
For IPv6 add a link local addresses to the end of the list passed to
|
||||||
|
the XDMCP servers.
|
||||||
|
Reason: for link local addresses the XDMCP server would need to either
|
||||||
|
know the interface thru a scope identifier or try all available interfaces.
|
||||||
|
If they don't this address will fail in which case the XDMCP server
|
||||||
|
could still try the other addresses passed - however some only try
|
||||||
|
the first address and then give up.
|
||||||
|
Even if this seems to be the wrong place to fix this it seems to be
|
||||||
|
easier than fixing all display servers.
|
||||||
|
|
||||||
Index: xorg-server-1.12.1/os/access.c
|
Index: xorg-server-1.12.1/os/access.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- xorg-server-1.12.1.orig/os/access.c
|
--- xorg-server-1.12.1.orig/os/access.c
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 12 14:27:20 UTC 2013 - eich@suse.com
|
||||||
|
|
||||||
|
- Changed patch numbering, reordered patches to group
|
||||||
|
SUSE specific and to-be-upstreamed patches.
|
||||||
|
- Added descriptions to a number of patches.
|
||||||
|
- Renamed some patches:
|
||||||
|
* N_p_default-module-path.diff ->
|
||||||
|
N_default-module-path.diff
|
||||||
|
* n_xorg-x11-server-rpmmacros.patch ->
|
||||||
|
N_xorg-x11-server-rpmmacros.patch
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 11 15:26:59 UTC 2013 - eich@suse.com
|
Wed Dec 11 15:26:59 UTC 2013 - eich@suse.com
|
||||||
|
|
||||||
|
@ -25,18 +25,14 @@ License: GPL-2.0+ and MIT
|
|||||||
Group: System/X11/Servers/XF86_4
|
Group: System/X11/Servers/XF86_4
|
||||||
Source0: xorg-server-%{dirsuffix}.tar.bz2
|
Source0: xorg-server-%{dirsuffix}.tar.bz2
|
||||||
Source1: sysconfig.displaymanager.template
|
Source1: sysconfig.displaymanager.template
|
||||||
Source3: README.updates
|
Source2: README.updates
|
||||||
Source4: xorgcfg.tar.bz2
|
Source3: xorgcfg.tar.bz2
|
||||||
Source8: xorg-backtrace
|
Source4: xorg-backtrace
|
||||||
# RPM Macros to be installed. The ABI Versions will be injected by configure.
|
# RPM Macros to be installed. The ABI Versions will be injected by configure.
|
||||||
Source96: xorg-x11-server.macros.in
|
Source90: xorg-x11-server.macros.in
|
||||||
# Source98 and Source99 are used to ensure proper ABI provides.
|
# Source91 and Source99 are used to ensure proper ABI provides.
|
||||||
Source98: xorg-server-provides
|
Source91: xorg-server-provides
|
||||||
Source99: pre_checkin.sh
|
Source92: pre_checkin.sh
|
||||||
# PATCH-FEATURE-OPENSUSE n_xorg-x11-server-rpmmacros.patch dimstar@opensuse.org -- Provide RPM macros to require correct ABI Versions.
|
|
||||||
Patch0: n_xorg-x11-server-rpmmacros.patch
|
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
|
||||||
Patch2: N_p_default-module-path.diff
|
|
||||||
|
|
||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -106,7 +102,7 @@ Requires: xkbcomp
|
|||||||
Requires: xorg-x11-fonts-core
|
Requires: xorg-x11-fonts-core
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
Requires: libpixman-1-0 >= 0.24
|
Requires: libpixman-1-0 >= 0.24
|
||||||
%(cat %{SOURCE98})
|
%(cat %{SOURCE91})
|
||||||
%endif
|
%endif
|
||||||
Requires: Mesa
|
Requires: Mesa
|
||||||
Provides: xorg-x11-Xvfb
|
Provides: xorg-x11-Xvfb
|
||||||
@ -116,33 +112,26 @@ Obsoletes: xorg-x11-server-glx
|
|||||||
# Xvfb requires keyboard files as well (bnc#797124)
|
# Xvfb requires keyboard files as well (bnc#797124)
|
||||||
Requires: xkeyboard-config
|
Requires: xkeyboard-config
|
||||||
|
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
# PATCH-FEATURE-OPENSUSE n_xorg-x11-server-rpmmacros.patch dimstar@opensuse.org -- Provide RPM macros to require correct ABI Versions.
|
||||||
Patch77: u_fbdevhw.diff
|
Patch0: N_xorg-x11-server-rpmmacros.patch
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
Patch1: N_default-module-path.diff
|
||||||
Patch101: N_zap_warning_xserver.diff
|
Patch2: N_zap_warning_xserver.diff
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
Patch3: N_driver-autoconfig.diff
|
||||||
Patch103: u_confine_to_shape.diff
|
Patch4: N_fix_fglrx_screendepth_issue.patch
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
Patch5: N_randr_fix_abi.patch
|
||||||
Patch112: N_fix-dpi-values.diff
|
Patch6: N_fix-dpi-values.diff
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
|
||||||
Patch145: N_driver-autoconfig.diff
|
Patch100: u_fbdevhw.diff
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
Patch101: u_confine_to_shape.diff
|
||||||
|
# PATCH-FIX-UPSTREAM u_x86emu-include-order.patch schwab@suse.de -- Change include order to avoid conflict with system header, remove duplicate definitions
|
||||||
|
Patch102: u_x86emu-include-order.patch
|
||||||
|
Patch103: u_randr_allow_rrselectinput_for_providerchange_and_resourcechange_events.patch
|
||||||
|
Patch104: u_xorg-server-xdmcp.patch
|
||||||
|
Patch105: ux_xserver_xvfb-randr.patch
|
||||||
|
|
||||||
Patch162: b_cache-xkbcomp-output-for-fast-start-up.patch
|
Patch162: b_cache-xkbcomp-output-for-fast-start-up.patch
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
|
||||||
Patch206: N_fix_fglrx_screendepth_issue.patch
|
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
|
||||||
Patch211: b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch
|
Patch211: b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
|
||||||
Patch213: u_xorg-server-xdmcp.patch
|
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
|
||||||
Patch222: b_sync-fix.patch
|
Patch222: b_sync-fix.patch
|
||||||
# PATCH-FIX-UPSTREAM N_x86emu-include-order.patch schwab@suse.de -- Change include order to avoid conflict with system header, remove duplicate definitions
|
|
||||||
Patch223: u_x86emu-include-order.patch
|
|
||||||
|
|
||||||
Patch230: ux_xserver_xvfb-randr.patch
|
|
||||||
|
|
||||||
Patch247: u_randr_allow_rrselectinput_for_providerchange_and_resourcechange_events.patch
|
|
||||||
Patch248: N_randr_fix_abi.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the X.Org Server.
|
This package contains the X.Org Server.
|
||||||
@ -192,31 +181,31 @@ Obsoletes: xorg-x11-sdk
|
|||||||
This package contains the X.Org Server SDK.
|
This package contains the X.Org Server SDK.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n xorg-server-%{dirsuffix} -a4
|
%setup -q -n xorg-server-%{dirsuffix} -a3
|
||||||
# Early verification if the ABI Defines are correct. Let's not waste build cycles if the Provides are wrong at the end.
|
# Early verification if the ABI Defines are correct. Let's not waste build cycles if the Provides are wrong at the end.
|
||||||
sh %{SOURCE99} --verify . %{SOURCE98}
|
sh %{SOURCE92} --verify . %{SOURCE91}
|
||||||
cp %{SOURCE96} .
|
cp %{SOURCE90} .
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch2
|
%patch1
|
||||||
|
%patch2 -p1
|
||||||
|
%patch3 -p0
|
||||||
|
%patch4 -p0
|
||||||
|
%patch5 -p1
|
||||||
|
%patch6 -p0
|
||||||
|
|
||||||
%patch77
|
%patch100
|
||||||
%patch101 -p1
|
%patch101
|
||||||
%patch103
|
%patch102 -p1
|
||||||
%patch112 -p0
|
%patch103 -p1
|
||||||
|
%patch104 -p1
|
||||||
|
%patch105 -p1
|
||||||
|
|
||||||
%patch145 -p0
|
|
||||||
### disabled for now
|
### disabled for now
|
||||||
#%patch162 -p1
|
#%patch162 -p1
|
||||||
%patch206 -p0
|
|
||||||
### disabled for now
|
### disabled for now
|
||||||
#%patch211 -p1
|
#%patch211 -p1
|
||||||
%patch213 -p1
|
|
||||||
### patch222 might not be applicable anymore
|
### patch222 might not be applicable anymore
|
||||||
#%patch222 -p1
|
#%patch222 -p1
|
||||||
%patch223 -p1
|
|
||||||
%patch230 -p1
|
|
||||||
%patch247 -p1
|
|
||||||
%patch248 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
Loading…
Reference in New Issue
Block a user