xorg-server: update to 1.12.0.
This commit is contained in:
parent
450616fcca
commit
e593e116e2
6 changed files with 52 additions and 43 deletions
|
@ -1,7 +0,0 @@
|
|||
#
|
||||
# Sets up correct perms to Xorg.
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
chmod 4755 usr/bin/Xorg || exit $?
|
||||
;;
|
||||
esac
|
|
@ -1,2 +1,2 @@
|
|||
abi_depends=">=1.11.0"
|
||||
abi_depends=">=1.12.0"
|
||||
api_depends="${abi_depends}"
|
||||
|
|
|
@ -1,29 +1,27 @@
|
|||
--- hw/xfree86/common/xf86pciBus.c
|
||||
+++ hw/xfree86/common/xf86pciBus.c
|
||||
@@ -1123,7 +1123,25 @@ videoPtrToDriverList(struct pci_device *
|
||||
--- hw/xfree86/common/xf86pciBus.c 2012-02-10 10:10:37.583014924 +0000
|
||||
+++ hw/xfree86/common/xf86pciBus.c 2012-02-10 11:16:07.148971317 +0000
|
||||
@@ -1111,7 +1111,23 @@
|
||||
{
|
||||
int idx = 0;
|
||||
#ifdef __linux__
|
||||
- driverList[idx++] = "nouveau";
|
||||
+ switch (dev->device_id)
|
||||
+ {
|
||||
+ /* NV1 */
|
||||
+ case 0x0008:
|
||||
+ case 0x0009:
|
||||
+ driverList[idx++] = "vesa";
|
||||
+ break;
|
||||
+ /* NV3 */
|
||||
+ case 0x0018:
|
||||
+ case 0x0019:
|
||||
+ driverList[idx++] = "nouveau";
|
||||
+ break;
|
||||
+ default:
|
||||
+ driverList[idx++] = "nouveau";
|
||||
+ driverList[idx++] = "nvidia";
|
||||
+ break;
|
||||
+ }
|
||||
#endif
|
||||
driverList[idx++] = "nv";
|
||||
break;
|
||||
case 0x102b: driverList[0] = "mga"; break;
|
||||
case 0x10c8: driverList[0] = "neomagic"; break;
|
||||
- case 0x10de: case 0x12d2: driverList[0] = "nv"; break;
|
||||
+ case 0x10de: case 0x12d2:
|
||||
+ switch (dev->device_id) {
|
||||
+ /* NV1 */
|
||||
+ case 0x0008:
|
||||
+ case 0x0009:
|
||||
+ driverList[0] = "vesa";
|
||||
+ break;
|
||||
+ /* NV3 */
|
||||
+ case 0x0018:
|
||||
+ case 0x0019:
|
||||
+ driverList[0] = "nv";
|
||||
+ break;
|
||||
+ default:
|
||||
+ driverList[0] = "nouveau";
|
||||
+ driverList[1] = "nv";
|
||||
+ driverList[2] = "nvidia";
|
||||
+ break;
|
||||
+ }
|
||||
+ break;
|
||||
case 0x1106: driverList[0] = "openchrome"; break;
|
||||
case 0x1b36: driverList[0] = "qxl"; break;
|
||||
case 0x1163: driverList[0] = "rendition"; break;
|
||||
|
|
19
srcpkgs/xorg-server/patches/autoconfig-sis.patch
Normal file
19
srcpkgs/xorg-server/patches/autoconfig-sis.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- hw/xfree86/common/xf86pciBus.c.orig 2011-09-24 10:53:45.421697668 +0000
|
||||
+++ hw/xfree86/common/xf86pciBus.c 2011-09-24 10:55:56.416250708 +0000
|
||||
@@ -1140,7 +1140,15 @@
|
||||
driverList[0] = "savage"; break;
|
||||
}
|
||||
break;
|
||||
- case 0x1039: driverList[0] = "sis"; break;
|
||||
+ case 0x1039:
|
||||
+ switch (dev->device_id)
|
||||
+ {
|
||||
+ case 0x6350: case 0x6351:
|
||||
+ driverList[0] = "sisimedia"; driverList[1] = "sis"; break;
|
||||
+ default:
|
||||
+ driverList[0] = "sis"; break;
|
||||
+ }
|
||||
+ break;
|
||||
case 0x126f: driverList[0] = "siliconmotion"; break;
|
||||
case 0x121a:
|
||||
if (dev->device_id < 0x0003)
|
|
@ -1,7 +1,6 @@
|
|||
# Template build file for 'xorg-server'.
|
||||
pkgname=xorg-server
|
||||
version=1.11.4
|
||||
revision=1
|
||||
version=1.12.0
|
||||
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
|
||||
|
@ -10,12 +9,13 @@ configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
|
|||
--disable-config-dbus --enable-config-udev --sysconfdir=/etc/X11
|
||||
--with-xkb-path=/usr/share/X11/xkb --with-xkb-output=/var/lib/xkb
|
||||
--with-fontrootdir=/usr/share/fonts/X11 --with-sha1=libcrypto
|
||||
--disable-dmx --disable-xfree86-utils --enable-dga"
|
||||
short_desc="Modular X11 server from modular X.org"
|
||||
--disable-dmx --disable-xfree86-utils --enable-dga
|
||||
--enable-install-setuid"
|
||||
short_desc="X11 server from X.org"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://xorg.freedesktop.org"
|
||||
license="MIT/X11, BSD"
|
||||
checksum=3e2935bc400612df58d5b5e6840829e2c63af02c2e7d2893092500358a4366fc
|
||||
checksum=280a14c5de8697a4aab18dca85429671286e69e5ada0c1535f03666e56f07799
|
||||
long_desc="
|
||||
The X11 server from the modularized source tree of X.org."
|
||||
|
||||
|
@ -28,6 +28,7 @@ Add_dependency run MesaLib
|
|||
Add_dependency build pkg-config
|
||||
Add_dependency build perl ">=0"
|
||||
Add_dependency build flex
|
||||
Add_dependency build inputproto ">=2.2"
|
||||
Add_dependency build glproto ">=1.4.15"
|
||||
Add_dependency build xproto ">=7.0.22"
|
||||
Add_dependency build dri2proto ">=2.1"
|
||||
|
|
|
@ -5,8 +5,6 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run libudev-devel
|
||||
Add_dependency run dri2proto ">=2.1"
|
||||
Add_dependency run glproto
|
||||
|
|
Loading…
Reference in a new issue