summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-01-30 09:55:42 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-01-30 09:55:42 +0000
commitf93ca8424f6fc782bddc3dac3b74b55e762fc724 (patch)
tree3c7092f03c951c069ed8046b5111b1c9e79b926d /sci-visualization/xyscan
parentVersion bump (diff)
downloadgentoo-2-f93ca8424f6fc782bddc3dac3b74b55e762fc724.tar.gz
gentoo-2-f93ca8424f6fc782bddc3dac3b74b55e762fc724.tar.bz2
gentoo-2-f93ca8424f6fc782bddc3dac3b74b55e762fc724.zip
Version bump. Thanks Benjamin Bannier, bug #256674
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/xyscan')
-rw-r--r--sci-visualization/xyscan/ChangeLog10
-rw-r--r--sci-visualization/xyscan/metadata.xml16
-rw-r--r--sci-visualization/xyscan/xyscan-3.1.0.ebuild44
3 files changed, 63 insertions, 7 deletions
diff --git a/sci-visualization/xyscan/ChangeLog b/sci-visualization/xyscan/ChangeLog
index 8c7fd24230b8..8cd0f7151d9a 100644
--- a/sci-visualization/xyscan/ChangeLog
+++ b/sci-visualization/xyscan/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-visualization/xyscan
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xyscan/ChangeLog,v 1.2 2008/07/05 06:50:55 swegener Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xyscan/ChangeLog,v 1.3 2009/01/30 09:55:42 bicatali Exp $
+
+*xyscan-3.1.0 (30 Jan 2009)
+
+ 30 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ +xyscan-3.1.0.ebuild:
+ Version bump. Thanks Benjamin Bannier, bug #256674
*xyscan-3.02 (03 Jul 2008)
diff --git a/sci-visualization/xyscan/metadata.xml b/sci-visualization/xyscan/metadata.xml
index 22633b1360bc..322d96ff9458 100644
--- a/sci-visualization/xyscan/metadata.xml
+++ b/sci-visualization/xyscan/metadata.xml
@@ -1,9 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <maintainer>
- <email>markusle@gentoo.org</email>
- <name>Markus Dittrich</name>
- </maintainer>
+ <herd>sci</herd>
+ <maintainer>
+ <email>markusle@gentoo.org</email>
+ <name>Markus Dittrich</name>
+ </maintainer>
+<longdescription lang="en">
+ xyscan is a tool for scientist in the need to extract data points,
+ i.e. numeric values, from a plot. It allows to scan the plots and
+ extract data points including the size of the error bars (both in x
+ and y). It can handle plots with linear and logarithmic scales.
+</longdescription>
</pkgmetadata>
diff --git a/sci-visualization/xyscan/xyscan-3.1.0.ebuild b/sci-visualization/xyscan/xyscan-3.1.0.ebuild
new file mode 100644
index 000000000000..bc37194b1f15
--- /dev/null
+++ b/sci-visualization/xyscan/xyscan-3.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xyscan/xyscan-3.1.0.ebuild,v 1.1 2009/01/30 09:55:42 bicatali Exp $
+
+EAPI="1"
+
+inherit eutils qt4 versionator
+
+MY_PV=$(replace_version_separator 2 '')
+
+DESCRIPTION="Tool for extracting data points from graphs"
+HOMEPAGE="http://star.physics.yale.edu/~ullrich/xyscanDistributionPage/"
+SRC_URI="http://star.physics.yale.edu/~ullrich/${PN}DistributionPage/${MY_PV}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="|| ( x11-libs/qt-gui:4 >=x11-libs/qt-4.3:4 )"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:qApp->applicationDirPath() + \"/../docs\":\"/usr/share/doc/${PF}/html\":" \
+ xyscanWindow.cpp || die "Failed to fix docs path"
+}
+
+src_compile() {
+ eqmake4 xyscan.pro
+ emake || die "emake failed"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe xyscan || die "Failed to install xyscan"
+ insinto /usr/share/doc/${PF}/html
+ doins -r docs/* || die "Failed to install docs"
+ newicon images/xyscanIcon.png xyscan.png
+ make_desktop_entry xyscan "xyscan data point extractor"
+}