1 |
bicatali 08/07/22 22:03:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gretl-1.7.5.ebuild |
5 |
Removed: gretl-1.7.2.ebuild gretl-1.7.1.ebuild |
6 |
Log: |
7 |
Version bump, with experimental odbc support and some ebuild cleanups |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.11 sci-mathematics/gretl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.11&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.11&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?r1=1.10&r2=1.11 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v |
20 |
retrieving revision 1.10 |
21 |
retrieving revision 1.11 |
22 |
diff -u -r1.10 -r1.11 |
23 |
--- ChangeLog 29 Jun 2008 08:04:44 -0000 1.10 |
24 |
+++ ChangeLog 22 Jul 2008 22:03:19 -0000 1.11 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sci-mathematics/gretl |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.10 2008/06/29 08:04:44 tove Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.11 2008/07/22 22:03:19 bicatali Exp $ |
30 |
+ |
31 |
+*gretl-1.7.5 (22 Jul 2008) |
32 |
+ |
33 |
+ 22 Jul 2008; Sébastien Fabbro <bicatali@g.o> |
34 |
+ +files/gretl-1.7.5-locale.patch, -gretl-1.7.1.ebuild, -gretl-1.7.2.ebuild, |
35 |
+ +gretl-1.7.5.ebuild: |
36 |
+ Version bump, with experimental odbc support and some ebuild cleanups |
37 |
|
38 |
29 Jun 2008; Torsten Veller <tove@g.o> gretl-1.7.1.ebuild, |
39 |
gretl-1.7.2.ebuild, gretl-1.7.4.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-mathematics/gretl/gretl-1.7.5.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/gretl-1.7.5.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/gretl-1.7.5.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gretl-1.7.5.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.5.ebuild,v 1.1 2008/07/22 22:03:19 bicatali Exp $ |
53 |
|
54 |
USE_EINSTALL=true |
55 |
EAPI=1 |
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-3" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
|
66 |
IUSE="accessibility emacs gmp gnome gtk nls odbc readline sourceview" |
67 |
|
68 |
RDEPEND="dev-libs/libxml2 |
69 |
dev-libs/glib:2 |
70 |
sci-visualization/gnuplot |
71 |
virtual/lapack |
72 |
virtual/latex-base |
73 |
sci-libs/fftw:3.0 |
74 |
dev-libs/mpfr |
75 |
readline? ( sys-libs/readline ) |
76 |
gmp? ( dev-libs/gmp ) |
77 |
accessibility? ( app-accessibility/flite ) |
78 |
gtk? ( >=x11-libs/gtk+-2.10:2 ) |
79 |
gnome? ( gnome-base/libgnomeui |
80 |
gnome-base/libgnomeprint:2.2 |
81 |
gnome-base/libgnomeprintui:2.2 |
82 |
gnome-base/gconf:2 ) |
83 |
sourceview? ( x11-libs/gtksourceview ) |
84 |
odbc? ( dev-db/unixODBC ) |
85 |
emacs? ( virtual/emacs )" |
86 |
|
87 |
DEPEND="${RDEPEND} |
88 |
dev-util/pkgconfig" |
89 |
|
90 |
SITEFILE=50${PN}-gentoo.el |
91 |
|
92 |
pkg_setup() { |
93 |
if use gtk && ! built_with_use sci-visualization/gnuplot gd; then |
94 |
eerror "gretl gtk GUI needs gnuplot with gd and gd with png" |
95 |
die "Please install gnuplot with gd and png use flags enabled" |
96 |
fi |
97 |
} |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
cd "${S}" |
102 |
epatch "${FILESDIR}"/${P}-locale.patch |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
|
107 |
local myconf |
108 |
if use gtk; then |
109 |
myconf="--enable-gui" |
110 |
myconf="${myconf} $(use_with sourceview gtksourceview)" |
111 |
myconf="${myconf} $(use_with gnome)" |
112 |
else |
113 |
myconf="--disable-gui --without-gnome --without-gtksourceview" |
114 |
fi |
115 |
|
116 |
econf \ |
117 |
--with-mpfr \ |
118 |
$(use_enable nls) \ |
119 |
$(use_with readline) \ |
120 |
$(use_with gmp) \ |
121 |
$(use_with odbc) \ |
122 |
$(use_with accessibility audio) \ |
123 |
${myconf} \ |
124 |
LAPACK_LIBS="$(pkg-config --libs lapack)" \ |
125 |
|| die "econf failed" |
126 |
|
127 |
emake || die "emake failed" |
128 |
|
129 |
if use emacs; then |
130 |
elisp-compile utils/emacs/gretl.el || die "elisp-compile failed" |
131 |
fi |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
if use gnome; then |
136 |
gnome2_src_install gnome_prefix="${D}"/usr |
137 |
else |
138 |
einstall || die "einstall failed" |
139 |
fi |
140 |
if use gtk && ! use gnome; then |
141 |
doicon gnome/gretl.png |
142 |
make_desktop_entry gretlx11 gretl |
143 |
fi |
144 |
if use emacs; then |
145 |
elisp-install ${PN} utils/emacs/gretl.{el,elc} \ |
146 |
|| die "elisp-install failed" |
147 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
148 |
|| die "elisp-site-file-install failed" |
149 |
fi |
150 |
dodoc README README.audio ChangeLog CompatLog TODO \ |
151 |
|| die "dodoc failed" |
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
if use emacs; then |
156 |
elisp-site-regen |
157 |
elog "To begin using gretl-mode for all \".inp\" files that you edit," |
158 |
elog "add the following line to your \"~/.emacs\" file:" |
159 |
elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))" |
160 |
fi |
161 |
} |
162 |
|
163 |
pkg_postrm() { |
164 |
use emacs && elisp-site-regen |
165 |
} |