diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-18 12:15:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-18 12:15:25 +0000 |
commit | ded6255e8c4f190fb9c099b56a481e2caaf05cf9 (patch) | |
tree | f871f2cdbdfba42f48476eda8323776ce36f92e0 /main/xf86-video-siliconmotion | |
parent | 43dc544ce469a87345d50cccf34a1eea9284d561 (diff) | |
download | aports-ded6255e8c4f190fb9c099b56a481e2caaf05cf9.tar.bz2 aports-ded6255e8c4f190fb9c099b56a481e2caaf05cf9.tar.xz |
main/xf86-video-siliconmotion: upgrade to 1.7.8
Diffstat (limited to 'main/xf86-video-siliconmotion')
-rw-r--r-- | main/xf86-video-siliconmotion/APKBUILD | 15 | ||||
-rw-r--r-- | main/xf86-video-siliconmotion/git-fixes.patch | 153 |
2 files changed, 5 insertions, 163 deletions
diff --git a/main/xf86-video-siliconmotion/APKBUILD b/main/xf86-video-siliconmotion/APKBUILD index b9320a5cd7..4b056910ab 100644 --- a/main/xf86-video-siliconmotion/APKBUILD +++ b/main/xf86-video-siliconmotion/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86-video-siliconmotion -pkgver=1.7.7 -pkgrel=6 +pkgver=1.7.8 +pkgrel=0 pkgdesc="Silicon Motion video driver" url="http://xorg.freedesktop.org/" arch="all" @@ -12,13 +12,11 @@ makedepends="xorg-server-dev libxi-dev fontsproto randrproto videoproto renderproto" source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 - git-fixes.patch " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - update_config_sub || return 1 for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -43,9 +41,6 @@ package() { rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="dc139f8ea17c40fb7bcc89181e9dbfb3 xf86-video-siliconmotion-1.7.7.tar.bz2 -bc6b728144ff8f57d953e1ac997d0420 git-fixes.patch" -sha256sums="87b8b59d43945d4fc8012860c0bd9aed42c4684a943355c607b8eb8d6710c3aa xf86-video-siliconmotion-1.7.7.tar.bz2 -da4c149720e628eb808b2de86ff1ce7010622455d92dcd31026a9653a2213f08 git-fixes.patch" -sha512sums="368ffa09e59368c18d8eda3ed44cff6de9b44df61624dd7449b3a9d55cca4f7271f0e3ff0ad45d2f312aadc084dae1d2cdecfe0ea42346ca9be2e0d0cf966e33 xf86-video-siliconmotion-1.7.7.tar.bz2 -2a8a9113cbedbd7e8523a380286355102aa162ee73e107865fe75db2ce3922d5aa72cde480441f2cf02c1ba23a8f1c71c69c8da6075bf108526b1edc736de18b git-fixes.patch" +md5sums="46846be22f9e68db941abca7cd9334d9 xf86-video-siliconmotion-1.7.8.tar.bz2" +sha256sums="e9d449a9fd9e58b4e018447b6c64005f7874cffb1777e513ac9fc41a86071beb xf86-video-siliconmotion-1.7.8.tar.bz2" +sha512sums="8343982399737bbc09802ba17805b4111468d0241d4b2326ec32b237ca84e31dd02e4788c4e7fe508b032af9533765fb60ac8093877dc83f97709dc094bfa48e xf86-video-siliconmotion-1.7.8.tar.bz2" diff --git a/main/xf86-video-siliconmotion/git-fixes.patch b/main/xf86-video-siliconmotion/git-fixes.patch deleted file mode 100644 index bf64936abe..0000000000 --- a/main/xf86-video-siliconmotion/git-fixes.patch +++ /dev/null @@ -1,153 +0,0 @@ -From f19d7e463c30f1364e82e8c9f87b8a8407d53680 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <ajax@redhat.com> -Date: Wed, 9 Jan 2013 22:59:39 -0500 -Subject: Remove miInitializeBackingStore() - -Signed-off-by: Adam Jackson <ajax@redhat.com> - -diff --git a/src/smi_driver.c b/src/smi_driver.c -index 4794571..134db79 100644 ---- a/src/smi_driver.c -+++ b/src/smi_driver.c -@@ -1750,8 +1750,6 @@ SMI_ScreenInit(SCREEN_INIT_ARGS_DECL) - "Done writing mode. Register dump:\n"); - SMI_PrintRegs(pScrn); - -- miInitializeBackingStore(pScreen); -- - #ifdef HAVE_XMODES - xf86DiDGAInit(pScreen, (unsigned long)(pSmi->FBBase + pScrn->fbOffset)); - #endif --- -cgit v0.10.2 -From 9b563415326e02f0b89f716c29b2fc22f393fb96 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <ajax@redhat.com> -Date: Wed, 21 May 2014 14:01:02 -0400 -Subject: Use own thunk function instead of vgaHW*Weak - -I plan to remove the Weak functions from a future server. - -Signed-off-by: Adam Jackson <ajax@redhat.com> - -diff --git a/src/smilynx_hw.c b/src/smilynx_hw.c -index 9a10a31..7f6a8f2 100644 ---- a/src/smilynx_hw.c -+++ b/src/smilynx_hw.c -@@ -572,6 +572,12 @@ SMILynx_ddc1Read(ScrnInfoPtr pScrn) - LEAVE(ret); - } - -+static void -+SMILynx_ddc1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeec speed) -+{ -+ vgaHWddc1SetSpeed(pScrn, speed); -+} -+ - xf86MonPtr - SMILynx_ddc1(ScrnInfoPtr pScrn) - { -@@ -585,7 +591,7 @@ SMILynx_ddc1(ScrnInfoPtr pScrn) - VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x72, tmp | 0x20); - - pMon = xf86PrintEDID(xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn), -- vgaHWddc1SetSpeedWeak(), -+ SMILynx_ddc1SetSpeed, - SMILynx_ddc1Read)); - VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x72, tmp); - --- -cgit v0.10.2 -From b0b287209cfba5c64c7584b1a82ed2a2f1eab7e6 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <ajax@redhat.com> -Date: Tue, 30 Sep 2014 10:28:48 -0400 -Subject: Fix build against xserver 1.17 - -Signed-off-by: Adam Jackson <ajax@redhat.com> - -diff --git a/src/smi.h b/src/smi.h -index 956c14f..8ca760e 100644 ---- a/src/smi.h -+++ b/src/smi.h -@@ -221,7 +221,7 @@ typedef struct - CARD8 * DataPortBase; /* Base of data port */ - int DataPortSize; /* Size of data port */ - CARD8 * IOBase; /* Base of MMIO VGA ports */ -- IOADDRESS PIOBase; /* Base of I/O ports */ -+ unsigned int PIOBase; /* Base of I/O ports */ - unsigned char * FBBase; /* Base of FB */ - CARD32 fbMapOffset; /* offset for fb mapping */ - CARD32 FBOffset; /* Current visual FB starting --- -cgit v0.10.2 -From 08d459d2b548ce89264f45c7018f1cda9f08d795 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <ajax@redhat.com> -Date: Tue, 30 Sep 2014 10:31:52 -0400 -Subject: Fix a typo - -Signed-off-by: Adam Jackson <ajax@redhat.com> - -diff --git a/src/smilynx_hw.c b/src/smilynx_hw.c -index 7f6a8f2..b2ee8a5 100644 ---- a/src/smilynx_hw.c -+++ b/src/smilynx_hw.c -@@ -573,7 +573,7 @@ SMILynx_ddc1Read(ScrnInfoPtr pScrn) - } - - static void --SMILynx_ddc1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeec speed) -+SMILynx_ddc1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeed speed) - { - vgaHWddc1SetSpeed(pScrn, speed); - } --- -cgit v0.10.2 -From c31d7f853d7469085f96f1e37923c260884c611c Mon Sep 17 00:00:00 2001 -From: Adam Jackson <ajax@redhat.com> -Date: Tue, 30 Sep 2014 10:34:07 -0400 -Subject: Remove dependency on xf86PciInfo.h - -Signed-off-by: Adam Jackson <ajax@redhat.com> - -diff --git a/src/smi.h b/src/smi.h -index 8ca760e..dce82e6 100644 ---- a/src/smi.h -+++ b/src/smi.h -@@ -37,7 +37,6 @@ authorization from the XFree86 Project and Silicon Motion. - - #include "xf86.h" - #include "xf86_OSproc.h" --#include "xf86PciInfo.h" - #include "xf86Pci.h" - #include "xf86Cursor.h" - #include "vgaHW.h" -@@ -68,6 +67,15 @@ authorization from the XFree86 Project and Silicon Motion. - /* D E F I N I T I O N S */ - /******************************************************************************/ - -+#define PCI_VENDOR_SMI 0x126F -+#define PCI_CHIP_SMI910 0x0910 -+#define PCI_CHIP_SMI810 0x0810 -+#define PCI_CHIP_SMI820 0x0820 -+#define PCI_CHIP_SMI710 0x0710 -+#define PCI_CHIP_SMI712 0x0712 -+#define PCI_CHIP_SMI720 0x0720 -+#define PCI_CHIP_SMI731 0x0730 -+ - #ifndef SMI_DEBUG - #define SMI_DEBUG 0 - #endif -diff --git a/src/smi_i2c.c b/src/smi_i2c.c -index f38b514..ecf350e 100644 ---- a/src/smi_i2c.c -+++ b/src/smi_i2c.c -@@ -35,7 +35,6 @@ authorization from the XFree86 Project and Silicon Motion. - #include "xf86_OSproc.h" - #include "compiler.h" - #include "xf86Pci.h" --#include "xf86PciInfo.h" - #include "vgaHW.h" - - #include "smi.h" --- -cgit v0.10.2 - |