summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <andreas.huettel@physik.uni-r.de>2012-01-20 15:12:32 +0100
committerAndreas K. Huettel <andreas.huettel@physik.uni-r.de>2012-01-20 15:12:32 +0100
commitd0162bca5190330e61e0ca669b08be0403873f08 (patch)
tree77aa2d7d27410469032cbbddd0b9f75404348c93 /sci-visualization
parentAdded (diff)
downloaddilfridge-d0162bca5190330e61e0ca669b08be0403873f08.tar.gz
dilfridge-d0162bca5190330e61e0ca669b08be0403873f08.tar.bz2
dilfridge-d0162bca5190330e61e0ca669b08be0403873f08.zip
[sci-visualization/spyview] Copied from main tree
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/spyview/ChangeLog95
-rw-r--r--sci-visualization/spyview/Manifest17
-rw-r--r--sci-visualization/spyview/files/spyview-20110329-xsection_fn.patch38
-rw-r--r--sci-visualization/spyview/metadata.xml11
-rw-r--r--sci-visualization/spyview/spyview-20110329-r1.ebuild47
-rw-r--r--sci-visualization/spyview/spyview-20110803.ebuild49
6 files changed, 257 insertions, 0 deletions
diff --git a/sci-visualization/spyview/ChangeLog b/sci-visualization/spyview/ChangeLog
new file mode 100644
index 0000000..71dbf10
--- /dev/null
+++ b/sci-visualization/spyview/ChangeLog
@@ -0,0 +1,95 @@
+# ChangeLog for sci-visualization/spyview
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/spyview/ChangeLog,v 1.19 2012/01/04 17:51:41 phajdan.jr Exp $
+
+ 04 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> spyview-20110803.ebuild:
+ x86 stable wrt bug #394799
+
+ 15 Dec 2011; Agostino Sarubbo <ago@gentoo.org> spyview-20110803.ebuild:
+ Stable for AMD64, wrt bug #394799
+
+*spyview-20110803 (20 Aug 2011)
+
+ 20 Aug 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ +spyview-20110803.ebuild:
+ Version bump
+
+ 13 Jul 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ -spyview-20100810.ebuild:
+ Remove old
+
+ 13 Jul 2011; Markus Meier <maekke@gentoo.org> spyview-20110329-r1.ebuild:
+ x86 stable, bug #371975
+
+ 18 Jun 2011; Markos Chandras <hwoarang@gentoo.org>
+ spyview-20110329-r1.ebuild:
+ Stable on amd64 wrt bug #371975
+
+*spyview-20110329-r1 (24 Apr 2011)
+
+ 24 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ -spyview-20110329.ebuild, +spyview-20110329-r1.ebuild,
+ +files/spyview-20110329-xsection_fn.patch:
+ Fix buffer overflow, bug 339898
+
+*spyview-20110329 (29 Mar 2011)
+
+ 29 Mar 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ -spyview-20100329-r1.ebuild, +spyview-20110329.ebuild:
+ Version bump; remove old
+
+ 20 Mar 2011; Justin Lecher <jlec@gentoo.org> spyview-20100329-r1.ebuild,
+ spyview-20100810.ebuild:
+ x11-libs/fltk SLOTMOVE 1.1 -> 1, corrected ebuild accordingly
+
+ 26 Sep 2010; Markus Meier <maekke@gentoo.org> spyview-20100810.ebuild:
+ x86 stable, bug #338250
+
+ 21 Sep 2010; Markos Chandras <hwoarang@gentoo.org>
+ spyview-20100810.ebuild:
+ Stable on amd64 wrt bug #338250
+
+ 15 Sep 2010; Andreas K. Huettel <dilfridge@gentoo.org>
+ -files/spyview-includes.patch, metadata.xml:
+ Proxied maintainer becomes real maintainer; removed unused patch.
+
+*spyview-20100810 (22 Aug 2010)
+
+ 22 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
+ +spyview-20100810.ebuild:
+ Version bump. Thanks to Andreas K. Hüttel (dilfridge) <mail@akhuettel.de>
+ for the ebuild
+
+ 06 Jul 2010; Markos Chandras <hwoarang@gentoo.org>
+ -spyview-20100203.ebuild:
+ Remove old ebuilds
+
+ 29 Jun 2010; Christian Faulhammer <fauli@gentoo.org>
+ spyview-20100329-r1.ebuild:
+ stable x86, bug 325753
+
+ 27 Jun 2010; Christoph Mende <angelos@gentoo.org>
+ spyview-20100329-r1.ebuild:
+ Stable on amd64 wrt bug #325753
+
+*spyview-20100329-r1 (26 May 2010)
+
+ 26 May 2010; Markos Chandras <hwoarang@gentoo.org>
+ -spyview-20100329.ebuild, +spyview-20100329-r1.ebuild:
+ Revbump which fixes documentation installation wrt bug #316781.
+ Thanks to Andreas K. Huettel <mail@akhuettel.de> for the patch.
+
+*spyview-20100329 (04 Apr 2010)
+
+ 04 Apr 2010; Markos Chandras <hwoarang@gentoo.org>
+ +spyview-20100329.ebuild, metadata.xml:
+ Version bump. Fixes bug #313079. Andreas Huettel will be proxy maintainer
+ forit
+
+*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 0000000..8abccb9
--- /dev/null
+++ b/sci-visualization/spyview/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX spyview-20110329-xsection_fn.patch 1339 RMD160 c10198df42cedd55c850d18501d77afc10330995 SHA1 1c3a3f20d121e4cea77511a1ad773392b25f66ca SHA256 dbd3acd54747cc62a7a7656a678e1cf32957f2063b06447c75230586b5997aa3
+DIST spyview-20110329.tar.gz 1900039 RMD160 1cf8ad167bcce0335001dd78d6431cb1aab74f43 SHA1 436f0452e47bf7efdaad61ee930ca857b6ebd457 SHA256 f425543882f4db19cc017f7f9a4442b9f2277a706ced3d4865b73d8661393c86
+DIST spyview-20110803.tar.gz 3720578 RMD160 8fbca697ef87cf6ea6a83bf61e681b877b436af8 SHA1 18a27e345cccd87cdafde3f2d0a73b8d2796b8f3 SHA256 bad83f3469eae79305c8dbfeb067366748f658dd17acf4a5b021f59ee39b29a3
+EBUILD spyview-20110329-r1.ebuild 1180 RMD160 6bf9a4d2fb1a8d535474f764445586bb165d2459 SHA1 b311526da1dc2139eedc6b5b4c70e460e5f88d63 SHA256 eef45445fa963593366010d5cd95f61b09b6b8eb4490f09302ad886ac76f9132
+EBUILD spyview-20110803.ebuild 1170 RMD160 c554b96fd1c71387ac488f5619e3b3dec8de314b SHA1 c40bee070eab1e5dd4d822d702fed51ac3b02453 SHA256 dfc59a2cc5e4604256b17528bde3807d41fa15dab0554e8c277f4817a2e22bea
+MISC ChangeLog 3183 RMD160 4730033f038ce7eb9e31680849f778289b8cc7c5 SHA1 cd3f02e0a491ae5c595054fb6f0341ec4f7b5b6b SHA256 4a9765c380afb82eb2c32fa29bb9f42217ff5482d15cd9272ba89cee44a16c00
+MISC metadata.xml 282 RMD160 2ab7072fc8f18bf048d622a55ece78e76cd0243d SHA1 2233c9779d0be9c800450cfbe99e0256ca39f966 SHA256 8e3c9dbc56f304708231a1fde63a594ed67095c413693cf0d654d2e9feba866f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEAREKAAYFAk8EkbQACgkQuUQtlDBCeQICIQCfcZi34a+8zE3eVXfK70kfXDMb
+gxAAniktm24JV7U4u4G/P6X7crqkf53Q
+=qwxr
+-----END PGP SIGNATURE-----
diff --git a/sci-visualization/spyview/files/spyview-20110329-xsection_fn.patch b/sci-visualization/spyview/files/spyview-20110329-xsection_fn.patch
new file mode 100644
index 0000000..47fe50c
--- /dev/null
+++ b/sci-visualization/spyview/files/spyview-20110329-xsection_fn.patch
@@ -0,0 +1,38 @@
+diff -ruN spyview-2011-03-29-10_59.orig/spyview/ImageWindow.C spyview-2011-03-29-10_59/spyview/ImageWindow.C
+--- spyview-2011-03-29-10_59.orig/spyview/ImageWindow.C 2010-08-10 22:12:05.000000000 +0200
++++ spyview-2011-03-29-10_59/spyview/ImageWindow.C 2011-04-24 23:43:55.000000000 +0200
+@@ -2034,25 +2034,25 @@
+ void ImageWindow::exportLinecut()
+ {
+ // Ok, this is a real hack, but it's easy...
+- char tmp[1024];
+- char label[1024];
+- char fn[1024];
++ char tmp[256];
++ char label[256];
++ char fn[256];
+
+ //sprintf is just so damn more convenient than c++ strings
+ if (line_cut_type == HORZLINE)
+- snprintf(label, 1024, "l.%d", line_cut_yp);
++ snprintf(label, 256, "l.%d", line_cut_yp);
+ else if (line_cut_type == VERTLINE)
+- snprintf(label, 1024, "c.%d", line_cut_xp);
++ snprintf(label, 256, "c.%d", line_cut_xp);
+ else
+ sprintf(label, "other");
+- snprintf(fn, 1024, "%s.%s.linecut.dat", output_basename, label);
++ snprintf(fn, 256, "%s.%s.linecut.dat", output_basename, label);
+
+ info("exporting linecut to file %s\n", fn);
+
+- strncpy(tmp, xsection_fn, 1024);
+- strncpy(xsection_fn, fn, 1024);
++ strncpy(tmp, xsection_fn, 256);
++ strncpy(xsection_fn, fn, 256);
+ plotLineCut();
+- strncpy(xsection_fn, tmp, 1024);
++ strncpy(xsection_fn, tmp, 256);
+ }
+
+ void ImageWindow::exportGnuplot()
diff --git a/sci-visualization/spyview/metadata.xml b/sci-visualization/spyview/metadata.xml
new file mode 100644
index 0000000..e6ebe7e
--- /dev/null
+++ b/sci-visualization/spyview/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>dilfridge@gentoo.org</email>
+<name>Andreas K. Huettel</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/sci-visualization/spyview/spyview-20110329-r1.ebuild b/sci-visualization/spyview/spyview-20110329-r1.ebuild
new file mode 100644
index 0000000..6cbfbfa
--- /dev/null
+++ b/sci-visualization/spyview/spyview-20110329-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/spyview/spyview-20110329-r1.ebuild,v 1.3 2011/07/13 19:50:30 maekke Exp $
+
+EAPI=4
+
+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.40
+ media-libs/netpbm
+ x11-libs/fltk:1
+ app-text/ghostscript-gpl"
+
+DEPEND="${COMMON_DEPEND}
+ sys-apps/groff"
+
+RDEPEND="${COMMON_DEPEND}
+ sci-visualization/gnuplot"
+
+S=${WORKDIR}/spyview-2011-03-29-10_59
+
+PATCHES=( "${FILESDIR}/${P}-xsection_fn.patch" )
+
+src_prepare() {
+ 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$(dirname $(fltk-config --libs))
+
+ base_src_prepare
+}
+
+src_configure() {
+ econf --datadir=/usr/share/spyview --docdir=/usr/share/doc/${PF}
+}
diff --git a/sci-visualization/spyview/spyview-20110803.ebuild b/sci-visualization/spyview/spyview-20110803.ebuild
new file mode 100644
index 0000000..b93fc7a
--- /dev/null
+++ b/sci-visualization/spyview/spyview-20110803.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/spyview/spyview-20110803.ebuild,v 1.3 2012/01/04 17:51:41 phajdan.jr Exp $
+
+EAPI=4
+
+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.42
+ media-libs/netpbm
+ media-libs/libpng:1.2
+ x11-libs/fltk:1
+ app-text/ghostscript-gpl
+ virtual/glu
+"
+
+DEPEND="${COMMON_DEPEND}
+ sys-apps/groff"
+
+RDEPEND="${COMMON_DEPEND}
+ sci-visualization/gnuplot"
+
+S=${WORKDIR}/spyview-2011-08-03-15_33
+
+src_prepare() {
+ 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$(dirname $(fltk-config --libs))
+
+ base_src_prepare
+}
+
+src_configure() {
+ econf --datadir=/usr/share/spyview --docdir=/usr/share/doc/${PF}
+}