summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-08-02 17:27:33 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-08-02 17:27:33 +0000
commitf56147be1c6339aeeb1aa2b017a21aa0cbcef722 (patch)
treef6ef96d481cdae291dc12d779b84924d9bea99fb /sci-astronomy/ds9
parentPortage 2.1.3.1 breaks on this arch, masking (diff)
downloadgentoo-2-f56147be1c6339aeeb1aa2b017a21aa0cbcef722.tar.gz
gentoo-2-f56147be1c6339aeeb1aa2b017a21aa0cbcef722.tar.bz2
gentoo-2-f56147be1c6339aeeb1aa2b017a21aa0cbcef722.zip
Initial import. Closing bug #65657
(Portage version: 2.1.2.11)
Diffstat (limited to 'sci-astronomy/ds9')
-rw-r--r--sci-astronomy/ds9/ChangeLog10
-rw-r--r--sci-astronomy/ds9/Manifest20
-rw-r--r--sci-astronomy/ds9/ds9-4.13.ebuild54
-rw-r--r--sci-astronomy/ds9/files/digest-ds9-4.133
-rw-r--r--sci-astronomy/ds9/files/ds9-4.13-Makefile.patch68
-rw-r--r--sci-astronomy/ds9/metadata.xml26
6 files changed, 181 insertions, 0 deletions
diff --git a/sci-astronomy/ds9/ChangeLog b/sci-astronomy/ds9/ChangeLog
new file mode 100644
index 000000000000..377d66bf5824
--- /dev/null
+++ b/sci-astronomy/ds9/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-astronomy/ds9
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.1 2007/08/02 17:27:33 bicatali Exp $
+
+*ds9-4.13 (02 Aug 2007)
+
+ 02 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/ds9-4.13-Makefile.patch, +metadata.xml, +ds9-4.13.ebuild:
+ Initial import. Closing bug #65657
+
diff --git a/sci-astronomy/ds9/Manifest b/sci-astronomy/ds9/Manifest
new file mode 100644
index 000000000000..a8eac77c17c7
--- /dev/null
+++ b/sci-astronomy/ds9/Manifest
@@ -0,0 +1,20 @@
+AUX ds9-4.13-Makefile.patch 2463 RMD160 0aef1b79a591d9d11327eb763952d4c3b7818350 SHA1 67cac524850090b6b2371383145ba3e6b7d9539b SHA256 a8a3121a350a9aff5d8586a307a4de0ad4c30bfc50079e95f062322d826f593e
+MD5 86f2391964f277f1a5f3449fec065546 files/ds9-4.13-Makefile.patch 2463
+RMD160 0aef1b79a591d9d11327eb763952d4c3b7818350 files/ds9-4.13-Makefile.patch 2463
+SHA256 a8a3121a350a9aff5d8586a307a4de0ad4c30bfc50079e95f062322d826f593e files/ds9-4.13-Makefile.patch 2463
+DIST ds9.4.13.tar.gz 25635857 RMD160 8a9f763e6c45a4abd9e7cb6fd4ce7e0dbe149868 SHA1 68f39b5c955526680fec12538aa824b429b95b17 SHA256 638ff1a038c3dea966c6a510cb2f8b044f556ac339b11909b8c6a050a900307b
+EBUILD ds9-4.13.ebuild 1269 RMD160 2d3d88b106eecff6213cb4ddfb2c33736e8a0ec3 SHA1 fa6fae2da1a89900f84cb987439f4d64808b1e73 SHA256 7950160fd9283325f0283045865d0e6f7e44005da880fcae533d6f61729b9469
+MD5 983fa30dd0c65c71c4b202048651eb1d ds9-4.13.ebuild 1269
+RMD160 2d3d88b106eecff6213cb4ddfb2c33736e8a0ec3 ds9-4.13.ebuild 1269
+SHA256 7950160fd9283325f0283045865d0e6f7e44005da880fcae533d6f61729b9469 ds9-4.13.ebuild 1269
+MISC ChangeLog 303 RMD160 53b441a8c618006ac8934721cc26a863faabe388 SHA1 543af0dc26e9ad7e46bcd24959b2eff6a5faec72 SHA256 74bb0b2bf251a6e7da1032f42b4fce5c2073cf48a472ab8621d59d198279d2df
+MD5 6e340b57fca14023665b18590912e611 ChangeLog 303
+RMD160 53b441a8c618006ac8934721cc26a863faabe388 ChangeLog 303
+SHA256 74bb0b2bf251a6e7da1032f42b4fce5c2073cf48a472ab8621d59d198279d2df ChangeLog 303
+MISC metadata.xml 1196 RMD160 242352f83deeb27946429301343c374ab2f8bcc3 SHA1 b38c48867e2620d05725bc5f2a6a882ca9f9e5d2 SHA256 3d12b47bde2cca1438a31213eddc9ebb4dc0138f1699fdb4e8fd444151577560
+MD5 2080fec7ad5b19acc0fa7fe36bfe2334 metadata.xml 1196
+RMD160 242352f83deeb27946429301343c374ab2f8bcc3 metadata.xml 1196
+SHA256 3d12b47bde2cca1438a31213eddc9ebb4dc0138f1699fdb4e8fd444151577560 metadata.xml 1196
+MD5 5085c2acfeef3c632361044a5716de5a files/digest-ds9-4.13 232
+RMD160 d8d36e76f70cd1f2093418749270316ee81106e9 files/digest-ds9-4.13 232
+SHA256 8a1f4648767667a6c636006eeab07f2dfff1257ef9d53a2baf5ebf31cd261a3c files/digest-ds9-4.13 232
diff --git a/sci-astronomy/ds9/ds9-4.13.ebuild b/sci-astronomy/ds9/ds9-4.13.ebuild
new file mode 100644
index 000000000000..84b79e9d92e6
--- /dev/null
+++ b/sci-astronomy/ds9/ds9-4.13.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ds9-4.13.ebuild,v 1.1 2007/08/02 17:27:33 bicatali Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Data visualization application for astronomical FITS images"
+HOMEPAGE="http://hea-www.harvard.edu/RD/ds9"
+SRC_URI="http://hea-www.harvard.edu/saord/download/${PN}/source/${PN}.${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+RDEPEND="x11-libs/libX11
+ x11-libs/libXdmcp
+ x11-libs/libXau"
+DEPEND="${RDEPEND}
+ app-arch/zip"
+
+RESTRICT="strip test"
+
+S=${WORKDIR}/sao${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # patch to speed up compilation (no man pages generation)
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ local ds9arch
+ case ${ARCH} in
+ x86) ds9arch=linux ;;
+ amd64) ds9arch=linux64 ;;
+ ppc) ds9arch=linuxppc ;;
+ x86-fbsd) ds9arch=freebsd ;;
+ *) die "ds9 not supported upstream for this architecture";;
+ esac
+ ln -s make.${ds9arch} make.include
+
+ # This is a long and fragile compilation
+ # which recompiles tcl/tk, tkimg, blt, funtools,
+ # and a lot of other packages
+ emake -j1 OPTS="${CXXFLAGS}" || die "emake failed"
+}
+
+src_install () {
+ dobin bin/ds9
+ dobin bin/xpa*
+ doman man/man?/xpa*
+ dodoc README acknowledgement
+ use doc && dohtml -r doc/*
+}
diff --git a/sci-astronomy/ds9/files/digest-ds9-4.13 b/sci-astronomy/ds9/files/digest-ds9-4.13
new file mode 100644
index 000000000000..65a3f7f590e0
--- /dev/null
+++ b/sci-astronomy/ds9/files/digest-ds9-4.13
@@ -0,0 +1,3 @@
+MD5 6f08cd8d1942e76cf5e9772938849054 ds9.4.13.tar.gz 25635857
+RMD160 8a9f763e6c45a4abd9e7cb6fd4ce7e0dbe149868 ds9.4.13.tar.gz 25635857
+SHA256 638ff1a038c3dea966c6a510cb2f8b044f556ac339b11909b8c6a050a900307b ds9.4.13.tar.gz 25635857
diff --git a/sci-astronomy/ds9/files/ds9-4.13-Makefile.patch b/sci-astronomy/ds9/files/ds9-4.13-Makefile.patch
new file mode 100644
index 000000000000..467c579e200c
--- /dev/null
+++ b/sci-astronomy/ds9/files/ds9-4.13-Makefile.patch
@@ -0,0 +1,68 @@
+--- Makefile.orig 2007-08-01 17:41:38.172069500 +0100
++++ Makefile 2007-08-01 17:57:17.200552750 +0100
+@@ -351,40 +351,41 @@
+ tclsh : FORCE
+ @echo "Installing Tcl shared..."
+ cd $(TCLDIRDIR); CC='$(CC) $(OPTS) $(TCLOPTS)' ./configure $(TCLFLAGS) --enable-shared
+- cd $(TCLDIRDIR); $(MAKE) install
++ cd $(TCLDIRDIR); $(MAKE) install-binaries install-libraries
+
+ tcl : FORCE
+ @echo "Installing Tcl noshared..."
+ cd $(TCLDIRDIR); CC='$(CC) $(OPTS) $(TCLOPTS)' ./configure $(TCLFLAGS) --disable-shared
+ cd $(TCLDIRDIR); $(MAKE) install
++ cd $(TCLDIRDIR); $(MAKE) install-binaries install-libraries
+
+ tksh : FORCE
+ @echo "Installing Tk shared..."
+ cd $(TKDIRDIR); CC='$(CC) $(OPTS) $(TCLOPTS)' ./configure $(TCLFLAGS) --enable-shared
+- cd $(TKDIRDIR); $(MAKE) install
++ cd $(TCLDIRDIR); $(MAKE) install-binaries install-libraries
+ $(RM) -r lib/tk8.4/demos
+ $(RM) -r lib/$(TKVER)/demos
+
+ tk : FORCE
+ @echo "Installing Tk noshared..."
+ cd $(TKDIRDIR); CC='$(CC) $(OPTS) $(TCLOPTS)' ./configure $(TCLFLAGS) --disable-shared
+- cd $(TKDIRDIR); $(MAKE) install
++ cd $(TKDIRDIR); $(MAKE) install-binaries install-libraries
+ $(RM) -r lib/$(TKVER)/demos
+
+ tktablesh : FORCE
+ @echo "Installing TkTable..."
+ cd $(TKTABLEDIR); CC='$(CC) $(OPTS)' ./configure $(TKTABLEFLAGS) --enable-shared
+- cd $(TKTABLEDIR); $(MAKE); $(MAKE) install
++ cd $(TKTABLEDIR); $(MAKE); $(MAKE) install-binaries install-libraries
+
+ tktable : FORCE
+ @echo "Installing TkTable..."
+ cd $(TKTABLEDIR); CC='$(CC) $(OPTS)' ./configure $(TKTABLEFLAGS) --disable-shared
+- cd $(TKTABLEDIR); $(MAKE); $(MAKE) install
++ cd $(TKTABLEDIR); $(MAKE); $(MAKE) install-binaries install-libraries
+
+ tcllib : FORCE
+ @echo "Installing TCLLIB..."
+ cd $(TCLLIBDIR); ./configure $(TCLLIBFLAGS)
+- cd $(TCLLIBDIR); $(MAKE) install
++ cd $(TCLLIBDIR); $(MAKE) install-libraries
+
+ tkindex : FORCE
+ @echo "Installing Tk mkIndex..."
+@@ -403,7 +404,7 @@
+ zlibsh : FORCE
+ @echo "Installing zlib..."
+ cd $(ZLIBDIR); CC=$(CC) CFLAGS='$(OPTS)' ./configure $(ZLIBFLAGS) --shared
+- cd $(ZLIBDIR); $(MAKE) install
++ cd $(ZLIBDIR); $(MAKE) install-binaries install-libraries
+
+ tkimg : FORCE
+ @echo "Installing TKIMG noshared..."
+@@ -413,7 +414,7 @@
+ tkimgsh : FORCE
+ @echo "Installing TKIMG shared..."
+ cd $(TKIMGDIR); CC='$(CC) $(OPTS)' ./configure $(TKIMGFLAGS)
+- cd $(TKIMGDIR); $(MAKE) install
++ cd $(TKIMGDIR); $(MAKE) install-binaries install-libraries
+
+ tkmpeg : FORCE
+ @echo "Installing TKMPEG..."
diff --git a/sci-astronomy/ds9/metadata.xml b/sci-astronomy/ds9/metadata.xml
new file mode 100644
index 000000000000..d4cc5692e4be
--- /dev/null
+++ b/sci-astronomy/ds9/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+SAOImage DS9 is an astronomical imaging and data visualization
+application. DS9 supports FITS images and binary tables, multiple
+frame buffers, region manipulation, and many scale algorithms and
+colormaps. It provides for easy communication with external analysis
+tasks and is highly configurable and extensible. DS9 supports advanced
+features such as multiple frame buffers, mosaic images, tiling,
+blinking, geometric markers, colormap manipulation, scaling, arbitrary
+zoom, rotation, pan, and a variety of coordinate systems. DS9 also
+supports FTP and HTTP access.
+
+The GUI for DS9 is user configurable. GUI elements such as the
+coordinate display, panner, magnifier, horizontal and vertical
+graphs, button bar, and colorbar can be configured via menus or the
+command line.
+
+DS9 is a Tk/Tcl application which utilizes the SAOTk widget set. It
+also incorporates the X Public Access (XPA) mechanism to allow
+external processes to access and control its data, GUI functions, and
+algorithms.
+</longdescription>
+</pkgmetadata>