[arch-commits] Commit in xorg-server/trunk (3 files)

Jan de Groot jgc at nymeria.archlinux.org
Mon Feb 18 15:57:21 UTC 2013


    Date: Monday, February 18, 2013 @ 16:57:20
  Author: jgc
Revision: 178228

upgpkg: xorg-server 1.13.2.901-1

Update to 1.13.3 RC1. Disable acpid code (FS#31907), Initialize a value to NULL to fix xorg segfaulting with vboxvideo (FS#33229)

Added:
  xorg-server/trunk/bug59825.patch
  xorg-server/trunk/xserver-1.6.0-less-acpi-brokenness.patch
Modified:
  xorg-server/trunk/PKGBUILD

------------------------------------------+
 PKGBUILD                                 |   21 ++++++++++++---------
 bug59825.patch                           |   12 ++++++++++++
 xserver-1.6.0-less-acpi-brokenness.patch |   25 +++++++++++++++++++++++++
 3 files changed, 49 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-18 14:46:39 UTC (rev 178227)
+++ PKGBUILD	2013-02-18 15:57:20 UTC (rev 178228)
@@ -3,7 +3,7 @@
 
 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')
 license=('custom')
@@ -16,14 +16,17 @@
 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
-        #git-fixes.patch
         use-pixman-glyph-cache.patch)
-sha256sums=('3850adb89e9170ad85aea39d240279494c07779e50cd3cd60126028681209408'
+sha256sums=('5351e2d18949f22c92350ffa037cfc49d3ac09f2ac4d3be6a3ea566d2052723c'
             '66e25f76a7496c429e0aff4b0670f168719bb0ceaeb88c6f2272f2bf3ed21162'
             'd027776fac1f7675b0a9ee817502290b1c45f9c09b0f0a6bb058c35f92361e84'
+            'e033f9bcc21980f7f0428e6ed6c362a3d55ad293b05fd6e6c6c1933b86f9e63a'
+            '26ee6ff255a60d7c1e136c612925eb63c86e85a4a3a55d531852ad9275526588'
             'ff0156309470fc1d378fd2e104338020a884295e285972cc88e250e031cc35b9'
             '2460adccd3362fefd4cdc5f1c70f332d7b578091fb9167bf88b5f91265bbd776'
             '94612f5c0d34a3b7152915c2e285c7b462e9d8e38d3539bd551a339498eac166'
@@ -32,18 +35,18 @@
 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"
 
   # Use unofficial imedia SiS driver for supported SiS devices
   patch -Np0 -i "${srcdir}/autoconfig-sis.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
   ./configure --prefix=/usr \
       --enable-ipv6 \

Added: bug59825.patch
===================================================================
--- bug59825.patch	                        (rev 0)
+++ bug59825.patch	2013-02-18 15:57:20 UTC (rev 178228)
@@ -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

Added: xserver-1.6.0-less-acpi-brokenness.patch
===================================================================
--- xserver-1.6.0-less-acpi-brokenness.patch	                        (rev 0)
+++ xserver-1.6.0-less-acpi-brokenness.patch	2013-02-18 15:57:20 UTC (rev 178228)
@@ -0,0 +1,25 @@
+From 0002cde5312e785529b2901d7f8a82d5623e4ca7 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax at 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
+




More information about the arch-commits mailing list