summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-03-07 05:02:53 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-03-07 05:02:53 +0000
commit953b02de9284336d41c4f08e5cd5fddd06055107 (patch)
tree3616d78ecc5dcad06a009a1e3b3cb53455a23179 /sci-mathematics/gretl
parentBased on vanilla 2.6.37.2 + genpatches-2.6.37.2 + grsecurity-2.2.1-2.6.37.2-2... (diff)
downloadgentoo-2-953b02de9284336d41c4f08e5cd5fddd06055107.tar.gz
gentoo-2-953b02de9284336d41c4f08e5cd5fddd06055107.tar.bz2
gentoo-2-953b02de9284336d41c4f08e5cd5fddd06055107.zip
Version bump. Removed old.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/gretl')
-rw-r--r--sci-mathematics/gretl/ChangeLog9
-rw-r--r--sci-mathematics/gretl/files/gretl-1.7.5-locale.patch10
-rw-r--r--sci-mathematics/gretl/files/gretl-1.9.0-ldflags.patch31
-rw-r--r--sci-mathematics/gretl/gretl-1.9.0-r1.ebuild129
-rw-r--r--sci-mathematics/gretl/gretl-1.9.4.ebuild (renamed from sci-mathematics/gretl/gretl-1.9.2.ebuild)7
5 files changed, 11 insertions, 175 deletions
diff --git a/sci-mathematics/gretl/ChangeLog b/sci-mathematics/gretl/ChangeLog
index 9e286d15f5a2..ccbc5e73e7d3 100644
--- a/sci-mathematics/gretl/ChangeLog
+++ b/sci-mathematics/gretl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-mathematics/gretl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.28 2011/03/02 21:06:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.29 2011/03/07 05:02:52 bicatali Exp $
+
+*gretl-1.9.4 (07 Mar 2011)
+
+ 07 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ -files/gretl-1.7.5-locale.patch, -gretl-1.9.0-r1.ebuild,
+ -files/gretl-1.9.0-ldflags.patch, -gretl-1.9.2.ebuild, +gretl-1.9.4.ebuild:
+ Version bump. Removed old.
02 Mar 2011; Justin Lecher <jlec@gentoo.org> gretl-1.9.0-r1.ebuild,
gretl-1.9.2.ebuild, gretl-1.9.3.ebuild:
diff --git a/sci-mathematics/gretl/files/gretl-1.7.5-locale.patch b/sci-mathematics/gretl/files/gretl-1.7.5-locale.patch
deleted file mode 100644
index 0c5cc6910a75..000000000000
--- a/sci-mathematics/gretl/files/gretl-1.7.5-locale.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- lib/src/libset.c.orig 2008-07-22 12:49:52.000000000 +0100
-+++ lib/src/libset.c 2008-07-22 12:34:52.000000000 +0100
-@@ -28,6 +28,7 @@
-
- #include <unistd.h>
- #include <errno.h>
-+#include <locale.h>
-
- #define PDEBUG 0
-
diff --git a/sci-mathematics/gretl/files/gretl-1.9.0-ldflags.patch b/sci-mathematics/gretl/files/gretl-1.9.0-ldflags.patch
deleted file mode 100644
index 2bfcc96c29aa..000000000000
--- a/sci-mathematics/gretl/files/gretl-1.9.0-ldflags.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Respect LDFLAGS
-
-http://bugs.gentoo.org/333873
-https://sourceforge.net/tracker/?func=detail&aid=3050710&group_id=36234&atid=416803
-
---- lib/Makefile.in
-+++ lib/Makefile.in
-@@ -248,7 +248,7 @@
-
- $(LIBGRETL): .deps $(LOBJS) $(AUX_LOBJ)
- $(LDECHO)
-- $(AMP)$(LIBTOOL) --mode=link $(CCV) -o $@ $(LOBJS) $(AUX_LOBJ) \
-+ $(AMP)$(LIBTOOL) --mode=link $(CCV) $(LDFLAGS) -o $@ $(LOBJS) $(AUX_LOBJ) \
- -rpath $(RPATH) $(LIBS) -version-info $(CURRENT):$(REVISION):$(AGE)
-
- .deps:
---- plugin/Makefile.in
-+++ plugin/Makefile.in
-@@ -54,10 +54,10 @@
- CCECHO = @echo " CC $@"
- LDECHO = @echo " LD $@"
- CCV = $(CC) > /dev/null
-- LINK = $(LDECHO); $(LIBTOOL) --mode=link $(CCV) -module -avoid-version -rpath $(plugindir)
-+ LINK = $(LDECHO); $(LIBTOOL) --mode=link $(CCV) $(LDFLAGS) -module -avoid-version -rpath $(plugindir)
- else
- CCV = $(CC)
-- LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir)
-+ LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -module -avoid-version -rpath $(plugindir)
- endif
-
- GRETLINC = -I$(topsrc)/lib/src
diff --git a/sci-mathematics/gretl/gretl-1.9.0-r1.ebuild b/sci-mathematics/gretl/gretl-1.9.0-r1.ebuild
deleted file mode 100644
index 870af0bff870..000000000000
--- a/sci-mathematics/gretl/gretl-1.9.0-r1.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.0-r1.ebuild,v 1.2 2011/03/02 21:06:38 jlec Exp $
-
-USE_EINSTALL=true
-EAPI=2
-inherit eutils gnome2 elisp-common
-
-DESCRIPTION="Regression, econometrics and time-series library"
-HOMEPAGE="http://gretl.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="accessibility emacs gmp gnome gtk nls odbc openmp readline R sourceview"
-
-RDEPEND="
- dev-libs/libxml2:2
- dev-libs/glib:2
- >=sci-visualization/gnuplot-4.2
- virtual/lapack
- virtual/latex-base
- sci-libs/fftw:3.0
- dev-libs/mpfr
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- accessibility? ( app-accessibility/flite )
- gtk? ( sci-visualization/gnuplot[gd]
- media-libs/gd[png]
- x11-libs/gtk+:2 )
- gnome? ( sci-visualization/gnuplot[gd]
- media-libs/gd[png]
- gnome-base/libgnomeui
- gnome-base/libgnomeprint:2.2
- gnome-base/libgnomeprintui:2.2
- gnome-base/gconf:2 )
- R? ( dev-lang/R )
- sourceview? ( x11-libs/gtksourceview:2.0 )
- odbc? ( dev-db/unixODBC )
- emacs? ( virtual/emacs )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- if use openmp &&
- [[ $(tc-getCC)$ == *gcc* ]] &&
- ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] ||
- ! has_version sys-devel/gcc[openmp] )
- then
- ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 "
- die "Need an OpenMP capable compiler"
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.7.5-locale.patch \
- "${FILESDIR}"/${P}-ldflags.patch
- # fix parallel make reported upstream
- sed -i \
- -e 's/make -C/$(MAKE) -C/g' \
- $(find . -name Makefile.in) || die
-}
-
-src_configure() {
- local myconf
- if use gtk; then
- myconf="--enable-gui"
- myconf="${myconf} $(use_with sourceview gtksourceview)"
- myconf="${myconf} $(use_with gnome)"
- else
- myconf="--disable-gui --without-gnome --without-gtksourceview"
- fi
-
- econf \
- --with-mpfr \
- $(use_enable nls) \
- $(use_enable openmp) \
- $(use_with readline) \
- $(use_with gmp) \
- $(use_with odbc) \
- $(use_with accessibility audio) \
- $(use_with R libR) \
- ${myconf} \
- LAPACK_LIBS="$(pkg-config --libs lapack)"
-}
-
-src_compile() {
- emake || die "emake failed"
- if use emacs; then
- elisp-compile utils/emacs/gretl.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- if use gnome; then
- gnome2_src_install gnome_prefix="${D}"/usr svprefix="${D}usr"
- else
- einstall svprefix="${D}usr"
- fi
- if use gtk && ! use gnome; then
- doicon gnome/gretl.png
- make_desktop_entry gretl_x11 gretl
- fi
- if use emacs; then
- elisp-install ${PN} utils/emacs/gretl.{el,elc} \
- || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
- || die "elisp-site-file-install failed"
- fi
- dodoc README README.audio ChangeLog CompatLog
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "To begin using gretl-mode for all \".inp\" files that you edit,"
- elog "add the following line to your \"~/.emacs\" file:"
- elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/sci-mathematics/gretl/gretl-1.9.2.ebuild b/sci-mathematics/gretl/gretl-1.9.4.ebuild
index 98c59f111cfc..c38d8749f625 100644
--- a/sci-mathematics/gretl/gretl-1.9.2.ebuild
+++ b/sci-mathematics/gretl/gretl-1.9.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.2.ebuild,v 1.3 2011/03/02 21:06:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.4.ebuild,v 1.1 2011/03/07 05:02:52 bicatali Exp $
USE_EINSTALL=true
EAPI=2
@@ -16,8 +16,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="accessibility emacs gnome gtk nls odbc openmp readline R sourceview static-libs"
-RDEPEND="
- dev-libs/libxml2:2
+RDEPEND="dev-libs/libxml2
dev-libs/glib:2
>=sci-visualization/gnuplot-4.2
virtual/lapack
@@ -37,7 +36,7 @@ RDEPEND="
gnome-base/libgnomeprintui:2.2
gnome-base/gconf:2 )
R? ( dev-lang/R )
- sourceview? ( x11-libs/gtksourceview:2.0 )
+ sourceview? ( x11-libs/gtksourceview )
odbc? ( dev-db/unixODBC )
emacs? ( virtual/emacs )"