[arch-commits] Commit in xf86-video-r128/repos (6 files)

Laurent Carlier lcarlier at archlinux.org
Mon Nov 21 14:35:18 UTC 2016


    Date: Monday, November 21, 2016 @ 14:35:18
  Author: lcarlier
Revision: 281750

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  xf86-video-r128/repos/staging-i686/
  xf86-video-r128/repos/staging-i686/PKGBUILD
    (from rev 281749, xf86-video-r128/trunk/PKGBUILD)
  xf86-video-r128/repos/staging-i686/git-fixes.patch
    (from rev 281749, xf86-video-r128/trunk/git-fixes.patch)
  xf86-video-r128/repos/staging-x86_64/
  xf86-video-r128/repos/staging-x86_64/PKGBUILD
    (from rev 281749, xf86-video-r128/trunk/PKGBUILD)
  xf86-video-r128/repos/staging-x86_64/git-fixes.patch
    (from rev 281749, xf86-video-r128/trunk/git-fixes.patch)

--------------------------------+
 staging-i686/PKGBUILD          |   40 +++++++++++++
 staging-i686/git-fixes.patch   |  119 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD        |   40 +++++++++++++
 staging-x86_64/git-fixes.patch |  119 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 318 insertions(+)

Copied: xf86-video-r128/repos/staging-i686/PKGBUILD (from rev 281749, xf86-video-r128/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-11-21 14:35:18 UTC (rev 281750)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-r128
+pkgver=6.10.1
+pkgrel=2
+pkgdesc="X.org ati Rage128 video driver"
+arch=(i686 x86_64)
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23')
+conflicts=('xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24')
+optdepends=('r128-dri: DRI1 support from community repo')
+groups=('xorg-drivers')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}
+        git-fixes.patch)
+sha256sums=('5ebfef49831c9b12f7b7011c8314010596ac2ab0d5b9b7cfd17908e93d7de4ea'
+            'SKIP'
+            'e4da65dab4380efc73a16e4bb09fedb5c838ad285f7d86dd8aeef105c6f1790c')
+validpgpkeys=('6EA3F3F3B9082632A9CBE931D53A0445B47A0DAB') # Connor Behan <connor.behan at gmail.com>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../git-fixes.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Copied: xf86-video-r128/repos/staging-i686/git-fixes.patch (from rev 281749, xf86-video-r128/trunk/git-fixes.patch)
===================================================================
--- staging-i686/git-fixes.patch	                        (rev 0)
+++ staging-i686/git-fixes.patch	2016-11-21 14:35:18 UTC (rev 281750)
@@ -0,0 +1,119 @@
+From 3328547c840664896c12d0fd2db8f63e3a398a62 Mon Sep 17 00:00:00 2001
+From: Kevin Brace <kevinbrace at gmx.com>
+Date: Wed, 16 Mar 2016 18:59:23 -0700
+Subject: [PATCH 1/3] xextproto 7.1 support update to the source code
+
+While the compilation script was updated, for some reason, the source
+code did not get the update.
+
+Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
+Reviewed-by: Connor Behan <connor.behan at gmail.com>
+---
+ src/r128_crtc.c   | 6 ++++++
+ src/r128_output.c | 6 ++++++
+ 2 files changed, 12 insertions(+)
+
+diff --git a/src/r128_crtc.c b/src/r128_crtc.c
+index d62cc6a..ed77492 100644
+--- a/src/r128_crtc.c
++++ b/src/r128_crtc.c
+@@ -35,7 +35,13 @@
+ 
+ #include "xf86.h"
+ #include "xf86Modes.h"
++
++#ifdef HAVE_XEXTPROTO_71
+ #include "X11/extensions/dpmsconst.h"
++#else
++#define DPMS_SERVER
++#include "X11/extensions/dpms.h"
++#endif
+ 
+ #include "r128.h"
+ #include "r128_probe.h"
+diff --git a/src/r128_output.c b/src/r128_output.c
+index a2c754b..73b4af2 100644
+--- a/src/r128_output.c
++++ b/src/r128_output.c
+@@ -35,7 +35,13 @@
+ 
+ #include "xf86.h"
+ #include "xf86Modes.h"
++
++#ifdef HAVE_XEXTPROTO_71
+ #include "X11/extensions/dpmsconst.h"
++#else
++#define DPMS_SERVER
++#include "X11/extensions/dpms.h"
++#endif
+ 
+ #include "r128.h"
+ #include "r128_probe.h"
+-- 
+2.10.2
+
+
+From a589dd6baf7fa26f8ea7008ba6bd533a5ba3e76e Mon Sep 17 00:00:00 2001
+From: Connor Behan <connor.behan at gmail.com>
+Date: Wed, 13 Apr 2016 12:41:00 -0400
+Subject: [PATCH 2/3] Remove gatos advertisement
+
+There are many current working ways to use a TV tuner with Linux. This
+is not one of them.
+Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=94915
+
+Signed-off-by: Connor Behan <connor.behan at gmail.com>
+---
+ src/r128_driver.c | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/src/r128_driver.c b/src/r128_driver.c
+index 9a676d5..5695614 100644
+--- a/src/r128_driver.c
++++ b/src/r128_driver.c
+@@ -1435,10 +1435,6 @@ Bool R128PreInit(ScrnInfoPtr pScrn, int flags)
+     if (info->MMIO) R128UnmapMMIO(pScrn);
+     info->MMIO = NULL;
+ 
+-    xf86DrvMsg(pScrn->scrnIndex, X_NOTICE,
+-	"For information on using the multimedia capabilities\n\tof this"
+-	" adapter, please see http://gatos.sf.net.\n");
+-
+     return TRUE;
+ 
+   fail:
+-- 
+2.10.2
+
+
+From 5ab23b3a8ef18ab9ff96ac8be174380d36e185e5 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax at redhat.com>
+Date: Tue, 19 Jul 2016 10:03:56 -0400
+Subject: [PATCH 3/3] Adapt Block/WakeupHandler signature for ABI 23
+
+Signed-off-by: Adam Jackson <ajax at redhat.com>
+---
+ src/compat-api.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/compat-api.h b/src/compat-api.h
+index 6bc946f..89976e4 100644
+--- a/src/compat-api.h
++++ b/src/compat-api.h
+@@ -75,8 +75,13 @@
+ 
+ #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
+ 
++#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
++#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
++#define BLOCKHANDLER_ARGS arg, pTimeout
++#else
+ #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
+ #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
++#endif
+ 
+ #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
+ #define CLOSE_SCREEN_ARGS pScreen
+-- 
+2.10.2
+

