From: Donnie Berkholz Date: Thu, 7 Sep 2006 05:54:56 +0000 (+0000) Subject: Force on DDC for radeon driver, so we get valid modes. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=093f2189abbfb98286ef43d2a79cba3326875fd6;p=gentoo.git Force on DDC for radeon driver, so we get valid modes. Package-Manager: portage-2.1.1_rc1-r4 --- diff --git a/dev-python/rhpxl/ChangeLog b/dev-python/rhpxl/ChangeLog index 2f17238df61c..f748c007c02e 100644 --- a/dev-python/rhpxl/ChangeLog +++ b/dev-python/rhpxl/ChangeLog @@ -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 ; + +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) diff --git a/dev-python/rhpxl/Manifest b/dev-python/rhpxl/Manifest index 77fabb3a054c..84ab6b9d23d7 100644 --- a/dev-python/rhpxl/Manifest +++ b/dev-python/rhpxl/Manifest @@ -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 index 000000000000..60b5e90fd975 --- /dev/null +++ b/dev-python/rhpxl/files/0.32-use-radeon-ddc.patch @@ -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 diff --git a/dev-python/rhpxl/rhpxl-0.32.ebuild b/dev-python/rhpxl/rhpxl-0.32.ebuild index 78acac90f44d..3bae77f94345 100644 --- a/dev-python/rhpxl/rhpxl-0.32.ebuild +++ b/dev-python/rhpxl/rhpxl-0.32.ebuild @@ -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" }