diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2008-03-17 16:21:32 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2008-03-17 16:21:32 +0000 |
commit | 76ffb781ed7a917f23b67454e9f950e5e3b83527 (patch) | |
tree | 94fa8e1ddc7cb9ef80b78ea7896a5845f074f95b /sci-astronomy | |
parent | move stuff to root (diff) | |
download | sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.gz sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.bz2 sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.zip |
moved overlay to new directory
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@979 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-astronomy')
40 files changed, 1247 insertions, 0 deletions
diff --git a/sci-astronomy/cdsclient/ChangeLog b/sci-astronomy/cdsclient/ChangeLog new file mode 100644 index 000000000..3032d8a7f --- /dev/null +++ b/sci-astronomy/cdsclient/ChangeLog @@ -0,0 +1,21 @@ +# ChangeLog for sci-astronomy/cdsclient +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*cdsclient-2.89 (07 Nov 2007) + + 07 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org> + -cdsclient-2.87.ebuild, +cdsclient-2.89.ebuild: + Version bump + +*cdsclient-2.87 (26 Mar 2007) + + 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> + +cdsclient-2.87.ebuild: + Version bump. + +*cdsclient-2.85 (19 Sep 2006) + + 19 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> cdsclient-2.85.ebuild + Initial import. + diff --git a/sci-astronomy/cdsclient/Manifest b/sci-astronomy/cdsclient/Manifest new file mode 100644 index 000000000..a2c7cacf5 --- /dev/null +++ b/sci-astronomy/cdsclient/Manifest @@ -0,0 +1,4 @@ +DIST cdsclient-2.89.tar.gz 77883 RMD160 4b93a4fb184b0b25d5aa61f64495fe828a2d40a3 SHA1 741ac0ef16570db04d1659cd0bbf685633ca1f37 SHA256 55695e67b79808b5422682d9094ff67ce12a6384e4feb4de42e7e55e74391677 +EBUILD cdsclient-2.89.ebuild 1016 RMD160 e8906b24707e470c9b891a1aa3c20c54db2a51c4 SHA1 f495d1b11beba296493cc26eb95640db64f4c6c3 SHA256 c04c45c5e57742bebd26554e87d0461c3ca62bd35b8330f9f6089a73a58d2122 +MISC ChangeLog 533 RMD160 ea4f6c529882cd00266e7e047e0ee5ff699d6d60 SHA1 8e459d4845b2c7ff9edaae660e8d4665711eee3b SHA256 e06398c9a5eeca00458db543a30f2d881253dde717f248b76402bb715748f028 +MISC metadata.xml 420 RMD160 110bdf15554e88e236e4a9e40ba8a3470d696c96 SHA1 a7a8719fb8473e02ae8b70f88bd51a147c6da202 SHA256 343e595f7f12b920acd268121fa2c429d269a6e2c2690d4c917ea4855c7c687c diff --git a/sci-astronomy/cdsclient/cdsclient-2.89.ebuild b/sci-astronomy/cdsclient/cdsclient-2.89.ebuild new file mode 100644 index 000000000..c279e4808 --- /dev/null +++ b/sci-astronomy/cdsclient/cdsclient-2.89.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit multilib + +DESCRIPTION="Collection of scripts to access the CDS databases" +HOMEPAGE="http://cdsweb.u-strasbg.fr/doc/cdsclient.html" +SRC_URI="ftp://cdsarc.u-strasbg.fr/pub/sw/${P}.tar.gz" +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="" +RDEPEND="app-shells/tcsh" + +RESTRICT="strip" + +src_unpack() { + unpack ${A} + # remove non standard "mantex" page + sed -i \ + -e 's/aclient.tex//' \ + "${S}"/configure || die "sed failed" + # remove useless version file + sed -i \ + -e 's/install_shs install_info/install_shs/' \ + "${S}"/Makefile.in || die "sed failed" +} + +src_compile() { + econf || die "econf failed" + emake C_OPT="${CFLAGS}" || die "emake failed" +} + + +src_install() { + dodir /usr/bin + dodir /usr/share/man + dodir /usr/$(get_libdir) + emake \ + PREFIX="${D}"/usr \ + MANDIR="${D}"/usr/share/man \ + LIBDIR="${D}"/usr/$(get_libdir) \ + install || die "emake install failed" +} diff --git a/sci-astronomy/cdsclient/metadata.xml b/sci-astronomy/cdsclient/metadata.xml new file mode 100644 index 000000000..7d603f33d --- /dev/null +++ b/sci-astronomy/cdsclient/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + The cdsclient package is a set of C and csh routines which can be + built on Unix stations or PCs running Linux, which once compiled allow + to query some databases located at CDS or on mirrors over the + network. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/cpl/ChangeLog b/sci-astronomy/cpl/ChangeLog new file mode 100644 index 000000000..3fc3f612c --- /dev/null +++ b/sci-astronomy/cpl/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for sci-astronomy/cpl +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> -cpl-3.0.ebuild, + +cpl-3.1.ebuild: + Version bump. + +*cpl-3.0 (15 Oct 2006) + + 15 Oct 2006; Sebastien Fabbro <seb@ist.utl.pt>; + +cpl-3.0.ebuild, +metadata.xml. + Initial import. +
\ No newline at end of file diff --git a/sci-astronomy/cpl/Manifest b/sci-astronomy/cpl/Manifest new file mode 100644 index 000000000..f46376b1d --- /dev/null +++ b/sci-astronomy/cpl/Manifest @@ -0,0 +1,4 @@ +DIST cpl-3.1.tar.gz 1971557 RMD160 70fd7a764743203c740bbf43e878292feab879ff SHA1 e564d89ee3018f81d75da44c4f861b6aef93c1cb SHA256 d98a51f4606c677151b57b8b2576803a8e18b145b74921ef3948f60206ec8085 +EBUILD cpl-3.1.ebuild 618 RMD160 89499f7d55620078c249b95794b34aa8dd28dd25 SHA1 33f60f8a82ac6e664ff4592ad35efc5d088d133b SHA256 7c86df593f9053b4530a92b4dfee92c75f039d8f30f51c5b65c45e3200f2a436 +MISC ChangeLog 355 RMD160 11ab72f28cd1b842e0a933e43a937d4241f7bb41 SHA1 49eea80ef4e138306853e879dfef6adb56be3afb SHA256 7132771ff2f54997da312e48808bcef6d9afdc8c611008c6d7c4bbe5bf02873d +MISC metadata.xml 831 RMD160 954a38f6449d8d3e9ff0c63abb55154768adc088 SHA1 97a67157b2448b61ba012e89b60ef73108235873 SHA256 7d1222b0691f211f2030e22c5481f3a6cb01e95486f904030dc1f2136b446149 diff --git a/sci-astronomy/cpl/cpl-3.1.ebuild b/sci-astronomy/cpl/cpl-3.1.ebuild new file mode 100644 index 000000000..645e9cf50 --- /dev/null +++ b/sci-astronomy/cpl/cpl-3.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="ESO common pipeline library for astronomical data reduction" +HOMEPAGE="http://www.eso.org/observing/cpl/" +SRC_URI="ftp://ftp.hq.eso.org/pub/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=">=sci-libs/qfits-6.2" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README AUTHORS NEWS TODO BUGS ChangeLog + if use doc; then + make htmldir=usr/share/doc/${PF} install-html \ + || die "make install-html failed" + fi +} diff --git a/sci-astronomy/cpl/metadata.xml b/sci-astronomy/cpl/metadata.xml new file mode 100644 index 000000000..2a13944f0 --- /dev/null +++ b/sci-astronomy/cpl/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> +The Common Pipeline Library (CPL) comprises a set of ISO-C libraries +that provide a comprehensive, efficient and robust software +toolkit. It forms a basis for the creation of automated astronomical +data-reduction tasks (known as "pipelines"). CPL Title Graphic The CPL +was developed to standardise the way VLT instrument pipelines are +built, to shorten their development cycle and to ease their +maintenance. However, it may be more generally applied to any similar +application, and the details of the CPL code have been engineered in a +way to make the library portable and flexible, as well as minimising +external dependencies. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/esorex/ChangeLog b/sci-astronomy/esorex/ChangeLog new file mode 100644 index 000000000..04a23467a --- /dev/null +++ b/sci-astronomy/esorex/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for sci-astronomy/esorex +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> -esorex-3.6.ebuild, + +esorex-3.6.1.ebuild: + Version bump. + +*esorex-3.6 (15 Oct 2006) + + 15 Oct 2006; Sebastien Fabbro <seb@ist.utl.pt>; + +esorex-3.6.ebuild, +metadata.xml. + Initial import. +
\ No newline at end of file diff --git a/sci-astronomy/esorex/Manifest b/sci-astronomy/esorex/Manifest new file mode 100644 index 000000000..d113c11cc --- /dev/null +++ b/sci-astronomy/esorex/Manifest @@ -0,0 +1,4 @@ +DIST esorex-3.6.1.tar.gz 724825 RMD160 ce94b38c4800e5b88d481db36cac3dbdc6a965d2 SHA1 a07271d4baed4a4b0edd85f7fb172d9a0e234e7d SHA256 cae6b17f7ef9eb66e5898b60bbfcd0fddb1af2d8b79ed0f792bcb3772e7a3216 +EBUILD esorex-3.6.1.ebuild 546 RMD160 68756a5cc917a39d3934189a02e17f129992cb03 SHA1 be98fcb153bee10521527595ba8aabed3fe7b481 SHA256 47a34ea7bd1becfa2e045fce0ae59d26354fcc5c7697d337c000bacbd3409277 +MISC ChangeLog 372 RMD160 fb067a660b1ecd6ecf44e62f23a84bf2076b46cf SHA1 49237b69bf75c3ec132313437579676dee9eac50 SHA256 b55dc336b090b1e53312ef9b5070c9284da533a41be828ce09cc7b380fef7cf4 +MISC metadata.xml 893 RMD160 c1619c4f959c27d9042fcaba4e716ca685d9d831 SHA1 42826c66a8ff7b789648441c617eea57d8688177 SHA256 145c6d216327ba207bf3d19435de54ff30d3a0df8169f34e70c558b97aa62a19 diff --git a/sci-astronomy/esorex/esorex-3.6.1.ebuild b/sci-astronomy/esorex/esorex-3.6.1.ebuild new file mode 100644 index 000000000..11468a645 --- /dev/null +++ b/sci-astronomy/esorex/esorex-3.6.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="ESO Recipe Execution Tool to exec cpl scripts" +HOMEPAGE="http://www.eso.org/observing/cpl/esorex" +SRC_URI="ftp://ftp.hq.eso.org/pub/cpl/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND=">=sci-astronomy/cpl-3.1" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README AUTHORS NEWS TODO BUGS ChangeLog + insinto /usr/share/doc/${PF} + doins examples/* +} diff --git a/sci-astronomy/esorex/metadata.xml b/sci-astronomy/esorex/metadata.xml new file mode 100644 index 000000000..d65df3197 --- /dev/null +++ b/sci-astronomy/esorex/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> +EsoRex is the ESO Recipe Execution Tool. It can list, configure and +execute CPL-based recipes from the command line. One of the features +provided by the CPL is the ability to create data-reduction algorithms +that run as plugins (dynamic libraries). These are called recipes and +are one of the main aspects of the CPL data-reduction development +environment. As these recipes are dynamic libraries, it is not +possible to run them directly from the command line. However, ESO +provides several tools to do this, thus saving recipe developers the +need to write such an application themselves. One of these is GASGANO +(a GUI-based tool) and the other is EsoRex (which runs from the +command line. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/scamp/ChangeLog b/sci-astronomy/scamp/ChangeLog new file mode 100644 index 000000000..e8751e27f --- /dev/null +++ b/sci-astronomy/scamp/ChangeLog @@ -0,0 +1,33 @@ +# ChangeLog for sci-astronomy/scamp +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 08 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org> + +files/scamp-atlas.patch, -scamp-1.3.11.ebuild, +scamp-1.4.0.ebuild: + Version bump + + 02 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> -scamp-1.3.8.ebuild, + +scamp-1.3.11.ebuild: + Version bump + + 18 May 2007; Sébastien Fabbro <bicatali@gentoo.org> -scamp-1.3.5.ebuild, + +scamp-1.3.8.ebuild: + Version bump + + 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> + -scamp-1.2.11-r1.ebuild, +scamp-1.3.5.ebuild: + Version bump. + + 29 Dec 2006; Sebastien Fabbro <seb@ist.utl.pt>; + Removed icc flag, too buggy. + +*scamp-1.2.11-r1 (15 Oct 2006) + + 15 Oct 2006; Sebastien Fabbro <seb@ist.utl.pt> +scamp-1.2.11-r1.ebuild: + Removed flag filtering, some cleaning. + +*scamp-1.2.11 (19 Sep 2006) + + 19 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> +scamp-1.2.11.ebuild: + Initial import. + diff --git a/sci-astronomy/scamp/Manifest b/sci-astronomy/scamp/Manifest new file mode 100644 index 000000000..2e4bde801 --- /dev/null +++ b/sci-astronomy/scamp/Manifest @@ -0,0 +1,5 @@ +AUX scamp-atlas.patch 770 RMD160 6e884c055bc97fe1938b8d17fa514014e432ef5a SHA1 df65f3f0e767da037cd673578fabceeeaf9bfc6d SHA256 b3e8e3b8946bfa9304a5ccbacde451591b51cd872025fc7093d3ba71b8733530 +DIST scamp-1.4.0.tar.gz 17723603 RMD160 6de11f8666cb6e3065c49d5064cefa884aa23697 SHA1 d1c8cd64baa359d7cd01d09dbcb8ec0560879ad9 SHA256 c79c9ced15a7dba4788048541518f7d26562e8690dbdc67043f9430f4bc29dc3 +EBUILD scamp-1.4.0.ebuild 1451 RMD160 d5697bac7ca8c69d4100be34eb1cc16b90d845a9 SHA1 5586b3e08eadaa230133116531b651035c1403be SHA256 a9c4e304747644436f43925f4faf59c9a96005af72c7ec85ab928701d8a632e8 +MISC ChangeLog 963 RMD160 a4aaa0ba53721f221c69b5204dd41fd272f80a23 SHA1 27df2261e842eff7915b3c8de20c33f2e87ad28d SHA256 d102da08211ff0778eb8c93df673fe81752dbf5484635e4d4c2ffb77d0710e8b +MISC metadata.xml 378 RMD160 51f393d1e79301572f09a1c7bce449e14289f9a1 SHA1 0115b4e450192e8eec4a1236eba31e871eecc055 SHA256 9a28c3abd3899bd79ae8aa958492e89a5fb644f2102a714862a8de7e0bcb1706 diff --git a/sci-astronomy/scamp/files/scamp-atlas.patch b/sci-astronomy/scamp/files/scamp-atlas.patch new file mode 100644 index 000000000..3df2b5bc3 --- /dev/null +++ b/sci-astronomy/scamp/files/scamp-atlas.patch @@ -0,0 +1,25 @@ +--- configure.ac.orig 2007-11-08 15:38:10.146227506 +0000 ++++ configure.ac 2007-11-08 15:38:35.895694885 +0000 +@@ -217,11 +217,7 @@ + + ################## handle the ATLAS library(linear algebra) ################## + if test "$use_atlas" = "yes"; then +- if test "$use_pthreads" = "yes"; then +- LIBS="-llapack -lptcblas -lcblas -latlas $LIBS" +- else +- LIBS="-llapack -lcblas -latlas $LIBS" +- fi ++ LIBS="ATLAS_LIBDIR -llapack -lcblas -latlas $LIBS" + else + AC_MSG_ERROR([CBLAS/LAPack library not found! Exiting.]) + fi +--- src/Makefile.am.orig 2007-11-08 15:38:45.072217825 +0000 ++++ src/Makefile.am 2007-11-08 15:39:24.090441347 +0000 +@@ -4,6 +4,7 @@ + + if USE_PLPLOT + CPLOTSOURCE = cplot.c ++AM_CFLAGS = @PLPLOT_CFLAGS@ $(CFLAGS) + endif + + bin_PROGRAMS = scamp diff --git a/sci-astronomy/scamp/metadata.xml b/sci-astronomy/scamp/metadata.xml new file mode 100644 index 000000000..60a0fc95d --- /dev/null +++ b/sci-astronomy/scamp/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + SCAMP computes astrometric and photometric solutions from SExtractor catalogs + and stores them in header files. These headers files can be read by SWarp to + coadd images. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/scamp/scamp-1.4.0.ebuild b/sci-astronomy/scamp/scamp-1.4.0.ebuild new file mode 100644 index 000000000..067c5ebb5 --- /dev/null +++ b/sci-astronomy/scamp/scamp-1.4.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils autotools + +DESCRIPTION="Computes astrometric and photometric solutions for astronomical images" +HOMEPAGE="http://terapix.iap.fr/soft/scamp" +SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc threads plplot" +RESTRICT="test" + +DEPEND="sci-astronomy/cdsclient + >=sci-libs/lapack-atlas-3.8.0 + >=sci-libs/fftw-3 + sci-libs/plplot" +# plplot option buggy if removed, force it for now. + +src_unpack() { + unpack ${A} + cd "${S}" + # gentoo specific patch for atlas lib dir and lib names + epatch "${FILESDIR}"/${PN}-atlas.patch + + # fix libdir if threaded + local myatlas="/usr/$(get_libdir)/blas/atlas" + if use threads && \ + [ -f /usr/$(get_libdir)/blas/threaded-atlas/libcblas.a ]; then + myatlas="/usr/$(get_libdir)/blas/threaded-atlas" + fi + myatlas="-L${myatlas} -L/usr/$(get_libdir)/lapack/atlas" + sed -i -e "s:ATLAS_LIBDIR:${myatlas}:" configure.ac || die "configure.ac not found" + + eautoreconf +} + +src_compile() { + econf \ + $(use_enable threads) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog HISTORY README THANKS BUGS || die + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/${PN}.pdf || die "pdf doc install failed" + fi +} diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog new file mode 100644 index 000000000..445f0675b --- /dev/null +++ b/sci-astronomy/sextractor/ChangeLog @@ -0,0 +1,32 @@ +# ChangeLog for sci-astronomy/sextractor +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 02 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> + sextractor-2.5.0-r1.ebuild: + filter optim flags + + 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> + sextractor-2.5.0-r1.ebuild: + Cleaning, adapting for new portage. + + 29 Dec 2006; Sebastien Fabbro <seb@ist.utl.pt>; + Removed icc flag, too buggy. + +*sextractor-2.5.0-r1 (15 Oct 2006) + + 15 Oct 2006; Sebastien Fabbro <seb@ist.utl.pt> + +sextractor-2.5.0-r1.ebuild -sextractor-2.5.0.ebuild + -sextractor-2.4.4.ebuild: removed flag filtering, cleaning, + removed old versions. + +*sextractor-2.5.0 (06 Sep 2006) + + 06 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> +sextractor-2.5.0.ebuild: + Version bump. + +*sextractor-2.4.4 (27 Nov 2005) + + 26 Nov 2005; Sebastien Fabbro <seb@ist.utl.pt> +sextractor-2.4.4.ebuild: + Initial import. Close bug #65684 + diff --git a/sci-astronomy/sextractor/Manifest b/sci-astronomy/sextractor/Manifest new file mode 100644 index 000000000..3c336634f --- /dev/null +++ b/sci-astronomy/sextractor/Manifest @@ -0,0 +1,4 @@ +DIST sextractor-2.5.0.tar.gz 2321708 RMD160 336e3a47f57416ad50bbbdd2afb4ff7e858556d0 SHA1 84e111ea0796428d9336de7add3820575fd7d4cb SHA256 786f987818546d9b72fea7e786f040b63e31fbc46325deb58929251065573303 +EBUILD sextractor-2.5.0-r1.ebuild 1163 RMD160 328a5ee10e4e376f62a4ba9a0ae0454076b0f37f SHA1 b23d9636808717f3efbc1f24b111c7ea78a59895 SHA256 7cbcb59ab0b5387b6c744544772501fc0ea58879296e796ddd63c38c026c498e +MISC ChangeLog 937 RMD160 54da2bfecc18b186fd33624caabcdea6bd621ce1 SHA1 4d6863d7c0aa62eec2b8d76fa6d7b2a67a25ddaa SHA256 5ab04874bbd2f07b929637b1bedded6938b98fef555044da2e743e7b4cdc5a75 +MISC metadata.xml 543 RMD160 8b6f4b17ec88b648a25b6a45cc07aa62b8530e6a SHA1 c85e639d87aae9e2b94fe1f67f5ffa724e080374 SHA256 45445f0c002e393359b2d580ea0f0d991b15cb01c829e6d0c1ead8e53e6bc1dc diff --git a/sci-astronomy/sextractor/metadata.xml b/sci-astronomy/sextractor/metadata.xml new file mode 100644 index 000000000..cd5cd149f --- /dev/null +++ b/sci-astronomy/sextractor/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> +SExtractor (Source Extractor) is a program that builds a catalogue of +objects from an astronomical image. Although it is particularly +oriented towards reduction of large scale galaxy-survey data, it +performs rather well on moderately crowded star fields. It has the +ability to automatically separate stars and galaxy using neural +networks. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild b/sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild new file mode 100644 index 000000000..5c4200427 --- /dev/null +++ b/sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="Extract catalogs of sources from astronomical FITS images." +HOMEPAGE="http://terapix.iap.fr/soft/sextractor" +SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +DEPEND="" +RESTRICT="test" + +src_compile() { + CONFDIR=/usr/share/${PN}/config + # change default configuration files location from current dir + sed -i -e "s:default\.:${CONFDIR}/default\.:" src/preflist.h + # buggy with >= O2 + replace-flags -O[2-9] -O1 + local myconf + [[ "$(tc-getCC)" == "icc" ]] \ + && myconf="${myconf} --enable-icc" + econf "${myconf}" || die "econf failed" + emake || die "emake failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS BUGS ChangeLog HISTORY README THANKS + insinto ${CONFDIR} + doins config/* + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/* + fi +} + +pkg_postinst() { + elog "SExtractor configuration files are located" + elog "in ${CONFDIR} and loaded by default." +} diff --git a/sci-astronomy/skycat/ChangeLog b/sci-astronomy/skycat/ChangeLog new file mode 100644 index 000000000..abdd60576 --- /dev/null +++ b/sci-astronomy/skycat/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for sci-astronomy/skycat +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*skycat-3.0.1 (14 Sep 2006) + + 14 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> +skycat-3.0.1.ebuild: + +metadata.xml, + +files/skycat-3.0.1-m4.patch, + +files/skycat-3.0.1-gcc41.patch + Initial import. Closes bug #65665. + diff --git a/sci-astronomy/skycat/Manifest b/sci-astronomy/skycat/Manifest new file mode 100644 index 000000000..f37338af6 --- /dev/null +++ b/sci-astronomy/skycat/Manifest @@ -0,0 +1,6 @@ +AUX skycat-3.0.1-gcc41.patch 14240 RMD160 950963538e531fb593c9019fcd967bde97d1252c SHA1 9d3e184de66966a988a659938eda8cd93755f409 SHA256 9dacdc5dbfc527d7642078ed01b7da3cf035af54e97b1a522705ad21685e3fc5 +AUX skycat-3.0.1-m4.patch 4816 RMD160 c142a289446d7c6fbedd15e384d9039a44d389d6 SHA1 2a0a5296f3a59fc5e1c314ab50ac8977b8af937c SHA256 daae999f2d7dbd144ff212e0be86aef98919b9daa159326d8ed6fd44b9d6f576 +DIST skycat-3.0.1.tar.gz 3175379 RMD160 38abe19c590b7b2413a749024df9f5136d701008 SHA1 89d2417915ca59934baa491b039137ab32208af0 SHA256 cfaede46a125adebe61af84c9fb0ac89b3d450d748915ee7761678df6c48b884 +EBUILD skycat-3.0.1.ebuild 1085 RMD160 9a04162806bd595d3d91daa6aa2ba1f7a06defee SHA1 0064298d5eefe6d46bb6402daa65da1c2f2e0522 SHA256 2c30c743540b0cd8ca4423796d8d6c95e96799c1f0c3f55d874f5f872f1e7034 +MISC ChangeLog 344 RMD160 39f85b16e2549ae48a5bcd1454311a76ed13ae12 SHA1 4e5115186c63a7ec90607a95d54574d7fb841783 SHA256 fe66be2d39228623bae6381983cb2ec1ece60ed2dde160fe0c23ad0060828432 +MISC metadata.xml 380 RMD160 481c8ad8d384727eb398f748140b4a1c38519b25 SHA1 7eae9ff4ee349657cb1ef1233605e60a5670af06 SHA256 ddcee971b362bdc562b112d6d2857cd9634156c17ac2e33e07e83e9ff40c4754 diff --git a/sci-astronomy/skycat/files/skycat-3.0.1-gcc41.patch b/sci-astronomy/skycat/files/skycat-3.0.1-gcc41.patch new file mode 100644 index 000000000..0bd7b0750 --- /dev/null +++ b/sci-astronomy/skycat/files/skycat-3.0.1-gcc41.patch @@ -0,0 +1,384 @@ +diff -Nur skycat-3.0.1/astrotcl/generic/Fits_IO.h skycat-3.0.1.new/astrotcl/generic/Fits_IO.h +--- skycat-3.0.1/astrotcl/generic/Fits_IO.h 2006-01-12 16:43:52.000000000 +0000 ++++ skycat-3.0.1.new/astrotcl/generic/Fits_IO.h 2006-09-14 11:34:20.000000000 +0100 +@@ -49,7 +49,7 @@ + // extend the size of the FITS header by one header block + int extendHeader(); + +- static void* FitsIO::reallocFile(void* p, size_t newsize); ++ static void* reallocFile(void* p, size_t newsize); + + protected: + // Check that this object represents a FITS file (and not just some kind of memory) +diff -Nur skycat-3.0.1/rtd/generic/ImageData.h skycat-3.0.1.new/rtd/generic/ImageData.h +--- skycat-3.0.1/rtd/generic/ImageData.h 2006-01-12 16:39:00.000000000 +0000 ++++ skycat-3.0.1.new/rtd/generic/ImageData.h 2006-09-14 11:36:42.000000000 +0100 +@@ -348,16 +348,16 @@ + int getSpectrum(double* xyvalues, int x0, int y0, int x1, int y1); + + // get meander coords of a horizontal line at position y (index starting at 0) +- int ImageData::getXline4(int y, int x0, int x1, double *xyvalues); ++ int getXline4(int y, int x0, int x1, double *xyvalues); + + // same as getXline4 but with specified x ranges (start xr0, delta dxr) +- int ImageData::getXline4(int y, int x0, int x1, double *xyvalues, double xr0, double dxr); ++ int getXline4(int y, int x0, int x1, double *xyvalues, double xr0, double dxr); + + // get meander coords of a vertical line at position x (index starting at 0) +- int ImageData::getYline4(int x, int y0, int y1, double *xyvalues); ++ int getYline4(int x, int y0, int y1, double *xyvalues); + + // Return the image coords of the visible image area (bounding box) +- void ImageData::getBbox(double *x0, double *x1, double *y0, double *y1); ++ void getBbox(double *x0, double *x1, double *y0, double *y1); + + // get min and max values of an image area + int getMinMax(double rx0, double ry0, int w, int h, double *minval, double *maxval); +diff -Nur skycat-3.0.1/rtd/generic/ImageDisplay.h skycat-3.0.1.new/rtd/generic/ImageDisplay.h +--- skycat-3.0.1/rtd/generic/ImageDisplay.h 2006-01-12 16:39:29.000000000 +0000 ++++ skycat-3.0.1.new/rtd/generic/ImageDisplay.h 2006-09-14 11:35:30.000000000 +0100 +@@ -78,7 +78,7 @@ + } + + // flush X output buffer +- void ImageDisplay::flushX(); ++ void flushX(); + + // other info + int width() {return xImage_ ? xImage_->width : 0;} +diff -Nur skycat-3.0.1/rtd/generic/RtdCamera.h skycat-3.0.1.new/rtd/generic/RtdCamera.h +--- skycat-3.0.1/rtd/generic/RtdCamera.h 2006-01-12 16:39:14.000000000 +0000 ++++ skycat-3.0.1.new/rtd/generic/RtdCamera.h 2006-09-14 11:39:21.000000000 +0100 +@@ -48,7 +48,7 @@ + public: + + // constructor +- RtdCamera::RtdCamera( ++ RtdCamera( + const char* name, + Tcl_Interp*, + int verbose, +@@ -56,64 +56,64 @@ + char* image = "RtdCamera"); + + // destructor +- virtual RtdCamera::~RtdCamera(); ++ virtual ~RtdCamera(); + + // static file handler, called by Tk file handler for realtime image events +- static void RtdCamera::fileEventProc(ClientData, int mask); ++ static void fileEventProc(ClientData, int mask); + + // start/stop/pause or continue accepting images +- int RtdCamera::start(const char* cameraName); +- int RtdCamera::stop(); +- int RtdCamera::pause(); +- int RtdCamera::cont(); ++ int start(const char* cameraName); ++ int stop(); ++ int pause(); ++ int cont(); + + // return camera name +- char* RtdCamera::camera() {return camera_;} ++ char* camera() {return camera_;} + + // Add timestamp in performance tool. +- void RtdCamera::timeStamp(char *evDesc); ++ void timeStamp(char *evDesc); + + // update global variables +- int RtdCamera::updateGlobals(); ++ int updateGlobals(); + + // check if camera is attached +- int RtdCamera::attached(); ++ int attached(); + + protected: + + // member called by fileEventProc for image events +- int RtdCamera::fileEvent(); ++ int fileEvent(); + + // cleanup image events in the socket queue +- void RtdCamera::cleanup(); ++ void cleanup(); + + // called to display new image from shared memory + // (defined in a derived class) +- virtual int RtdCamera::display(const rtdIMAGE_INFO&, const Mem& data) = 0; ++ virtual int display(const rtdIMAGE_INFO&, const Mem& data) = 0; + + // set camera name +- void RtdCamera::camera(const char *camera) {strcpy(camBuf_, camera);} ++ void camera(const char *camera) {strcpy(camBuf_, camera);} + + // create/delete the Tcl file handler +- void RtdCamera::fileHandler(int create); ++ void fileHandler(int create); + + // disconnect from camera +- void RtdCamera::disconnect(); ++ void disconnect(); + + // Decrement the semaphore +- void RtdCamera::semDecr(); ++ void semDecr(); + + // check if rtdServer is alive +- void RtdCamera::rtdServerCheck(); ++ void rtdServerCheck(); + + // check status after image event failure +- void RtdCamera::checkStat(); ++ void checkStat(); + + // start accepting events from the camera +- int RtdCamera::attach(const char* camera); ++ int attach(const char* camera); + + // check image type +- int RtdCamera::checkType(int type); ++ int checkType(int type); + + Tcl_Interp* interp_; // Tcl interp (for file events, error handling) + rtdIMAGE_EVT_HNDL* eventHndl_; // image event handle +@@ -133,9 +133,9 @@ + + // -- short cuts -- + +- int RtdCamera::connected() {return connected_;} +- void RtdCamera::connected(int set) {connected_ = set; } +- void RtdCamera::attached(int set) {attached_ = set; } ++ int connected() {return connected_;} ++ void connected(int set) {connected_ = set; } ++ void attached(int set) {attached_ = set; } + }; + + #endif /* _RtdCamera_h_ */ +diff -Nur skycat-3.0.1/rtd/generic/RtdImage.h skycat-3.0.1.new/rtd/generic/RtdImage.h +--- skycat-3.0.1/rtd/generic/RtdImage.h 2006-01-12 16:39:28.000000000 +0000 ++++ skycat-3.0.1.new/rtd/generic/RtdImage.h 2006-09-14 11:47:08.000000000 +0100 +@@ -428,7 +428,7 @@ + static int rtd_set_cmap(ClientData, Tcl_Interp* interp, int argc, char** argv); + + // update idle tasks and performance test variables +- void RtdImage::updateRequests(); ++ void updateRequests(); + + // read-only access to configuration options + static ImageColor* colors() {return colors_;} +diff -Nur skycat-3.0.1/rtd/generic/RtdPerf.h skycat-3.0.1.new/rtd/generic/RtdPerf.h +--- skycat-3.0.1/rtd/generic/RtdPerf.h 2006-01-12 16:39:21.000000000 +0000 ++++ skycat-3.0.1.new/rtd/generic/RtdPerf.h 2006-09-14 11:40:28.000000000 +0100 +@@ -23,42 +23,42 @@ + + public: + // Constructor +- RtdPerf::RtdPerf(Tcl_Interp* interp); ++ RtdPerf(Tcl_Interp* interp); + + // Destructor +- RtdPerf::~RtdPerf(); ++ ~RtdPerf(); + + // Add delta time to 'timevar' +- void RtdPerf::timeInc(double *timevar); ++ void timeInc(double *timevar); + + // Start a new cycle +- void RtdPerf::newCycle(); ++ void newCycle(); + + // End a cycle and set the Tcl global variables +- void RtdPerf::endCycle(); ++ void endCycle(); + + // Reset the time variables and Tcl global variables +- void RtdPerf::reset(); ++ void reset(); + + // Switch performance test on +- void RtdPerf::on() {maybeOn_ = 1; on_ = 0;} +- void RtdPerf::on(int set) {on_ = set;} ++ void on() {maybeOn_ = 1; on_ = 0;} ++ void on(int set) {on_ = set;} + + // Switch performance test on +- void RtdPerf::off() {maybeOn_ = 0; on_ = 0;} ++ void off() {maybeOn_ = 0; on_ = 0;} + + // Set verbose and debug flag +- void RtdPerf::verbose(int set) {verbose_ = set;} +- void RtdPerf::debug(int set) {debug_ = set;} ++ void verbose(int set) {verbose_ = set;} ++ void debug(int set) {debug_ = set;} + + // Set the instance name of the RtdImage (used for global Tcl variables) +- void RtdPerf::name(char *nam) {strcpy(name_, nam);} ++ void name(char *nam) {strcpy(name_, nam);} + + // -- short cuts -- + +- void RtdPerf::GENtime() {timeInc(&GENtime_);} +- void RtdPerf::TCLtime() {timeInc(&TCLtime_);} +- void RtdPerf::Xtime() {timeInc(&Xtime_);} ++ void GENtime() {timeInc(&GENtime_);} ++ void TCLtime() {timeInc(&TCLtime_);} ++ void Xtime() {timeInc(&Xtime_);} + + protected: + RtdDebugLog *dbl_; // debug log object +@@ -84,9 +84,9 @@ + + // -- short cuts -- + +- char* RtdPerf::name() {return(name_);} +- int RtdPerf::isOn() {return on_;} +- int RtdPerf::maybeOn() {return maybeOn_;} ++ char* name() {return(name_);} ++ int isOn() {return on_;} ++ int maybeOn() {return maybeOn_;} + }; + + #endif /* _RtdPerf_h_ */ +diff -Nur skycat-3.0.1/rtd/generic/RtdUtils.h skycat-3.0.1.new/rtd/generic/RtdUtils.h +--- skycat-3.0.1/rtd/generic/RtdUtils.h 2006-01-12 16:39:16.000000000 +0000 ++++ skycat-3.0.1.new/rtd/generic/RtdUtils.h 2006-09-14 11:37:32.000000000 +0100 +@@ -28,11 +28,11 @@ + class RtdDebugLog { + public: + +- RtdDebugLog::RtdDebugLog(char *nam, int debug); ++ RtdDebugLog(char *nam, int debug); + +- void RtdDebugLog::log(const char *format, ...); +- void RtdDebugLog::setlog(int set) {debug_ = set;} +- int RtdDebugLog::setlog() {return debug_;} ++ void log(const char *format, ...); ++ void setlog(int set) {debug_ = set;} ++ int setlog() {return debug_;} + + protected: + char name_[100]; // name of application +diff -Nur skycat-3.0.1/rtd/rtdevt/rtdCLNT.h skycat-3.0.1.new/rtd/rtdevt/rtdCLNT.h +--- skycat-3.0.1/rtd/rtdevt/rtdCLNT.h 2006-01-12 16:40:00.000000000 +0000 ++++ skycat-3.0.1.new/rtd/rtdevt/rtdCLNT.h 2006-09-14 11:51:56.000000000 +0100 +@@ -40,52 +40,52 @@ + ~rtdCLNT(); + + // store/return the name of the requestor +- char *rtdCLNT::ReqName() { return reqName_; } +- void rtdCLNT::ReqName(char *name) { strncpy (reqNameBuf_, name, RTD_NAMELEN); } ++ char *ReqName() { return reqName_; } ++ void ReqName(char *name) { strncpy (reqNameBuf_, name, RTD_NAMELEN); } + + // store/return the name of the camera +- char *rtdCLNT::CamName() { return camName_; } +- void rtdCLNT::CamName(char *name) { strncpy (camNameBuf_, name, RTD_NAMELEN); } ++ char *CamName() { return camName_; } ++ void CamName(char *name) { strncpy (camNameBuf_, name, RTD_NAMELEN); } + + // store/return the name of the socket file descriptor +- int rtdCLNT::Socket() { return socket_; } +- void rtdCLNT::Socket(int socket) { socket_ = socket; } ++ int Socket() { return socket_; } ++ void Socket(int socket) { socket_ = socket; } + + // return the semaphore params set by the requestor +- int rtdCLNT::semId() { return semId_; } ++ int semId() { return semId_; } + + // return the number of semaphores +- int rtdCLNT::shmNum() { return shmNum_; } ++ int shmNum() { return shmNum_; } + + // set the values for semId and shmNum +- void rtdCLNT::SetSemPar(int semId, int shmNum); ++ void SetSemPar(int semId, int shmNum); + + // store/return the index +- int rtdCLNT::Index() { return index_; } +- void rtdCLNT::Index(int index) { index_ = index; } ++ int Index() { return index_; } ++ void Index(int index) { index_ = index; } + + // store/return the port number +- int rtdCLNT::Port() { return port_; } +- void rtdCLNT::Port(int port) { port_ = port; } ++ int Port() { return port_; } ++ void Port(int port) { port_ = port; } + + // store/return the type number +- int rtdCLNT::Type() { return type_; } +- void rtdCLNT::Type(int type) { type_ = type; } ++ int Type() { return type_; } ++ void Type(int type) { type_ = type; } + + // clear a buffer +- void rtdCLNT::BufClear(char *name) { memset (name, '\0', RTD_NAMELEN); } ++ void BufClear(char *name) { memset (name, '\0', RTD_NAMELEN); } + + // are we attched? +- int rtdCLNT::Attached() { return (*reqName_ == '\0' || *camName_ == '\0'); } ++ int Attached() { return (*reqName_ == '\0' || *camName_ == '\0'); } + +- void rtdCLNT::Attach(char* reqName, char *camName); +- void rtdCLNT::Detach(); ++ void Attach(char* reqName, char *camName); ++ void Detach(); + +- int rtdCLNT::Forward(rtdPACKET *rtdPacket); +- void rtdCLNT::Cleanup(); +- int rtdCLNT::Accept(int listenSocket); +- int rtdCLNT::AttachedToCamera(char *camera); +- char *rtdCLNT::TypeName(); ++ int Forward(rtdPACKET *rtdPacket); ++ void Cleanup(); ++ int Accept(int listenSocket); ++ int AttachedToCamera(char *camera); ++ char *TypeName(); + + private: + char *reqName_; // name of requestor +diff -Nur skycat-3.0.1/rtd/rtdevt/rtdLOG.h skycat-3.0.1.new/rtd/rtdevt/rtdLOG.h +--- skycat-3.0.1/rtd/rtdevt/rtdLOG.h 2006-01-12 16:39:54.000000000 +0000 ++++ skycat-3.0.1.new/rtd/rtdevt/rtdLOG.h 2006-09-14 11:51:06.000000000 +0100 +@@ -24,8 +24,8 @@ + rtdLOG(int); + ~rtdLOG(); + +- void rtdLOG::log(const char *format, ...); +- int rtdLOG::Verbose() { return verbose_; } ++ void log(const char *format, ...); ++ int Verbose() { return verbose_; } + + private: + int verbose_; +diff -Nur skycat-3.0.1/rtd/rtdevt/rtdSERVER.h skycat-3.0.1.new/rtd/rtdevt/rtdSERVER.h +--- skycat-3.0.1/rtd/rtdevt/rtdSERVER.h 2006-01-12 16:39:57.000000000 +0000 ++++ skycat-3.0.1.new/rtd/rtdevt/rtdSERVER.h 2006-09-14 11:52:24.000000000 +0100 +@@ -39,15 +39,15 @@ + rtdSERVER(int, int, int); + ~rtdSERVER(); + +- int rtdSERVER::Loop(); ++ int Loop(); + + protected: +- rtdCLNT *rtdSERVER::GetCurrClient(); +- void rtdSERVER::ServImageCmd(rtdPACKET *rtdPacket); +- void rtdSERVER::ServStatusCmd(int socket); +- int rtdSERVER::IncrSem(rtdPACKET *rtdPacket, int increment); +- rtdCLNT *rtdSERVER::Accept(); +- void rtdSERVER::DisconnectClient(rtdCLNT *client); ++ rtdCLNT *GetCurrClient(); ++ void ServImageCmd(rtdPACKET *rtdPacket); ++ void ServStatusCmd(int socket); ++ int IncrSem(rtdPACKET *rtdPacket, int increment); ++ rtdCLNT *Accept(); ++ void DisconnectClient(rtdCLNT *client); + + private: + int socketFd_; // listen socket diff --git a/sci-astronomy/skycat/files/skycat-3.0.1-m4.patch b/sci-astronomy/skycat/files/skycat-3.0.1-m4.patch new file mode 100644 index 000000000..4a3bfc213 --- /dev/null +++ b/sci-astronomy/skycat/files/skycat-3.0.1-m4.patch @@ -0,0 +1,141 @@ +--- skycat-3.0.1/tclconfig/tcl.m4 2006-02-01 22:10:36.000000000 +0000 ++++ skycat-3.0.1.new/tclconfig/tcl.m4 2006-09-14 11:23:20.000000000 +0100 +@@ -731,6 +731,50 @@ + ]) + + #-------------------------------------------------------------------- ++# TEA_CONFIG_SYSTEM ++# ++# Determine what the system is (some things cannot be easily checked ++# on a feature-driven basis, alas). This can usually be done via the ++# "uname" command, but there are a few systems, like Next, where ++# this doesn't work. ++# ++# Arguments: ++# none ++# ++# Results: ++# Defines the following var: ++# ++# system - System/platform/version identification code. ++# ++#-------------------------------------------------------------------- ++ ++AC_DEFUN(TEA_CONFIG_SYSTEM, [ ++ AC_MSG_CHECKING([system version]) ++ AC_CACHE_VAL(tcl_cv_sys_version,[ ++ if test -f /usr/lib/NextStep/software_version; then ++ tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version` ++ else ++ tcl_cv_sys_version=`uname -s`-`uname -r` ++ if test "$?" -ne 0 ; then ++ AC_MSG_WARN([can't find uname command]) ++ tcl_cv_sys_version=unknown ++ else ++ # Special check for weird MP-RAS system (uname returns weird ++ # results, and the version is kept in special file). ++ ++ if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then ++ tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid` ++ fi ++ if test "`uname -s`" = "AIX" ; then ++ tcl_cv_sys_version=AIX-`uname -v`.`uname -r` ++ fi ++ fi ++ fi]) ++ AC_MSG_RESULT($tcl_cv_sys_version) ++ system=$tcl_cv_sys_version ++]) ++ ++#-------------------------------------------------------------------- + # TEA_CONFIG_CFLAGS + # + # Try to determine the proper flags to pass to the compiler +@@ -849,30 +893,7 @@ + # for the system. This can usually be done via the "uname" command, but + # there are a few systems, like Next, where this doesn't work. + +- AC_MSG_CHECKING([system version (for dynamic loading)]) +- if test -f /usr/lib/NextStep/software_version; then +- system=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version` +- else +- system=`uname -s`-`uname -r` +- if test "$?" -ne 0 ; then +- AC_MSG_RESULT([unknown (can't find uname command)]) +- system=unknown +- else +- # Special check for weird MP-RAS system (uname returns weird +- # results, and the version is kept in special file). +- +- if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print $3}' /etc/.relid'` +- fi +- if test "`uname -s`" = "AIX" ; then +- system=AIX-`uname -v`.`uname -r` +- fi +- if test "${TEA_PLATFORM}" = "windows" ; then +- system=windows +- fi +- AC_MSG_RESULT([$system]) +- fi +- fi ++ TEA_CONFIG_SYSTEM + + # Step 2: check for existence of -ldl library. This is needed because + # Linux can use either -ldl or -ldld for dynamic loading. +@@ -2318,25 +2339,8 @@ + AC_DEFUN(TEA_BLOCKING_STYLE, [ + AC_CHECK_HEADERS(sys/ioctl.h) + AC_CHECK_HEADERS(sys/filio.h) ++ TEA_CONFIG_SYSTEM + AC_MSG_CHECKING([FIONBIO vs. O_NONBLOCK for nonblocking I/O]) +- if test -f /usr/lib/NextStep/software_version; then +- system=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version` +- else +- system=`uname -s`-`uname -r` +- if test "$?" -ne 0 ; then +- system=unknown +- else +- # Special check for weird MP-RAS system (uname returns weird +- # results, and the version is kept in special file). +- +- if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print $3}' /etc/.relid'` +- fi +- if test "`uname -s`" = "AIX" ; then +- system=AIX-`uname -v`.`uname -r` +- fi +- fi +- fi + case $system in + # There used to be code here to use FIONBIO under AIX. However, it + # was reported that FIONBIO doesn't work under AIX 3.2.5. Since +@@ -3031,13 +3035,13 @@ + fi + if test "${exec_prefix}" = "NONE" -a x"${prefix_default}" = x"yes" \ + -o x"${exec_prefix_default}" = x"yes" ; then +- #if test x"${TCL_EXEC_PREFIX}" != x; then +- #AC_MSG_NOTICE([--exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}]) +- #exec_prefix=${TCL_EXEC_PREFIX} +- #else ++ if test x"${TCL_EXEC_PREFIX}" != x; then ++ AC_MSG_NOTICE([--exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}]) ++ exec_prefix=${TCL_EXEC_PREFIX} ++ else + AC_MSG_NOTICE([--exec-prefix defaulting to ${prefix}]) + exec_prefix=$prefix +- #fi ++ fi + fi + ]) + +@@ -3817,7 +3821,8 @@ + + # check in a few common install locations + if test x"${ac_cv_c_$1config}" = x ; then +- for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \ ++ for i in `ls -d ${libdir} 2>/dev/null` \ ++ `ls -d ${exec_prefix}/lib 2>/dev/null` \ + `ls -d ${prefix}/lib 2>/dev/null` \ + `ls -d /usr/local/lib 2>/dev/null` \ + `ls -d /usr/contrib/lib 2>/dev/null` \ diff --git a/sci-astronomy/skycat/metadata.xml b/sci-astronomy/skycat/metadata.xml new file mode 100644 index 000000000..c78fd22c4 --- /dev/null +++ b/sci-astronomy/skycat/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + SkyCat is a tool that combines visualization of images and access + to catalogs and archive data for astronomy. It was developed at + the European Southern Observatory. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/skycat/skycat-3.0.1.ebuild b/sci-astronomy/skycat/skycat-3.0.1.ebuild new file mode 100644 index 000000000..cb9b07636 --- /dev/null +++ b/sci-astronomy/skycat/skycat-3.0.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit autotools + +DESCRIPTION="ESO astronomical image visualizer with catalog access." +HOMEPAGE="http://archive.eso.org/skycat" +SRC_URI="ftp://ftp.eso.org/pub/archive/${PN}/Sources/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="threads" + +DEPEND=">=dev-tcltk/tclx-2.4 + >=dev-tcltk/blt-2.4 + >=dev-tcltk/itcl-3.3 + >=dev-tcltk/iwidgets-4.0.1 + >=dev-tcltk/tkimg-1.3" + + +src_unpack() { + unpack ${A} + # fix buggy tcl.m4 for bash3 + epatch "${FILESDIR}"/${P}-m4.patch + # fix old style headers, set as error by new g++ + epatch "${FILESDIR}"/${P}-gcc41.patch + cd "${S}" + eautoreconf +} + +src_compile() { + econf \ + $(use_enable threads) \ + || die "econf failed" + emake + # a second time to make sure every dir passed + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README CHANGES VERSION + for d in tclutil astrotcl rtd cat skycat; do + docinto ${d} + dodoc README CHANGES VERSION + done +} diff --git a/sci-astronomy/skymaker/ChangeLog b/sci-astronomy/skymaker/ChangeLog new file mode 100644 index 000000000..189a83a4d --- /dev/null +++ b/sci-astronomy/skymaker/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for sci-astronomy/skymaker +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 20 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> ChangeLog: + Initial import + diff --git a/sci-astronomy/skymaker/Manifest b/sci-astronomy/skymaker/Manifest new file mode 100644 index 000000000..193f9ca25 --- /dev/null +++ b/sci-astronomy/skymaker/Manifest @@ -0,0 +1,4 @@ +DIST skymaker-3.1.0.tar.gz 409089 RMD160 f40c969fc4de0f42240f381c003bc365f121f5cc SHA1 21c230ee2c2ebe0cf881be0efa1e701641e480fc SHA256 a61fbd31e3eb7bc1387018d6d1eb719503215d23027fa8919d8bbe4e805ab5e4 +EBUILD skymaker-3.1.0.ebuild 853 RMD160 4a7567b16a863f72dfa1a137b764a92c645babb7 SHA1 2ea54b5f22893595b82135bc9de5a6a69489a70e SHA256 fd3b8a674f8ad7d616f7f3231774ac1e40c3c2536f305025f5de8801ef6ac60f +MISC ChangeLog 207 RMD160 a006be2e6d1baa2998c22d252d2330b9aa568985 SHA1 a351147734a8997886dfa5ba68e265c70e532118 SHA256 d69f4c4f847cf80cf62b68fc87e2369401e334ce9f2a61d5edd313b5f3dab209 +MISC metadata.xml 522 RMD160 82a2f56adf45447226214d63b733d5ee59a7a28f SHA1 f3fd9b95737eec4ac3bb5d7103b6237b21089d20 SHA256 d86351847a40cd61b3b7da6a9794b11a34de5192952dcb849d91cbc442b05646 diff --git a/sci-astronomy/skymaker/metadata.xml b/sci-astronomy/skymaker/metadata.xml new file mode 100644 index 000000000..caa0b0596 --- /dev/null +++ b/sci-astronomy/skymaker/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> +SkyMaker is a program that simulates astronomical images. It accepts +object lists in ASCII generated by the Stuff program to produce +realistic astronomical fields. There are various options for the user: +build a realistic Point Spread Function, generate a list of stars and +galaxies. Galaxies are modeled analytically. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/skymaker/skymaker-3.1.0.ebuild b/sci-astronomy/skymaker/skymaker-3.1.0.ebuild new file mode 100644 index 000000000..5054b7e51 --- /dev/null +++ b/sci-astronomy/skymaker/skymaker-3.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Program that simulates astronomical images" +HOMEPAGE="http://terapix.iap.fr/soft/skymaker" +SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="threads mpi" +RESTRICT="test" + +DEPEND=">=sci-libs/fftw-3 + mpi? ( virtual/mpi )" + +# mpi stuff untested. +src_compile() { + use mpi || export MPICC="$(tc-getCC)" + local myconf + # --disable-threads is buggy + use threads && myconf="--enable-threads" + econf \ + $(use_enable mpi) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog HISTORY README THANKS BUGS +} diff --git a/sci-astronomy/stiff/ChangeLog b/sci-astronomy/stiff/ChangeLog new file mode 100644 index 000000000..27c6f18d8 --- /dev/null +++ b/sci-astronomy/stiff/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for sci-astronomy/stiff +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> stiff-1.10.ebuild: + cleaning + + 29 Dec 2006; Sebastien Fabbro <seb@ist.utl.pt>; + Removed icc flag, too buggy. + +*stiff-1.10 (19 Sep 2006) + + 19 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> +stiff-1.10.ebuild: + Initial import. + diff --git a/sci-astronomy/stiff/Manifest b/sci-astronomy/stiff/Manifest new file mode 100644 index 000000000..a052d2680 --- /dev/null +++ b/sci-astronomy/stiff/Manifest @@ -0,0 +1,4 @@ +DIST stiff-1.10.tar.gz 5077852 RMD160 73645df6d9b1db5d30f2400336878e5b0ba4d253 SHA1 b55b61e1238f9fb3fc8a50b85ce2b5a8d0350954 SHA256 15433e1e78e25601fc40c106108ee5021aaa9be336f29a771f1747f497561eb1 +EBUILD stiff-1.10.ebuild 552 RMD160 c1149a3c2c7aaa8a7d1ce017c9007ab85979c748 SHA1 788f356f427daa4b2946485c065f4479a7851b11 SHA256 1d1b0e66e025415218aad92c209bb78d1342f2d7db7da8f2a3c005391e0d2865 +MISC ChangeLog 405 RMD160 ede7214b4ab6ba9093ed5b39b29eb875c369f55b SHA1 ba6e1a2eddd94700b6ca48c7b3ac94ca0ae3239a SHA256 d0a593cd903d28015bbc19b35dc0810cb9003845dc3730c6d9943899a3356e89 +MISC metadata.xml 348 RMD160 808677a0e79eb338980a9cbf5d68a086593a47b0 SHA1 88a4e495e68c143b0a4243d339ae06debf0c02bd SHA256 ca1f352ed481da49dbcaeb817d9579d12b35557c9abb4bc670b2986346200e94 diff --git a/sci-astronomy/stiff/metadata.xml b/sci-astronomy/stiff/metadata.xml new file mode 100644 index 000000000..39033f584 --- /dev/null +++ b/sci-astronomy/stiff/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> +STIFF is a program that convert scientific FITS images to the +more popular TIFF, in 8 (grayscale) or 24 (true colour: 3 times 8) bits per +pixel. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/stiff/stiff-1.10.ebuild b/sci-astronomy/stiff/stiff-1.10.ebuild new file mode 100644 index 000000000..54f46b5f5 --- /dev/null +++ b/sci-astronomy/stiff/stiff-1.10.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Converts astronomical FITS images to the TIFF format for illustration purposes." +HOMEPAGE="http://terapix.iap.fr/soft/stiff" +SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +DEPEND="" + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS BUGS ChangeLog HISTORY README THANKS + use doc && dodoc doc/* +} diff --git a/sci-astronomy/swarp/ChangeLog b/sci-astronomy/swarp/ChangeLog new file mode 100644 index 000000000..9d7f27536 --- /dev/null +++ b/sci-astronomy/swarp/ChangeLog @@ -0,0 +1,31 @@ +# ChangeLog for sci-astronomy/swarp +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 14 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> -swarp-2.17.0.ebuild, + +swarp-2.17.1.ebuild: + Version bump + + 09 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> +swarp-2.17.0.ebuild: + Version bump + + 01 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> + -swarp-2.16.0-r1.ebuild, +swarp-2.16.4.ebuild: + Version bump + + 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> + swarp-2.16.0-r1.ebuild: + cleaning + + 29 Dec 2006; Sebastien Fabbro <seb@ist.utl.pt>; + Removed icc flag, too buggy. + +*swarp-2.16.0-r1 (15 Oct 2006) + + 15 Oct 2006; Sebastien Fabbro <seb@ist.utl.pt> swarp-2.16.0-r1.ebuild + Removed flag filtering. Some cleaning. + +*swarp-2.16.0 (10 Sep 2006) + + 10 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> swarp-2.16.0.ebuild + Initial import. Close bug #65685. diff --git a/sci-astronomy/swarp/Manifest b/sci-astronomy/swarp/Manifest new file mode 100644 index 000000000..073c92c2c --- /dev/null +++ b/sci-astronomy/swarp/Manifest @@ -0,0 +1,6 @@ +DIST swarp-2.16.4.tar.gz 3425784 RMD160 f9b88b2f6ba7694f55668ec7ea9a75c7e96bd467 SHA1 7195364e5f90f89e65b2c3519a7fe12d95ea8d57 SHA256 b58a2b842e2f8f10a851186c05fa63fbd69bc41cb65c2b537a74ec2274e5af1b +DIST swarp-2.17.1.tar.gz 1962775 RMD160 240d23e4e49218914b816b448651b221b4f58586 SHA1 eadd57e58d3fb4255495c3e0741b1eb4a2842472 SHA256 34e815d44f3b1c3c7bfdeb01bbdcf32d1eac239527a0937c3ed2b6f7be34bcee +EBUILD swarp-2.16.4.ebuild 900 RMD160 198d478e21ee9b5740ac5f9d5c5bab43c4be4174 SHA1 fbac9eeb1db9a2f7b51a50565026ea91921147ad SHA256 805209b501409a00f76f2d496f15feacd4c2f6ce92653f7e097e6d1c3fa7f36a +EBUILD swarp-2.17.1.ebuild 907 RMD160 a47ac6236f96622a6e3225c80df5204823f1d284 SHA1 756a5270f1443ad92236d2238c8d17eea0b430fb SHA256 04045095618e956a18f8ca2629b646d79b3595d23ecd7e472b492b5c96e25a41 +MISC ChangeLog 909 RMD160 be55513408b56526b424d7406b057e5d2708dad4 SHA1 ae68e6855c18ffacc8e20f319605a3bb2e68f213 SHA256 5eed1b9918607b643f10760301133a4779b20d86b15586fb7118b08de53ff676 +MISC metadata.xml 302 RMD160 218ab232f609c110c3cf25aca0788e467cb9b99d SHA1 0900b05ec1dfdc906791c4fca976606078a5dfc9 SHA256 8de11d2c9a0b8f3c81195f010122b0ee86f4c5f9bac16db640bb326e42b5570b diff --git a/sci-astronomy/swarp/metadata.xml b/sci-astronomy/swarp/metadata.xml new file mode 100644 index 000000000..521a0577f --- /dev/null +++ b/sci-astronomy/swarp/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> +<longdescription lang="en"> +SWarp takes astronomical FITS images with a WCS-like projection, +resample and coadd them together. +</longdescription> +</pkgmetadata> diff --git a/sci-astronomy/swarp/swarp-2.16.4.ebuild b/sci-astronomy/swarp/swarp-2.16.4.ebuild new file mode 100644 index 000000000..23852d094 --- /dev/null +++ b/sci-astronomy/swarp/swarp-2.16.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +DESCRIPTION="Resample and coadd astronomical FITS images" +HOMEPAGE="http://terapix.iap.fr/soft/swarp" +SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc threads mpi" +RDEPEND="mpi? ( virtual/mpi )" +DEPEND="${RDEPEND}" + +# mpi stuff untested. +src_compile() { + use mpi || export MPICC="$(tc-getCC)" + local myconf + # --disable-threads is buggy + use threads && myconf="--enable-threads" + econf \ + $(use_enable mpi) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog HISTORY README THANKS BUGS + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/* + fi +} diff --git a/sci-astronomy/swarp/swarp-2.17.1.ebuild b/sci-astronomy/swarp/swarp-2.17.1.ebuild new file mode 100644 index 000000000..9e7fd7185 --- /dev/null +++ b/sci-astronomy/swarp/swarp-2.17.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +DESCRIPTION="Resample and coadd astronomical FITS images" +HOMEPAGE="http://terapix.iap.fr/soft/swarp" +SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc threads mpi" +RDEPEND="mpi? ( virtual/mpi )" +DEPEND="${RDEPEND}" + +# mpi stuff untested. +src_compile() { + use mpi || export MPICC="$(tc-getCC)" + local myconf + # --disable-threads is buggy + use threads && myconf="--enable-threads" + econf \ + $(use_enable mpi) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog HISTORY README THANKS BUGS || die + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/* + fi +} |