Date: Thursday, November 12, 2015 @ 12:51:09 Author: andyrtr Revision: 250812
archrelease: copy trunk to staging-i686, staging-x86_64 Added: xf86-video-rendition/repos/staging-i686/PKGBUILD (from rev 250811, xf86-video-rendition/trunk/PKGBUILD) xf86-video-rendition/repos/staging-x86_64/PKGBUILD (from rev 250811, xf86-video-rendition/trunk/PKGBUILD) Deleted: xf86-video-rendition/repos/staging-i686/PKGBUILD xf86-video-rendition/repos/staging-i686/git-fixes.patch xf86-video-rendition/repos/staging-x86_64/PKGBUILD xf86-video-rendition/repos/staging-x86_64/git-fixes.patch --------------------------------+ /PKGBUILD | 60 ++++++++++++++++++ staging-i686/PKGBUILD | 37 ----------- staging-i686/git-fixes.patch | 125 --------------------------------------- staging-x86_64/PKGBUILD | 37 ----------- staging-x86_64/git-fixes.patch | 125 --------------------------------------- 5 files changed, 60 insertions(+), 324 deletions(-) Deleted: staging-i686/PKGBUILD =================================================================== --- staging-i686/PKGBUILD 2015-11-12 11:50:53 UTC (rev 250811) +++ staging-i686/PKGBUILD 2015-11-12 11:51:09 UTC (rev 250812) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot <j...@archlinux.org> - -pkgname=xf86-video-rendition -pkgver=4.2.5 -pkgrel=7 -pkgdesc="X.org Rendition video driver" -arch=(i686 x86_64) -url="http://xorg.freedesktop.org/" -license=('custom') -depends=('glibc') -makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20') -conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21') -options=('!strip') -source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 git-fixes.patch) -sha256sums=('39b5569338237de6e17b2a2c6be73ac6c405ee596079c41a7028cfd6e54134cb' - '43301ab296b6a928ed880ea56fc476c7c2d80803c9a63b71e0391fca10457f55') - -prepare() { - cd ${pkgname}-${pkgver} - patch -Np1 -i ${srcdir}/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}/" - - strip --strip-unneeded "${pkgdir}/usr/lib/xorg/modules/drivers/rendition_drv.so" -} Copied: xf86-video-rendition/repos/staging-i686/PKGBUILD (from rev 250811, xf86-video-rendition/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-11-12 11:51:09 UTC (rev 250812) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=xf86-video-rendition +pkgver=4.2.6 +pkgrel=1 +pkgdesc="X.org Rendition video driver" +arch=(i686 x86_64) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('glibc') +makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20') +conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21') +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}) +sha256sums=('660ecf21f65a4d6002c1b603d62c314f8e9624d208db5b346850b0df9dc2f9a8' + 'SKIP') +validpgpkeys=('DD38563A8A8224537D1F90E45B8A2D50A0ECD0D3') # Adam Jackson <a...@nwnk.net> + +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}/" +} Deleted: staging-i686/git-fixes.patch =================================================================== --- staging-i686/git-fixes.patch 2015-11-12 11:50:53 UTC (rev 250811) +++ staging-i686/git-fixes.patch 2015-11-12 11:51:09 UTC (rev 250812) @@ -1,125 +0,0 @@ -From 3a3ee1c45e54a808947cc26ca11f0a5299571053 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <a...@redhat.com> -Date: Tue, 25 Sep 2012 12:54:50 +0000 -Subject: Remove mibstore.h - -Signed-off-by: Adam Jackson <a...@redhat.com> ---- -diff --git a/src/rendition.c b/src/rendition.c -index 7c74f76..888bb4a 100644 ---- a/src/rendition.c -+++ b/src/rendition.c -@@ -1173,7 +1173,6 @@ renditionScreenInit(SCREEN_INIT_ARGS_DECL) - fbPictureInit (pScreen, 0, 0); - - xf86SetBlackWhitePixels(pScreen); -- miInitializeBackingStore(pScreen); - - /*********************************************************/ - /* The actual setup of the driver-specific code */ -diff --git a/src/rendition.h b/src/rendition.h -index f7f13d4..297117e 100644 ---- a/src/rendition.h -+++ b/src/rendition.h -@@ -28,9 +28,6 @@ - /* All drivers initialising the SW cursor need this */ - #include "mipointer.h" - --/* All drivers implementing backing store need this */ --#include "mibstore.h" -- - /* All drivers using the mi colormap manipulation need this */ - #include "micmap.h" - --- -cgit v0.9.0.2-2-gbebe -From 30a4b73644ee22904824d4847e44ca69369fad02 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <a...@redhat.com> -Date: Tue, 30 Sep 2014 10:21:58 -0400 -Subject: Fix build against xserver 1.17 - -Also port from pci_device_map_region to pci_device_map_range. Somewhat -alarming that the previous code was using map_region but unmap_range... - -Signed-off-by: Adam Jackson <a...@redhat.com> - -diff --git a/src/rendition.c b/src/rendition.c -index 888bb4a..9677850 100644 ---- a/src/rendition.c -+++ b/src/rendition.c -@@ -1371,6 +1371,18 @@ renditionMapMem(ScrnInfoPtr pScreenInfo) - /* Override on users request */ - WriteCombine - = xf86ReturnOptValBool(pRendition->Options, OPTION_FBWC, WriteCombine); -+#ifdef XSERVER_LIBPCIACCESS -+ mapOption = PCI_DEV_MAP_FLAG_WRITABLE; -+ if (WriteCombine) -+ mapOption |= PCI_DEV_MAP_FLAG_WRITE_COMBINE; -+ -+ err = pci_device_map_range(pRendition->PciInfo, -+ pRendition->PciInfo->regions[0].base_addr, -+ pRendition->PciInfo->regions[0].size, -+ mapOption, (void *)&pRendition->board.vmem_base); -+ -+ return (err == 0); -+#else - if (WriteCombine) { - xf86DrvMsg(pScreenInfo->scrnIndex, X_CONFIG, - ("Requesting Write-Combined memory access\n")); -@@ -1381,12 +1393,6 @@ renditionMapMem(ScrnInfoPtr pScreenInfo) - mapOption = VIDMEM_MMIO; - } - --#ifdef XSERVER_LIBPCIACCESS -- err = pci_device_map_region(pRendition->PciInfo, 0, TRUE); -- pRendition->board.vmem_base = pRendition->PciInfo->regions[0].memory; -- -- return (err == 0); --#else - pRendition->board.vmem_base= - xf86MapPciMem(pScreenInfo->scrnIndex, mapOption, - pRendition->pcitag, -@@ -1415,7 +1421,7 @@ renditionUnmapMem(ScrnInfoPtr pScreenInfo) - #else - pci_device_unmap_range(pRendition->PciInfo, - pRendition->board.vmem_base, -- pScreenInfo->videoRam * 1024); -+ pRendition->PciInfo->regions[0].size); - #endif - return TRUE; - #ifdef DEBUG0 --- -cgit v0.10.2 -From df5646745bf563bb36a0db1796c318fe64bf8efe Mon Sep 17 00:00:00 2001 -From: Adam Jackson <a...@redhat.com> -Date: Tue, 30 Sep 2014 10:24:18 -0400 -Subject: Remove dependency on xf86PciInfo.h - -Signed-off-by: Adam Jackson <a...@redhat.com> - -diff --git a/src/rendition.h b/src/rendition.h -index 297117e..4ef03a7 100644 ---- a/src/rendition.h -+++ b/src/rendition.h -@@ -14,9 +14,6 @@ - /* Everything using inb/outb, etc needs "compiler.h" */ - #include "compiler.h" - --/* Drivers for PCI hardware need this */ --#include "xf86PciInfo.h" -- - /* Drivers that need to access the PCI config space directly need this */ - #include "xf86Pci.h" - -@@ -66,4 +63,8 @@ - - #include "compat-api.h" - /* end of __RENDITION_H__ */ -+ -+#define PCI_CHIP_V1000 0x0001 -+#define PCI_CHIP_V2x00 0x2000 -+ - #endif --- -cgit v0.10.2 - Deleted: staging-x86_64/PKGBUILD =================================================================== --- staging-x86_64/PKGBUILD 2015-11-12 11:50:53 UTC (rev 250811) +++ staging-x86_64/PKGBUILD 2015-11-12 11:51:09 UTC (rev 250812) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot <j...@archlinux.org> - -pkgname=xf86-video-rendition -pkgver=4.2.5 -pkgrel=7 -pkgdesc="X.org Rendition video driver" -arch=(i686 x86_64) -url="http://xorg.freedesktop.org/" -license=('custom') -depends=('glibc') -makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20') -conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21') -options=('!strip') -source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 git-fixes.patch) -sha256sums=('39b5569338237de6e17b2a2c6be73ac6c405ee596079c41a7028cfd6e54134cb' - '43301ab296b6a928ed880ea56fc476c7c2d80803c9a63b71e0391fca10457f55') - -prepare() { - cd ${pkgname}-${pkgver} - patch -Np1 -i ${srcdir}/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}/" - - strip --strip-unneeded "${pkgdir}/usr/lib/xorg/modules/drivers/rendition_drv.so" -} Copied: xf86-video-rendition/repos/staging-x86_64/PKGBUILD (from rev 250811, xf86-video-rendition/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2015-11-12 11:51:09 UTC (rev 250812) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=xf86-video-rendition +pkgver=4.2.6 +pkgrel=1 +pkgdesc="X.org Rendition video driver" +arch=(i686 x86_64) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('glibc') +makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20') +conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21') +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}) +sha256sums=('660ecf21f65a4d6002c1b603d62c314f8e9624d208db5b346850b0df9dc2f9a8' + 'SKIP') +validpgpkeys=('DD38563A8A8224537D1F90E45B8A2D50A0ECD0D3') # Adam Jackson <a...@nwnk.net> + +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}/" +} Deleted: staging-x86_64/git-fixes.patch =================================================================== --- staging-x86_64/git-fixes.patch 2015-11-12 11:50:53 UTC (rev 250811) +++ staging-x86_64/git-fixes.patch 2015-11-12 11:51:09 UTC (rev 250812) @@ -1,125 +0,0 @@ -From 3a3ee1c45e54a808947cc26ca11f0a5299571053 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <a...@redhat.com> -Date: Tue, 25 Sep 2012 12:54:50 +0000 -Subject: Remove mibstore.h - -Signed-off-by: Adam Jackson <a...@redhat.com> ---- -diff --git a/src/rendition.c b/src/rendition.c -index 7c74f76..888bb4a 100644 ---- a/src/rendition.c -+++ b/src/rendition.c -@@ -1173,7 +1173,6 @@ renditionScreenInit(SCREEN_INIT_ARGS_DECL) - fbPictureInit (pScreen, 0, 0); - - xf86SetBlackWhitePixels(pScreen); -- miInitializeBackingStore(pScreen); - - /*********************************************************/ - /* The actual setup of the driver-specific code */ -diff --git a/src/rendition.h b/src/rendition.h -index f7f13d4..297117e 100644 ---- a/src/rendition.h -+++ b/src/rendition.h -@@ -28,9 +28,6 @@ - /* All drivers initialising the SW cursor need this */ - #include "mipointer.h" - --/* All drivers implementing backing store need this */ --#include "mibstore.h" -- - /* All drivers using the mi colormap manipulation need this */ - #include "micmap.h" - --- -cgit v0.9.0.2-2-gbebe -From 30a4b73644ee22904824d4847e44ca69369fad02 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <a...@redhat.com> -Date: Tue, 30 Sep 2014 10:21:58 -0400 -Subject: Fix build against xserver 1.17 - -Also port from pci_device_map_region to pci_device_map_range. Somewhat -alarming that the previous code was using map_region but unmap_range... - -Signed-off-by: Adam Jackson <a...@redhat.com> - -diff --git a/src/rendition.c b/src/rendition.c -index 888bb4a..9677850 100644 ---- a/src/rendition.c -+++ b/src/rendition.c -@@ -1371,6 +1371,18 @@ renditionMapMem(ScrnInfoPtr pScreenInfo) - /* Override on users request */ - WriteCombine - = xf86ReturnOptValBool(pRendition->Options, OPTION_FBWC, WriteCombine); -+#ifdef XSERVER_LIBPCIACCESS -+ mapOption = PCI_DEV_MAP_FLAG_WRITABLE; -+ if (WriteCombine) -+ mapOption |= PCI_DEV_MAP_FLAG_WRITE_COMBINE; -+ -+ err = pci_device_map_range(pRendition->PciInfo, -+ pRendition->PciInfo->regions[0].base_addr, -+ pRendition->PciInfo->regions[0].size, -+ mapOption, (void *)&pRendition->board.vmem_base); -+ -+ return (err == 0); -+#else - if (WriteCombine) { - xf86DrvMsg(pScreenInfo->scrnIndex, X_CONFIG, - ("Requesting Write-Combined memory access\n")); -@@ -1381,12 +1393,6 @@ renditionMapMem(ScrnInfoPtr pScreenInfo) - mapOption = VIDMEM_MMIO; - } - --#ifdef XSERVER_LIBPCIACCESS -- err = pci_device_map_region(pRendition->PciInfo, 0, TRUE); -- pRendition->board.vmem_base = pRendition->PciInfo->regions[0].memory; -- -- return (err == 0); --#else - pRendition->board.vmem_base= - xf86MapPciMem(pScreenInfo->scrnIndex, mapOption, - pRendition->pcitag, -@@ -1415,7 +1421,7 @@ renditionUnmapMem(ScrnInfoPtr pScreenInfo) - #else - pci_device_unmap_range(pRendition->PciInfo, - pRendition->board.vmem_base, -- pScreenInfo->videoRam * 1024); -+ pRendition->PciInfo->regions[0].size); - #endif - return TRUE; - #ifdef DEBUG0 --- -cgit v0.10.2 -From df5646745bf563bb36a0db1796c318fe64bf8efe Mon Sep 17 00:00:00 2001 -From: Adam Jackson <a...@redhat.com> -Date: Tue, 30 Sep 2014 10:24:18 -0400 -Subject: Remove dependency on xf86PciInfo.h - -Signed-off-by: Adam Jackson <a...@redhat.com> - -diff --git a/src/rendition.h b/src/rendition.h -index 297117e..4ef03a7 100644 ---- a/src/rendition.h -+++ b/src/rendition.h -@@ -14,9 +14,6 @@ - /* Everything using inb/outb, etc needs "compiler.h" */ - #include "compiler.h" - --/* Drivers for PCI hardware need this */ --#include "xf86PciInfo.h" -- - /* Drivers that need to access the PCI config space directly need this */ - #include "xf86Pci.h" - -@@ -66,4 +63,8 @@ - - #include "compat-api.h" - /* end of __RENDITION_H__ */ -+ -+#define PCI_CHIP_V1000 0x0001 -+#define PCI_CHIP_V2x00 0x2000 -+ - #endif --- -cgit v0.10.2 -