diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2004-04-01 21:12:21 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2004-04-01 21:12:21 +0000 |
commit | 79a4101d1215fdb75fc7f95ab1ee0ecf0c228d72 (patch) | |
tree | 40eb7ca0ab4668adfe898e73ef2f342a57a155e2 /media-video | |
parent | adding digest (Manifest recommit) (diff) | |
download | gentoo-2-79a4101d1215fdb75fc7f95ab1ee0ecf0c228d72.tar.gz gentoo-2-79a4101d1215fdb75fc7f95ab1ee0ecf0c228d72.tar.bz2 gentoo-2-79a4101d1215fdb75fc7f95ab1ee0ecf0c228d72.zip |
These only work with xfree 4.2 or lower. Since that's not around anymore, these shouldn't be either. Reported by Michael Sterrett <mr_bones_@gentoo.org>.
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/ati-drivers/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/ati-drivers/ati-drivers-2.5.1-r1.ebuild | 140 | ||||
-rw-r--r-- | media-video/ati-drivers/ati-drivers-2.5.1.ebuild | 135 | ||||
-rw-r--r-- | media-video/ati-drivers/files/ati-2.5.1.diff | 23 | ||||
-rw-r--r-- | media-video/ati-drivers/files/digest-ati-drivers-2.5.1 | 1 | ||||
-rw-r--r-- | media-video/ati-drivers/files/digest-ati-drivers-2.5.1-r1 | 1 |
6 files changed, 7 insertions, 301 deletions
diff --git a/media-video/ati-drivers/ChangeLog b/media-video/ati-drivers/ChangeLog index dab357292439..841ff64417ae 100644 --- a/media-video/ati-drivers/ChangeLog +++ b/media-video/ati-drivers/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/ati-drivers # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ChangeLog,v 1.30 2004/03/11 21:26:31 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ChangeLog,v 1.31 2004/04/01 21:12:21 spyderous Exp $ + + 01 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; + ati-drivers-2.5.1-r1.ebuild, ati-drivers-2.5.1.ebuild, files/ati-2.5.1.diff: + These only work with xfree 4.2 or lower. Since that's not around anymore, + these shouldn't be either. Reported by Michael Sterrett + <mr_bones_@gentoo.org>. 11 Mar 2004; Luca Barbato <lu_zero@gentoo.org> : Fixed executable perms diff --git a/media-video/ati-drivers/ati-drivers-2.5.1-r1.ebuild b/media-video/ati-drivers/ati-drivers-2.5.1-r1.ebuild deleted file mode 100644 index 1a75674d22fe..000000000000 --- a/media-video/ati-drivers/ati-drivers-2.5.1-r1.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2003 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-2.5.1-r1.ebuild,v 1.13 2003/09/08 11:47:36 msterret Exp $ - -IUSE="qt kde gnome" - -DESCRIPTION="Ati precompiled drivers for r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="http://pdownload.mii.instacontent.net/ati/drivers/fglrx-glc22-4.2.0-${PV}.i586.rpm" -SLOT="${KV}" -LICENSE="ATI GPL-2 QPL-1.0" -KEYWORDS="-* x86" - -DEPEND=">=virtual/linux-sources-2.4 - app-arch/rpm2targz - <x11-base/xfree-4.2.99 - qt? ( >=x11-libs/qt-3.0 )" - -RDEPEND="qt? ( >=x11-libs/qt-3.0 )" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip" - -src_unpack() { - cd ${WORKDIR} - rpm2targz ${DISTDIR}/${A} || die - tar zxf fglrx-glc22-4.2.0-${PV}.i586.tar.gz || die - epatch ${FILESDIR}/ati-2.5.1.diff - mkdir ${WORKDIR}/fglrxgears - cd ${WORKDIR}/fglrxgears - tar zxf ${WORKDIR}/usr/src/fglrx_sample_source.tgz || die - mv xc/programs/fgl_glxgears/* . - cp Makefile.Linux Makefile.Linux.orig || die - #defining USE_GLU allows this to compile with NVIDIA headers just fine - sed -e "s:-I/usr/X11R6/include:-D USE_GLU -I/usr/X11R6/include:" Makefile.Linux.orig > Makefile.Linux || die - cd ${WORKDIR} - local OLDBIN="/usr/X11R6/bin" - local ATIBIN="${D}/opt/ati/bin" - mkdir fglrx_panel - cd fglrx_panel - tar zxf ${WORKDIR}/usr/src/fglrx_panel_sources.tgz || die - sed -e "s:"${OLDBIN}":"${ATIBIN}":"\ - Makefile >Makefile.new - mv Makefile.new Makefile -} - -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 - #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 || ewarn "glx module not built" - - einfo "building the fgl_glxgears sample" - cd ${WORKDIR}/fglrxgears - make -f Makefile.Linux || die - - if [ "`use qt`" ] - then - einfo "building the qt fglx panel" - cd ${WORKDIR}/fglrx_panel - emake || die - fi - #removing stuff - einfo "cleaning" - cd ${WORKDIR} - rm -fR usr/share - cd usr/X11R6/ - rm -fR bin/firegl*.bz2 bin/LICENSE.* bin/fgl_glxgears src -} - -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 - doins lib/modules/fglrx/build_mod/fglrx.o - -#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 fglrxgears/fgl_glxgears - doexe usr/X11R6/bin/* - rm usr/X11R6/bin/* - - if [ "`use qt`" ] - then - doexe fglrx_panel/fireglcontrol - fi - rm -f 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 chance your XF86Config you can use the bundled \"fglrxconfig\"" -#drm-module - update-modules - -} diff --git a/media-video/ati-drivers/ati-drivers-2.5.1.ebuild b/media-video/ati-drivers/ati-drivers-2.5.1.ebuild deleted file mode 100644 index 94c1f0e94819..000000000000 --- a/media-video/ati-drivers/ati-drivers-2.5.1.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2003 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-2.5.1.ebuild,v 1.9 2003/09/08 11:47:36 msterret Exp $ - -IUSE="qt kde gnome" - -SRC_URI="http://pdownload.mii.instacontent.net/ati/drivers/fglrx-glc22-4.2.0-${PV}.i586.rpm" -HOMEPAGE="http://www.ati.com" -DESCRIPTION="Ati precompiled drivers for r300, r250 and r200 chipsets" - -LICENSE="ATI GPL-2 QPL-1.0" -SLOT="${KV}" -KEYWORDS="-* x86" - -DEPEND=">=virtual/linux-sources-2.4 - >=sys-libs/glibc-2.2.2 - app-arch/rpm2targz - qt? ( >=x11-libs/qt-3.0 )" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip" - -src_unpack() { - cd ${WORKDIR} - rpm2targz ${DISTDIR}/${A} - tar zxf fglrx-glc22-4.2.0-${PV}.i586.tar.gz -} - -src_compile() { - einfo "building the glx module" - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - ./make.sh - - einfo "building the fgl_glxgears sample" - - mkdir ${WORKDIR}/fglrxgears - cd ${WORKDIR}/fglrxgears - tar -xzvf ${WORKDIR}/usr/src/fglrx_sample_source.tgz - mv xc/programs/fgl_glxgears/* . - make -f Makefile.Linux || die - - if [ "`use qt`" ] - then - einfo "building the qt fglx panel" - cd ${WORKDIR} - local OLDBIN="/usr/X11R6/bin" - local ATIBIN="${D}/opt/ati/bin" - mkdir fglrx_panel - cd fglrx_panel - tar -xzvf ${WORKDIR}/usr/src/fglrx_panel_sources.tgz - sed -e "s:"${OLDBIN}":"${ATIBIN}":"\ - Makefile >Makefile.new - mv Makefile.new Makefile - emake || die - fi - -#removing stuff - einfo "cleaning" - cd ${WORKDIR} - rm -fR usr/share - cd usr/X11R6/ - rm -fR bin/firegl*.bz2 bin/LICENSE.* bin/fgl_glxgears src -} - -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 - doins lib/modules/fglrx/build_mod/fglrx.o - -#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 fglrxgears/fgl_glxgears - doexe usr/X11R6/bin/* - rm usr/X11R6/bin/* - - if [ "`use qt`" ] - then - doexe fglrx_panel/fireglcontrol - fi - - #if ["`use kde`"] then - - - #if ["`use gnome`"] - cp -R usr ${D} -} - -pkg_postinst() { -#switch to the ati implementation - if [ "${ROOT}" = "/" ] - then - /usr/sbin/opengl-update ati - fi - - einfo - einfo "To use the xfree GLX, run \"opengl-update xfree\"" - einfo - einfo - einfo "To chance your XF86Config you can use the bundled \"fglrxconfig\"" - einfo - -#drm-module - update-modules -} diff --git a/media-video/ati-drivers/files/ati-2.5.1.diff b/media-video/ati-drivers/files/ati-2.5.1.diff deleted file mode 100644 index dd2eface57ab..000000000000 --- a/media-video/ati-drivers/files/ati-2.5.1.diff +++ /dev/null @@ -1,23 +0,0 @@ ---- lib/modules/fglrx/build_mod/firegl_public.c~ 2003-04-30 10:55:44.000000000 +0100 -+++ lib/modules/fglrx/build_mod/firegl_public.c 2003-04-30 10:57:08.000000000 +0100 -@@ -86,6 +86,19 @@ - #include "firegl_public.h" - - // ============================================================ -+#ifdef CONFIG_HIGHPTE -+ #ifdef pte_offset_map -+// #error Error: this code was never tested with CONFIG_HIGHPTE setting enabled -+ #endif -+#endif -+ -+#ifndef pte_offset -+ #ifdef pte_offset_map -+ #define pte_offset pte_offset_map -+ #endif -+#endif -+ -+// ============================================================ - #ifndef TRUE - #define TRUE 1 - #endif - diff --git a/media-video/ati-drivers/files/digest-ati-drivers-2.5.1 b/media-video/ati-drivers/files/digest-ati-drivers-2.5.1 deleted file mode 100644 index 872b99adf142..000000000000 --- a/media-video/ati-drivers/files/digest-ati-drivers-2.5.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 eef0d547931f8aefd3a19cf1ec09001a fglrx-glc22-4.2.0-2.5.1.i586.rpm 5118135 diff --git a/media-video/ati-drivers/files/digest-ati-drivers-2.5.1-r1 b/media-video/ati-drivers/files/digest-ati-drivers-2.5.1-r1 deleted file mode 100644 index 872b99adf142..000000000000 --- a/media-video/ati-drivers/files/digest-ati-drivers-2.5.1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 eef0d547931f8aefd3a19cf1ec09001a fglrx-glc22-4.2.0-2.5.1.i586.rpm 5118135 |