summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-02-23 23:46:00 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-02-23 23:46:00 +0000
commit97d7fb2ecacc69ff9ef8e504f7a098e1ea4c2545 (patch)
tree8d0aa5fa86c4f0b30c65eb5035eb68a171b16717 /media-video/ati-drivers
parentmpg123 dep changed to virtual (diff)
downloadhistorical-97d7fb2ecacc69ff9ef8e504f7a098e1ea4c2545.tar.gz
historical-97d7fb2ecacc69ff9ef8e504f7a098e1ea4c2545.tar.bz2
historical-97d7fb2ecacc69ff9ef8e504f7a098e1ea4c2545.zip
Split ebuild: drivers
Diffstat (limited to 'media-video/ati-drivers')
-rw-r--r--media-video/ati-drivers/ChangeLog9
-rw-r--r--media-video/ati-drivers/Manifest52
-rw-r--r--media-video/ati-drivers/ati-drivers-3.2.8-r1.ebuild140
-rw-r--r--media-video/ati-drivers/files/digest-ati-drivers-3.2.8-r11
4 files changed, 175 insertions, 27 deletions
diff --git a/media-video/ati-drivers/ChangeLog b/media-video/ati-drivers/ChangeLog
index 1ca58cbed97a..4049aa6d85e0 100644
--- a/media-video/ati-drivers/ChangeLog
+++ b/media-video/ati-drivers/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/ati-drivers
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ChangeLog,v 1.27 2003/12/30 21:37:28 azarah Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ChangeLog,v 1.28 2004/02/23 23:46:00 lu_zero Exp $
+
+*ati-drivers-3.2.8-r1 (24 Feb 2004)
+
+ 24 Feb 2004; Luca Barbato <lu_zero@gentoo.org> ati-drivers-3.2.8-r1.ebuild:
+ driver only ebuild, optional stuff in ati-drivers-extra
30 Dec 2003; Martin Schlemmer <azarah@gentoo.org> ati-drivers-3.7.0.ebuild:
Fix path to ATI control panel in .desktop files.
diff --git a/media-video/ati-drivers/Manifest b/media-video/ati-drivers/Manifest
index 22282acd70dd..680d06ab30ea 100644
--- a/media-video/ati-drivers/Manifest
+++ b/media-video/ati-drivers/Manifest
@@ -1,34 +1,36 @@
-MD5 d69ed290ce069cda9e8bf407f6be6a0a ati-drivers-3.2.8.ebuild 4587
-MD5 20b39fca85cbd3239466ccf8f24fdfc2 ati-drivers-2.5.1.ebuild 3036
-MD5 eaf89ed76e241aea437a72d0641175c8 ati-drivers-3.7.0.ebuild 5450
-MD5 d2e36344a43730865709052aab657821 ati-drivers-3.2.5-r1.ebuild 4605
-MD5 473b66e0cdd6d232a2fe528f05ea3a1b ati-drivers-2.9.13-r1.ebuild 4273
-MD5 d4bf449b6ae10bf3ede95ba9a2a8bc98 ChangeLog 4954
-MD5 59a37b1c6f7cc09308773178c3d414b4 ati-drivers-3.2.5.ebuild 4583
-MD5 76a5204e775bfa12f13f85bd26d163e6 ati-drivers-2.5.1-r1.ebuild 3714
-MD5 bd9fe6f01ec4d68241cf5c9ba51e907b ati-drivers-2.9.12.ebuild 3636
-MD5 8fa6d34e0c6145c5f93be82488f4a4b1 ati-drivers-2.9.13.ebuild 3637
-MD5 77684e92f813491b90e7bbe3ed6f5992 ati-drivers-3.2.4.ebuild 4712
+MD5 100da027fc1085fea296d4e05e80412b ati-drivers-3.2.0.ebuild 4520
+MD5 320d84263e3f98b9b66dbdf7cb349a57 ati-drivers-3.7.0.ebuild 5449
+MD5 3d23dac23769ac0fb7bef8349ac4b159 ChangeLog 5128
+MD5 b2b55d1de84c1fe4a0c24f03658495b7 ati-drivers-3.2.5.ebuild 4582
MD5 bca4dd1758b390509e46f966d475006d metadata.xml 221
-MD5 90845dc5cbdc627f4a5067f623d457b0 ati-drivers-3.2.0.ebuild 4521
-MD5 bdd76c908aa2a7bb1918b9a6955a0744 files/fglrx-3.2.8-fix-amd-adv-spec.patch 561
-MD5 d46e2e3860ee3b4f750f21bfacf9020c files/digest-ati-drivers-3.2.5 78
-MD5 bbaa57c2af6fb97bc2d8c9e149932f74 files/digest-ati-drivers-2.5.1-r1 78
-MD5 ba76cdca0527cd8a7480f4bc1e12f2fe files/fglrx-2.6-vmalloc-vmaddr.patch 466
+MD5 6e5cec8ea9d78fdf7495a421956b445d ati-drivers-2.9.12.ebuild 3635
+MD5 4a894069620e67130a64db93d2b55ae9 ati-drivers-3.2.8-r1.ebuild 3673
+MD5 8067c584577005ef9f4b1afed5f1f4f1 ati-drivers-2.5.1.ebuild 3035
+MD5 29e74d264082881188909e55f52b5c89 ati-drivers-2.5.1-r1.ebuild 3713
+MD5 689dfdf52c90bf15aa5b7a60115e8b65 ati-drivers-3.2.8.ebuild 4586
+MD5 d7ba0866b46669b575b265c53f5f3b55 ati-drivers-3.2.5-r1.ebuild 4604
+MD5 7feb946ac8ceebfd0ae559d2baa52849 ati-drivers-3.2.4.ebuild 4711
+MD5 3620d470fcf0cbf259d27ddcc9cacdc0 ati-drivers-2.9.13.ebuild 3636
+MD5 4a2d4d02b3a4578e109f79020abcaf25 ati-drivers-2.9.13-r1.ebuild 4272
+MD5 0eca691de41a29813f6cd11a54b8a234 files/digest-ati-drivers-3.2.4 81
+MD5 4765a7db326f308f862b1fe3e211ef0d files/fglrx-3.7.0-fix-fglrx_panel-includes.patch 2168
MD5 2a93df06be0a03b771e0e980b37f7d7a files/3.2.5-linux-2.6.0-test6-mm.patch 309
MD5 a2a4f4788a7de4a9c7c0295a2804752f files/digest-ati-drivers-3.7.0 78
-MD5 b607b2eec7ace92eb7ca93240fe81a53 files/fglrx-2.6-fix-deprecated.patch 4370
-MD5 bb9dee9498a1b6e5d14476ae7194afc3 files/digest-ati-drivers-2.9.13 82
+MD5 e61309d064f12cc623e4d6e78aa82b36 files/09ati 39
+MD5 f21aff99b8b4d8a6134d44d5e00e649e files/ati-2.5.1.diff 660
+MD5 170f6d7eb9dc2f6d299a28fb8d54e7e4 files/digest-ati-drivers-2.9.13-r1 151
+MD5 d7df82fba612188346e087bfc2a3a305 files/digest-ati-drivers-3.2.0 81
MD5 bbaa57c2af6fb97bc2d8c9e149932f74 files/digest-ati-drivers-2.5.1 78
+MD5 bb9dee9498a1b6e5d14476ae7194afc3 files/digest-ati-drivers-2.9.13 82
+MD5 0283465e3554a1316b63c1483abefdd6 files/fglrx-2.6-amd-adv-spec-fix.patch 1096
MD5 caabe690b8e6e629f73b5a60e8f1051f files/digest-ati-drivers-3.2.8 78
+MD5 bbaa57c2af6fb97bc2d8c9e149932f74 files/digest-ati-drivers-2.5.1-r1 78
MD5 caef37ecaa1695f1ffaaff60afb69b42 files/digest-ati-drivers-2.9.12 82
-MD5 0eca691de41a29813f6cd11a54b8a234 files/digest-ati-drivers-3.2.4 81
-MD5 0283465e3554a1316b63c1483abefdd6 files/fglrx-2.6-amd-adv-spec-fix.patch 1096
+MD5 ba76cdca0527cd8a7480f4bc1e12f2fe files/fglrx-2.6-vmalloc-vmaddr.patch 466
+MD5 bdd76c908aa2a7bb1918b9a6955a0744 files/fglrx-3.2.8-fix-amd-adv-spec.patch 561
+MD5 d46e2e3860ee3b4f750f21bfacf9020c files/digest-ati-drivers-3.2.5 78
+MD5 caabe690b8e6e629f73b5a60e8f1051f files/digest-ati-drivers-3.2.8-r1 78
+MD5 b607b2eec7ace92eb7ca93240fe81a53 files/fglrx-2.6-fix-deprecated.patch 4370
MD5 4db715bff794061bfa0f233b6291e372 files/fglrx-2.6-makefile.patch 571
MD5 d46e2e3860ee3b4f750f21bfacf9020c files/digest-ati-drivers-3.2.5-r1 78
MD5 ca4e8654e3b880025b10ac15d2dbff41 files/fglrx-2.6-iminor.patch 847
-MD5 4765a7db326f308f862b1fe3e211ef0d files/fglrx-3.7.0-fix-fglrx_panel-includes.patch 2168
-MD5 f21aff99b8b4d8a6134d44d5e00e649e files/ati-2.5.1.diff 660
-MD5 d7df82fba612188346e087bfc2a3a305 files/digest-ati-drivers-3.2.0 81
-MD5 e61309d064f12cc623e4d6e78aa82b36 files/09ati 39
-MD5 170f6d7eb9dc2f6d299a28fb8d54e7e4 files/digest-ati-drivers-2.9.13-r1 151
diff --git a/media-video/ati-drivers/ati-drivers-3.2.8-r1.ebuild b/media-video/ati-drivers/ati-drivers-3.2.8-r1.ebuild
new file mode 100644
index 000000000000..8ed46094410d
--- /dev/null
+++ b/media-video/ati-drivers/ati-drivers-3.2.8-r1.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ati-drivers-3.2.8-r1.ebuild,v 1.1 2004/02/23 23:46:00 lu_zero Exp $
+
+IUSE="qt kde gnome"
+
+DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets"
+HOMEPAGE="http://www.ati.com"
+SRC_URI="http://www2.ati.com/drivers/linux/fglrx-glc22-4.3.0-${PV}.i586.rpm"
+SLOT="${KV}"
+LICENSE="ATI"
+KEYWORDS="-* x86"
+
+DEPEND=">=virtual/linux-sources-2.4
+ app-arch/rpm2targz
+ >=x11-base/xfree-4.3.0"
+
+RDEPEND=">=x11-base/xfree-4.3.0"
+
+ATIBIN="${D}/opt/ati/bin"
+RESTRICT="nostrip"
+
+src_unpack() {
+ cd ${WORKDIR}
+ rpm2targz ${DISTDIR}/${A} ||die
+ tar zxf ${WORKDIR}/fglrx-glc22-4.3.0-${PV}.i586.tar.gz || die
+
+ cd ${WORKDIR}/lib/modules/fglrx/build_mod
+
+ einfo "applying fglrx-3.2.8-fix-amd-adv-spec.patch"
+ patch < ${FILESDIR}/fglrx-3.2.8-fix-amd-adv-spec.patch
+
+ if [ "`echo ${KV}|grep 2.6`" ] ; then
+
+ einfo "applying fglrx-2.6-vmalloc-vmaddr.patch"
+ patch -p1 < ${FILESDIR}/fglrx-2.6-vmalloc-vmaddr.patch
+# einfo "applying fglrx-2.6-iminor.patch"
+# patch -p1 < ${FILESDIR}/fglrx-2.6-iminor.patch
+# einfo "applying fglrx-2.6-tsk_euid.patch"
+# patch < ${FILESDIR}/3.2.5-linux-2.6.0-test6-mm.patch
+ fi
+}
+
+pkg_setup(){
+ check_KV || die "please ensure /usr/src/linux points to your kernel symlink"
+}
+
+
+src_compile() {
+ einfo "building the glx module"
+ cd ${WORKDIR}/lib/modules/fglrx/build_mod
+ if [ "`echo ${KV}|grep 2.6`" ] ; then
+ GENTOO_ARCH=${ARCH}
+ unset ARCH
+ addwrite "/usr/src/${FK}"
+ cp 2.6.x/Makefile .
+ export _POSIX2_VERSION=199209
+ make -C /usr/src/linux SUBDIRS="`pwd`" modules || \
+ ewarn "glx module not built"
+ ARCH=${GENTOO_ARCH}
+ else
+ #that is the dirty way to avoid the id -u check
+ sed -e 's:`id -u`:0:' make.sh >make.sh.new
+ sed -e 's:`uname -r`:${KV}:' make.sh.new >make.sh
+ chmod +x make.sh
+ ./make.sh || die "glx module not built"
+ fi
+
+ #removing stuff
+ einfo "cleaning"
+ cd ${WORKDIR}
+ rm -fR usr/share
+ cd usr/X11R6/
+ rm -fR bin/firegl*.bz2 bin/LICENSE.* bin/fgl_glxgears
+}
+
+pkg_preinst() {
+# clean the dinamic libGL stuff's home to ensure
+# we dont have stale libs floating around
+ if [ -d ${ROOT}/usr/lib/opengl/ati ]
+ then
+ rm -rf ${ROOT}/usr/lib/opengl/ati/*
+ fi
+}
+
+src_install() {
+ local ATI_ROOT="/usr/lib/opengl/ati"
+ cd ${WORKDIR}
+
+#drm module
+ insinto /lib/modules/${KV}/video
+ if [ "`echo ${KV}|grep 2.6`" ] ; then
+ doins lib/modules/fglrx/build_mod/fglrx.ko
+ else
+ doins lib/modules/fglrx/build_mod/fglrx.o
+ fi
+
+#dri driver
+ exeinto ${ATI_ROOT}/lib
+ doexe usr/X11R6/lib/libGL.so.1.2
+ dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1
+ dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so
+ dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so
+ #that is the same as in the xfree
+ dosym ../../xfree/lib/libGL.la ${ATI_ROOT}/lib/libGL.la
+
+#same as in xfree
+ exeinto ${ATI_ROOT}/
+ dosym ../xfree/include ${ATI_ROOT}/include
+ dosym ../xfree/extensions ${ATI_ROOT}/extensions
+ rm usr/X11R6/lib/libGL.so.1.2
+
+#apps
+ insinto /etc/env.d
+ doins ${FILESDIR}/09ati
+ exeinto /opt/ati/bin
+ doexe usr/X11R6/bin/*
+ rm usr/X11R6/bin/*
+
+ rm -fR usr/src/*
+ cp -R usr ${D}
+}
+
+pkg_postinst() {
+ #Ebuild shouldn't do this automatically, just tell the user to do it: (drobbins, 1 May 2003)
+ #otherwise it messes up livecd/gamecd stuff
+ #if [ "${ROOT}" = "/" ]
+ #then
+ # /usr/sbin/opengl-update ati
+ #fi
+
+ einfo "To switch to ATI OpenGL, run \"opengl-update ati\""
+ einfo "To change your XF86Config you can use the bundled \"fglrxconfig\""
+
+ ewarn "This is a driver only ebuild, for the optional application please"
+ ewarn "emerge ati-drivers-extra"
+#drm-module
+ update-modules
+
+}
diff --git a/media-video/ati-drivers/files/digest-ati-drivers-3.2.8-r1 b/media-video/ati-drivers/files/digest-ati-drivers-3.2.8-r1
new file mode 100644
index 000000000000..242816afc94c
--- /dev/null
+++ b/media-video/ati-drivers/files/digest-ati-drivers-3.2.8-r1
@@ -0,0 +1 @@
+MD5 824aaaafd4b4867c2456860ea5eff5ec fglrx-glc22-4.3.0-3.2.8.i586.rpm 4365039