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-astronomy/predict: metadata.xml predict-2.2.3.ebuild ChangeLog predict-2.2.2-r3.ebuild
Date: Tue, 11 Sep 2007 15:14:04
Message-Id: E1IV7KM-0006tN-0v@stork.gentoo.org
1 bicatali 07/09/11 15:06:58
2
3 Modified: metadata.xml predict-2.2.3.ebuild ChangeLog
4 Removed: predict-2.2.2-r3.ebuild
5 Log:
6 Removed old versions, added longdescription, added a patch for xforms.
7 (Portage version: 2.1.2.12)
8
9 Revision Changes Path
10 1.2 sci-astronomy/predict/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/predict/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 24 Dec 2004 04:03:03 -0000 1.1
23 +++ metadata.xml 11 Sep 2007 15:06:57 -0000 1.2
24 @@ -2,4 +2,10 @@
25 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 <pkgmetadata>
27 <herd>sci</herd>
28 +<longdescription lang="en">
29 +Predict is a satellite tracking program. It is probably mostly of interest
30 +to users of amateur satellites, but includes support for optionally
31 +announcing azimuth and elevation to help in manual antenna pointing,
32 +or optical observation of satellites.
33 +</longdescription>
34 </pkgmetadata>
35
36
37
38 1.4 sci-astronomy/predict/predict-2.2.3.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild?rev=1.4&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild?rev=1.4&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild?r1=1.3&r2=1.4
43
44 Index: predict-2.2.3.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild,v
47 retrieving revision 1.3
48 retrieving revision 1.4
49 diff -u -r1.3 -r1.4
50 --- predict-2.2.3.ebuild 26 Jan 2007 14:43:43 -0000 1.3
51 +++ predict-2.2.3.ebuild 11 Sep 2007 15:06:57 -0000 1.4
52 @@ -1,8 +1,8 @@
53 # Copyright 1999-2007 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild,v 1.3 2007/01/26 14:43:43 beandog Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild,v 1.4 2007/09/11 15:06:57 bicatali Exp $
57
58 -inherit toolchain-funcs
59 +inherit toolchain-funcs eutils
60
61 DESCRIPTION="Satellite tracking and orbital prediction."
62 HOMEPAGE="http://www.qsl.net/kd2bd/predict.html"
63 @@ -18,6 +18,12 @@
64 xforms? ( x11-libs/xforms )
65 xplanet? ( || ( x11-misc/xplanet x11-misc/xearth ) )"
66
67 +src_unpack() {
68 + unpack ${A}
69 + cd "${S}"
70 + epatch "${FILESDIR}"/${P}-xforms.patch
71 +}
72 +
73 src_compile() {
74 # predict uses a ncurses based configure script
75 # this is what it does if it was bash based ;)
76 @@ -50,7 +56,7 @@
77 # earthtrack
78 if use xplanet; then
79 einfo "compiling earthtrack"
80 - cd ${S}/clients/earthtrack
81 + cd "${S}"/clients/earthtrack
82 # fix include path
83 sed -e "s:/usr/local/share/xplanet:/usr/share/xplanet:" \
84 -i earthtrack.c || die "Failed to fix xplanet paths"
85 @@ -60,14 +66,14 @@
86
87 # kep_reload
88 einfo "compiling kep_reload"
89 - cd ${S}/clients/kep_reload
90 + cd "${S}"/clients/kep_reload
91 ${COMPILER} kep_reload.c -o kep_reload || \
92 die "Failed compiling kep_reload"
93
94 # map
95 if use xforms; then
96 einfo "compiling map"
97 - cd ${S}/clients/map
98 + cd "${S}"/clients/map
99 TCOMP="${COMPILER} -I/usr/X11R6/include -L/usr/X11R6/$(get_libdir) -lforms -lX11 -lm map.c map_cb.c map_main.c -o map"
100 ${TCOMP} || die "Failed compiling map"
101 fi
102 @@ -77,7 +83,7 @@
103 # note there are plugins for gsat but they are missing header files and wont compile
104 use nls || myconf="--disable-nls"
105 einfo "compiling gsat"
106 - cd ${S}/clients/gsat-*
107 + cd "${S}"/clients/gsat-*
108 ./configure --prefix=/usr ${myconf}
109 cd src
110 sed -e "s:#define DEFAULTPLUGINSDIR .*:#define DEFAULTPLUGINSDIR \"/usr/$(get_libdir)/gsat/plugins/\":" -i globals.h
111 @@ -89,9 +95,9 @@
112
113 src_install() {
114 # install predict
115 - cd ${S}
116 - dobin predict ${FILESDIR}/predict-update
117 - dodoc CHANGES COPYING CREDITS HISTORY README NEWS
118 + cd "${S}"
119 + dobin predict "${FILESDIR}"/predict-update
120 + dodoc CHANGES CREDITS HISTORY README NEWS
121 dodoc docs/pdf/predict.pdf
122 dodoc docs/postscript/predict.ps
123 doman docs/man/predict.1
124 @@ -112,7 +118,7 @@
125
126 # earthtrack
127 if use xplanet; then
128 - cd ${S}/clients/earthtrack
129 + cd "${S}"/clients/earthtrack
130 ln -s earthtrack earthtrack2
131 dobin earthtrack earthtrack2
132 mv README README.earthtrack && \
133 @@ -121,7 +127,7 @@
134 fi
135
136 # kep_reload
137 - cd ${S}/clients/kep_reload
138 + cd "${S}"/clients/kep_reload
139 dobin kep_reload
140 mv INSTALL INSTALL.kep_reload && \
141 mv README README.kep_reload && \
142 @@ -130,9 +136,9 @@
143
144 # map
145 if use xforms; then
146 - cd ${S}/clients/map
147 + cd "${S}"/clients/map
148 dobin map
149 - for i in CHANGES README COPYING; do
150 + for i in CHANGES README; do
151 mv ${i} ${i}.map && dodoc ${i}.map || \
152 die "Failed to install xforms docs"
153 done
154 @@ -141,13 +147,13 @@
155 # gsat
156 if use gtk; then
157 # the install seems broken so do manually...
158 - cd ${S}/clients/gsat-*
159 + cd "${S}"/clients/gsat-*
160 dodir /usr/$(get_libdir)/gsat/plugins
161 keepdir /usr/$(get_libdir)/gsat/plugins
162 cd src
163 dobin gsat
164 cd ..
165 - for i in AUTHORS ABOUT-NLS COPYING ChangeLog INSTALL NEWS README Plugin_API; do
166 + for i in AUTHORS ABOUT-NLS ChangeLog INSTALL NEWS README Plugin_API; do
167 mv ${i} ${i}.gsat && dodoc ${i}.gsat || \
168 die "Failed to install gsat docs"
169 done
170
171
172
173 1.10 sci-astronomy/predict/ChangeLog
174
175 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/ChangeLog?rev=1.10&view=markup
176 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/ChangeLog?rev=1.10&content-type=text/plain
177 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/predict/ChangeLog?r1=1.9&r2=1.10
178
179 Index: ChangeLog
180 ===================================================================
181 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/predict/ChangeLog,v
182 retrieving revision 1.9
183 retrieving revision 1.10
184 diff -u -r1.9 -r1.10
185 --- ChangeLog 26 Jan 2007 14:43:43 -0000 1.9
186 +++ ChangeLog 11 Sep 2007 15:06:57 -0000 1.10
187 @@ -1,6 +1,11 @@
188 # ChangeLog for sci-astronomy/predict
189 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
190 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/ChangeLog,v 1.9 2007/01/26 14:43:43 beandog Exp $
191 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/ChangeLog,v 1.10 2007/09/11 15:06:57 bicatali Exp $
192 +
193 + 11 Sep 2007; Sébastien Fabbro <bicatali@g.o>
194 + -predict-2.2.2-r3.ebuild, predict-2.2.3.ebuild, +files/predict-2.2.3-xforms.patch
195 + Removed old versions, added longdescription, added a patch for
196 + xforms. Should fix bug #140991.
197
198 26 Jan 2007; Steve Dibb <beandog@g.o> predict-2.2.3.ebuild:
199 amd64 stable, bug 160130
200
201
202
203 --
204 gentoo-commits@g.o mailing list