diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-08-08 13:41:14 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-08-08 13:41:14 +0000 |
commit | 71fa3d5ed71a74a13dc2e7f6103b03bf555f9008 (patch) | |
tree | c2d48e6480de0cbdd8b76047379db3ea2ccc19d5 /sci-mathematics | |
parent | alpha stable (diff) | |
download | historical-71fa3d5ed71a74a13dc2e7f6103b03bf555f9008.tar.gz historical-71fa3d5ed71a74a13dc2e7f6103b03bf555f9008.tar.bz2 historical-71fa3d5ed71a74a13dc2e7f6103b03bf555f9008.zip |
Version bump (fixes bug #234155). Added patch to fix unrespected LDFLAGS.
Package-Manager: portage-2.2_rc5/cvs/Linux 2.6.26-SENTINEL-1 i686
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/gretl/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/gretl/Manifest | 15 | ||||
-rw-r--r-- | sci-mathematics/gretl/files/gretl-1.7.6-ldflags.patch | 80 | ||||
-rw-r--r-- | sci-mathematics/gretl/gretl-1.7.6.ebuild | 117 |
4 files changed, 209 insertions, 12 deletions
diff --git a/sci-mathematics/gretl/ChangeLog b/sci-mathematics/gretl/ChangeLog index 18d40d2e414d..8b46de7d58e5 100644 --- a/sci-mathematics/gretl/ChangeLog +++ b/sci-mathematics/gretl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-mathematics/gretl # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.12 2008/08/06 20:35:56 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.13 2008/08/08 13:41:13 markusle Exp $ + +*gretl-1.7.6 (08 Aug 2008) + + 08 Aug 2008; Markus Dittrich <markusle@gentoo.org> + +files/gretl-1.7.6-ldflags.patch, +gretl-1.7.6.ebuild: + Version bump (fixes bug #234155). Added patch to fix unrespected + LDFLAGS. 06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: Add USE flag description to metadata wrt GLEP 56. diff --git a/sci-mathematics/gretl/Manifest b/sci-mathematics/gretl/Manifest index bb90b97df8ea..2dcb070b382b 100644 --- a/sci-mathematics/gretl/Manifest +++ b/sci-mathematics/gretl/Manifest @@ -1,19 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 50gretl-gentoo.el 473 RMD160 3b16bc41fe78a2e8b02a6d02624e74ae1f9c656e SHA1 c992256afbde18e06f5fc3c70ca7e0c7dafafc87 SHA256 7f5398d85016858044257a900e33d9441aa7a3981ac1d71feff79c26b03aa939 AUX gretl-1.6.5-cli.patch 1040 RMD160 acb538691db639c3afbfe5af1bfb910fe4aa82bc SHA1 9642fcec8ccd10c63f35abf7d6243cf28f8c8b28 SHA256 cd5a24d4227e772d0a544e3f059b12bef627189e1f52de4b9bcddc4dcc32be71 AUX gretl-1.7.5-locale.patch 223 RMD160 2f20cfdf293e12d739797a0424f825dbc4534547 SHA1 36ca4b139f733672a6935406b6058003db9c03a5 SHA256 4633076ed483a595968cb495ef50f72f1a7c5a398acd8ebda907c89fef87d861 +AUX gretl-1.7.6-ldflags.patch 2684 RMD160 32bded4b36f058ee7c460c9288023ccb36dbcedf SHA1 019614437efeebfdf5988a5b05fe19be8bcc9fac SHA256 a12b7b8d5b0bd8f21329aa700ee6e7153e51e7984971d11cd88f83f64f089676 DIST gretl-1.7.4.tar.bz2 4863597 RMD160 7a39c4c8b2a7ff63743c3f74ebbf65bcc7909a7e SHA1 b2b19c5e71eb0db5cf632e839833bbc3db8bfbd1 SHA256 09de2f523fc733559806387b2cd400ccec331f55bc44f242fa631573a75531bf DIST gretl-1.7.5.tar.bz2 4990216 RMD160 c5a4d2aa7d7d9ee671fc2288709dbf3aa74af4a0 SHA1 5cc1bc9f6367c9211035d84f82516cc0f674a330 SHA256 5d5984d8d775c8c261c0bf72d4a62d43de7d5e7ad8d69dd5cc1b0c928ba70919 +DIST gretl-1.7.6.tar.bz2 4988214 RMD160 e3365f99b8f5483e82a61838a4b7c9087231dd7b SHA1 c276fd7643e105dff74a5b84410fc9a071686e34 SHA256 cc9af41dbd4835e07d9ad6eae5ac62c2aa3b8a951e1e12963f387af6f6b283fb EBUILD gretl-1.7.4.ebuild 2913 RMD160 50f4c3d0b411e4eaa25d22e08cb05be37fcdd5aa SHA1 f3d880ac93f93c702c13f794879b7ae50c94a334 SHA256 756cf0b4e4e01670a79a89e58f6a5c949e1ef2d226f9c2789ec56333269fd8a0 EBUILD gretl-1.7.5.ebuild 2855 RMD160 5e3d4f08d3859039aa68553d18d087a72ea865d9 SHA1 c63ee433c31722feba6c843762a40e8ec93e9951 SHA256 52d2392fc3a38cfd8c8154d0a31370e3767563cc4e7e0a271d163252197579da -MISC ChangeLog 2275 RMD160 ad5de43c1c36089ab3b85bee9f9a3e8f94fdbc49 SHA1 39b17281c5d31829a4dd87fc985c6d8d6e729408 SHA256 cf3e60fef5d0974af96046dd268c7fe47a2c4d993f47a74002e456f274383a33 +EBUILD gretl-1.7.6.ebuild 2903 RMD160 9eb3694077c61cf52f91239f810da98b06ad6593 SHA1 c2380ed317b82e59b752d8e0fd1e9c702ed76ab5 SHA256 2d93045ce4ed080ebf3b3c952d2206c760817d18d2acf51bdf8f2407fc3359d4 +MISC ChangeLog 2498 RMD160 378362154d72d4d0ef3aa24bad4036224f9b4040 SHA1 7d3cf11a7626ebf5597bc18cef6dc390237a161a SHA256 32c6e19ff7635064ff9b6633a6934dada451e5f84436d9361974e1d03d432f2d MISC metadata.xml 954 RMD160 907c798b9bfe3ca362a255261ba77633e680a940 SHA1 80a02212a2bfe2576d5a209172a730832ede96a2 SHA256 4f4ef8549a7e73d05ae7640a9d847eb96fb343fcf1b0ebd457aaffc2325f5014 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.9 (GNU/Linux) - -iEYEARECAAYFAkiaCzwACgkQOeoy/oIi7uxpogCgrm0UAa163UEjW5doMhAqqjh6 -x9MAn2e7SgwW6q3yCHGIGaADUY2aVnYF -=l6+i ------END PGP SIGNATURE----- diff --git a/sci-mathematics/gretl/files/gretl-1.7.6-ldflags.patch b/sci-mathematics/gretl/files/gretl-1.7.6-ldflags.patch new file mode 100644 index 000000000000..a136b206c087 --- /dev/null +++ b/sci-mathematics/gretl/files/gretl-1.7.6-ldflags.patch @@ -0,0 +1,80 @@ +diff -Naur gretl-1.7.6/cli/Makefile.in gretl-1.7.6.new/cli/Makefile.in +--- gretl-1.7.6/cli/Makefile.in 2008-03-24 08:46:11.000000000 -0400 ++++ gretl-1.7.6.new/cli/Makefile.in 2008-08-08 09:18:44.000000000 -0400 +@@ -3,6 +3,7 @@ + + CC = @CC@ + CFLAGS = @CFLAGS@ ++LDFLAGS = @LDFLAGS@ + MAKE = @MAKE@ + INSTALL = @INSTALL@ + +@@ -51,7 +52,7 @@ + $(CC) $(CFLAGS) -MM $< > .deps/$*.d + + $(CLI): .deps $(OBJS) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(GRETLLIB) $(READLINE_LIBS) ++ $(LDFLAGS) $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(GRETLLIB) $(READLINE_LIBS) + + .deps: + mkdir $@ +diff -Naur gretl-1.7.6/gui2/Makefile.in gretl-1.7.6.new/gui2/Makefile.in +--- gretl-1.7.6/gui2/Makefile.in 2008-07-29 13:58:41.000000000 -0400 ++++ gretl-1.7.6.new/gui2/Makefile.in 2008-08-08 09:17:52.000000000 -0400 +@@ -7,6 +7,7 @@ + libdir = @libdir@ + CC = @CC@ + CFLAGS = @CFLAGS@ ++LDFLAGS = @CFLAGS@ + MAKE = @MAKE@ + INSTALL = @INSTALL@ + LN = @LN_S@ +@@ -175,7 +176,7 @@ + $(CC) $(CFLAGS) -MM $< > .deps/$*.d + + $(PROG): .deps $(OBJS) $(HACK_OBJ) $(GTKEXTRA_LITE) $(GTKSOURCEVIEW_LITE) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(HACK_OBJ) $(LIBS) $(INETLIB) $(CARBONLIB) ++ $(LDFLAGS) $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(HACK_OBJ) $(LIBS) $(INETLIB) $(CARBONLIB) + + $(HACK_OBJ): $(HACK_SRC) $(HACK_HDR) + $(CC) $(CFLAGS) $(GTK_CFLAGS) -c $< +diff -Naur gretl-1.7.6/lib/Makefile.in gretl-1.7.6.new/lib/Makefile.in +--- gretl-1.7.6/lib/Makefile.in 2008-05-24 21:40:28.000000000 -0400 ++++ gretl-1.7.6.new/lib/Makefile.in 2008-08-08 09:16:48.000000000 -0400 +@@ -6,6 +6,7 @@ + bindir = @bindir@ + CC = @CC@ + CFLAGS = @CFLAGS@ ++LDFLAGS = @LDFLAGS@ + MAKE = @MAKE@ + INSTALL = @INSTALL@ + LN = @LN_S@ +@@ -227,7 +228,7 @@ + $(CC) $(CFLAGS) -MM -MT $*.lo $< > .deps/$*.d + + $(LIBGRETL): .deps $(LOBJS) $(AUX_LOBJ) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(LOBJS) $(AUX_LOBJ) \ ++ $(LDFLAGS) $(LIBTOOL) --mode=link $(CC) -o $@ $(LOBJS) $(AUX_LOBJ) \ + -rpath $(prefix)/lib $(LIBS) \ + -version-info $(CURRENT):$(REVISION):$(AGE) + +diff -Naur gretl-1.7.6/plugin/Makefile.in gretl-1.7.6.new/plugin/Makefile.in +--- gretl-1.7.6/plugin/Makefile.in 2008-05-26 12:47:52.000000000 -0400 ++++ gretl-1.7.6.new/plugin/Makefile.in 2008-08-08 09:13:25.000000000 -0400 +@@ -7,6 +7,7 @@ + + CC = @CC@ + CFLAGS = @CFLAGS@ ++LDFLAGS = @LDFLAGS@ + MAKE = @MAKE@ + INSTALL = @INSTALL@ + LN = @LN_S@ +@@ -47,7 +48,7 @@ + + LIBTOOL = ../libtool + COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) +-LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir) ++LINK = $(LDFLAGS) $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir) + + GRETLINC = -I$(topsrc)/lib/src + GRETLLIB = ../lib/libgretl-1.0.la diff --git a/sci-mathematics/gretl/gretl-1.7.6.ebuild b/sci-mathematics/gretl/gretl-1.7.6.ebuild new file mode 100644 index 000000000000..0439a47be0f9 --- /dev/null +++ b/sci-mathematics/gretl/gretl-1.7.6.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.7.6.ebuild,v 1.1 2008/08/08 13:41:13 markusle Exp $ + +USE_EINSTALL=true +EAPI=1 +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 readline sourceview" + +RDEPEND="dev-libs/libxml2 + dev-libs/glib:2 + sci-visualization/gnuplot + 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? ( >=x11-libs/gtk+-2.10:2 ) + gnome? ( gnome-base/libgnomeui + gnome-base/libgnomeprint:2.2 + gnome-base/libgnomeprintui:2.2 + gnome-base/gconf:2 ) + sourceview? ( x11-libs/gtksourceview ) + odbc? ( dev-db/unixODBC ) + emacs? ( virtual/emacs )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +SITEFILE=50${PN}-gentoo.el + +pkg_setup() { + if use gtk && ! built_with_use sci-visualization/gnuplot gd; then + eerror "gretl gtk GUI needs gnuplot with gd and gd with png" + die "Please install gnuplot with gd and png use flags enabled" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.7.5-locale.patch + epatch "${FILESDIR}"/${P}-ldflags.patch +} + +src_compile() { + + 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_with readline) \ + $(use_with gmp) \ + $(use_with odbc) \ + $(use_with accessibility audio) \ + ${myconf} \ + LAPACK_LIBS="$(pkg-config --libs lapack)" \ + || die "econf failed" + + 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 + else + einstall || die "einstall failed" + fi + if use gtk && ! use gnome; then + doicon gnome/gretl.png + make_desktop_entry gretlx11 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 TODO \ + || die "dodoc failed" +} + +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 +} |