Copied: xf86-video-r128/repos/staging-x86_64/PKGBUILD (from rev 281749, xf86-video-r128/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-11-21 14:35:18 UTC (rev 281750)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-r128
+pkgver=6.10.1
+pkgrel=2
+pkgdesc="X.org ati Rage128 video driver"
+arch=(i686 x86_64)
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23')
+conflicts=('xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24')
+optdepends=('r128-dri: DRI1 support from community repo')
+groups=('xorg-drivers')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}
+        git-fixes.patch)
+sha256sums=('5ebfef49831c9b12f7b7011c8314010596ac2ab0d5b9b7cfd17908e93d7de4ea'
+            'SKIP'
+            'e4da65dab4380efc73a16e4bb09fedb5c838ad285f7d86dd8aeef105c6f1790c')
+validpgpkeys=('6EA3F3F3B9082632A9CBE931D53A0445B47A0DAB') # Connor Behan <connor.behan at gmail.com>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../git-fixes.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Copied: xf86-video-r128/repos/staging-x86_64/git-fixes.patch (from rev 281749, xf86-video-r128/trunk/git-fixes.patch)
===================================================================
--- staging-x86_64/git-fixes.patch	                        (rev 0)
+++ staging-x86_64/git-fixes.patch	2016-11-21 14:35:18 UTC (rev 281750)
@@ -0,0 +1,119 @@
+From 3328547c840664896c12d0fd2db8f63e3a398a62 Mon Sep 17 00:00:00 2001
+From: Kevin Brace <kevinbrace at gmx.com>
+Date: Wed, 16 Mar 2016 18:59:23 -0700
+Subject: [PATCH 1/3] xextproto 7.1 support update to the source code
+
+While the compilation script was updated, for some reason, the source
+code did not get the update.
+
+Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
+Reviewed-by: Connor Behan <connor.behan at gmail.com>
+---
+ src/r128_crtc.c   | 6 ++++++
+ src/r128_output.c | 6 ++++++
+ 2 files changed, 12 insertions(+)
+
+diff --git a/src/r128_crtc.c b/src/r128_crtc.c
+index d62cc6a..ed77492 100644
+--- a/src/r128_crtc.c
++++ b/src/r128_crtc.c
+@@ -35,7 +35,13 @@
+ 
+ #include "xf86.h"
+ #include "xf86Modes.h"
++
++#ifdef HAVE_XEXTPROTO_71
+ #include "X11/extensions/dpmsconst.h"
++#else
++#define DPMS_SERVER
++#include "X11/extensions/dpms.h"
++#endif
+ 
+ #include "r128.h"
+ #include "r128_probe.h"
+diff --git a/src/r128_output.c b/src/r128_output.c
+index a2c754b..73b4af2 100644
+--- a/src/r128_output.c
++++ b/src/r128_output.c
+@@ -35,7 +35,13 @@
+ 
+ #include "xf86.h"
+ #include "xf86Modes.h"
++
++#ifdef HAVE_XEXTPROTO_71
+ #include "X11/extensions/dpmsconst.h"
++#else
++#define DPMS_SERVER
++#include "X11/extensions/dpms.h"
++#endif
+ 
+ #include "r128.h"
+ #include "r128_probe.h"
+-- 
+2.10.2
+
+
+From a589dd6baf7fa26f8ea7008ba6bd533a5ba3e76e Mon Sep 17 00:00:00 2001
+From: Connor Behan <connor.behan at gmail.com>
+Date: Wed, 13 Apr 2016 12:41:00 -0400
+Subject: [PATCH 2/3] Remove gatos advertisement
+
+There are many current working ways to use a TV tuner with Linux. This
+is not one of them.
+Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=94915
+
+Signed-off-by: Connor Behan <connor.behan at gmail.com>
+---
+ src/r128_driver.c | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/src/r128_driver.c b/src/r128_driver.c
+index 9a676d5..5695614 100644
+--- a/src/r128_driver.c
++++ b/src/r128_driver.c
+@@ -1435,10 +1435,6 @@ Bool R128PreInit(ScrnInfoPtr pScrn, int flags)
+     if (info->MMIO) R128UnmapMMIO(pScrn);
+     info->MMIO = NULL;
+ 
+-    xf86DrvMsg(pScrn->scrnIndex, X_NOTICE,
+-	"For information on using the multimedia capabilities\n\tof this"
+-	" adapter, please see http://gatos.sf.net.\n");
+-
+     return TRUE;
+ 
+   fail:
+-- 
+2.10.2
+
+
+From 5ab23b3a8ef18ab9ff96ac8be174380d36e185e5 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax at redhat.com>
+Date: Tue, 19 Jul 2016 10:03:56 -0400
+Subject: [PATCH 3/3] Adapt Block/WakeupHandler signature for ABI 23
+
+Signed-off-by: Adam Jackson <ajax at redhat.com>
+---
+ src/compat-api.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/compat-api.h b/src/compat-api.h
+index 6bc946f..89976e4 100644
+--- a/src/compat-api.h
++++ b/src/compat-api.h
+@@ -75,8 +75,13 @@
+ 
+ #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
+ 
++#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
++#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
++#define BLOCKHANDLER_ARGS arg, pTimeout
++#else
+ #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
+ #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
++#endif
+ 
+ #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
+ #define CLOSE_SCREEN_ARGS pScreen
+-- 
+2.10.2
+



More information about the arch-commits mailing list