Force on DDC for radeon driver, so we get valid modes.
authorDonnie Berkholz <dberkholz@gentoo.org>
Thu, 7 Sep 2006 05:54:56 +0000 (05:54 +0000)
committerDonnie Berkholz <dberkholz@gentoo.org>
Thu, 7 Sep 2006 05:54:56 +0000 (05:54 +0000)
Package-Manager: portage-2.1.1_rc1-r4

dev-python/rhpxl/ChangeLog
dev-python/rhpxl/Manifest
dev-python/rhpxl/files/0.32-use-radeon-ddc.patch [new file with mode: 0644]
dev-python/rhpxl/rhpxl-0.32.ebuild

index 2f17238df61caed31b258151f896e6b4fd4e9fae..f748c007c02ebb9f408563076f48e96cca81b1d6 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/rhpxl
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpxl/ChangeLog,v 1.1 2006/09/05 21:20:35 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpxl/ChangeLog,v 1.2 2006/09/07 05:54:56 dberkholz Exp $
+
+  07 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/0.32-use-radeon-ddc.patch, rhpxl-0.32.ebuild:
+  Force on DDC for radeon driver, so we get valid modes.
 
 *rhpxl-0.32 (05 Sep 2006)
 
index 77fabb3a054c5decd76b298994e8a4f7e19b048e..84ab6b9d23d7f9d0074cf02f191cf6bc387c702a 100644 (file)
@@ -1,12 +1,16 @@
+AUX 0.32-use-radeon-ddc.patch 724 RMD160 8dd99ef3a7caa28d94b626870b2c02c1878b87ad SHA1 2b300ad51269d77a500c756f6bb9b372605a5dde SHA256 afeceddffcbe38d89a8fe2519d272c9ec44f10f32cd7923876f4cda83bfc50db
+MD5 a00c00de8881e689927a2bb81aa47e4c files/0.32-use-radeon-ddc.patch 724
+RMD160 8dd99ef3a7caa28d94b626870b2c02c1878b87ad files/0.32-use-radeon-ddc.patch 724
+SHA256 afeceddffcbe38d89a8fe2519d272c9ec44f10f32cd7923876f4cda83bfc50db files/0.32-use-radeon-ddc.patch 724
 DIST rhpxl-0.32-1.src.rpm 134312 RMD160 9817fafd165768e1a126f3182e4743bffcd0de4f SHA1 0aac7841a809387b0a9ab06e65a0e59756d599bd SHA256 7905e8088926e6c96e0cac8b9cafb9f70dcc78e3ba6ac478c15050c6864b1a1c
