diff options
-rw-r--r-- | sci-visualization/spyview/ChangeLog | 11 | ||||
-rw-r--r-- | sci-visualization/spyview/Manifest | 5 | ||||
-rw-r--r-- | sci-visualization/spyview/files/spyview-includes.patch | 31 | ||||
-rw-r--r-- | sci-visualization/spyview/metadata.xml | 12 | ||||
-rw-r--r-- | sci-visualization/spyview/spyview-20100203.ebuild | 45 |
5 files changed, 104 insertions, 0 deletions
diff --git a/sci-visualization/spyview/ChangeLog b/sci-visualization/spyview/ChangeLog new file mode 100644 index 000000000000..921154591b78 --- /dev/null +++ b/sci-visualization/spyview/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-visualization/spyview +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/spyview/ChangeLog,v 1.1 2010/03/05 18:41:11 hwoarang Exp $ + +*spyview-20100203 (05 Mar 2010) + + 05 Mar 2010; Markos Chandras <hwoarang@gentoo.org> + +spyview-20100203.ebuild, +files/spyview-includes.patch, +metadata.xml: + Moved from sunrise overlay. Thanks to Andreas K. Huettel (dilfridge) + <mail@akhuettel.de> for the ebuild. Fixes bug #283449 + diff --git a/sci-visualization/spyview/Manifest b/sci-visualization/spyview/Manifest new file mode 100644 index 000000000000..89634a8c5a16 --- /dev/null +++ b/sci-visualization/spyview/Manifest @@ -0,0 +1,5 @@ +AUX spyview-includes.patch 1289 RMD160 5633b65c311d1a88ce43e664215f7d21e323ba0f SHA1 e536774a25ea17303200cb60e5a65561e76c92f8 SHA256 41f6f26e9d89af2920cf78d3db7cfb9ec3c2fc778d1e8f74012bf037e1cb4a63 +DIST spyview-20100203.tar.gz 3489906 RMD160 efd1aa50a33282b6c5946b91caca5a2bed2f1ea5 SHA1 f04029bf13a290fce27e8c1456e81472d335a3c9 SHA256 5e83b824ce55470824b83be129f69c75772419a0abdf31c4ea4500eb0c8f5cbd +EBUILD spyview-20100203.ebuild 1017 RMD160 dc5230a13a9b7040d68531bd30fabc6cb84c0001 SHA1 a2c3345c8310daa6fe6c8ad3459ab22afd158115 SHA256 5be8879564a73dee7d0ffea5d8697862b65857d5b8d5707a52de997d46f0c540 +MISC ChangeLog 513 RMD160 06f61e3a2b3ede8c5040a5d0cb3086b50abfcd40 SHA1 bf7f1c0078325a913715603bc15e21d1eb1f8173 SHA256 5e67e2432acc9430d3ce2054c05bd7097127a2577710b9362827c06322063208 +MISC metadata.xml 299 RMD160 2e104f9e93f7c11fa27c83226511c841e1a3dbd4 SHA1 25472cd164d586761a84c06a7b1506c6a33c03b7 SHA256 90f87a1654ecc810fd74a96670dee08373b74500e39e378ceb0d64a9c45c6dc5 diff --git a/sci-visualization/spyview/files/spyview-includes.patch b/sci-visualization/spyview/files/spyview-includes.patch new file mode 100644 index 000000000000..fa76d1b8562e --- /dev/null +++ b/sci-visualization/spyview/files/spyview-includes.patch @@ -0,0 +1,31 @@ +diff -r -u spyview-2009-12-14-09_17.orig/spyview/Fl_Listbox.C spyview-2009-12-14-09_17/spyview/Fl_Listbox.C +--- spyview-2009-12-14-09_17.orig/spyview/Fl_Listbox.C 2008-09-05 16:23:20.000000000 +0200 ++++ spyview-2009-12-14-09_17/spyview/Fl_Listbox.C 2010-01-05 15:54:46.000000000 +0100 +@@ -1,4 +1,5 @@ + #include "Fl_Listbox.H" ++#include <stdio.h> + + Fl_Listbox::Fl_Listbox(int x, int y, int w, int h, const char *l) : Fl_Table(x,y,w,h,l) + { +diff -r -u spyview-2009-12-14-09_17.orig/spyview/ImageData.H spyview-2009-12-14-09_17/spyview/ImageData.H +--- spyview-2009-12-14-09_17.orig/spyview/ImageData.H 2009-12-14 09:15:33.000000000 +0100 ++++ spyview-2009-12-14-09_17/spyview/ImageData.H 2010-01-04 22:59:38.000000000 +0100 +@@ -5,6 +5,7 @@ + #include <FL/Fl_Output.H> + + #include <string> ++#include <stdio.h> + #include <string.h> + #include <stdlib.h> + #include <vector> +diff -r -u spyview-2009-12-14-09_17.orig/spyview/gp_to_mat.C spyview-2009-12-14-09_17/spyview/gp_to_mat.C +--- spyview-2009-12-14-09_17.orig/spyview/gp_to_mat.C 2009-08-28 23:46:45.000000000 +0200 ++++ spyview-2009-12-14-09_17/spyview/gp_to_mat.C 2010-01-05 16:47:03.000000000 +0100 +@@ -5,6 +5,7 @@ + #include <map> + #include <math.h> + #include <string.h> ++#include <stdio.h> + #include "../config.h" + + using namespace std; diff --git a/sci-visualization/spyview/metadata.xml b/sci-visualization/spyview/metadata.xml new file mode 100644 index 000000000000..87afd6e36004 --- /dev/null +++ b/sci-visualization/spyview/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/sci-visualization/spyview/spyview-20100203.ebuild b/sci-visualization/spyview/spyview-20100203.ebuild new file mode 100644 index 000000000000..49f9fd58d22e --- /dev/null +++ b/sci-visualization/spyview/spyview-20100203.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +EAPI=2 + +inherit base flag-o-matic eutils multilib + +DESCRIPTION="Interactive plotting program" +HOMEPAGE="http://kavli.nano.tudelft.nl/~gsteele/spyview/" +SRC_URI="http://kavli.nano.tudelft.nl/~gsteele/${PN}/versions/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND=">=dev-libs/boost-1.39 + media-libs/netpbm + >=x11-libs/fltk-1.1.9:1.1 + app-text/ghostscript-gpl" + +DEPEND="${COMMON_DEPEND} + sys-apps/groff" + +RDEPEND="${COMMON_DEPEND} + sci-visualization/gnuplot" + +S=${WORKDIR}/spyview-2010-02-03-11_57 + +src_prepare() { + epatch "${FILESDIR}"/${PN}-includes.patch + + append-cflags $(fltk-config --cflags) + append-cxxflags $(fltk-config --cxxflags) -I/usr/include/netpbm + + # append-ldflags $(fltk-config --ldflags) + # this one leads to an insane amount of warnings + + append-ldflags -L/usr/$(get_libdir)/fltk-1.1 +} + +src_configure() { + econf --datadir=/usr/share/spyview +} |