summaryrefslogtreecommitdiff
path: root/extra/xorg-server
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-24 10:07:23 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-24 10:07:23 +0100
commit7de52b3e0af5b0e3937ecee5db3f2d046c8f6cc8 (patch)
tree7b4a19f9b0d57d70a7c2903d74b4985d5a48e02b /extra/xorg-server
parentcd43f33594087073804af089c7860ec4001d84dc (diff)
parent90f97c6f30af5c30599fab0b6d6c1f474ad15fe0 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: extra/xorg-server/PKGBUILD libre/cdrkit-libre/PKGBUILD
Diffstat (limited to 'extra/xorg-server')
-rw-r--r--extra/xorg-server/PKGBUILD23
-rw-r--r--extra/xorg-server/bug59825.patch12
-rw-r--r--extra/xorg-server/xserver-1.6.0-less-acpi-brokenness.patch25
3 files changed, 50 insertions, 10 deletions
diff --git a/extra/xorg-server/PKGBUILD b/extra/xorg-server/PKGBUILD
index 48bed0ef9..fa2ea0add 100644
--- a/extra/xorg-server/PKGBUILD
+++ b/extra/xorg-server/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 175947 2013-01-25 08:45:46Z andyrtr $
+# $Id: PKGBUILD 178463 2013-02-23 11:12:22Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=xorg-server
pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xdmx' 'xorg-server-xvfb' 'xorg-server-xnest' 'xorg-server-common' 'xorg-server-devel')
-pkgver=1.13.2
+pkgver=1.13.2.901
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
@@ -17,15 +17,18 @@ options=('!libtool')
source=(${url}/releases/individual/xserver/${pkgbase}-${pkgver}.tar.bz2
autoconfig-nvidia.patch
autoconfig-sis.patch
+ xserver-1.6.0-less-acpi-brokenness.patch
+ bug59825.patch
xvfb-run
xvfb-run.1
10-quirks.conf
loongson.patch
- #git-fixes.patch
use-pixman-glyph-cache.patch)
-sha256sums=('3850adb89e9170ad85aea39d240279494c07779e50cd3cd60126028681209408'
+sha256sums=('5351e2d18949f22c92350ffa037cfc49d3ac09f2ac4d3be6a3ea566d2052723c'
'66e25f76a7496c429e0aff4b0670f168719bb0ceaeb88c6f2272f2bf3ed21162'
'd027776fac1f7675b0a9ee817502290b1c45f9c09b0f0a6bb058c35f92361e84'
+ 'e033f9bcc21980f7f0428e6ed6c362a3d55ad293b05fd6e6c6c1933b86f9e63a'
+ '26ee6ff255a60d7c1e136c612925eb63c86e85a4a3a55d531852ad9275526588'
'ff0156309470fc1d378fd2e104338020a884295e285972cc88e250e031cc35b9'
'2460adccd3362fefd4cdc5f1c70f332d7b578091fb9167bf88b5f91265bbd776'
'94612f5c0d34a3b7152915c2e285c7b462e9d8e38d3539bd551a339498eac166'
@@ -35,12 +38,6 @@ sha256sums=('3850adb89e9170ad85aea39d240279494c07779e50cd3cd60126028681209408'
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
- # Apply upstream fixes from server-1.13 branch
-# patch -Np1 -i "${srcdir}/git-fixes.patch"
-
- # Use pixman 0.28.0 glyph cache - backported from git master
-# patch -Np1 -i "${srcdir}/use-pixman-glyph-cache.patch"
-
# Use nouveau/nv/nvidia drivers for nvidia devices
patch -Np1 -i "${srcdir}/autoconfig-nvidia.patch"
@@ -50,6 +47,12 @@ build() {
# Based on http://lists.freedesktop.org/archives/xorg-devel/2011-October/026249.html
patch -Np1 -i "${srcdir}/loongson.patch"
+ # https://bugs.freedesktop.org/show_bug.cgi?id=59825 - fixes crash with vboxvideo
+ patch -Np1 -i "${srcdir}/bug59825.patch"
+
+ # From Fedora. Do not build acpid code, it is buggy and we do not need it
+ patch -Np1 -i "${srcdir}/xserver-1.6.0-less-acpi-brokenness.patch"
+
autoreconf -fi
if [ "$CARCH" = "mips64el" ]; then
diff --git a/extra/xorg-server/bug59825.patch b/extra/xorg-server/bug59825.patch
new file mode 100644
index 000000000..b405d136d
--- /dev/null
+++ b/extra/xorg-server/bug59825.patch
@@ -0,0 +1,12 @@
+diff -U 3 -b -d -p -r -- a/glx/glxdri.c b/glx/glxdri.c
+--- a/glx/glxdri.c 2013-01-24 22:14:35.216092949 +0100
++++ b/glx/glxdri.c 2013-01-24 22:13:48.499427991 +0100
+@@ -971,6 +971,8 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
+ size_t buffer_size;
+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
+
++ framebuffer.base = NULL;
++
+ if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable") ||
+ !DRIQueryDirectRenderingCapable(pScreen, &isCapable) || !isCapable) {
+ LogMessage(X_INFO, \ No newline at end of file
diff --git a/extra/xorg-server/xserver-1.6.0-less-acpi-brokenness.patch b/extra/xorg-server/xserver-1.6.0-less-acpi-brokenness.patch
new file mode 100644
index 000000000..b42c2d7c8
--- /dev/null
+++ b/extra/xorg-server/xserver-1.6.0-less-acpi-brokenness.patch
@@ -0,0 +1,25 @@
+From 0002cde5312e785529b2901d7f8a82d5623e4ca7 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax@redhat.com>
+Date: Wed, 9 Nov 2011 11:52:06 +1000
+Subject: [PATCH 2/7] Don't build the ACPI code.
+
+No good can come of this.
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index a12783c..54f4464 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1620,7 +1620,6 @@ if test "x$XORG" = xyes; then
+ linux_alpha=yes
+ ;;
+ i*86|amd64*|x86_64*|ia64*)
+- linux_acpi="yes"
+ ;;
+ *)
+ ;;
+--
+1.7.10.1
+