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