From 6211efcfc00f3e6f95a1def1d76a9f7c6cd34ae0 Mon Sep 17 00:00:00 2001 From: Andreas Hüttel Date: Thu, 10 Sep 2009 17:28:20 +0000 Subject: sci-visualization/spyview: Tested and small problem fixed on x86, added keyword. svn path=/sunrise/; revision=9206 --- sci-visualization/spyview/ChangeLog | 5 +++ sci-visualization/spyview/Manifest | 5 ++- .../spyview/files/spyview-20090828-cmaps.patch | 12 ++++++ .../spyview/spyview-20090828-r1.ebuild | 45 ++++++++++++++++++++++ sci-visualization/spyview/spyview-20090828.ebuild | 41 -------------------- 5 files changed, 65 insertions(+), 43 deletions(-) create mode 100644 sci-visualization/spyview/files/spyview-20090828-cmaps.patch create mode 100644 sci-visualization/spyview/spyview-20090828-r1.ebuild delete mode 100644 sci-visualization/spyview/spyview-20090828.ebuild (limited to 'sci-visualization/spyview') diff --git a/sci-visualization/spyview/ChangeLog b/sci-visualization/spyview/ChangeLog index 956f4235e..44056d13e 100644 --- a/sci-visualization/spyview/ChangeLog +++ b/sci-visualization/spyview/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 10 Sep 2009; Andreas K. Huettel (dilfridge) + -spyview-20090828.ebuild, +spyview-20090828-r1.ebuild, + +files/spyview-20090828-cmaps.patch: + Tested and small problem fixed on x86, added keyword. + 01 Sep 2009; Andreas K. Huettel (dilfridge) spyview-20090828.ebuild: Removed whitespace in ebuild, added Manifest diff --git a/sci-visualization/spyview/Manifest b/sci-visualization/spyview/Manifest index 96bba5f1b..aff86bf31 100644 --- a/sci-visualization/spyview/Manifest +++ b/sci-visualization/spyview/Manifest @@ -1,4 +1,5 @@ +AUX spyview-20090828-cmaps.patch 573 RMD160 397b1ba954cf23e800686046cc81dd88e5c1cd10 SHA1 aa3df403f66bcd373ee19032349e2cd0728f4623 SHA256 e928e17eaa125ca511d2b4c074d3f09348f23e71ff83ae68cbd7211cf5c499ae DIST spyview-20090828.tar.gz 3305696 RMD160 8732b9b85852e7b3a3a00afb37e7541bb38176f2 SHA1 3876cfb383acaf21da9417b984a509c2f11ed7fc SHA256 dd6266670deb33da3c82f6f61bcd8f9c2c52003d1a0ea57ab16c344f4de076e2 -EBUILD spyview-20090828.ebuild 911 RMD160 8ddc3a12167b9d90afe8eb00cecede3576ca229a SHA1 98f1924754e53c573ea481f0b1a672bd7fb7797b SHA256 8ee5d20d09de3cf05ad19ba628a111327432a91283734738202f7720ef5c61aa -MISC ChangeLog 405 RMD160 5764e23dd87582f0984f3b8e0494dc997df23c26 SHA1 ea1cfa24f31b3bb15c79097e3bc0eef1a77e5cb6 SHA256 1c65f813a78fdf55f3ca842ed0268781bd40b0ea4f39257712dffdd044306fae +EBUILD spyview-20090828-r1.ebuild 993 RMD160 c6ba3877b46e3843c908e3f8cbd98474a5b47e71 SHA1 48da3a5635c846210c44b60885619a17fd2e4c03 SHA256 eb001e71640491d4e8739cfc22b8b70e3b76383c6bbf4cc924c79915ec32552f +MISC ChangeLog 624 RMD160 d74ad0ed02835cb943a61b13ae1ea6011d112e90 SHA1 9726584b4f8c82deab3119a0512cf42e038807c0 SHA256 80d2f7d362bf4234b8b6e844ca85bfbbc13619dc3654f06a0d89b31b82313fdf MISC metadata.xml 171 RMD160 ed284df01c230fc7990a6b5888b39166d23f29ba SHA1 f3d64a69044b710e23fb874b3ee4cd338858c8b4 SHA256 a7b30fbacd0e4c312c07a3efac112a3794c81d134442d8104325734d03425adf diff --git a/sci-visualization/spyview/files/spyview-20090828-cmaps.patch b/sci-visualization/spyview/files/spyview-20090828-cmaps.patch new file mode 100644 index 000000000..940573890 --- /dev/null +++ b/sci-visualization/spyview/files/spyview-20090828-cmaps.patch @@ -0,0 +1,12 @@ +diff -r -u spyview-2009-08-28-23_55.orig/spyview/spyview.C spyview-2009-08-28-23_55/spyview/spyview.C +--- spyview-2009-08-28-23_55.orig/spyview/spyview.C 2009-08-28 23:46:45.000000000 +0200 ++++ spyview-2009-08-28-23_55/spyview/spyview.C 2009-09-10 09:46:58.000000000 +0200 +@@ -127,7 +127,7 @@ + } + for(subdirs_t::iterator i = subdirs.begin(); i != subdirs.end(); i++) + { +- if(*i == "./" || *i == "../") ++ if(*i == "./" || *i == "../" || *i == "") // the last case SHOULD not occur but does... + continue; + find_cmaps(path+*i,pretty_path+*i); + } diff --git a/sci-visualization/spyview/spyview-20090828-r1.ebuild b/sci-visualization/spyview/spyview-20090828-r1.ebuild new file mode 100644 index 000000000..9a7590faf --- /dev/null +++ b/sci-visualization/spyview/spyview-20090828-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +EAPI=2 + +inherit base flag-o-matic eutils + +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.36 + media-libs/netpbm + x11-libs/fltk:1.1 + virtual/ghostscript" + +DEPEND="${COMMON_DEPEND} + sys-apps/groff" + +RDEPEND="${COMMON_DEPEND} + sci-visualization/gnuplot" + +S=${WORKDIR}/spyview-2009-08-28-23_55 + +src_prepare() { + epatch "${FILESDIR}/spyview-20090828-cmaps.patch" +} + +src_configure() { + 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/lib/fltk-1.1 + + econf --datadir=/usr/share/spyview +} diff --git a/sci-visualization/spyview/spyview-20090828.ebuild b/sci-visualization/spyview/spyview-20090828.ebuild deleted file mode 100644 index 7e4b486ea..000000000 --- a/sci-visualization/spyview/spyview-20090828.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header $ - -EAPI=2 - -inherit base flag-o-matic - -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" -IUSE="" - -COMMON_DEPEND=">=dev-libs/boost-1.36 - media-libs/netpbm - x11-libs/fltk:1.1 - virtual/ghostscript" - -DEPEND="${COMMON_DEPEND} - sys-apps/groff" - -RDEPEND="${COMMON_DEPEND} - sci-visualization/gnuplot" - -S=${WORKDIR}/spyview-2009-08-28-23_55 - -src_configure() { - 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/lib/fltk-1.1 - - econf --datadir=/usr/share/spyview -} -- cgit v1.2.3-18-g5258