summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-07-03 22:55:16 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-07-03 22:55:16 +0000
commit3699d47bcb2b6e1854043d579a8ff45684867b50 (patch)
treeec5c6db2adb494ae3853bf7ad1f30663811c6e0f /sci-visualization
parentVersion bump thanks to georgia_tech_swagger (bug #230633). Allow amd64 users ... (diff)
downloadhistorical-3699d47bcb2b6e1854043d579a8ff45684867b50.tar.gz
historical-3699d47bcb2b6e1854043d579a8ff45684867b50.tar.bz2
historical-3699d47bcb2b6e1854043d579a8ff45684867b50.zip
New package (see bug #226481).
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-SENTINEL-4 i686
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/xyscan/ChangeLog11
-rw-r--r--sci-visualization/xyscan/Manifest5
-rw-r--r--sci-visualization/xyscan/files/xyscan-3.02-docs.patch12
-rw-r--r--sci-visualization/xyscan/metadata.xml9
-rw-r--r--sci-visualization/xyscan/xyscan-3.02.ebuild41
5 files changed, 78 insertions, 0 deletions
diff --git a/sci-visualization/xyscan/ChangeLog b/sci-visualization/xyscan/ChangeLog
new file mode 100644
index 000000000000..a7ee80ce8a75
--- /dev/null
+++ b/sci-visualization/xyscan/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xyscan/ChangeLog,v 1.1 2008/07/03 22:55:15 markusle Exp $
+
+*xyscan-3.02 (03 Jul 2008)
+
+ 03 Jul 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/xyscan-3.02-docs.patch, +metadata.xml, +xyscan-3.02.ebuild:
+ New package (see bug #226481). Thanks much to Benjamin Bannier
+ <benni@netronaut.de> for his ebuild.
+
diff --git a/sci-visualization/xyscan/Manifest b/sci-visualization/xyscan/Manifest
new file mode 100644
index 000000000000..af76f8532e0f
--- /dev/null
+++ b/sci-visualization/xyscan/Manifest
@@ -0,0 +1,5 @@
+AUX xyscan-3.02-docs.patch 486 RMD160 dc64989f157b3c1d268be61045cdb8051963948e SHA1 815635dfb591b75f2ca48a7ed3d8fa602da2bb84 SHA256 566b15954bf07c0e73c79591b5cbe91a614d183d67616dd46fed88086980b04c
+DIST xyscan-3.02-src.tar.gz 359538 RMD160 9b1161da7fe1fe78f18209f4c1b1e923f1c187bf SHA1 906094de752178cb2217cb528732d287c2592edb SHA256 7bec39a25a95819072c31add78059709f6587672b9f15d8ee8582c3c162f950a
+EBUILD xyscan-3.02.ebuild 1007 RMD160 58686505fcdae85d370136ff2f5e6e595021ae6a SHA1 5c00bc13ec855cd0392e9bcddf58a9bdfbb2d583 SHA256 911b381a931d9b48e1bcf6be97d905e53111ed5fb097652127973f95fce45d3a
+MISC ChangeLog 479 RMD160 8edad9cde49fc448a5d6dd7912829636fabd2d5b SHA1 26ad614871397d3903c831357c26be98ca3bc868 SHA256 41afa9c93ded5dde2532a2d3913e61a71a8bc9aa8823cce9e397603cf5e8924d
+MISC metadata.xml 254 RMD160 8e9562c9dd3bd05fdf2dd40bcc5b2ed3dbe9ab75 SHA1 53acb8f334765223c1030a8eb242d584ad376706 SHA256 131c089c8a699c3fb7e8b914f68af259e0b0ad341fba3a8f87827871fc7be701
diff --git a/sci-visualization/xyscan/files/xyscan-3.02-docs.patch b/sci-visualization/xyscan/files/xyscan-3.02-docs.patch
new file mode 100644
index 000000000000..a90e368a60b5
--- /dev/null
+++ b/sci-visualization/xyscan/files/xyscan-3.02-docs.patch
@@ -0,0 +1,12 @@
+diff -Naur xyscan/xyscanWindow.cpp xyscan.new/xyscanWindow.cpp
+--- xyscan/xyscanWindow.cpp 2008-03-25 23:52:04.000000000 -0400
++++ xyscan.new/xyscanWindow.cpp 2008-07-01 09:44:38.000000000 -0400
+@@ -308,7 +308,7 @@
+ QString path = qApp->applicationDirPath() + "/docs";
+ QDir dir(path);
+ if (!dir.exists()) {
+- path = qApp->applicationDirPath() + "/../docs";
++ path = "/usr/share/doc/GENTOO_P/docs";
+ dir.setPath(path);
+ }
+ #if defined(Q_OS_MAC)
diff --git a/sci-visualization/xyscan/metadata.xml b/sci-visualization/xyscan/metadata.xml
new file mode 100644
index 000000000000..22633b1360bc
--- /dev/null
+++ b/sci-visualization/xyscan/metadata.xml
@@ -0,0 +1,9 @@
+<?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>
+</pkgmetadata>
diff --git a/sci-visualization/xyscan/xyscan-3.02.ebuild b/sci-visualization/xyscan/xyscan-3.02.ebuild
new file mode 100644
index 000000000000..84a4265c9cec
--- /dev/null
+++ b/sci-visualization/xyscan/xyscan-3.02.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xyscan/xyscan-3.02.ebuild,v 1.1 2008/07/03 22:55:15 markusle Exp $
+
+EAPI="1"
+
+inherit qt4
+
+DESCRIPTION="Extract data points and errors from graphs"
+HOMEPAGE="http://star.physics.yale.edu/~ullrich/xyscanDistributionPage/"
+SRC_URI="http://star.physics.yale.edu/~ullrich/${PN}DistributionPage/${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}"
+ epatch "${FILESDIR}"/${P}-docs.patch
+ sed -e "s:GENTOO_P:${P}:" -i 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/${P}"
+ doins -r docs || die "Failed to install docs"
+}