1 |
bicatali 08/01/12 19:54:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gretl-1.7.1.ebuild |
5 |
Removed: gretl-1.6.5.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
(Portage version: 2.1.4_rc14) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 sci-mathematics/gretl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- ChangeLog 6 Dec 2007 11:37:10 -0000 1.6 |
24 |
+++ ChangeLog 12 Jan 2008 19:54:36 -0000 1.7 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-mathematics/gretl |
27 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.6 2007/12/06 11:37:10 bicatali Exp $ |
29 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.7 2008/01/12 19:54:36 bicatali Exp $ |
31 |
+ |
32 |
+*gretl-1.7.1 (12 Jan 2008) |
33 |
+ |
34 |
+ 12 Jan 2008; Sébastien Fabbro <bicatali@g.o> |
35 |
+ -files/gretl-1.6.5-nls.patch, -gretl-1.6.5.ebuild, +gretl-1.7.1.ebuild: |
36 |
+ Version bump |
37 |
|
38 |
06 Dec 2007; Sébastien Fabbro <bicatali@g.o> |
39 |
+files/50gretl-gentoo.el, gretl-1.7.0.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-mathematics/gretl/gretl-1.7.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/gretl-1.7.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/gretl-1.7.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gretl-1.7.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.7.1.ebuild,v 1.1 2008/01/12 19:54:36 bicatali Exp $ |
53 |
|
54 |
USE_EINSTALL=true |
55 |
|
56 |
inherit eutils gnome2 elisp-common |
57 |
|
58 |
DESCRIPTION="Regression, econometrics and time-series library" |
59 |
HOMEPAGE="http://gretl.sourceforge.net/" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
|
66 |
IUSE="accessibility emacs gmp gnome gtk nls png readline sourceview" |
67 |
|
68 |
RDEPEND="dev-libs/libxml2 |
69 |
>=dev-libs/glib-2 |
70 |
sci-visualization/gnuplot |
71 |
virtual/lapack |
72 |
>=sci-libs/fftw-3 |
73 |
dev-libs/mpfr |
74 |
png? ( media-libs/libpng ) |
75 |
readline? ( sys-libs/readline ) |
76 |
gmp? ( dev-libs/gmp ) |
77 |
accessibility? ( app-accessibility/flite ) |
78 |
gtk? ( >=x11-libs/gtk+-2.0 ) |
79 |
gnome? ( >=gnome-base/libgnomeui-2.0 |
80 |
>=gnome-base/libgnomeprint-2.2 |
81 |
>=gnome-base/libgnomeprintui-2.2 |
82 |
>=gnome-base/gconf-2.0 ) |
83 |
sourceview? ( x11-libs/gtksourceview ) |
84 |
emacs? ( virtual/emacs )" |
85 |
|
86 |
DEPEND="${RDEPEND} |
87 |
dev-util/pkgconfig" |
88 |
|
89 |
SITEFILE=50${PN}-gentoo.el |
90 |
|
91 |
src_unpack() { |
92 |
unpack ${A} |
93 |
cd "${S}" |
94 |
# makefile in cli not propagating flags |
95 |
epatch "${FILESDIR}"/${PN}-1.6.5-cli.patch |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
|
100 |
local myconf |
101 |
if use gtk; then |
102 |
if ! built_with_use sci-visualization/gnuplot gd; then |
103 |
eerror "You need to build gnuplot with gd and png to use the gretl gtk GUI" |
104 |
die "configuring with gnuplot failed" |
105 |
fi |
106 |
myconf="--enable-gui" |
107 |
myconf="${myconf} $(use_with sourceview gtksourceview)" |
108 |
myconf="${myconf} $(use_with gnome)" |
109 |
else |
110 |
myconf="--disable-gui --disable-gnome --disable-gtksourceview" |
111 |
fi |
112 |
|
113 |
econf \ |
114 |
--with-mpfr \ |
115 |
--without-libole2 \ |
116 |
--without-gtkextra \ |
117 |
$(use_enable nls) \ |
118 |
$(use_enable png png-comments) \ |
119 |
$(use_with readline) \ |
120 |
$(use_with gmp) \ |
121 |
$(use_with accessibility audio) \ |
122 |
${myconf} \ |
123 |
LAPACK_LIBS="$(pkg-config --libs lapack)" \ |
124 |
|| die "econf failed" |
125 |
|
126 |
emake || die "emake failed" |
127 |
|
128 |
if use emacs; then |
129 |
elisp-compile utils/emacs/gretl.el || die "elisp-compile failed" |
130 |
fi |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
if use gnome; then |
135 |
gnome2_src_install gnome_prefix="${D}"/usr |
136 |
else |
137 |
einstall || "die einstall failed" |
138 |
fi |
139 |
if use gtk && ! use gnome; then |
140 |
doicon gnome/gretl.png |
141 |
make_desktop_entry gretlx11 gretl |
142 |
fi |
143 |
if use emacs; then |
144 |
elisp-install ${PN} utils/emacs/gretl.{el,elc} \ |
145 |
|| die "elisp-install failed" |
146 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
147 |
|| die "elisp-site-file-install failed" |
148 |
fi |
149 |
dodoc NEWS README README.audio ChangeLog TODO EXTENDING \ |
150 |
|| die "dodoc failed" |
151 |
} |
152 |
|
153 |
pkg_postinst() { |
154 |
if use emacs; then |
155 |
elisp-site-regen |
156 |
elog "To begin using gretl-mode for all \".inp\" files that you edit," |
157 |
elog "add the following line to your \"~/.emacs\" file:" |
158 |
elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))" |
159 |
fi |
160 |
} |
161 |
|
162 |
pkg_postrm() { |
163 |
use emacs && elisp-site-regen |
164 |
} |
165 |
|
166 |
|
167 |
|
168 |
-- |
169 |
gentoo-commits@l.g.o mailing list |