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
commit6f824d9294c83dfc1422e8e2d1e4ca833e5ab933 (patch)
treec034b56525a3237056923367f1e59bc65cd78137 /sci-visualization/xyscan
parentVersion bump thanks to georgia_tech_swagger (bug #230633). Allow amd64 users ... (diff)
downloadgentoo-2-6f824d9294c83dfc1422e8e2d1e4ca833e5ab933.tar.gz
gentoo-2-6f824d9294c83dfc1422e8e2d1e4ca833e5ab933.tar.bz2
gentoo-2-6f824d9294c83dfc1422e8e2d1e4ca833e5ab933.zip
New package (see bug #226481).
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-SENTINEL-4 i686)
Diffstat (limited to 'sci-visualization/xyscan')
-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..a0169ec8eb7f
--- /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 900 RMD160 b17a43862719340a555ba9175b2b23af07553fe8 SHA1 675a31e861d0284a4bdfc79a0f5286f810ea138e SHA256 de905b2d1fa2eda609c7c059f403389bf29e5904ff134e838dde63d712b1f2dd
+MISC ChangeLog 381 RMD160 cf48ad5e208f7bb50a7a2b383db8814d1ad8c09f SHA1 1635ea65681498a6ae9823c507ad4aeb08cc20cc SHA256 eff9e1e353fc8817de432eedd5b2f698c16859a026636d709c043925bad28bd9
+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"
+}