From b63e5aa59bf2132dc4f8996e043e9f20b2eb22a4 Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 30 Jul 2009 16:58:35 +0000 Subject: [PATCH] add ati oepn source driver git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1431 6952d904-891a-0410-993b-d76249ca496b --- dev-perl/Pod-DocBook/ChangeLog | 232 +++++++++++++++++ dev-perl/Pod-DocBook/Manifest | 4 + dev-perl/Pod-DocBook/Pod-DocBook-1.2.ebuild | 26 ++ dev-perl/Pod-DocBook/metadata.xml | 10 + sys-kernel/geos_one-sources/Manifest | 3 + x11-base/x11-drm/Manifest | 1 + x11-base/x11-drm/x11-drm-99999999.ebuild | 238 ++++++++++++++++++ x11-drivers/xf86-video-ati/Manifest | 5 + .../xf86-video-ati/files/old_hw_data/ati.xinf | 39 +++ .../files/old_hw_data/r128.xinf | 47 ++++ x11-drivers/xf86-video-ati/files/radeon.xinf | 197 +++++++++++++++ .../files/radeon_dri2_fix.patch | 12 + .../xf86-video-ati-9999-r1.ebuild | 35 +++ .../xf86-video-ati/xf86-video-ati-9999.ebuild | 35 +++ 14 files changed, 884 insertions(+) create mode 100644 dev-perl/Pod-DocBook/ChangeLog create mode 100644 dev-perl/Pod-DocBook/Manifest create mode 100644 dev-perl/Pod-DocBook/Pod-DocBook-1.2.ebuild create mode 100644 dev-perl/Pod-DocBook/metadata.xml create mode 100644 x11-base/x11-drm/Manifest create mode 100644 x11-base/x11-drm/x11-drm-99999999.ebuild create mode 100644 x11-drivers/xf86-video-ati/Manifest create mode 100644 x11-drivers/xf86-video-ati/files/old_hw_data/ati.xinf create mode 100644 x11-drivers/xf86-video-ati/files/old_hw_data/r128.xinf create mode 100644 x11-drivers/xf86-video-ati/files/radeon.xinf create mode 100644 x11-drivers/xf86-video-ati/files/radeon_dri2_fix.patch create mode 100644 x11-drivers/xf86-video-ati/xf86-video-ati-9999-r1.ebuild create mode 100644 x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild diff --git a/dev-perl/Pod-DocBook/ChangeLog b/dev-perl/Pod-DocBook/ChangeLog new file mode 100644 index 00000000..2d253c75 --- /dev/null +++ b/dev-perl/Pod-DocBook/ChangeLog @@ -0,0 +1,232 @@ +# ChangeLog for dev-perl/Pod-Coverage +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Pod-Coverage/ChangeLog,v 1.60 2009/02/20 06:18:55 tove Exp $ + +*Pod-Coverage-0.20 (20 Feb 2009) + + 20 Feb 2009; Torsten Veller +Pod-Coverage-0.20.ebuild: + Version bump + + 22 Nov 2008; Torsten Veller Pod-Coverage-0.19.ebuild: + Remove Module-Build from RDEPEND + + 18 Nov 2008; Torsten Veller Pod-Coverage-0.19.ebuild: + New virtuals: ExtUtils-CBuilder module-build + + 15 Sep 2008; Torsten Veller -Pod-Coverage-0.16.ebuild, + -Pod-Coverage-0.17.ebuild, -Pod-Coverage-0.18.ebuild: + Cleanup + + 06 Jun 2008; Alexis Ballier + Pod-Coverage-0.19.ebuild: + keyword ~sparc-fbsd + + 27 Apr 2008; Alexis Ballier + Pod-Coverage-0.19.ebuild: + keyword ~x86-fbsd + + 19 Mar 2008; Jeroen Roovers Pod-Coverage-0.19.ebuild: + Stable for HPPA too. + + 05 Feb 2008; Markus Rothe Pod-Coverage-0.19.ebuild: + Stable on ppc64 + + 13 Jan 2008; Tobias Scherbaum + Pod-Coverage-0.19.ebuild: + ppc. stable + + 17 Dec 2007; Samuli Suominen Pod-Coverage-0.19.ebuild: + amd64 stable + + 06 Dec 2007; Raúl Porcel Pod-Coverage-0.19.ebuild: + alpha/ia64/sparc/x86 stable + +*Pod-Coverage-0.19 (19 Oct 2007) + + 19 Oct 2007; Christian Hartmann + +Pod-Coverage-0.19.ebuild: + Version bump + + 24 Apr 2007; Bryan Østergaard + Pod-Coverage-0.18.ebuild: + Add ~mips keyword, bug 173295. + + 16 Apr 2007; Markus Rothe Pod-Coverage-0.18.ebuild: + Stable on ppc64 + + 05 Mar 2007; Andrej Kacian Pod-Coverage-0.18.ebuild: + Stable on x86, bug #169152. + + 22 Jan 2007; Bryan Østergaard + Pod-Coverage-0.18.ebuild: + Stable on Alpha + IA64. + + 19 Jan 2007; Michael Cummings + Pod-Coverage-0.16.ebuild, Pod-Coverage-0.17.ebuild, + Pod-Coverage-0.18.ebuild: + Version bump, thanks seemant + + 10 Dec 2006; Michael Cummings + Pod-Coverage-0.16.ebuild: + Changed perl-core to virtual + + 23 Oct 2006; Gustavo Zacarias + Pod-Coverage-0.18.ebuild: + Stable on hppa + + 21 Oct 2006; Tobias Scherbaum + Pod-Coverage-0.18.ebuild: + ppc stable + + 21 Oct 2006; Michael Cummings + Pod-Coverage-0.18.ebuild: + sparc stable + + 21 Oct 2006; Michael Cummings + Pod-Coverage-0.18.ebuild: + Marking amd64 stable + + 03 Oct 2006; Christian Hartmann Pod-Coverage-0.18.ebuild: + Fixed RDEPEND; added test deps + + 16 Sep 2006; Tobias Scherbaum + Pod-Coverage-0.17.ebuild: + ppc stable + +*Pod-Coverage-0.18 (20 Aug 2006) + + 20 Aug 2006; Michael Cummings + +Pod-Coverage-0.18.ebuild: + Version bump + + 18 Aug 2006; Michael Cummings + Pod-Coverage-0.17.ebuild: + Marking amd64 stable + + 05 Aug 2006; Michael Cummings + Pod-Coverage-0.16.ebuild, Pod-Coverage-0.17.ebuild: + Adding perl dep; fixed DEPEND + + 02 Aug 2006; Gustavo Zacarias + Pod-Coverage-0.17.ebuild: + Stable on hppa + + 19 Jul 2006; Bryan Østergaard + Pod-Coverage-0.17.ebuild: + Stable on alpha. + + 18 Jul 2006; Michael Cummings + Pod-Coverage-0.16.ebuild, Pod-Coverage-0.17.ebuild: + Forcing mb version + + 10 Jul 2006; Aron Griffis Pod-Coverage-0.17.ebuild: + Mark 0.17 stable on ia64 + + 04 Jul 2006; Christian Hartmann Pod-Coverage-0.16.ebuild, + Pod-Coverage-0.17.ebuild: + Fixed RDEPEND wrt bug #134781 + + 02 Jul 2006; Michael Cummings + Pod-Coverage-0.16.ebuild, Pod-Coverage-0.17.ebuild: + Bug 137098 - deping ExtUtils-CBuilder + + 29 Jun 2006; Gustavo Zacarias + Pod-Coverage-0.17.ebuild: + Keyworded ~hppa + + 12 Jun 2006; Michael Cummings + Pod-Coverage-0.17.ebuild: + Marking sparc stable + + 16 Mar 2006; Chris White + -Pod-Coverage-0.13.ebuild, -Pod-Coverage-0.14.ebuild, + Pod-Coverage-0.16.ebuild: + 0.16 to amd64 stable and killed older 0.13/14. + + 13 Feb 2006; Michael Cummings + Pod-Coverage-0.13.ebuild, Pod-Coverage-0.14.ebuild, + Pod-Coverage-0.17.ebuild: + Virtuals for some perl-core deps + +*Pod-Coverage-0.17 (13 Jan 2006) + + 13 Jan 2006; Michael Cummings + +Pod-Coverage-0.17.ebuild: + Version bump upstream + + 02 Jan 2006; Michael Hanselmann + Pod-Coverage-0.16.ebuild: + Stable on ppc. + + 30 Dec 2005; Pod-Coverage-0.13.ebuild, + Pod-Coverage-0.14.ebuild, Pod-Coverage-0.16.ebuild: + PodParser moved to perl-core; marked 0.16 stable for x86 and sparc. + + 27 Nov 2005; Tom Gall Pod-Coverage-0.16.ebuild: + stable on ppc64 + + 14 Oct 2005; Aron Griffis Pod-Coverage-0.16.ebuild: + Mark 0.16 stable on alpha + + 03 Oct 2005; Aron Griffis Pod-Coverage-0.16.ebuild: + Mark 0.16 stable on ia64 + + 26 Aug 2005; Aron Griffis Pod-Coverage-0.16.ebuild: + add ~ia64 + + 07 Apr 2005; Michael Hanselmann + Pod-Coverage-0.14.ebuild: + Stable on ppc. + + 01 Apr 2005; Simon Stelling Pod-Coverage-0.14.ebuild: + stable on amd64 + + 16 Mar 2005; Michael Cummings + Pod-Coverage-0.13.ebuild, Pod-Coverage-0.14.ebuild, + Pod-Coverage-0.16.ebuild: + style cleanup + + 30 Dec 2004; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + + 23 Dec 2004; Yuta SATOH Pod-Coverage-0.16.ebuild: + added ~ppc64 + +*Pod-Coverage-0.16 (28 Oct 2004) + + 28 Oct 2004; Michael Cummings + +Pod-Coverage-0.16.ebuild: + New version on cpan + + 19 Oct 2004; Bryan Østergaard + Pod-Coverage-0.14.ebuild: + Stable on alpha. + + 19 Oct 2004; Dylan Carlson Pod-Coverage-0.14.ebuild: + KEYWORDS ~amd64. + + 10 Oct 2004; Bryan Østergaard Pod-Coverage-0.14.ebuild: + Add ~alpha keyword. + + 03 Oct 2004; Michael Cummings + Pod-Coverage-0.14.ebuild: + Marking stable on x86 and sparc + + 01 Oct 2004; Pod-Coverage-0.14.ebuild: + tested successful on ~sparc, adding keyword - dep for xml-dt + + 08 Jun 2004; David Holm Pod-Coverage-0.14.ebuild: + Added to ~ppc. + +*Pod-Coverage-0.14 (06 Jun 2004) + + 06 Jun 2004; Michael Cummings + Pod-Coverage-0.14.ebuild: + new version on cpan + +*Pod-Coverage-0.13 (29 Mar 2004) + + 29 Mar 2004; Michael Cummings + Pod-Coverage-0.13.ebuild, metadata.xml: + dep for a dep of bricolage, bug 21549 + diff --git a/dev-perl/Pod-DocBook/Manifest b/dev-perl/Pod-DocBook/Manifest new file mode 100644 index 00000000..726b0bfc --- /dev/null +++ b/dev-perl/Pod-DocBook/Manifest @@ -0,0 +1,4 @@ +DIST Pod-DocBook-1.2.tar.gz 19583 RMD160 4b5b3ccf6af5026a6b15517c3360b824c3091834 SHA1 59e8c10789b1ede5aa17886be8e3e9b29b162bdc SHA256 eeec8e5953b16b784fb5b810e908b8dd5b0429504860f39fd4693a99b954887a +EBUILD Pod-DocBook-1.2.ebuild 740 RMD160 e95b5da1fd05fc5d5ff8b542da7f553b3b55d327 SHA1 1f80a1a2c676ddf6cf1e228032937e78699bf2d7 SHA256 e5ad1c93f1006a13d8254bf01a08495493c0aa4ff88e73b96d35ebaebd54399e +MISC ChangeLog 6972 RMD160 aff8641fd90dc54c36f4742cd7c96ea24cd045fd SHA1 0b0c5d3b7e000d0d56f6bee1daaa7bd9cafbd5a5 SHA256 19f20185e8fd6b626ceb413df4e4d710e7d2d378f735abae01a6255f1d48edb0 +MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca diff --git a/dev-perl/Pod-DocBook/Pod-DocBook-1.2.ebuild b/dev-perl/Pod-DocBook/Pod-DocBook-1.2.ebuild new file mode 100644 index 00000000..3227cc32 --- /dev/null +++ b/dev-perl/Pod-DocBook/Pod-DocBook-1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Pod-Coverage/Pod-Coverage-0.20.ebuild,v 1.1 2009/02/20 06:18:55 tove Exp $ + +MODULE_AUTHOR=NANDU +inherit perl-module + +DESCRIPTION="Checks if the documentation of a module is comprehensive" + +LICENSE="|| ( Artistic GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="test" + +RDEPEND=">=virtual/perl-PodParser-1.13 + >=dev-perl/Devel-Symdump-2.01 + dev-lang/perl" +DEPEND="${RDEPEND} + virtual/perl-Module-Build + test? ( dev-perl/Test-Pod )" + +SRC_TEST="do" + +# * Pod::ParseLink +# * Text::ParseWords +# * Text::Wrap diff --git a/dev-perl/Pod-DocBook/metadata.xml b/dev-perl/Pod-DocBook/metadata.xml new file mode 100644 index 00000000..86672fe6 --- /dev/null +++ b/dev-perl/Pod-DocBook/metadata.xml @@ -0,0 +1,10 @@ + + + + perl + + perl@gentoo.org + Primary Maintainer + + + diff --git a/sys-kernel/geos_one-sources/Manifest b/sys-kernel/geos_one-sources/Manifest index 579ace59..e9b88d60 100644 --- a/sys-kernel/geos_one-sources/Manifest +++ b/sys-kernel/geos_one-sources/Manifest @@ -13,6 +13,8 @@ DIST genpatches-2.6.30-2.base.tar.bz2 945 RMD160 53c99ef4b6f514a20f6ef29f914d046 DIST genpatches-2.6.30-2.extras.tar.bz2 24671 RMD160 e8cadff5be621233e664a3e35b5210818cc4d083 SHA1 886172bdaa420b1ecf54d8e57f3c36bb2e07eb2a SHA256 7b71b08797f6e3e05b662b98f8f7a80da7cb708070ff50eed9d01fe7c2e42a3f DIST genpatches-2.6.30-3.base.tar.bz2 45274 RMD160 d8ca4c92eaf7eb6b4136e36a6b503fbcce3c5e25 SHA1 4f3aadf798692293b0dfd5c8db2db6837ff9eab3 SHA256 6feaf58199945c17d4ccab56fdd7c99cb6eab17f3a2f655621f8b81b49d1fe60 DIST genpatches-2.6.30-3.extras.tar.bz2 24637 RMD160 e5a5bd5c3d90e7aab5a75cefc868eb67ddca1d7c SHA1 f205638de2eb92784f644afbe390be0778dd00fe SHA256 36f43b30aee2a068ee66f138f24ef711766907fd607b8cdac6d8c9f39c80bff4 +DIST genpatches-2.6.30-4.base.tar.bz2 46851 RMD160 d4be0299365981ddd66ba0801f607e7d6cc37db6 SHA1 0b0e08f75228b2d41d3282bc29df714f1818feb5 SHA256 6f0e9587700c5c2970fe032ad06077840dda547cb6fd235026049453ef7ef910 +DIST genpatches-2.6.30-4.extras.tar.bz2 24671 RMD160 e8cadff5be621233e664a3e35b5210818cc4d083 SHA1 886172bdaa420b1ecf54d8e57f3c36bb2e07eb2a SHA256 7b71b08797f6e3e05b662b98f8f7a80da7cb708070ff50eed9d01fe7c2e42a3f DIST geos_one-patches-2.6.29-1-p1.tar.bz2 637622 RMD160 b5247372c35226f0c2c83f53db0aafea7947fb24 SHA1 d7a72224da930e5073e1a2381fe4e1c8a1f7a0ba SHA256 e9e79cf1d49f87cee56f627d8570f2fd025b07a98139dae25470197ad2927b6b DIST geos_one-patches-2.6.29-4-p1.tar.bz2 1064932 RMD160 220e3b83b0b6d0b7397b1323415bf29badd453b6 SHA1 83d5eb4285980c90305fa386c7f7393c29718958 SHA256 e44690a745c6e4b24a1cde7832b45e9cc805ff06d9f546fcd99ec1d362626a28 DIST geos_one-patches-2.6.29-6-p4.tar.bz2 1087539 RMD160 1e141e1d06741f8028dd1f11762203b67309fc75 SHA1 9f5b8bd55d0688e53bdcacfefdc0bc6575a60980 SHA256 fa2e72a48d8656dc11911f640b7fb60c1d3d6f207d0e42c632a5e2679632b0ab @@ -29,5 +31,6 @@ EBUILD geos_one-sources-2.6.29-r5.ebuild 1451 RMD160 d9a4e80bd1d5f1452366333138f EBUILD geos_one-sources-2.6.29.ebuild 1354 RMD160 368e1724b54059367036b1754e116c52f02cf176 SHA1 0cf8d0a347e65db24de14991894ce7c04e6e2a14 SHA256 097dc9f80d436ead181cd8453899de004ad5f3c3de447c53bfd04a134f2e02e6 EBUILD geos_one-sources-2.6.30-r1.ebuild 1452 RMD160 901f47a879d33b862971a456f58f4ae7349121e5 SHA1 ab446439548ebb5af2c227c58a317cc0635081d1 SHA256 4b55c5862aa5c3ce1bd936695e5e0a24c25f2b2737cb3339b85686b916cc9d34 EBUILD geos_one-sources-2.6.30-r2.ebuild 1494 RMD160 20776d249a785aa2a3b97060cd4e8fd70f2eac9d SHA1 21557c537f164741051d10f113f6dc886f2a5ffb SHA256 d042982e0dcea1a5d046a25a039b1de2b48d334633ecd53000847ead78ba0e73 +EBUILD geos_one-sources-2.6.30-r3.ebuild 1494 RMD160 ac49263a29544d7a0a968a12ee3fca65d8b4cd4b SHA1 c46a230e9a9edae329d21ab6fcbe4ab419ac4d91 SHA256 397085191cceba3a5a57e565a7294dc77a2aa9d18dbe6c1633dfdfc06ea24f08 MISC ChangeLog 8683 RMD160 5c2d577da6204c258c9a82565202071afdb4773c SHA1 6b1a388ea124a0e6cfb8de700d162f4f7e1056ba SHA256 7bd9a6d579d5f8a04b5c6d77fea2c29161dd020714e5a382b06c9f6bb04b019b MISC metadata.xml 413 RMD160 7e4e48d47e48804072f4ce93e1948fda82433a90 SHA1 cd61cf36ba79f6635ab7b7957f31609ecf52cc90 SHA256 74fe6520890eaf800a1759f3e4f772fd0e433e5de9cf775a50c7af95b199518b diff --git a/x11-base/x11-drm/Manifest b/x11-base/x11-drm/Manifest new file mode 100644 index 00000000..f44cf96b --- /dev/null +++ b/x11-base/x11-drm/Manifest @@ -0,0 +1 @@ +EBUILD x11-drm-99999999.ebuild 5901 RMD160 035992f1954a0a1b4601c5e866b937f72efda57f SHA1 a589502a490a70a15b8fcbbede769b1cffaf1904 SHA256 5e09d9ff4855a4eac971a46fa02b282e532b0d1fa43d3011f26f0d5a3ce14822 diff --git a/x11-base/x11-drm/x11-drm-99999999.ebuild b/x11-base/x11-drm/x11-drm-99999999.ebuild new file mode 100644 index 00000000..9a42c017 --- /dev/null +++ b/x11-base/x11-drm/x11-drm-99999999.ebuild @@ -0,0 +1,238 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v 1.2 2007/03/14 18:18:53 battousai Exp $ + +EAPI="2" + +EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm" +EGIT_PROJECT="libdrm" +EGIT_BRANCHE="r6xx-r7xx-support" + +[[ ${PV} = 9999* ]] && GIT_ECLASS="git" + +inherit eutils x11 linux-mod ${GIT_ECLASS} + +DESCRIPTION="DRM Kernel Modules for X11" +HOMEPAGE="http://dri.sf.net" +PATCHVER="0.2" +#SRC_PATCHES="http://dev.gentoo.org/~dberkholz/distfiles/${P}-gentoo-${PATCHVER}.tar.bz2" +if [[ $PV = 9999* ]]; then + SRC_URI="" +else + SRC_URI="${SRC_PATCHES} + mirror://gentoo/linux-drm-${PV}-kernelsource.tar.bz2" +fi + +LICENSE="X11" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd" + +# ! IMPORTANT: +# this is really out of sync with MESA, should we add here or remove from mesa? +IUSE_VIDEO_CARDS=" + video_cards_mach64 + video_cards_mga + video_cards_r128 + video_cards_radeon + video_cards_radeonhd + video_cards_savage + video_cards_sis + video_cards_sunffb + video_cards_tdfx + video_cards_via" +IUSE="${IUSE_VIDEO_CARDS} kernel_FreeBSD kernel_linux" + +# Make sure Portage does _NOT_ strip symbols. We will do it later and make sure +# that only we only strip stuff that are safe to strip ... +# Tests require user intervention (see bug #236845) +RESTRICT="strip test" + +DEPEND=" + kernel_linux? ( virtual/linux-sources ) + kernel_FreeBSD? ( + sys-freebsd/freebsd-sources + sys-freebsd/freebsd-mk-defs + ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/drm" + +pkg_setup() { + _set_build_type + + # Setup the kernel's stuff. + kernel_setup + + # Set video cards to build for. + set_vidcards + + # Determine which -core dir we build in. + if [[ $CORE = fbsd ]]; then + SRC_BUILD="${S}/bsd-core" + else + SRC_BUILD="${S}/linux-core" + fi +} + +src_unpack() { + [[ $PV = 9999* ]] && git_src_unpack || unpack ${A} +} + +src_prepare() { + cd "${WORKDIR}" + + # Apply patches + if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then + EPATCH_FORCE="yes" \ + EPATCH_SOURCE="${WORKDIR}/patches" \ + EPATCH_SUFFIX="patch" \ + epatch + fi + + # fix the makes for bsd/linux + if [[ $CORE = fbsd ]]; then + # Link in freebsd kernel. + ln -s "/usr/src/sys-${K_RV}" "${WORKDIR}/sys" + # SUBDIR variable gets to all Makefiles, we need it only in the main one. + SUBDIRS=${VIDCARDS//.ko} + sed -i \ + -e "s:SUBDIR\ =.*:SUBDIR\ =\ drm ${SUBDIRS}:" \ + "${SRC_BUILD}"/Makefile || die "Fixing SUBDIRS failed." + else + convert_to_m "${SRC_BUILD}"/Makefile + fi +} + +src_compile() { + einfo "Building DRM in ${SRC_BUILD}..." + src_compile_${CORE} +} + +src_install() { + cd "${SRC_BUILD}" + + src_install_${CORE} + + dodoc "${S}/linux-core/README.drm" +} + +pkg_postinst() { + if use video_cards_sis; then + einfo "SiS direct rendering only works on 300 series chipsets." + einfo "SiS framebuffer also needs to be enabled in the kernel." + fi + + if use video_cards_mach64; then + einfo "The Mach64 DRI driver is insecure." + einfo "Malicious clients can write to system memory." + einfo "For more information, see:" + einfo "http://dri.freedesktop.org/wiki/ATIMach64." + fi + + [[ ${CORE} = linux ]] && linux-mod_pkg_postinst +} + +# Functions used above are defined below: + +_set_build_type() { + # here we check if we are using linux kernel or the fbsd one + use kernel_FreeBSD && CORE="fbsd" + use kernel_linux && CORE="linux" + ! use kernel_FreeBSD && ! use kernel_linux && die "Unsupported kernel type" +} + +kernel_setup() { + if [[ ${CORE} = fbsd ]] ; then + K_RV=${CHOST/*-freebsd/} + else + CONFIG_CHECK="!DRM" + ERROR_DRM="Please disable DRM in the kernel config. (CONFIG_DRM = n)" + linux-mod_pkg_setup + + if kernel_is 2 4; then + eerror "Upstream support for 2.4 kernels has been removed, so this package will no" + eerror "longer support them." + die "Please use in-kernel DRM or switch to a 2.6 kernel." + fi + fi +} + +set_vidcards() { + VIDCARDS="" + + if [[ -n "${VIDEO_CARDS}" ]]; then + use video_cards_mach64 && \ + VIDCARDS="${VIDCARDS} mach64.${KV_OBJ}" + use video_cards_mga && \ + VIDCARDS="${VIDCARDS} mga.${KV_OBJ}" + use video_cards_r128 && \ + VIDCARDS="${VIDCARDS} r128.${KV_OBJ}" + use video_cards_radeon || use video_cards_radeonhd && \ + VIDCARDS="${VIDCARDS} radeon.${KV_OBJ}" + use video_cards_savage && \ + VIDCARDS="${VIDCARDS} savage.${KV_OBJ}" + use video_cards_sis && \ + VIDCARDS="${VIDCARDS} sis.${KV_OBJ}" + use video_cards_via && \ + VIDCARDS="${VIDCARDS} via.${KV_OBJ}" + use video_cards_sunffb && \ + VIDCARDS="${VIDCARDS} ffb.${KV_OBJ}" + use video_cards_tdfx && \ + VIDCARDS="${VIDCARDS} tdfx.${KV_OBJ}" + fi +} + +src_compile_linux() { + # remove leading and trailing space + VIDCARDS="${VIDCARDS% }" + VIDCARDS="${VIDCARDS# }" + + check_modules_supported + MODULE_NAMES="" + for i in drm.${KV_OBJ} ${VIDCARDS}; do + MODULE_NAMES="${MODULE_NAMES} ${i/.${KV_OBJ}}(${PN}:${SRC_BUILD})" + i=$(echo ${i/.${KV_OBJ}} | tr '[:lower:]' '[:upper:]') + eval MODULESD_${i}_ENABLED="yes" + done + + # This now uses an M= build system. Makefile does most of the work. + cd "${SRC_BUILD}" + unset ARCH + BUILD_TARGETS="modules" + BUILD_PARAMS="DRM_MODULES='${VIDCARDS}' LINUXDIR='${KERNEL_DIR}' M='${SRC_BUILD}'" + ECONF_PARAMS='' S="${SRC_BUILD}" linux-mod_src_compile +} + +src_compile_fbsd() { + cd "${SRC_BUILD}" + # Environment CFLAGS overwrite kernel CFLAGS which is bad. + local svcflags=${CFLAGS}; local svldflags=${LDFLAGS} + unset CFLAGS; unset LDFLAGS + MAKE=make \ + emake \ + NO_WERROR= \ + SYSDIR="${WORKDIR}/sys" \ + KMODDIR="/boot/modules" \ + || die "pmake failed." + export CFLAGS=${svcflags}; export LDFLAGS=${svldflags} +} + +src_install_linux() { + linux-mod_src_install + + # Strip binaries, leaving /lib/modules untouched (bug #24415) + strip_bins \/lib\/modules +} + +src_install_fbsd() { + cd "${SRC_BUILD}" + dodir "/boot/modules" + MAKE=make \ + emake \ + install \ + NO_WERROR= \ + DESTDIR="${D}" \ + KMODDIR="/boot/modules" \ + || die "Install failed." +} diff --git a/x11-drivers/xf86-video-ati/Manifest b/x11-drivers/xf86-video-ati/Manifest new file mode 100644 index 00000000..c648e2a7 --- /dev/null +++ b/x11-drivers/xf86-video-ati/Manifest @@ -0,0 +1,5 @@ +AUX old_hw_data/ati.xinf 2028 RMD160 0f57c7452bbf9d2d8d0a96f6f480b98e8a5c6d5f SHA1 51dc48aba9d3e2613d230837d369ebcab86b4c5c SHA256 79540e91ab1baf462ded22a5ef0f3cff0d95bef22db4ec13ea7101dbff29aa74 +AUX old_hw_data/r128.xinf 2491 RMD160 02f5ae030596643bdc2ce4982ee47fdbdf656f95 SHA1 cee72fd687711845f4fc435cac00b715fc19b1d3 SHA256 d8f50f12b291d526353aa5d76c95137dafbff22bf47cbb751b686252d104279b +AUX radeon.xinf 12504 RMD160 48b32c2d4acc1edff0e814a173ecce1b6026ba7c SHA1 1f4d98536d013d3ac6999781578d381bbd94023f SHA256 f23555826bfce07dfaafba60957e347e36fdb694c71bc3ad39d172e3863e7c96 +AUX radeon_dri2_fix.patch 361 RMD160 27423de521f72981f5a1a4a24c0379adc31e9324 SHA1 7634358d6339a13f0340a466d3a39f0f33bdc885 SHA256 0c08a40aca33fcdd04968c7290cb3b5e8d7d7dc0e55b46491b7ea6f8c0a970b1 +EBUILD xf86-video-ati-9999.ebuild 863 RMD160 3c923f5545d74763c26745ecf26706575d832871 SHA1 44520fdc06086cb2f1466a87adb6753bce646e58 SHA256 af0d8d7520bb11740a62f9ebdcb3aed2ba0b5f90c6daa077c3fdc0d768686575 diff --git a/x11-drivers/xf86-video-ati/files/old_hw_data/ati.xinf b/x11-drivers/xf86-video-ati/files/old_hw_data/ati.xinf new file mode 100644 index 00000000..b089297b --- /dev/null +++ b/x11-drivers/xf86-video-ati/files/old_hw_data/ati.xinf @@ -0,0 +1,39 @@ +alias pcivideo:v00001002d00004158sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004354sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004358sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004554sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004654sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004742sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004744sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004747sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004749sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d0000474Csv*sd*bc*sc*i* ati +alias pcivideo:v00001002d0000474Dsv*sd*bc*sc*i* ati +alias pcivideo:v00001002d0000474Esv*sd*bc*sc*i* ati +alias pcivideo:v00001002d0000474Fsv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004750sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004751sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004752sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004753sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004754sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004755sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004756sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004757sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004758sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004759sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d0000475Asv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C42sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C44sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C47sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C49sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C4Dsv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C4Esv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C50sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C51sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C52sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C53sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00004C54sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00005354sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00005654sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00005655sv*sd*bc*sc*i* ati +alias pcivideo:v00001002d00005656sv*sd*bc*sc*i* ati diff --git a/x11-drivers/xf86-video-ati/files/old_hw_data/r128.xinf b/x11-drivers/xf86-video-ati/files/old_hw_data/r128.xinf new file mode 100644 index 00000000..71017831 --- /dev/null +++ b/x11-drivers/xf86-video-ati/files/old_hw_data/r128.xinf @@ -0,0 +1,47 @@ +alias pcivideo:v00001002d00004C45sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00004C46sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00004D46sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00004D4Csv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005041sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005042sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005043sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005044sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005045sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005046sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005047sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005048sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005049sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000504Asv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000504Bsv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000504Csv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000504Dsv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000504Esv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000504Fsv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005050sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005051sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005052sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005053sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005054sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005055sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005056sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005057sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005058sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005245sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005246sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005247sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000524Bsv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000524Csv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005345sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005346sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005347sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005348sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000534Bsv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000534Csv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000534Dsv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000534Esv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005446sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d0000544Csv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005452sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005453sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005454sv*sd*bc*sc*i* r128 +alias pcivideo:v00001002d00005455sv*sd*bc*sc*i* r128 diff --git a/x11-drivers/xf86-video-ati/files/radeon.xinf b/x11-drivers/xf86-video-ati/files/radeon.xinf new file mode 100644 index 00000000..1eaf4e14 --- /dev/null +++ b/x11-drivers/xf86-video-ati/files/radeon.xinf @@ -0,0 +1,197 @@ +# Secret decoder ring: +# R100: Original radeon through 7500 (rv200 counts as R100) +# R200: 8500 through 9250 +# R300: 9500 through X600 +# R400: X700 through X850 +# R500: X1xxx +# +# TODO: add mobility series info +# +# There are lots of "secondary" PCI IDs for that other OS; we don't list +# them here and the driver ignores them anyway. + +alias pcivideo:v00001002d00003150sv*sd*bc*sc*i* radeon # M24 +alias pcivideo:v00001002d00003151sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00003152sv*sd*bc*sc*i* radeon # M22 +alias pcivideo:v00001002d00003153sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00003154sv*sd*bc*sc*i* radeon # M24 +alias pcivideo:v00001002d00003156sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00003E50sv*sd*bc*sc*i* radeon # rv380 +alias pcivideo:v00001002d00003E51sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00003E52sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00003E53sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00003E54sv*sd*bc*sc*i* radeon # rv380 +alias pcivideo:v00001002d00003E56sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00004136sv*sd*bc*sc*i* radeon # IGP 320M +alias pcivideo:v00001002d00004137sv*sd*bc*sc*i* radeon # IGP 3[345]0 +alias pcivideo:v00001002d00004144sv*sd*bc*sc*i* radeon # R300 AD +alias pcivideo:v00001002d00004145sv*sd*bc*sc*i* radeon # R300 AE +alias pcivideo:v00001002d00004146sv*sd*bc*sc*i* radeon # R300 AF +alias pcivideo:v00001002d00004147sv*sd*bc*sc*i* radeon # R300 AG +alias pcivideo:v00001002d00004148sv*sd*bc*sc*i* radeon # R350 AH +alias pcivideo:v00001002d00004149sv*sd*bc*sc*i* radeon # R350 AI +alias pcivideo:v00001002d0000414Asv*sd*bc*sc*i* radeon # R350 AJ +alias pcivideo:v00001002d0000414Bsv*sd*bc*sc*i* radeon # R350 AK +alias pcivideo:v00001002d00004150sv*sd*bc*sc*i* radeon # RV350 AP +alias pcivideo:v00001002d00004151sv*sd*bc*sc*i* radeon # RV350 AQ +alias pcivideo:v00001002d00004152sv*sd*bc*sc*i* radeon # RV350 AR +alias pcivideo:v00001002d00004153sv*sd*bc*sc*i* radeon # RV350 AS +alias pcivideo:v00001002d00004154sv*sd*bc*sc*i* radeon # RV350 AT +alias pcivideo:v00001002d00004155sv*sd*bc*sc*i* radeon # RV350 AU +alias pcivideo:v00001002d00004156sv*sd*bc*sc*i* radeon # RV350 AV +alias pcivideo:v00001002d00004157sv*sd*bc*sc*i* radeon # RV350 AW +alias pcivideo:v00001002d00004237sv*sd*bc*sc*i* radeon # 7000 IGP +alias pcivideo:v00001002d00004242sv*sd*bc*sc*i* radeon # R200 BB +alias pcivideo:v00001002d00004243sv*sd*bc*sc*i* radeon # R200 DC +alias pcivideo:v00001002d00004336sv*sd*bc*sc*i* radeon # Mobility U1 +alias pcivideo:v00001002d00004337sv*sd*bc*sc*i* radeon # IGP 3[345]0M +alias pcivideo:v00001002d00004437sv*sd*bc*sc*i* radeon # Mobility 7000 IGP +alias pcivideo:v00001002d00004964sv*sd*bc*sc*i* radeon # RV250 Id +alias pcivideo:v00001002d00004965sv*sd*bc*sc*i* radeon # RV250 Ie +alias pcivideo:v00001002d00004966sv*sd*bc*sc*i* radeon # RV250 If +alias pcivideo:v00001002d00004967sv*sd*bc*sc*i* radeon # RV250 Ig +alias pcivideo:v00001002d00004A48sv*sd*bc*sc*i* radeon # R420 JH +alias pcivideo:v00001002d00004A49sv*sd*bc*sc*i* radeon # R420 JI +alias pcivideo:v00001002d00004A4Asv*sd*bc*sc*i* radeon # R420 JJ +alias pcivideo:v00001002d00004A4Bsv*sd*bc*sc*i* radeon # R420 JK +alias pcivideo:v00001002d00004A4Csv*sd*bc*sc*i* radeon # R420 JL +alias pcivideo:v00001002d00004A4Dsv*sd*bc*sc*i* radeon # R420 JM +alias pcivideo:v00001002d00004A4Esv*sd*bc*sc*i* radeon # M18 JN +alias pcivideo:v00001002d00004A50sv*sd*bc*sc*i* radeon # R420 JP +alias pcivideo:v00001002d00004A54sv*sd*bc*sc*i* radeon # R420 JT +alias pcivideo:v00001002d00004B49sv*sd*bc*sc*i* radeon # R480 +alias pcivideo:v00001002d00004B4Asv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00004B4Bsv*sd*bc*sc*i* radeon # R480 +alias pcivideo:v00001002d00004B4Csv*sd*bc*sc*i* radeon # R481 +alias pcivideo:v00001002d00004C57sv*sd*bc*sc*i* radeon # M7 LW +alias pcivideo:v00001002d00004C58sv*sd*bc*sc*i* radeon # M7 LX +alias pcivideo:v00001002d00004C59sv*sd*bc*sc*i* radeon # M6 LY +alias pcivideo:v00001002d00004C5Asv*sd*bc*sc*i* radeon # M6 LZ +alias pcivideo:v00001002d00004C64sv*sd*bc*sc*i* radeon # M9 Ld +alias pcivideo:v00001002d00004C65sv*sd*bc*sc*i* radeon # M9 Le +alias pcivideo:v00001002d00004C66sv*sd*bc*sc*i* radeon # R250 Lf +alias pcivideo:v00001002d00004C67sv*sd*bc*sc*i* radeon # R250 Lg +# alias pcivideo:v00001002d00004C6Esv*sd*bc*sc*i* radeon # secondary +alias pcivideo:v00001002d00004E44sv*sd*bc*sc*i* radeon # R300 ND +alias pcivideo:v00001002d00004E45sv*sd*bc*sc*i* radeon # R300 NE +alias pcivideo:v00001002d00004E46sv*sd*bc*sc*i* radeon # RV350 NF +alias pcivideo:v00001002d00004E47sv*sd*bc*sc*i* radeon # R300 NG +alias pcivideo:v00001002d00004E48sv*sd*bc*sc*i* radeon # R350 NH +alias pcivideo:v00001002d00004E49sv*sd*bc*sc*i* radeon # R350 NI +alias pcivideo:v00001002d00004E4Asv*sd*bc*sc*i* radeon # RV350 NJ +alias pcivideo:v00001002d00004E4Bsv*sd*bc*sc*i* radeon # R350 NK +alias pcivideo:v00001002d00004E50sv*sd*bc*sc*i* radeon # RV350 NP +alias pcivideo:v00001002d00004E51sv*sd*bc*sc*i* radeon # M10 NQ +alias pcivideo:v00001002d00004E52sv*sd*bc*sc*i* radeon # RV350 NR +alias pcivideo:v00001002d00004E53sv*sd*bc*sc*i* radeon # M10 NS +alias pcivideo:v00001002d00004E54sv*sd*bc*sc*i* radeon # M10 NT +alias pcivideo:v00001002d00004E56sv*sd*bc*sc*i* radeon # M10 NV +# 4F72? seems unlikely, in a secondary range. +alias pcivideo:v00001002d00005144sv*sd*bc*sc*i* radeon # R100 QD +alias pcivideo:v00001002d00005145sv*sd*bc*sc*i* radeon # R100 QE +alias pcivideo:v00001002d00005146sv*sd*bc*sc*i* radeon # R100 QF +alias pcivideo:v00001002d00005147sv*sd*bc*sc*i* radeon # R100 QG +# old school method of doing magic names for subdevices +# alias pcivideo:v00001002d00005148sv00001002sd0000010Abc*sc*i* radeon +# alias pcivideo:v00001002d00005148sv00001002sd00000152bc*sc*i* radeon +# alias pcivideo:v00001002d00005148sv00001002sd00000162bc*sc*i* radeon +# alias pcivideo:v00001002d00005148sv00001002sd00000172bc*sc*i* radeon +alias pcivideo:v00001002d00005148sv*sd*bc*sc*i* radeon # R200 QH +alias pcivideo:v00001002d00005149sv*sd*bc*sc*i* radeon # R200 QI +alias pcivideo:v00001002d0000514Asv*sd*bc*sc*i* radeon # R200 QJ +alias pcivideo:v00001002d0000514Bsv*sd*bc*sc*i* radeon # R200 QK +alias pcivideo:v00001002d0000514Csv*sd*bc*sc*i* radeon # R200 QL +alias pcivideo:v00001002d0000514Dsv*sd*bc*sc*i* radeon # R200 QM +alias pcivideo:v00001002d0000514Esv*sd*bc*sc*i* radeon # R200 QN +alias pcivideo:v00001002d0000514Fsv*sd*bc*sc*i* radeon # R200 QO +alias pcivideo:v00001002d00005154sv*sd*bc*sc*i* radeon # R200 QT +alias pcivideo:v00001002d00005155sv*sd*bc*sc*i* radeon # R200 QU +alias pcivideo:v00001002d00005157sv*sd*bc*sc*i* radeon # RV200 QW +alias pcivideo:v00001002d00005158sv*sd*bc*sc*i* radeon # RV200 QX +# alias pcivideo:v00001002d00005159sv00001002sd0000000Bbc*sc*i* radeon +# alias pcivideo:v00001002d00005159sv00001002sd0000013Abc*sc*i* radeon +alias pcivideo:v00001002d00005159sv*sd*bc*sc*i* radeon # RV200 QY +alias pcivideo:v00001002d0000515Asv*sd*bc*sc*i* radeon # RV200 QZ +alias pcivideo:v00001002d0000515Esv*sd*bc*sc*i* radeon # ES1000 +alias pcivideo:v00001002d0000515Fsv*sd*bc*sc*i* radeon # ES1000 (?) +alias pcivideo:v00001002d00005168sv*sd*bc*sc*i* radeon # R200 Qh +alias pcivideo:v00001002d00005169sv*sd*bc*sc*i* radeon # R200 Qi +alias pcivideo:v00001002d0000516Asv*sd*bc*sc*i* radeon # R200 Qj +alias pcivideo:v00001002d0000516Bsv*sd*bc*sc*i* radeon # R200 Qk +alias pcivideo:v00001002d0000516Csv*sd*bc*sc*i* radeon # R200 Ql +alias pcivideo:v00001002d00005460sv*sd*bc*sc*i* radeon # M22 +alias pcivideo:v00001002d00005461sv*sd*bc*sc*i* radeon # M24 +alias pcivideo:v00001002d00005462sv*sd*bc*sc*i* radeon # M22 +alias pcivideo:v00001002d00005463sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005464sv*sd*bc*sc*i* radeon # M22 +alias pcivideo:v00001002d00005465sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005466sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005467sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005548sv*sd*bc*sc*i* radeon # R423 UH +alias pcivideo:v00001002d00005549sv*sd*bc*sc*i* radeon # R423 UI +alias pcivideo:v00001002d0000554Asv*sd*bc*sc*i* radeon # R423 UJ +alias pcivideo:v00001002d0000554Bsv*sd*bc*sc*i* radeon # R423 UK +alias pcivideo:v00001002d0000554Csv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d0000554Dsv*sd*bc*sc*i* radeon # R430 UM +alias pcivideo:v00001002d0000554Esv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d0000554Fsv*sd*bc*sc*i* radeon # R430 UO +alias pcivideo:v00001002d00005550sv*sd*bc*sc*i* radeon # R423 UP +alias pcivideo:v00001002d00005551sv*sd*bc*sc*i* radeon # R423 UQ +alias pcivideo:v00001002d00005552sv*sd*bc*sc*i* radeon # R423 UR +alias pcivideo:v00001002d00005554sv*sd*bc*sc*i* radeon # R423 UT +alias pcivideo:v00001002d0000564Asv*sd*bc*sc*i* radeon # M26 +alias pcivideo:v00001002d0000564Bsv*sd*bc*sc*i* radeon # M26 +alias pcivideo:v00001002d0000564Fsv*sd*bc*sc*i* radeon # M26 +alias pcivideo:v00001002d00005652sv*sd*bc*sc*i* radeon # M26 +alias pcivideo:v00001002d00005653sv*sd*bc*sc*i* radeon # M26 +alias pcivideo:v00001002d00005834sv*sd*bc*sc*i* radeon # RS300M +alias pcivideo:v00001002d00005835sv*sd*bc*sc*i* radeon # RS300M +alias pcivideo:v00001002d00005836sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005837sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005944sv*sd*bc*sc*i* radeon # RV280 +alias pcivideo:v00001002d00005954sv*sd*bc*sc*i* radeon # RS480 +alias pcivideo:v00001002d00005955sv*sd*bc*sc*i* radeon # RS482 +alias pcivideo:v00001002d00005960sv*sd*bc*sc*i* radeon # RV280 +alias pcivideo:v00001002d00005961sv*sd*bc*sc*i* radeon # RV280 +alias pcivideo:v00001002d00005962sv*sd*bc*sc*i* radeon # RV280 +alias pcivideo:v00001002d00005964sv*sd*bc*sc*i* radeon # RV280 +alias pcivideo:v00001002d00005965sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005969sv*sd*bc*sc*i* radeon # ES1000 +alias pcivideo:v00001002d00005974sv*sd*bc*sc*i* radeon # RS482 +alias pcivideo:v00001002d00005975sv*sd*bc*sc*i* radeon # RS482 +alias pcivideo:v00001002d00005A41sv*sd*bc*sc*i* radeon # RS400 +alias pcivideo:v00001002d00005A42sv*sd*bc*sc*i* radeon # RS400 +alias pcivideo:v00001002d00005A61sv*sd*bc*sc*i* radeon # RC410 +alias pcivideo:v00001002d00005A62sv*sd*bc*sc*i* radeon # RC410 +alias pcivideo:v00001002d00005B60sv*sd*bc*sc*i* radeon # RV370 +alias pcivideo:v00001002d00005B61sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005B62sv*sd*bc*sc*i* radeon # RV380 +alias pcivideo:v00001002d00005B63sv*sd*bc*sc*i* radeon # RV370 +alias pcivideo:v00001002d00005B64sv*sd*bc*sc*i* radeon # RV370 +alias pcivideo:v00001002d00005B65sv*sd*bc*sc*i* radeon # RV370 +alias pcivideo:v00001002d00005B66sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005B67sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005B70sv*sd*bc*sc*i* radeon # RV370 +alias pcivideo:v00001002d00005B72sv*sd*bc*sc*i* radeon # RV380 +alias pcivideo:v00001002d00005C61sv*sd*bc*sc*i* radeon # M9+ +alias pcivideo:v00001002d00005C63sv*sd*bc*sc*i* radeon # M9+ +alias pcivideo:v00001002d00005D48sv*sd*bc*sc*i* radeon # M28 +alias pcivideo:v00001002d00005D49sv*sd*bc*sc*i* radeon # M28 +alias pcivideo:v00001002d00005D4Asv*sd*bc*sc*i* radeon # M28 +alias pcivideo:v00001002d00005D4Csv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005D4Dsv*sd*bc*sc*i* radeon # R480 +alias pcivideo:v00001002d00005D4Esv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005D4Fsv*sd*bc*sc*i* radeon # R480 +alias pcivideo:v00001002d00005D50sv*sd*bc*sc*i* radeon # XXX not in pci.ids +alias pcivideo:v00001002d00005D52sv*sd*bc*sc*i* radeon # R480 +alias pcivideo:v00001002d00005D57sv*sd*bc*sc*i* radeon # R423 +alias pcivideo:v00001002d00005E48sv*sd*bc*sc*i* radeon # RV410 +alias pcivideo:v00001002d00005E49sv*sd*bc*sc*i* radeon # RV410 +alias pcivideo:v00001002d00005E4Asv*sd*bc*sc*i* radeon # RV410 +alias pcivideo:v00001002d00005E4Bsv*sd*bc*sc*i* radeon # RV410 +alias pcivideo:v00001002d00005E4Csv*sd*bc*sc*i* radeon # RV410 +alias pcivideo:v00001002d00005E4Dsv*sd*bc*sc*i* radeon # RV410 +alias pcivideo:v00001002d00005F57sv*sd*bc*sc*i* radeon # R423 +alias pcivideo:v00001002d00007834sv*sd*bc*sc*i* radeon # 9100 IGP +alias pcivideo:v00001002d00007835sv*sd*bc*sc*i* radeon # 9200 IGP +alias pcivideo:v00001002d00007C37sv*sd*bc*sc*i* radeon # RV350 diff --git a/x11-drivers/xf86-video-ati/files/radeon_dri2_fix.patch b/x11-drivers/xf86-video-ati/files/radeon_dri2_fix.patch new file mode 100644 index 00000000..8b5879fa --- /dev/null +++ b/x11-drivers/xf86-video-ati/files/radeon_dri2_fix.patch @@ -0,0 +1,12 @@ +--- xf86-video-ati-9999.orig/src/radeon_dri2.c 2009-07-21 19:28:05.991981755 +0200 ++++ xf86-video-ati-9999/src/radeon_dri2.c 2009-07-21 19:28:44.658636900 +0200 +@@ -52,6 +52,9 @@ + }; + + ++#define DRI2BufferPtr DRI2Buffer2Ptr ++#define DRI2BufferRec DRI2Buffer2Rec ++ + #ifndef USE_DRI2_1_1_0 + static DRI2BufferPtr + radeon_dri2_create_buffers(DrawablePtr drawable, diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-9999-r1.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-9999-r1.ebuild new file mode 100644 index 00000000..521a3444 --- /dev/null +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-9999-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-ati/xf86-video-ati-6.6.192.ebuild,v 1.1 2007/05/21 05:25:33 dberkholz Exp $ + +# Must be before x-modular eclass is inherited +SNAPSHOT="yes" + +inherit x-modular + +DESCRIPTION="ATI video driver" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +SRC_URI="" +IUSE="" + +RDEPEND=">=x11-base/xorg-server-1.2[-minimal]" +DEPEND="${RDEPEND} + >=x11-libs/libdrm-2 + >=x11-misc/util-macros-1.1.3 + x11-proto/fontsproto + x11-proto/glproto + x11-proto/randrproto + x11-proto/videoproto + x11-proto/xextproto + x11-proto/xineramaproto + x11-proto/xf86driproto + x11-proto/xf86miscproto + x11-proto/xproto +" + +CONFIGURE_OPTIONS=" + --enable-dri + --enable-shave +" + +PATCHES="${FILESDIR}/radeon_dri2_fix.patch" \ No newline at end of file diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild new file mode 100644 index 00000000..521a3444 --- /dev/null +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-ati/xf86-video-ati-6.6.192.ebuild,v 1.1 2007/05/21 05:25:33 dberkholz Exp $ + +# Must be before x-modular eclass is inherited +SNAPSHOT="yes" + +inherit x-modular + +DESCRIPTION="ATI video driver" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +SRC_URI="" +IUSE="" + +RDEPEND=">=x11-base/xorg-server-1.2[-minimal]" +DEPEND="${RDEPEND} + >=x11-libs/libdrm-2 + >=x11-misc/util-macros-1.1.3 + x11-proto/fontsproto + x11-proto/glproto + x11-proto/randrproto + x11-proto/videoproto + x11-proto/xextproto + x11-proto/xineramaproto + x11-proto/xf86driproto + x11-proto/xf86miscproto + x11-proto/xproto +" + +CONFIGURE_OPTIONS=" + --enable-dri + --enable-shave +" + +PATCHES="${FILESDIR}/radeon_dri2_fix.patch" \ No newline at end of file