1 |
jlec 12/06/10 18:46:33 |
2 |
|
3 |
Modified: gretl-1.9.7.ebuild metadata.xml ChangeLog |
4 |
gretl-1.9.8.ebuild |
5 |
Added: gretl-1.9.9.ebuild |
6 |
Log: |
7 |
sci-mathematics/gretl: Version Bump, set gtk version fix (<1.9.9 = gtk2, >=1.9.9 = gtk3), #420559 |
8 |
|
9 |
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.4 sci-mathematics/gretl/gretl-1.9.7.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.7.ebuild?rev=1.4&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.7.ebuild?rev=1.4&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.7.ebuild?r1=1.3&r2=1.4 |
17 |
|
18 |
Index: gretl-1.9.7.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.7.ebuild,v |
21 |
retrieving revision 1.3 |
22 |
retrieving revision 1.4 |
23 |
diff -u -r1.3 -r1.4 |
24 |
--- gretl-1.9.7.ebuild 4 May 2012 07:46:51 -0000 1.3 |
25 |
+++ gretl-1.9.7.ebuild 10 Jun 2012 18:46:32 -0000 1.4 |
26 |
@@ -1,10 +1,12 @@ |
27 |
# Copyright 1999-2012 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.7.ebuild,v 1.3 2012/05/04 07:46:51 jdhore Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.7.ebuild,v 1.4 2012/06/10 18:46:32 jlec Exp $ |
31 |
|
32 |
EAPI=4 |
33 |
+ |
34 |
USE_EINSTALL=true |
35 |
-inherit eutils gnome2 elisp-common |
36 |
+ |
37 |
+inherit eutils gnome2 elisp-common toolchain-funcs |
38 |
|
39 |
DESCRIPTION="Regression, econometrics and time-series library" |
40 |
HOMEPAGE="http://gretl.sourceforge.net/" |
41 |
@@ -13,31 +15,29 @@ |
42 |
LICENSE="GPL-3" |
43 |
SLOT="0" |
44 |
KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="accessibility emacs gnome gtk nls odbc openmp readline sse2 R static-libs" |
46 |
|
47 |
-IUSE="accessibility emacs gnome gtk gtk3 nls odbc openmp readline sse2 R static-libs" |
48 |
- |
49 |
-RDEPEND="dev-libs/libxml2:2 |
50 |
+RDEPEND=" |
51 |
dev-libs/glib:2 |
52 |
- >=sci-visualization/gnuplot-4.2 |
53 |
- virtual/lapack |
54 |
- virtual/latex-base |
55 |
- sci-libs/fftw:3.0 |
56 |
dev-libs/gmp |
57 |
+ dev-libs/libxml2:2 |
58 |
dev-libs/mpfr |
59 |
+ sci-libs/fftw:3.0 |
60 |
+ sci-visualization/gnuplot |
61 |
+ virtual/lapack |
62 |
+ virtual/latex-base |
63 |
readline? ( sys-libs/readline ) |
64 |
accessibility? ( app-accessibility/flite ) |
65 |
- gtk? ( sci-visualization/gnuplot[gd] |
66 |
+ gtk? ( |
67 |
media-libs/gd[png] |
68 |
+ sci-visualization/gnuplot[gd] |
69 |
x11-libs/gtk+:2 |
70 |
x11-libs/gtksourceview:2.0 ) |
71 |
- gtk3? ( sci-visualization/gnuplot[gd] |
72 |
+ gnome? ( |
73 |
+ sci-visualization/gnuplot[gd] |
74 |
media-libs/gd[png] |
75 |
- x11-libs/gtk+:3 |
76 |
- x11-libs/gtksourceview:3.0 ) |
77 |
- gnome? ( sci-visualization/gnuplot[gd] |
78 |
- media-libs/gd[png] |
79 |
- gnome-base/libgnomeui |
80 |
- gnome-base/gconf:2 ) |
81 |
+ gnome-base/libgnomeui |
82 |
+ gnome-base/gconf:2 ) |
83 |
R? ( dev-lang/R ) |
84 |
odbc? ( dev-db/unixODBC ) |
85 |
emacs? ( virtual/emacs )" |
86 |
@@ -48,10 +48,7 @@ |
87 |
SITEFILE=50${PN}-gentoo.el |
88 |
|
89 |
pkg_setup() { |
90 |
- if use openmp && |
91 |
- [[ $(tc-getCC)$ == *gcc* ]] && |
92 |
- ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] || |
93 |
- ! has_version sys-devel/gcc[openmp] ) |
94 |
+ if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp |
95 |
then |
96 |
ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 " |
97 |
die "Need an OpenMP capable compiler" |
98 |
@@ -64,7 +61,6 @@ |
99 |
--enable-shared \ |
100 |
--with-mpfr \ |
101 |
$(use_enable gtk gui) \ |
102 |
- $(use_enable gtk3) \ |
103 |
$(use_enable nls) \ |
104 |
$(use_enable openmp) \ |
105 |
$(use_enable sse2) \ |
106 |
@@ -91,7 +87,7 @@ |
107 |
else |
108 |
einstall svprefix="${ED}usr" |
109 |
fi |
110 |
- if use gtk || use gtk3 && ! use gnome; then |
111 |
+ if use gtk && ! use gnome; then |
112 |
doicon gnome/gretl.png |
113 |
make_desktop_entry gretl_x11 gretl |
114 |
fi |
115 |
|
116 |
|
117 |
|
118 |
1.6 sci-mathematics/gretl/metadata.xml |
119 |
|
120 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/metadata.xml?rev=1.6&view=markup |
121 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/metadata.xml?rev=1.6&content-type=text/plain |
122 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/metadata.xml?r1=1.5&r2=1.6 |
123 |
|
124 |
Index: metadata.xml |
125 |
=================================================================== |
126 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/metadata.xml,v |
127 |
retrieving revision 1.5 |
128 |
retrieving revision 1.6 |
129 |
diff -u -r1.5 -r1.6 |
130 |
--- metadata.xml 17 Dec 2011 06:25:21 -0000 1.5 |
131 |
+++ metadata.xml 10 Jun 2012 18:46:33 -0000 1.6 |
132 |
@@ -1,8 +1,8 @@ |
133 |
<?xml version="1.0" encoding="UTF-8"?> |
134 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
135 |
<pkgmetadata> |
136 |
-<herd>sci-mathematics</herd> |
137 |
-<longdescription lang="en"> |
138 |
+ <herd>sci-mathematics</herd> |
139 |
+ <longdescription lang="en"> |
140 |
GNU Regression, Econometrics and Time-series Library provides |
141 |
a library which comprises various functions relating to econometric |
142 |
estimation, a command-line client program and a GUI. The library is |
143 |
@@ -14,10 +14,7 @@ |
144 |
data, and uses gnuplot for graphing. It can output regression results |
145 |
in LaTeX format. |
146 |
</longdescription> |
147 |
-<use> |
148 |
- <flag name='sourceview'>Enable support for <pkg>x11-libs/gtksourceview</pkg> |
149 |
- </flag> |
150 |
- <flag name='gtk3'>Use GTK+3 frontend instead of GTK+2 </flag> |
151 |
- <flag name='R'>Enable support for <pkg>dev-lang/R</pkg></flag> |
152 |
-</use> |
153 |
+ <use> |
154 |
+ <flag name="R">Enable support for <pkg>dev-lang/R</pkg></flag> |
155 |
+ </use> |
156 |
</pkgmetadata> |
157 |
|
158 |
|
159 |
|
160 |
1.39 sci-mathematics/gretl/ChangeLog |
161 |
|
162 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.39&view=markup |
163 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.39&content-type=text/plain |
164 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/ChangeLog?r1=1.38&r2=1.39 |
165 |
|
166 |
Index: ChangeLog |
167 |
=================================================================== |
168 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v |
169 |
retrieving revision 1.38 |
170 |
retrieving revision 1.39 |
171 |
diff -u -r1.38 -r1.39 |
172 |
--- ChangeLog 4 May 2012 07:46:51 -0000 1.38 |
173 |
+++ ChangeLog 10 Jun 2012 18:46:33 -0000 1.39 |
174 |
@@ -1,6 +1,12 @@ |
175 |
# ChangeLog for sci-mathematics/gretl |
176 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
177 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.38 2012/05/04 07:46:51 jdhore Exp $ |
178 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.39 2012/06/10 18:46:33 jlec Exp $ |
179 |
+ |
180 |
+*gretl-1.9.9 (10 Jun 2012) |
181 |
+ |
182 |
+ 10 Jun 2012; Justin Lecher <jlec@g.o> gretl-1.9.7.ebuild, |
183 |
+ gretl-1.9.8.ebuild, +gretl-1.9.9.ebuild, metadata.xml: |
184 |
+ Version Bump, set gtk version fix (<1.9.9 = gtk2, >=1.9.9 = gtk3), #420559 |
185 |
|
186 |
04 May 2012; Jeff Horelick <jdhore@g.o> gretl-1.9.7.ebuild, |
187 |
gretl-1.9.8.ebuild: |
188 |
|
189 |
|
190 |
|
191 |
1.3 sci-mathematics/gretl/gretl-1.9.8.ebuild |
192 |
|
193 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.8.ebuild?rev=1.3&view=markup |
194 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.8.ebuild?rev=1.3&content-type=text/plain |
195 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.8.ebuild?r1=1.2&r2=1.3 |
196 |
|
197 |
Index: gretl-1.9.8.ebuild |
198 |
=================================================================== |
199 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.8.ebuild,v |
200 |
retrieving revision 1.2 |
201 |
retrieving revision 1.3 |
202 |
diff -u -r1.2 -r1.3 |
203 |
--- gretl-1.9.8.ebuild 4 May 2012 07:46:51 -0000 1.2 |
204 |
+++ gretl-1.9.8.ebuild 10 Jun 2012 18:46:33 -0000 1.3 |
205 |
@@ -1,8 +1,9 @@ |
206 |
# Copyright 1999-2012 Gentoo Foundation |
207 |
# Distributed under the terms of the GNU General Public License v2 |
208 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.8.ebuild,v 1.2 2012/05/04 07:46:51 jdhore Exp $ |
209 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.8.ebuild,v 1.3 2012/06/10 18:46:33 jlec Exp $ |
210 |
|
211 |
EAPI=4 |
212 |
+ |
213 |
USE_EINSTALL=true |
214 |
|
215 |
inherit eutils gnome2 elisp-common toolchain-funcs |
216 |
@@ -14,10 +15,10 @@ |
217 |
LICENSE="GPL-3" |
218 |
SLOT="0" |
219 |
KEYWORDS="~amd64 ~x86" |
220 |
+IUSE="accessibility emacs gnome gtk nls odbc openmp readline sse2 R static-libs" |
221 |
|
222 |
-IUSE="accessibility emacs gnome gtk gtk3 nls odbc openmp readline sse2 R static-libs" |
223 |
- |
224 |
-RDEPEND="dev-libs/glib:2 |
225 |
+RDEPEND=" |
226 |
+ dev-libs/glib:2 |
227 |
dev-libs/gmp |
228 |
dev-libs/libxml2:2 |
229 |
dev-libs/mpfr |
230 |
@@ -27,18 +28,16 @@ |
231 |
virtual/latex-base |
232 |
accessibility? ( app-accessibility/flite ) |
233 |
emacs? ( virtual/emacs ) |
234 |
- gtk? ( media-libs/gd[png] |
235 |
+ gtk? ( |
236 |
+ media-libs/gd[png] |
237 |
sci-visualization/gnuplot[gd] |
238 |
x11-libs/gtk+:2 |
239 |
x11-libs/gtksourceview:2.0 ) |
240 |
- gtk3? ( media-libs/gd[png] |
241 |
+ gnome? ( |
242 |
+ media-libs/gd[png] |
243 |
sci-visualization/gnuplot[gd] |
244 |
- x11-libs/gtk+:3 |
245 |
- x11-libs/gtksourceview:3.0 ) |
246 |
- gnome? ( media-libs/gd[png] |
247 |
- sci-visualization/gnuplot[gd] |
248 |
- gnome-base/libgnomeui |
249 |
- gnome-base/gconf:2 ) |
250 |
+ gnome-base/libgnomeui |
251 |
+ gnome-base/gconf:2 ) |
252 |
odbc? ( dev-db/unixODBC ) |
253 |
R? ( dev-lang/R ) |
254 |
readline? ( sys-libs/readline )" |
255 |
@@ -62,7 +61,6 @@ |
256 |
--enable-shared \ |
257 |
--with-mpfr \ |
258 |
$(use_enable gtk gui) \ |
259 |
- $(use_enable gtk3) \ |
260 |
$(use_enable nls) \ |
261 |
$(use_enable openmp) \ |
262 |
$(use_enable sse2) \ |
263 |
@@ -89,7 +87,7 @@ |
264 |
else |
265 |
einstall svprefix="${ED}usr" |
266 |
fi |
267 |
- if use gtk || use gtk3 && ! use gnome; then |
268 |
+ if use gtk && ! use gnome; then |
269 |
doicon gnome/gretl.png |
270 |
make_desktop_entry gretl_x11 gretl |
271 |
fi |
272 |
|
273 |
|
274 |
|
275 |
1.1 sci-mathematics/gretl/gretl-1.9.9.ebuild |
276 |
|
277 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.9.ebuild?rev=1.1&view=markup |
278 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.9.ebuild?rev=1.1&content-type=text/plain |
279 |
|
280 |
Index: gretl-1.9.9.ebuild |
281 |
=================================================================== |
282 |
# Copyright 1999-2012 Gentoo Foundation |
283 |
# Distributed under the terms of the GNU General Public License v2 |
284 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.9.ebuild,v 1.1 2012/06/10 18:46:33 jlec Exp $ |
285 |
|
286 |
EAPI=4 |
287 |
|
288 |
USE_EINSTALL=true |
289 |
|
290 |
inherit eutils gnome2 elisp-common toolchain-funcs |
291 |
|
292 |
DESCRIPTION="Regression, econometrics and time-series library" |
293 |
HOMEPAGE="http://gretl.sourceforge.net/" |
294 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
295 |
|
296 |
LICENSE="GPL-3" |
297 |
SLOT="0" |
298 |
KEYWORDS="~amd64 ~x86" |
299 |
IUSE="accessibility emacs gnome gtk nls odbc openmp readline sse2 R static-libs" |
300 |
|
301 |
RDEPEND=" |
302 |
dev-libs/glib:2 |
303 |
dev-libs/gmp |
304 |
dev-libs/libxml2:2 |
305 |
dev-libs/mpfr |
306 |
sci-libs/fftw:3.0 |
307 |
sci-visualization/gnuplot |
308 |
virtual/lapack |
309 |
virtual/latex-base |
310 |
accessibility? ( app-accessibility/flite ) |
311 |
emacs? ( virtual/emacs ) |
312 |
gtk? ( |
313 |
media-libs/gd[png] |
314 |
sci-visualization/gnuplot[gd] |
315 |
x11-libs/gtk+:3 |
316 |
x11-libs/gtksourceview:3.0 ) |
317 |
gnome? ( |
318 |
media-libs/gd[png] |
319 |
sci-visualization/gnuplot[gd] |
320 |
gnome-base/libgnomeui |
321 |
gnome-base/gconf:2 ) |
322 |
odbc? ( dev-db/unixODBC ) |
323 |
R? ( dev-lang/R ) |
324 |
readline? ( sys-libs/readline )" |
325 |
|
326 |
DEPEND="${RDEPEND} |
327 |
virtual/pkgconfig" |
328 |
|
329 |
SITEFILE=50${PN}-gentoo.el |
330 |
|
331 |
pkg_setup() { |
332 |
if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp |
333 |
then |
334 |
ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 " |
335 |
die "Need an OpenMP capable compiler" |
336 |
fi |
337 |
} |
338 |
|
339 |
src_configure() { |
340 |
econf \ |
341 |
--disable-rpath \ |
342 |
--enable-shared \ |
343 |
--with-mpfr \ |
344 |
$(use_enable gtk gui) \ |
345 |
$(use_enable gtk gtk3) \ |
346 |
$(use_enable nls) \ |
347 |
$(use_enable openmp) \ |
348 |
$(use_enable sse2) \ |
349 |
$(use_enable static-libs static) \ |
350 |
$(use_with accessibility audio) \ |
351 |
$(use_with gnome) \ |
352 |
$(use_with odbc) \ |
353 |
$(use_with readline) \ |
354 |
$(use_with R libR) \ |
355 |
${myconf} \ |
356 |
LAPACK_LIBS="$(pkg-config --libs lapack)" |
357 |
} |
358 |
|
359 |
src_compile() { |
360 |
emake |
361 |
if use emacs; then |
362 |
elisp-compile utils/emacs/gretl.el || die "elisp-compile failed" |
363 |
fi |
364 |
} |
365 |
|
366 |
src_install() { |
367 |
if use gnome; then |
368 |
gnome2_src_install gnome_prefix="${ED}"/usr svprefix="${ED}usr" |
369 |
else |
370 |
einstall svprefix="${ED}usr" |
371 |
fi |
372 |
if use gtk && ! use gnome; then |
373 |
doicon gnome/gretl.png |
374 |
make_desktop_entry gretl_x11 gretl |
375 |
fi |
376 |
if use emacs; then |
377 |
elisp-install ${PN} utils/emacs/gretl.{el,elc} \ |
378 |
|| die "elisp-install failed" |
379 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
380 |
|| die "elisp-site-file-install failed" |
381 |
fi |
382 |
dodoc README README.audio ChangeLog CompatLog |
383 |
} |
384 |
|
385 |
pkg_postinst() { |
386 |
if use emacs; then |
387 |
elisp-site-regen |
388 |
elog "To begin using gretl-mode for all \".inp\" files that you edit," |
389 |
elog "add the following line to your \"~/.emacs\" file:" |
390 |
elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))" |
391 |
fi |
392 |
} |
393 |
|
394 |
pkg_postrm() { |
395 |
use emacs && elisp-site-regen |
396 |
} |