From 897f94e0c98cee65abb6aff364b2a65f9c8c824f Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 5 Mar 2010 18:41:13 +0000 Subject: Moved from sunrise overlay. Fixes bug #283449 (Portage version: 2.2_rc63/cvs/Linux x86_64) --- sci-visualization/spyview/ChangeLog | 11 ++++++ .../spyview/files/spyview-includes.patch | 31 +++++++++++++++ sci-visualization/spyview/metadata.xml | 12 ++++++ sci-visualization/spyview/spyview-20100203.ebuild | 45 ++++++++++++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 sci-visualization/spyview/ChangeLog create mode 100644 sci-visualization/spyview/files/spyview-includes.patch create mode 100644 sci-visualization/spyview/metadata.xml create mode 100644 sci-visualization/spyview/spyview-20100203.ebuild (limited to 'sci-visualization') 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 + +spyview-20100203.ebuild, +files/spyview-includes.patch, +metadata.xml: + Moved from sunrise overlay. Thanks to Andreas K. Huettel (dilfridge) + for the ebuild. Fixes bug #283449 + 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 + + 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 + + #include ++#include + #include + #include + #include +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 + #include + #include ++#include + #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 @@ + + + +no-herd + +hwoarang@gentoo.org +Markos Chandras + + + + + 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 +} -- cgit v1.2.3-65-gdbad