From: | "Jeremy Huddleston (eradicator)" <eradicator@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/eselect-opengl: ChangeLog eselect-opengl-1.0.6.ebuild |
Date: | Sat, 27 Oct 2007 23:06:07 |
Message-Id: | E1IlujB-0006vN-Iv@stork.gentoo.org |
1 | eradicator 07/10/27 23:06:01 |
2 | |
3 | Modified: ChangeLog |
4 | Added: eselect-opengl-1.0.6.ebuild |
5 | Log: |
6 | Cleaned out old cruft which supported the 2004.3 amd64 profile. Improved support for cleaning up after switching away from newer nvidia drivers. In -* to allow time for the file to hit mirrors. |
7 | (Portage version: 2.1.3.16) |
8 | |
9 | Revision Changes Path |
10 | 1.32 app-admin/eselect-opengl/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-opengl/ChangeLog?rev=1.32&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-opengl/ChangeLog?rev=1.32&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-opengl/ChangeLog?r1=1.31&r2=1.32 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v |
19 | retrieving revision 1.31 |
20 | retrieving revision 1.32 |
21 | diff -u -r1.31 -r1.32 |
22 | --- ChangeLog 27 Oct 2007 22:23:47 -0000 1.31 |
23 | +++ ChangeLog 27 Oct 2007 23:06:01 -0000 1.32 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for app-admin/eselect-opengl |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.31 2007/10/27 22:23:47 eradicator Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.32 2007/10/27 23:06:01 eradicator Exp $ |
29 | + |
30 | +*eselect-opengl-1.0.6 (27 Oct 2007) |
31 | + |
32 | + 27 Oct 2007; Jeremy Huddleston <eradicator@g.o> |
33 | + +eselect-opengl-1.0.6.ebuild: |
34 | + Cleaned out old cruft which supported the 2004.3 amd64 profile. Improved |
35 | + support for cleaning up after switching away from newer nvidia drivers. |
36 | |
37 | 27 Oct 2007; Jeremy Huddleston <eradicator@g.o> |
38 | -eselect-opengl-1.0.3.ebuild, -eselect-opengl-1.0.4.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 app-admin/eselect-opengl/eselect-opengl-1.0.6.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.0.6.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.0.6.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: eselect-opengl-1.0.6.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2007 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.0.6.ebuild,v 1.1 2007/10/27 23:06:01 eradicator Exp $ |
52 | |
53 | inherit multilib |
54 | |
55 | DESCRIPTION="Utility to change the OpenGL interface being used" |
56 | HOMEPAGE="http://www.gentoo.org/" |
57 | |
58 | # Source: |
59 | # http://oss.sgi.com/projects/ogl-sample/ABI/glext.h |
60 | # http://oss.sgi.com/projects/ogl-sample/ABI/glxext.h |
61 | |
62 | GLEXT="29" |
63 | GLXEXT="11" |
64 | |
65 | SRC_URI="mirror://gentoo/glext.h-${GLEXT}.bz2 |
66 | mirror://gentoo/glxext.h-${GLXEXT}.bz2 |
67 | mirror://gentoo/opengl.eselect-${PV}.bz2" |
68 | |
69 | LICENSE="GPL-2" |
70 | SLOT="0" |
71 | KEYWORDS="-*" |
72 | #KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
73 | IUSE="" |
74 | EMULTILIB_PKG="true" |
75 | |
76 | DEPEND="app-arch/bzip2" |
77 | RDEPEND=">=app-admin/eselect-1.0.5" |
78 | |
79 | S=${WORKDIR} |
80 | |
81 | src_unpack() { |
82 | unpack ${A} |
83 | |
84 | mv opengl.eselect-${PV} opengl.eselect |
85 | mv glext.h-${GLEXT} glext.h |
86 | mv glxext.h-${GLXEXT} glxext.h |
87 | } |
88 | |
89 | pkg_preinst() { |
90 | # It needs to be before 04multilib |
91 | [[ -f "${ROOT}/etc/env.d/09opengl" ]] && mv ${ROOT}/etc/env.d/09opengl ${ROOT}/etc/env.d/03opengl |
92 | |
93 | OABI="${ABI}" |
94 | for ABI in $(get_install_abis); do |
95 | if [[ -e "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so" ]] |
96 | then |
97 | einfo "Removing libMesaGL.so from xorg-x11 profile. See bug #47598." |
98 | rm -f ${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so |
99 | fi |
100 | if [[ -e "${ROOT}/usr/$(get_libdir)/libMesaGL.so" ]] |
101 | then |
102 | einfo "Removing libMesaGL.so from /usr/$(get_libdir). See bug #47598." |
103 | rm -f ${ROOT}/usr/$(get_libdir)/libMesaGL.so |
104 | fi |
105 | |
106 | for f in ${ROOT}/usr/$(get_libdir)/libGL.so.* ${ROOT}/usr/$(get_libdir)/libGLcore.so.* ${ROOT}/usr/$(get_libdir)/libnvidia-tls* ${ROOT}/usr/$(get_libdir)/tls/libnvidia-tls* ; do |
107 | [[ -e ${f} ]] && rm -f ${f} |
108 | done |
109 | done |
110 | ABI="${OABI}" |
111 | unset OABI |
112 | } |
113 | |
114 | pkg_postinst() { |
115 | local impl="$(eselect opengl show)" |
116 | if [[ -n "${impl}" ]] ; then |
117 | eselect opengl set "${impl}" |
118 | fi |
119 | } |
120 | |
121 | src_install() { |
122 | insinto /usr/share/eselect/modules |
123 | doins opengl.eselect |
124 | |
125 | # Install default glext.h |
126 | insinto /usr/$(get_libdir)/opengl/global/include |
127 | doins ${WORKDIR}/glext.h || die |
128 | doins ${WORKDIR}/glxext.h || die |
129 | } |
130 | |
131 | |
132 | |
133 | -- |
134 | gentoo-commits@g.o mailing list |