-EBUILD rhpxl-0.32.ebuild 860 RMD160 8b66a0b0203cb39cf8ac7709c26bb7011ef46817 SHA1 15a589af0f160aa95747653969b961e17eb971ff SHA256 dea26f1bcbd41cc43b6d54bfd62963fa0ec3b88cb931dd1d8c992688ac44be3a
-MD5 e64df62474a1ec31098582726f4bcda8 rhpxl-0.32.ebuild 860
-RMD160 8b66a0b0203cb39cf8ac7709c26bb7011ef46817 rhpxl-0.32.ebuild 860
-SHA256 dea26f1bcbd41cc43b6d54bfd62963fa0ec3b88cb931dd1d8c992688ac44be3a rhpxl-0.32.ebuild 860
-MISC ChangeLog 375 RMD160 e379939653d9ad7ab21230f441df9a9b72a422c2 SHA1 af2629a7042d51925632a611288249aa4f879cb8 SHA256 86e10135f6faebeaa65a76a5bf1f150a1add2f8bb32ad00e82e6bea7411d8a42
-MD5 c3a8366267388152d157507c3d16f8b1 ChangeLog 375
-RMD160 e379939653d9ad7ab21230f441df9a9b72a422c2 ChangeLog 375
-SHA256 86e10135f6faebeaa65a76a5bf1f150a1add2f8bb32ad00e82e6bea7411d8a42 ChangeLog 375
+EBUILD rhpxl-0.32.ebuild 961 RMD160 f40a00502bb830d78ceb6acccca50a66e5a2678f SHA1 c651b79f81f6224e365db63d57bdced689dfe53a SHA256 54f9ea31ad35d0f0f7b7f72963db643ada53ae536dd50185f5aa0f766a426162
+MD5 86affcc2e6f6e258c53a63857b731a58 rhpxl-0.32.ebuild 961
+RMD160 f40a00502bb830d78ceb6acccca50a66e5a2678f rhpxl-0.32.ebuild 961
+SHA256 54f9ea31ad35d0f0f7b7f72963db643ada53ae536dd50185f5aa0f766a426162 rhpxl-0.32.ebuild 961
+MISC ChangeLog 543 RMD160 46a501806fa63444e2039985ff60dac56f1b2127 SHA1 b32811c83cfadcf1e0c844a712d4bffbacf73001 SHA256 ad4b6fde86a9309c93c06cc059123e36c1e9bc86ab2c4cca04afb373c63d632b
+MD5 8aec1d0dcd43cb7a9a4da140f00f1241 ChangeLog 543
+RMD160 46a501806fa63444e2039985ff60dac56f1b2127 ChangeLog 543
+SHA256 ad4b6fde86a9309c93c06cc059123e36c1e9bc86ab2c4cca04afb373c63d632b ChangeLog 543
 MISC metadata.xml 252 RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 SHA1 5f9d6137a829b96482aacd60baf98160b49dc514 SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506
 MD5 4f7fe0eacb3ba0ef618e04831e4a7517 metadata.xml 252
 RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 metadata.xml 252
diff --git a/dev-python/rhpxl/files/0.32-use-radeon-ddc.patch b/dev-python/rhpxl/files/0.32-use-radeon-ddc.patch
new file mode 100644 (file)
index 0000000..60b5e90
--- /dev/null
@@ -0,0 +1,17 @@
+Index: rhpxl/xhwstate.py
+===================================================================
+RCS file: /usr/local/CVS/rhpxl/rhpxl/xhwstate.py,v
+retrieving revision 1.32
+diff -u -b -B -r1.32 xhwstate.py
+--- rhpxl/xhwstate.py  25 Aug 2006 17:26:31 -0000      1.32
++++ rhpxl/xhwstate.py  7 Sep 2006 05:50:35 -0000
+@@ -404,6 +404,9 @@
+       # UseFBDev on at cards on ppc
+       if rhpl.getArch() == "ppc" and driver in ("radeon", "r128", "ati"):
+           self.videocard_options.append(("UseFBDev", "true"))
++      # radeon driver needs to use DDC, otherwise it comes up with invalid modes
++      if driver in ("radeon", "ati"):
++          self.videocard_options.append(("DDCMode", "true"))
+       
+     def set_videocard_ram(self, ram):
+         self.video_ram = ram
index 78acac90f44d5e5e846bccd5024e8de85e68414d..3bae77f943458e1ce1a8700bd5419754becba371 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpxl/rhpxl-0.32.ebuild,v 1.1 2006/09/05 21:20:35 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpxl/rhpxl-0.32.ebuild,v 1.2 2006/09/07 05:54:56 dberkholz Exp $
 
-inherit rpm
+inherit eutils rpm
 
 # Revision of the RPM. Shouldn't affect us, as we're just grabbing the source
 # tarball out of it
@@ -25,6 +25,12 @@ RDEPEND="dev-lang/python
 DEPEND="${RDEPEND}
        sys-devel/gettext"
 
+src_unpack() {
+       rpm_src_unpack
+       cd "${S}"
+       epatch "${FILESDIR}"/${PV}-use-radeon-ddc.patch
+}
+
 src_install() {
        emake DESTDIR="${D}" install || die "emake install failed"
 }