diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2004-08-09 21:00:13 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2004-08-09 21:00:13 +0000 |
commit | 49dbe91703e0e16b9b63e0a338f93f6f8f0cf7f1 (patch) | |
tree | 7ea29016ddff7333a8f5360c69dc287ec5a64945 /media-video/ati-drivers | |
parent | 6.1.1 ~sparc, 6.2 -sparc (diff) | |
download | historical-49dbe91703e0e16b9b63e0a338f93f6f8f0cf7f1.tar.gz historical-49dbe91703e0e16b9b63e0a338f93f6f8f0cf7f1.tar.bz2 historical-49dbe91703e0e16b9b63e0a338f93f6f8f0cf7f1.zip |
New version
Diffstat (limited to 'media-video/ati-drivers')
-rw-r--r-- | media-video/ati-drivers/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/ati-drivers/Manifest | 58 | ||||
-rw-r--r-- | media-video/ati-drivers/ati-drivers-3.11.1.ebuild | 171 | ||||
-rw-r--r-- | media-video/ati-drivers/files/digest-ati-drivers-3.11.1 | 1 |
4 files changed, 208 insertions, 29 deletions
diff --git a/media-video/ati-drivers/ChangeLog b/media-video/ati-drivers/ChangeLog index 28ad3f646973..eddd3e8146af 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-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ChangeLog,v 1.45 2004/07/26 20:34:40 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ChangeLog,v 1.46 2004/08/09 21:00:13 lu_zero Exp $ + +*ati-drivers-3.11.1 (09 Aug 2004) + + 09 Aug 2004; Luca Barbato <lu_zero@gentoo.org> +ati-drivers-3.11.1.ebuild: + New version 26 Jul 2004; Donnie Berkholz <spyderous@gentoo.org>; ati-drivers-2.9.13-r1.ebuild, ati-drivers-3.2.0.ebuild, diff --git a/media-video/ati-drivers/Manifest b/media-video/ati-drivers/Manifest index c0f5da5175fd..e6ce3b36a4b9 100644 --- a/media-video/ati-drivers/Manifest +++ b/media-video/ati-drivers/Manifest @@ -1,44 +1,46 @@ -MD5 ccc662569ca41fabc211594b6f476b88 ChangeLog 8300 -MD5 f99248507f1c16729893906827ccc545 ati-drivers-3.7.6-r1.ebuild 4128 -MD5 79a710a6e52148ad84f5a74e5f0e4428 ati-drivers-2.9.12.ebuild 3601 -MD5 7427ff67a7d53009779660017e6a35b6 ati-drivers-2.9.13-r1.ebuild 4246 -MD5 8eb6d0fd20fa26cd240efd44a74d7e41 ati-drivers-2.9.13.ebuild 3602 MD5 55084b4637f59dbc056f3c3ea6ac9ef7 ati-drivers-3.2.0.ebuild 4494 -MD5 6b5ab1abb7122e2335aeef6de0db7aca ati-drivers-3.2.4.ebuild 4685 +MD5 c097444035f82c48673393e171163f90 ati-drivers-3.7.0.ebuild 5424 +MD5 4eecccf83e6c8cae81cb68f7e4442e8e ChangeLog 8425 MD5 616152ceacf4338e4dfc14b378413e47 ati-drivers-3.2.5.ebuild 4555 MD5 bca4dd1758b390509e46f966d475006d metadata.xml 221 -MD5 9d6164f9cb443fb2fceadee69ec62d0e ati-drivers-3.2.5-r1.ebuild 4580 -MD5 a2e898dd45c93552faf9522eb9ee6f85 ati-drivers-3.2.8.ebuild 4561 -MD5 c097444035f82c48673393e171163f90 ati-drivers-3.7.0.ebuild 5424 +MD5 d404832f9f2ff434a19c278fdec0bb2e ati-drivers-3.2.8-r2.ebuild 4134 +MD5 79a710a6e52148ad84f5a74e5f0e4428 ati-drivers-2.9.12.ebuild 3601 MD5 145669c711afe44523917df1fc33bcdf ati-drivers-3.2.8-r1.ebuild 3662 MD5 9dd2c8e40a7f834a2df7d7d4d9963e7f ati-drivers-3.7.6.ebuild 3662 -MD5 d404832f9f2ff434a19c278fdec0bb2e ati-drivers-3.2.8-r2.ebuild 4134 -MD5 22470cac4821c26539336042f88281f3 ati-drivers-3.9.0-r1.ebuild 4513 +MD5 f99248507f1c16729893906827ccc545 ati-drivers-3.7.6-r1.ebuild 4128 MD5 1ec180441a38b1d56f59394a1cb4842a ati-drivers-3.9.0.ebuild 4125 +MD5 a2e898dd45c93552faf9522eb9ee6f85 ati-drivers-3.2.8.ebuild 4561 +MD5 6df291a0d9daee8a701f7bfc96cff6b0 ati-drivers-3.11.1.ebuild 4470 +MD5 9d6164f9cb443fb2fceadee69ec62d0e ati-drivers-3.2.5-r1.ebuild 4580 +MD5 6b5ab1abb7122e2335aeef6de0db7aca ati-drivers-3.2.4.ebuild 4685 +MD5 22470cac4821c26539336042f88281f3 ati-drivers-3.9.0-r1.ebuild 4513 +MD5 8eb6d0fd20fa26cd240efd44a74d7e41 ati-drivers-2.9.13.ebuild 3602 +MD5 7427ff67a7d53009779660017e6a35b6 ati-drivers-2.9.13-r1.ebuild 4246 +MD5 0eca691de41a29813f6cd11a54b8a234 files/digest-ati-drivers-3.2.4 81 +MD5 54de36d07576ae34efa953192b450dd9 files/digest-ati-drivers-3.11.1 73 +MD5 4765a7db326f308f862b1fe3e211ef0d files/fglrx-3.7.0-fix-fglrx_panel-includes.patch 2168 +MD5 6ef03b4b2627a76f3893ce9a94d1ce56 files/fglrx-2.6-get-page.patch 1172 +MD5 caabe690b8e6e629f73b5a60e8f1051f files/digest-ati-drivers-3.2.8-r2 78 +MD5 2a93df06be0a03b771e0e980b37f7d7a files/3.2.5-linux-2.6.0-test6-mm.patch 309 +MD5 918b182a2d40bf073127838d769e1fa5 files/digest-ati-drivers-3.9.0-r1 72 +MD5 a2a4f4788a7de4a9c7c0295a2804752f files/digest-ati-drivers-3.7.0 78 MD5 e61309d064f12cc623e4d6e78aa82b36 files/09ati 39 MD5 aa891a7464224bd9a07fe0e96f40ef7b files/digest-ati-drivers-3.7.6-r1 72 -MD5 918b182a2d40bf073127838d769e1fa5 files/digest-ati-drivers-3.9.0 72 -MD5 caef37ecaa1695f1ffaaff60afb69b42 files/digest-ati-drivers-2.9.12 82 -MD5 bb9dee9498a1b6e5d14476ae7194afc3 files/digest-ati-drivers-2.9.13 82 MD5 170f6d7eb9dc2f6d299a28fb8d54e7e4 files/digest-ati-drivers-2.9.13-r1 151 MD5 d7df82fba612188346e087bfc2a3a305 files/digest-ati-drivers-3.2.0 81 -MD5 0eca691de41a29813f6cd11a54b8a234 files/digest-ati-drivers-3.2.4 81 -MD5 d46e2e3860ee3b4f750f21bfacf9020c files/digest-ati-drivers-3.2.5 78 +MD5 bb9dee9498a1b6e5d14476ae7194afc3 files/digest-ati-drivers-2.9.13 82 MD5 0283465e3554a1316b63c1483abefdd6 files/fglrx-2.6-amd-adv-spec-fix.patch 1096 -MD5 b607b2eec7ace92eb7ca93240fe81a53 files/fglrx-2.6-fix-deprecated.patch 4370 -MD5 ca4e8654e3b880025b10ac15d2dbff41 files/fglrx-2.6-iminor.patch 847 -MD5 4db715bff794061bfa0f233b6291e372 files/fglrx-2.6-makefile.patch 571 -MD5 ba76cdca0527cd8a7480f4bc1e12f2fe files/fglrx-2.6-vmalloc-vmaddr.patch 466 -MD5 2a93df06be0a03b771e0e980b37f7d7a files/3.2.5-linux-2.6.0-test6-mm.patch 309 -MD5 d46e2e3860ee3b4f750f21bfacf9020c files/digest-ati-drivers-3.2.5-r1 78 MD5 caabe690b8e6e629f73b5a60e8f1051f files/digest-ati-drivers-3.2.8 78 +MD5 caef37ecaa1695f1ffaaff60afb69b42 files/digest-ati-drivers-2.9.12 82 +MD5 ba76cdca0527cd8a7480f4bc1e12f2fe files/fglrx-2.6-vmalloc-vmaddr.patch 466 +MD5 2f9201d062ecb4b2a980f5be12cf0b34 files/fglrx-3.9.0-regparm.patch 58125 MD5 bdd76c908aa2a7bb1918b9a6955a0744 files/fglrx-3.2.8-fix-amd-adv-spec.patch 561 -MD5 a2a4f4788a7de4a9c7c0295a2804752f files/digest-ati-drivers-3.7.0 78 -MD5 4765a7db326f308f862b1fe3e211ef0d files/fglrx-3.7.0-fix-fglrx_panel-includes.patch 2168 +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 aa891a7464224bd9a07fe0e96f40ef7b files/digest-ati-drivers-3.7.6 72 -MD5 caabe690b8e6e629f73b5a60e8f1051f files/digest-ati-drivers-3.2.8-r2 78 -MD5 918b182a2d40bf073127838d769e1fa5 files/digest-ati-drivers-3.9.0-r1 72 -MD5 6ef03b4b2627a76f3893ce9a94d1ce56 files/fglrx-2.6-get-page.patch 1172 +MD5 d46e2e3860ee3b4f750f21bfacf9020c files/digest-ati-drivers-3.2.5-r1 78 +MD5 918b182a2d40bf073127838d769e1fa5 files/digest-ati-drivers-3.9.0 72 MD5 8dfc593069132b05be220d12a24697b4 files/fglrx-3.9.0-allocation.patch 946 -MD5 2f9201d062ecb4b2a980f5be12cf0b34 files/fglrx-3.9.0-regparm.patch 58125 +MD5 ca4e8654e3b880025b10ac15d2dbff41 files/fglrx-2.6-iminor.patch 847 diff --git a/media-video/ati-drivers/ati-drivers-3.11.1.ebuild b/media-video/ati-drivers/ati-drivers-3.11.1.ebuild new file mode 100644 index 000000000000..f285dc6c34d1 --- /dev/null +++ b/media-video/ati-drivers/ati-drivers-3.11.1.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ati-drivers-3.11.1.ebuild,v 1.1 2004/08/09 21:00:13 lu_zero Exp $ + +IUSE="qt kde gnome" + +inherit eutils rpm + +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-4.3.0-${PV}.i386.rpm" +SLOT="${KV}" +LICENSE="ATI" +KEYWORDS="-* ~x86" + +DEPEND=">=virtual/linux-sources-2.4 + app-arch/rpm2targz + virtual/x11" + +RDEPEND="virtual/x11" +PROVIDE="virtual/opengl" + +ATIBIN="${D}/opt/ati/bin" +RESTRICT="nostrip" + +pkg_setup(){ + check_KV || \ + die "Please ensure /usr/src/linux points to your kernel symlink!" + + if has_version "x11-base/xfree" + then + if ! has_version ">=x11-base/xfree-4.3.0" + then + die "You must upgrade to xfree-4.3.0 or greater to use this." + fi + fi + + # Set up X11 implementation + X11_IMPLEM_P="$(best_version virtual/x11)" + X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" + X11_IMPLEM="${X11_IMPLEM##*\/}" + einfo "X11 implementation is ${X11_IMPLEM}." +} + +src_unpack() { + local OLDBIN="/usr/X11R6/bin" + + cd ${WORKDIR} + rpm_src_unpack + + cd ${WORKDIR}/lib/modules/fglrx/build_mod + + #epatch ${FILESDIR}/fglrx-3.9.0-allocation.patch + + if [ "`echo ${KV}|grep 2.6`" ] + then + epatch ${FILESDIR}/fglrx-2.6-vmalloc-vmaddr.patch +# epatch ${FILESDIR}/fglrx-3.9.0-regparm.patch + fi +} + +src_compile() { + local GENTOO_ARCH= + + einfo "Building the DRM module..." + cd ${WORKDIR}/lib/modules/fglrx/build_mod + if [ "${KV}" != "${KV/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 "DRM module not built" + ARCH=${GENTOO_ARCH} + else + export _POSIX2_VERSION="199209" + # That is the dirty way to avoid the id -u check + sed -e 's:`id -u`:0:' \ + -e 's:`uname -r`:${KV}:' \ + -i make.sh + chmod +x make.sh + ./make.sh || die "DRM module not built" + fi + + # Removing unused stuff + rm -rf ${WORKDIR}/usr/X11R6/bin/{*.bz2,fgl_glxgears} +} + +pkg_preinst() { + # Clean the dinamic libGL stuff's home to ensure + # we don't 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 [ "${KV}" != "${KV/2\.6}" ] + then + doins ${WORKDIR}/lib/modules/fglrx/build_mod/fglrx.ko + else + doins ${WORKDIR}/lib/modules/fglrx/build_mod/fglrx.o + fi + + # OpenGL libs + exeinto ${ATI_ROOT}/lib + doexe ${WORKDIR}/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 + # This is the same as that of the X11 implementation ... + dosym ../../${X11_IMPLEM}/lib/libGL.la ${ATI_ROOT}/lib/libGL.la + + # X and DRI driver + exeinto /usr/X11R6/lib/modules/drivers + doexe ${WORKDIR}/usr/X11R6/lib/modules/drivers/fglrx_drv.o + exeinto /usr/X11R6/lib/modules/dri + doexe ${WORKDIR}/usr/X11R6/lib/modules/dri/fglrx_dri.so + rm -f ${WORKDIR}/usr/X11R6/lib/modules/drivers/fglrx_drv.o \ + ${WORKDIR}/usr/X11R6/lib/modules/dri/fglrx_dri.so + + # Same as in the X11 implementation + exeinto ${ATI_ROOT}/ + dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include + dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions + rm -f ${WORKDIR}/usr/X11R6/lib/libGL.so.1.2 + + dodoc ${WORKDIR}/usr/share/doc/fglrx/LICENSE.* + + #apps + insinto /etc/env.d + doins ${FILESDIR}/09ati + exeinto /opt/ati/bin + doexe usr/X11R6/bin/* + rm usr/X11R6/bin/* + + # Removing unused stuff + rm -rf ${WORKDIR}/usr/{src,share} + cp -R ${WORKDIR}/usr ${D}/ +} + +pkg_postinst() { +# Ebuild shouldn't do this automatically, just tell the user to do it, +# otherwise it messes up livecd/gamecd stuff ... (drobbins, 1 May 2003) +# if [ "${ROOT}" = "/" ] +# then +# /usr/sbin/opengl-update ati +# fi + + echo + einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" + einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" + echo + ewarn "***" + ewarn "If you are experiencing problems with memory allocation try to add" + ewarn "this line to in your X11 configuration file:" + ewarn " Option \"KernelModuleParm\" \"agplock=0\" " + ewarn "That should solve the hangups you could have with Neverwinter Nights" + ewarn "***" + # DRM module + update-modules +} diff --git a/media-video/ati-drivers/files/digest-ati-drivers-3.11.1 b/media-video/ati-drivers/files/digest-ati-drivers-3.11.1 new file mode 100644 index 000000000000..ee4d9195febb --- /dev/null +++ b/media-video/ati-drivers/files/digest-ati-drivers-3.11.1 @@ -0,0 +1 @@ +MD5 59a9b2446abb5d1adac8bafd7d11e083 fglrx-4.3.0-3.11.1.i386.rpm 3872130 |