summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-02-26 21:04:07 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-02-26 21:04:07 +0000
commit6be731e2652aeaaf1d3384c11e52299a274004e4 (patch)
tree7819baea938f3c395804d5443ab0713a343180b8 /sci-visualization/g3data
parentAdd nvidia card to use flags (diff)
downloadgentoo-2-6be731e2652aeaaf1d3384c11e52299a274004e4.tar.gz
gentoo-2-6be731e2652aeaaf1d3384c11e52299a274004e4.tar.bz2
gentoo-2-6be731e2652aeaaf1d3384c11e52299a274004e4.zip
Version bump, fixing more flag propagation in makefile
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/g3data')
-rw-r--r--sci-visualization/g3data/ChangeLog10
-rw-r--r--sci-visualization/g3data/files/g3data-1.5.3-makefile.patch44
-rw-r--r--sci-visualization/g3data/g3data-1.5.3.ebuild39
3 files changed, 91 insertions, 2 deletions
diff --git a/sci-visualization/g3data/ChangeLog b/sci-visualization/g3data/ChangeLog
index 377906169055..21b89c98cad8 100644
--- a/sci-visualization/g3data/ChangeLog
+++ b/sci-visualization/g3data/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-visualization/g3data
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/g3data/ChangeLog,v 1.4 2008/11/27 18:25:22 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/g3data/ChangeLog,v 1.5 2009/02/26 21:04:07 bicatali Exp $
+
+*g3data-1.5.3 (26 Feb 2009)
+
+ 26 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/g3data-1.5.3-makefile.patch, +g3data-1.5.3.ebuild:
+ Version bump, fixing more flag propagation in makefile
27 Nov 2008; Sébastien Fabbro <bicatali@gentoo.org>
+files/g3data-1.5.1-makefile.patch, metadata.xml, g3data-1.5.1.ebuild:
diff --git a/sci-visualization/g3data/files/g3data-1.5.3-makefile.patch b/sci-visualization/g3data/files/g3data-1.5.3-makefile.patch
new file mode 100644
index 000000000000..9c9bbfd546f9
--- /dev/null
+++ b/sci-visualization/g3data/files/g3data-1.5.3-makefile.patch
@@ -0,0 +1,44 @@
+--- Makefile.orig 2008-12-14 08:20:17.000000000 +0000
++++ Makefile 2009-02-26 19:26:26.052491697 +0000
+@@ -1,15 +1,13 @@
+-CC=gcc
+-CFLAGS=-Wall `pkg-config --cflags gtk+-2.0`
++MYCFLAGS=-Wall `pkg-config --cflags gtk+-2.0`
+ LIBS=`pkg-config --libs gtk+-2.0`
+ bindir ?= /usr/bin
+ mandir ?= /usr/share/man
+
+ .c.o:
+- $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
++ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(MYCFLAGS) $<
+
+-g3data: main.o sort.o points.o drawing.o g3data.1.gz
+- $(CC) $(CFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS)
+- strip g3data
++g3data: main.o sort.o points.o drawing.o g3data.1
++ $(CC) $(LDFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS)
+
+ main.o: main.c main.h strings.h vardefs.h
+
+@@ -19,17 +17,17 @@
+
+ drawing.o: drawing.c main.h
+
+-g3data.1.gz: g3data.sgml
++g3data.1: g3data.sgml
+ rm -f *.1
+ onsgmls g3data.sgml | sgmlspl /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
+- gzip g3data.1
++ mv *.1 g3data.1
+
+ clean:
+- rm -f *.o g3data g3data.1.gz *~ manpage.*
++ rm -f *.o g3data g3data.1 *~ manpage.*
+
+ install:
+ install g3data $(bindir)
+- install g3data.1.gz $(mandir)/man1
++ install g3data.1 $(mandir)/man1
+
+ uninstall:
+ rm $(bindir)/g3data
diff --git a/sci-visualization/g3data/g3data-1.5.3.ebuild b/sci-visualization/g3data/g3data-1.5.3.ebuild
new file mode 100644
index 000000000000..dc025367918c
--- /dev/null
+++ b/sci-visualization/g3data/g3data-1.5.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/g3data/g3data-1.5.3.ebuild,v 1.1 2009/02/26 21:04:07 bicatali Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Tool for extracting data from graphs"
+HOMEPAGE="http://www.frantz.fi/software/g3data.php"
+SRC_URI="http://www.frantz.fi/software/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND=">=x11-libs/gtk+-2.6.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ ~app-text/docbook-sgml-utils-0.6.14"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_install() {
+ dobin g3data || die "dobin failed - no binary!"
+ doman g3data.1 || die "doman failed"
+ dodoc README.SOURCE
+ # xpm image is really a png file
+ newicon g3data-icon.xpm g3data.png
+ make_desktop_entry g3data "g3data data extractor"
+ if use examples; then
+ docinto examples
+ dodoc README.TEST
+ insinto /usr/share/doc/${PF}/examples
+ doins test1.png test1.values test2.png test2.values
+ fi
+}