1 |
remi 09/06/19 11:50:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: glproto-1.4.10.ebuild |
5 |
Log: |
6 |
x11-proto/glproto: bump to 1.4.10, update license to SGI-B-2.0 |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.58 x11-proto/glproto/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-proto/glproto/ChangeLog?rev=1.58&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-proto/glproto/ChangeLog?rev=1.58&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-proto/glproto/ChangeLog?r1=1.57&r2=1.58 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v |
19 |
retrieving revision 1.57 |
20 |
retrieving revision 1.58 |
21 |
diff -u -r1.57 -r1.58 |
22 |
--- ChangeLog 5 May 2009 15:11:36 -0000 1.57 |
23 |
+++ ChangeLog 19 Jun 2009 11:50:01 -0000 1.58 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for x11-proto/glproto |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.57 2009/05/05 15:11:36 fauli Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.58 2009/06/19 11:50:01 remi Exp $ |
29 |
+ |
30 |
+*glproto-1.4.10 (19 Jun 2009) |
31 |
+ |
32 |
+ 19 Jun 2009; RĂ©mi Cardona <remi@g.o> +glproto-1.4.10.ebuild: |
33 |
+ bump to 1.4.10, update license to SGI-B-2.0 |
34 |
|
35 |
05 May 2009; Christian Faulhammer <fauli@g.o> glproto-1.4.8.ebuild, |
36 |
glproto-1.4.9.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 x11-proto/glproto/glproto-1.4.10.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-proto/glproto/glproto-1.4.10.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-proto/glproto/glproto-1.4.10.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: glproto-1.4.10.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4.10.ebuild,v 1.1 2009/06/19 11:50:01 remi Exp $ |
50 |
|
51 |
# Must be before x-modular eclass is inherited |
52 |
#SNAPSHOT="yes" |
53 |
|
54 |
inherit x-modular |
55 |
|
56 |
OPENGL_DIR="xorg-x11" |
57 |
|
58 |
DESCRIPTION="X.Org GL protocol headers" |
59 |
LICENSE="SGI-B-2.0" |
60 |
|
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
62 |
IUSE="" |
63 |
RDEPEND="app-admin/eselect-opengl" |
64 |
DEPEND="" |
65 |
|
66 |
src_install() { |
67 |
x-modular_src_install |
68 |
|
69 |
dynamic_libgl_install |
70 |
} |
71 |
|
72 |
pkg_postinst() { |
73 |
x-modular_pkg_postinst |
74 |
|
75 |
switch_opengl_implem |
76 |
} |
77 |
|
78 |
dynamic_libgl_install() { |
79 |
# next section is to setup the dynamic libGL stuff |
80 |
ebegin "Moving GL files for dynamic switching" |
81 |
dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/include |
82 |
local x="" |
83 |
# glext.h added for #54984 |
84 |
for x in "${D}"/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}; do |
85 |
if [[ -f ${x} || -L ${x} ]]; then |
86 |
mv -f "${x}" "${D}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include |
87 |
fi |
88 |
done |
89 |
eend 0 |
90 |
} |
91 |
|
92 |
switch_opengl_implem() { |
93 |
# Switch to the xorg implementation. |
94 |
# Use new opengl-update that will not reset user selected |
95 |
# OpenGL interface ... |
96 |
echo |
97 |
eselect opengl set --use-old ${OPENGL_DIR} |
98 |
} |