Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/lightspeed: metadata.xml ChangeLog lightspeed-1.2a-r1.ebuild
Date: Sun, 06 Jan 2008 18:18:40
Message-Id: E1JBa4z-0007SH-2r@stork.gentoo.org
1 bicatali 08/01/06 18:18:37
2
3 Modified: metadata.xml ChangeLog
4 Added: lightspeed-1.2a-r1.ebuild
5 Log:
6 Updated with gtk-2 dependency, see bug #204621. Warning: still buggy.
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.4 sci-physics/lightspeed/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/metadata.xml?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/metadata.xml?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/metadata.xml?r1=1.3&r2=1.4
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/metadata.xml,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- metadata.xml 6 Jan 2008 16:46:45 -0000 1.3
23 +++ metadata.xml 6 Jan 2008 18:18:36 -0000 1.4
24 @@ -5,6 +5,9 @@
25 <longdescription lang="en">
26 Light Speed! is an OpenGL-based program developed to illustrate the
27 effects of special relativity on the appearance of moving
28 - objects.
29 + objects. The moving object is, by default, a geometric lattice. 3D
30 + Studio and LightWave 3D objects may be imported as well. Best of
31 + all, the simulator is completely interactive, rendering the exotic
32 + distortions in real-time.
33 </longdescription>
34 </pkgmetadata>
35
36
37
38 1.7 sci-physics/lightspeed/ChangeLog
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/ChangeLog?rev=1.7&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/ChangeLog?rev=1.7&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/ChangeLog?r1=1.6&r2=1.7
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/ChangeLog,v
47 retrieving revision 1.6
48 retrieving revision 1.7
49 diff -u -r1.6 -r1.7
50 --- ChangeLog 6 Jan 2008 16:51:11 -0000 1.6
51 +++ ChangeLog 6 Jan 2008 18:18:36 -0000 1.7
52 @@ -1,6 +1,12 @@
53 # ChangeLog for sci-physics/lightspeed
54 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/ChangeLog,v 1.6 2008/01/06 16:51:11 bicatali Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/ChangeLog,v 1.7 2008/01/06 18:18:36 bicatali Exp $
57 +
58 +*lightspeed-1.2a-r1 (06 Jan 2008)
59 +
60 + 06 Jan 2008; Sébastien Fabbro <bicatali@g.o> metadata.xml,
61 + +lightspeed-1.2a-r1.ebuild:
62 + Updated with gtk-2 dependency, see bug #204621. Warning: still buggy.
63
64 06 Jan 2008; Sébastien Fabbro <bicatali@g.o> metadata.xml,
65 lightspeed-1.2a.ebuild:
66
67
68
69 1.1 sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild
70
71 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild?rev=1.1&view=markup
72 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild?rev=1.1&content-type=text/plain
73
74 Index: lightspeed-1.2a-r1.ebuild
75 ===================================================================
76 # Copyright 1999-2008 Gentoo Foundation
77 # Distributed under the terms of the GNU General Public License v2
78 # $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild,v 1.1 2008/01/06 18:18:36 bicatali Exp $
79
80 inherit eutils
81
82 DEB_PATCH="${PN}_${PV}-7"
83 DESCRIPTION="OpenGL interactive relativistic simulator"
84 HOMEPAGE="http://lightspeed.sourceforge.net/"
85 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
86 mirror://sourceforge/${PN}/objects-1.tar.gz
87 mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_PATCH}.diff.gz"
88
89 LICENSE="LGPL-2.1"
90 SLOT="0"
91 KEYWORDS="~x86 ~amd64 ~ppc"
92
93 IUSE="nls"
94 LANGS="es"
95 for i in ${LANGS}; do
96 IUSE="${IUSE} linguas_${i}"
97 done
98
99
100 DEPEND="virtual/opengl
101 x11-libs/gtkglext
102 x11-libs/gtkglarea
103 >=x11-libs/gtk+-2
104 media-libs/libpng
105 media-libs/tiff
106 truetype? ( media-libs/ftgl )"
107
108 S2="${WORKDIR}/objects"
109
110 src_unpack() {
111 unpack ${A}
112 epatch ${DEB_PATCH}.diff
113 }
114
115 src_compile() {
116 econf \
117 --with-gtk=2 \
118 $(use_enable nls) \
119 $(use_with truetype ftgl) \
120 || die "econf failed"
121 emake || die "emake failed"
122 for i in ${LANGS}; do
123 use linguas_${i} && emake ${i}.gmo
124 done
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "emake install failed"
129 doicon src/icon.xpm
130 make_desktop_entry lightspeed lightspeed \
131 lightspeed.xpm "Science;Physics;Education"
132 dodoc AUTHORS ChangeLog MATH NEWS README TODO || die
133 newdoc debian/changelog ChangeLog.Debian || die
134 cd ${S2}
135 newdoc README objects-README || die
136 insinto /usr/share/${PN}
137 doins *.3ds *.lwo || die
138 }
139
140 pkg_postinst() {
141 elog
142 elog "Some 3d models have been placed in /usr/share/${PN}"
143 elog "You can load them in Light Speed! from the File menu."
144 elog
145 }
146
147
148
149 --
150 gentoo-commits@l.g.o mailing list