diff options
Diffstat (limited to 'sci-astronomy/cpl')
-rw-r--r-- | sci-astronomy/cpl/Manifest | 12 | ||||
-rw-r--r-- | sci-astronomy/cpl/cpl-6.4.2.ebuild | 73 | ||||
-rw-r--r-- | sci-astronomy/cpl/cpl-6.6.1.ebuild | 77 | ||||
-rw-r--r-- | sci-astronomy/cpl/cpl-7.0.ebuild | 77 | ||||
-rw-r--r-- | sci-astronomy/cpl/files/cpl-6.1.1-check-shared-libs.patch | 35 | ||||
-rw-r--r-- | sci-astronomy/cpl/files/cpl-6.1.1-use-system-ltdl.patch | 46 | ||||
-rw-r--r-- | sci-astronomy/cpl/files/cpl-6.6.1-use-system-ltdl.patch | 41 | ||||
-rw-r--r-- | sci-astronomy/cpl/metadata.xml | 25 |
8 files changed, 386 insertions, 0 deletions
diff --git a/sci-astronomy/cpl/Manifest b/sci-astronomy/cpl/Manifest new file mode 100644 index 000000000000..3141cb06a787 --- /dev/null +++ b/sci-astronomy/cpl/Manifest @@ -0,0 +1,12 @@ +AUX cpl-6.1.1-check-shared-libs.patch 1010 SHA256 99d448ed80ad6139bb989ffc718942570dc8c2646e3936939c9fb6797deb92a5 SHA512 40d060e441222328e92508eef25fa50eea37600d4bfb9f422d47e5cafac115a9e82994ff74e3ca17124b5b83d8cec19b2f681709dbfc1ec975841a74fd273903 WHIRLPOOL 23fc6e83b59e6c10e512d93bde8ff2d62c5bc4a1b3390dea163e6c94f03bc2eb21fe3db12a61d3d869d71f59493f77ff6fdcab416ff564542d436b7850e9a7ad +AUX cpl-6.1.1-use-system-ltdl.patch 1296 SHA256 55bd2aa8072e621d6a7e4e939f8e6831c598c7000f739756520ff174e1d6ecaf SHA512 bfa2d0f6cadcf7e817314a6a3d587f99b298ea7f1fd919f5c7ef6a4a133a631da7a039f77f572918029ee8284d025a808ff3851112e5836ab824afa5e519ac1e WHIRLPOOL a1ee4c34fde903f14f6805cb312951ead0fa3b1bfaf9b78abbad4e4063d2f15def568b24401695ceeb0613fce933f5fba7cb239d6933b4d5cfeb262fd0a5b1a0 +AUX cpl-6.6.1-use-system-ltdl.patch 1005 SHA256 d63c740458b845a5d580f2503626cb85f772885f971cf6deafa3b538e786d61b SHA512 bd3c517245f8d2fb29cc68bcc1f4bad3d0fd5d8c2b3673b0ddbcec5b12b171527109ba3ad2bb2961d37c921ddb11876d49e698199c7360ad907c0ed28245404a WHIRLPOOL 105859ba956394e3eed4ca797e322b06ad2fe46fba575d75623ef295257b1bb1fa99469ceef0f865fd2a37d5e385599f8071c7237d6a42e4e0ae869525dc52e2 +DIST cpl-6.4.2.tar.gz 3165143 SHA256 848dbbc581670b32eeb3d87a7c3c10c9d3969f0fcbe7daf8ba18ef0081cbc793 SHA512 636ce549f23862a111fd88e97878eff8b86c88e8e2e800533b2f34f219f6b6ea3f03bd9de6ce9606c3787d0a61fb66a6bd92087d24c57c47e5a26e31eb362a11 WHIRLPOOL 7368e323c4f00af8fc684ba1448eec20f229df310b9cd66f0fe046dd6900a195c04fbc1c78dd31600651c8e7911f49517a37ddb4ba89df235fadb5c0e1a0cb81 +DIST cpl-6.6.1.tar.gz 3082051 SHA256 16cd1c5a165526423d5dd7999f9080e1fa143fc38778329744cf59fd24e1bb84 SHA512 261cd092b3d0f1865f2e1aca0760232497cfe85b92f61601b22d81619147cad17c427791adad5a863acb3febcfe78590c8f8d10de1d626f4b90302326f936064 WHIRLPOOL ea7c5f7792da54a46eec9f3a8e040c2598b8ec95a9aeccc8451e77aa9773c2ccdf3113e91f2f6f2c21782ab31293922a6195e0df7da30a369a1396328ace5251 +DIST cpl-7.0.tar.gz 3090767 SHA256 8b0351225ebe845fa496154c4a87564323bad8bf6223e25e90290b4a608127aa SHA512 d79eb37a5f29740edc1736815bde6ec31bc4e1f648552cad48ab70626170ff6195d226de0c198e0287dee3bfe815ee7302b6882395d710c534fabe0c5353aaa6 WHIRLPOOL 791d56d4b10bdd226798392cb82a6361893d673d5853f6a03ec50608a12823d4f3e5f219bebf3be5147db6b1b90c24860c6f947de3d339e3626d9f5627b8fa37 +EBUILD cpl-6.4.2.ebuild 1732 SHA256 22607e1beb59c924f82391aa3dd11d6c2fe18fc3f5bac803a39b7d855dd88f2c SHA512 66fd2ae2cc074834f7fe15d084171bdaab8974467f2638eaf1a3fbf503218d340a91da44a249c12a83e6e052ac15d33dde63801ad44ca4faf7d126d287e7abe8 WHIRLPOOL 8bb3a2f458648134c4bc6aef86dbeff1f013088c1862f144fb14ec5fd8a7aa44b0f52839940d8abd4b4aa552490d36e3abf1b697080dd7a30d6285b94966869a +EBUILD cpl-6.6.1.ebuild 1674 SHA256 0dc3fa47ed2359e58b3cac066bb19f4a23b5e4612e99da162bba024f361a543c SHA512 f75d9ee0616a3d48f555bdf4017e9c97822b1c1c93cae42df4393dd81f45a085940b0e3a9574adde10e809df36c2e94f340716472cefb3dd54cf9b289b762b0b WHIRLPOOL 4290074116f6fba905240598cc38876cbc84704061f34f9b1a078aeff2938cf7d3a5569ab41bfd958f19de053cb28ed0f73c8d2a60619041b8ffdaf7fdc1af0c +EBUILD cpl-7.0.ebuild 1674 SHA256 cfdc306fd442252a36d7c1725703de9cbbb8f0d452a202479f8b40b47b919b27 SHA512 ae171d69f8736eb88e3330dbc99e08224af10d522d8ad33c2bc9d8194c3573ded00d86dc596bf4c7e2ce6b34a27097ec001cb52ab51b3f7dea44fd60476b70eb WHIRLPOOL 0412ac1b8d2bd030ac3e9c0aacc6e8af99de3470e2727942b17772ccbfbf0834deb21e7857605ddd7e831831dc151cf8932b8d20c026f512c5b10bcce21ef29b +MISC ChangeLog 3424 SHA256 77fe7b31e409f3bf628aa834cc4fe82889990cfb6d400f48e3c587e2f12fd987 SHA512 3a9f3a0b5faaaee27e3f9b6579da514e942994ce6f6b3fa94a4312278faf1080306f84d6d34d95877d470f563f906495a75c8ba4be501850cf3c4f5caf78ab67 WHIRLPOOL 975e7768510987151ca95c46bbf02d9275d932287b9a936e73f24746efb51f965bfd5603fb50916ff6bcf457eb88f1ee20834f6abf527166ca5a7b1f53f8054f +MISC ChangeLog-2015 3354 SHA256 fcad692c6f4354363571f49caebeab7ce53b800c6f5933eb7ebec60c023d89c4 SHA512 3a1a48787bb3933b1cc53166bb56dc7f0fdf5e4090d48acec64ff68dc785d653bec8ac82b52476a4109a0eaa77da116d108709684d8b2904a9762da4d65b0f9c WHIRLPOOL 0e2558df10c5bf982cd1df2dde3a7be94cee439879f680c9be53372c3ad83cdaa01c39e5beed28b8741615e65324c3ef2088072fe5920078eaa3ab82db23cb86 +MISC metadata.xml 1076 SHA256 fd21398dc2616f886f7af49d3e6811938a46c717dbff1d989e7e93ba03bec3c8 SHA512 5c4f45f0c1ee32b01b5f04ec5cd7ae1721f9dc21e9b9027a5001f0f034a04efed71dbf4a3f30a1b6070f45c9b0f08f71926f63aaf3ce4c38c9b2a53fb50b9278 WHIRLPOOL 3506df619f59fd33d6df5451254b50eb133e652353bb2f06cff3a70a153759e4af3c4eb624cff4628e20cfff98ce1fb1e0e1c47f102dc313bc9e382115ee44fc diff --git a/sci-astronomy/cpl/cpl-6.4.2.ebuild b/sci-astronomy/cpl/cpl-6.4.2.ebuild new file mode 100644 index 000000000000..aba6a36645b2 --- /dev/null +++ b/sci-astronomy/cpl/cpl-6.4.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_OPT_USE=gasgano +AUTOTOOLS_AUTORECONF=1 + +inherit eutils java-pkg-opt-2 autotools-utils + +DESCRIPTION="ESO common pipeline library for astronomical data reduction" +HOMEPAGE="http://www.eso.org/sci/software/cpl/" +SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/20" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc gasgano static-libs threads" + +RDEPEND=" + sci-astronomy/wcslib:0= + >=sci-libs/cfitsio-3.310:0= + sci-libs/fftw:3.0= + gasgano? ( sci-astronomy/gasgano )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/${PN}-6.1.1-check-shared-libs.patch + "${FILESDIR}"/${PN}-6.1.1-use-system-ltdl.patch +) + +src_prepare() { + # bug 422455 and remove cpu chcking + sed -i \ + -e '/AM_C_PROTOTYPES/d' \ + -e '/CPL_CHECK_CPU/d' \ + configure.ac libcext/configure.ac || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" + --disable-ltdl-install + --without-included-ltdl + --with-cfitsio="${EPREFIX}/usr" + --with-wcs="${EPREFIX}/usr" + --with-fftw="${EPREFIX}/usr" + $(use_enable doc maintainer-mode) + $(use_enable threads) + ) + if use gasgano; then + myeconfargs+=( + --enable-gasgano + --with-gasgano="${EPREFIX}/usr" + --with-gasgano-classpath="${EPREFIX}/usr/share/gasgano/lib" + --with-java="$(java-config -O)" + ) + else + myeconfargs+=( --disable-gasgano ) + fi + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile all $(use doc && echo html) +} + +src_install() { + autotools-utils_src_install all $(use doc && echo install-html) +} diff --git a/sci-astronomy/cpl/cpl-6.6.1.ebuild b/sci-astronomy/cpl/cpl-6.6.1.ebuild new file mode 100644 index 000000000000..a2d5fdfc6e72 --- /dev/null +++ b/sci-astronomy/cpl/cpl-6.6.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_OPT_USE=gasgano + +inherit autotools java-pkg-opt-2 + +DESCRIPTION="ESO common pipeline library for astronomical data reduction" +HOMEPAGE="http://www.eso.org/sci/software/cpl/" +SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/20" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc gasgano static-libs threads" + +RDEPEND=" + sci-astronomy/wcslib:0= + sci-libs/cfitsio:0= + sci-libs/fftw:3.0= + gasgano? ( sci-astronomy/gasgano )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/${PN}-6.6.1-use-system-ltdl.patch +) + +src_prepare() { + default + # remove cpu chcking + sed -e '/CPL_CHECK_CPU/d' \ + -i configure.ac libcext/configure.ac || die + # search for shared libs, not static + sed -e 's/\.a/\.so/g' \ + -i m4/cpl.m4 || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" + --disable-ltdl-install + --without-included-ltdl + --with-cfitsio="${EPREFIX}/usr" + --with-wcs="${EPREFIX}/usr" + --with-fftw="${EPREFIX}/usr" + $(use_enable doc maintainer-mode) + $(use_enable static-libs static) + $(use_enable threads) + ) + if use gasgano; then + myeconfargs+=( + --enable-gasgano + --with-gasgano="${EPREFIX}/usr" + --with-gasgano-classpath="${EPREFIX}/usr/share/gasgano/lib" + --with-java="$(java-config -O)" + ) + else + myeconfargs+=( --disable-gasgano ) + fi + econf ${myeconfargs[@]} +} + +src_compile() { + default + use doc && emake html +} + +src_install() { + default + prune_libtool_files --all + use doc && emake install-html +} diff --git a/sci-astronomy/cpl/cpl-7.0.ebuild b/sci-astronomy/cpl/cpl-7.0.ebuild new file mode 100644 index 000000000000..6a7182c47d26 --- /dev/null +++ b/sci-astronomy/cpl/cpl-7.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_OPT_USE=gasgano + +inherit autotools java-pkg-opt-2 + +DESCRIPTION="ESO common pipeline library for astronomical data reduction" +HOMEPAGE="http://www.eso.org/sci/software/cpl/" +SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/26" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc gasgano static-libs threads" + +RDEPEND=" + sci-astronomy/wcslib:0= + sci-libs/cfitsio:0= + sci-libs/fftw:3.0= + gasgano? ( sci-astronomy/gasgano )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/${PN}-6.6.1-use-system-ltdl.patch +) + +src_prepare() { + default + # remove cpu chcking + sed -e '/CPL_CHECK_CPU/d' \ + -i configure.ac libcext/configure.ac || die + # search for shared libs, not static + sed -e 's/\.a/\.so/g' \ + -i m4/cpl.m4 || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" + --disable-ltdl-install + --without-included-ltdl + --with-cfitsio="${EPREFIX}/usr" + --with-wcs="${EPREFIX}/usr" + --with-fftw="${EPREFIX}/usr" + $(use_enable doc maintainer-mode) + $(use_enable static-libs static) + $(use_enable threads) + ) + if use gasgano; then + myeconfargs+=( + --enable-gasgano + --with-gasgano="${EPREFIX}/usr" + --with-gasgano-classpath="${EPREFIX}/usr/share/gasgano/lib" + --with-java="$(java-config -O)" + ) + else + myeconfargs+=( --disable-gasgano ) + fi + econf ${myeconfargs[@]} +} + +src_compile() { + default + use doc && emake html +} + +src_install() { + default + prune_libtool_files --all + use doc && emake install-html +} diff --git a/sci-astronomy/cpl/files/cpl-6.1.1-check-shared-libs.patch b/sci-astronomy/cpl/files/cpl-6.1.1-check-shared-libs.patch new file mode 100644 index 000000000000..658f2eaefb9e --- /dev/null +++ b/sci-astronomy/cpl/files/cpl-6.1.1-check-shared-libs.patch @@ -0,0 +1,35 @@ +Check shared library instead of static ones. +bicatali@gentoo.org + +diff -Nur cpl-6.1.1.orig/m4/cpl.m4 cpl-6.1.1/m4/cpl.m4 +--- cpl-6.1.1.orig/m4/cpl.m4 2012-06-04 18:38:01.000000000 +0100 ++++ cpl-6.1.1/m4/cpl.m4 2012-06-04 18:46:37.000000000 +0100 +@@ -8,7 +8,7 @@ + + cpl_cfitsio_check_version="$1" + cpl_cfitsio_check_header="fitsio.h" +- cpl_cfitsio_check_lib="libcfitsio.a" ++ cpl_cfitsio_check_lib="libcfitsio.so" + + cpl_cfitsio_incdirs="" + cpl_cfitsio_libdirs="" +@@ -668,7 +668,7 @@ + + cpl_wcs_check_version="$1" + cpl_wcs_check_header="wcslib/wcslib.h" +- cpl_wcs_check_lib="libwcs.a" ++ cpl_wcs_check_lib="libwcs.so" + + cpl_wcs_includes="" + cpl_wcs_libraries="" +@@ -900,8 +900,8 @@ + + cpl_fftw_check_version="$1" + cpl_fftw_check_header="fftw3.h" +- cpl_fftw_check_lib="libfftw3.a" +- cpl_fftwf_check_lib="libfftw3f.a" ++ cpl_fftw_check_lib="libfftw3.so" ++ cpl_fftwf_check_lib="libfftw3f.so" + + cpl_fftw_includes="" + cpl_fftw_libraries="" diff --git a/sci-astronomy/cpl/files/cpl-6.1.1-use-system-ltdl.patch b/sci-astronomy/cpl/files/cpl-6.1.1-use-system-ltdl.patch new file mode 100644 index 000000000000..a0c23a75d38c --- /dev/null +++ b/sci-astronomy/cpl/files/cpl-6.1.1-use-system-ltdl.patch @@ -0,0 +1,46 @@ +use system libtdl from libtool instead of bundled one +see http://www.flameeyes.eu/autotools-mythbuster/libtool/plugins.html +bicatali@gentoo.org + +diff -Nur cpl-6.1.1.orig/configure.ac cpl-6.1.1/configure.ac +--- cpl-6.1.1.orig/configure.ac 2012-06-04 18:38:01.000000000 +0100 ++++ cpl-6.1.1/configure.ac 2012-06-04 22:14:23.000000000 +0100 +@@ -60,8 +60,12 @@ + AC_ENABLE_STATIC(yes) + AC_ENABLE_SHARED(yes) + +-AC_LIBLTDL_CONVENIENCE +-AC_PROG_LIBTOOL ++LT_INIT([dlopen]) ++AC_CHECK_HEADER([ltdl.h], ++ [AC_CHECK_LIB([ltdl], [lt_dladvise_init], ++ [LIBLTDL=-lltdl], [LIBLTDL=])], ++ [LIBLTDL=]) ++ + AC_SUBST(INCLTDL) + AC_SUBST(LIBLTDL) + AC_SUBST(LIBTOOL_DEPS) +@@ -131,7 +135,6 @@ + CPL_CONFIG_FUNC + + # Configure subpackages +-AC_CONFIG_SUBDIRS(libltdl) + + if test ! x$"cpl_cv_with_system_cext" = xyes; then + AC_CONFIG_SUBDIRS([libcext]) +diff -Nur cpl-6.1.1.orig/Makefile.am cpl-6.1.1/Makefile.am +--- cpl-6.1.1.orig/Makefile.am 2012-06-04 18:38:01.000000000 +0100 ++++ cpl-6.1.1/Makefile.am 2012-06-04 19:07:41.000000000 +0100 +@@ -25,11 +25,10 @@ + DISTCLEANFILES = *~ + + if GASGANO_SUPPORT +-libltdl = libltdl + cpljava = cpljava + endif + +-SUBDIRS = $(libltdl) $(libcext) cplcore cplui cpldrs cpldfs $(cpljava) ++SUBDIRS = $(libcext) cplcore cplui cpldrs cpldfs $(cpljava) + + HTML_SUBDIRS = + diff --git a/sci-astronomy/cpl/files/cpl-6.6.1-use-system-ltdl.patch b/sci-astronomy/cpl/files/cpl-6.6.1-use-system-ltdl.patch new file mode 100644 index 000000000000..37ef2b550eda --- /dev/null +++ b/sci-astronomy/cpl/files/cpl-6.6.1-use-system-ltdl.patch @@ -0,0 +1,41 @@ +use system libtdl from libtool instead of bundled one +see http://www.flameeyes.eu/autotools-mythbuster/libtool/plugins.html +bicatali@gentoo.org + +--- cpl-7.0.orig/configure.ac 2012-06-04 18:38:01.000000000 +0100 ++++ cpl-7.0/configure.ac 2012-06-04 22:14:23.000000000 +0100 +@@ -60,8 +60,9 @@ + AC_ENABLE_STATIC(yes) + AC_ENABLE_SHARED(yes) + +-AC_LIBLTDL_CONVENIENCE +-AC_PROG_LIBTOOL ++LT_INIT([dlopen]) ++LT_CONFIG_LTDL_DIR([libltdl]) ++AC_LIB_LTDL + AC_SUBST(INCLTDL) + AC_SUBST(LIBLTDL) + AC_SUBST(LIBTOOL_DEPS) +@@ -131,7 +135,6 @@ + CPL_CONFIG_FUNC + + # Configure subpackages +-AC_CONFIG_SUBDIRS(libltdl) + + if test ! x$"cpl_cv_with_system_cext" = xyes; then + AC_CONFIG_SUBDIRS([libcext]) +--- cpl-7.0.orig/Makefile.am ++++ cpl-7.0/Makefile.am +@@ -25,11 +25,10 @@ + DISTCLEANFILES = *~ + + if GASGANO_SUPPORT +-libltdl = libltdl + cpljava = cpljava + endif + +-SUBDIRS = $(libltdl) $(libcext) cplcore cplui cpldrs cpldfs $(cpljava) ++SUBDIRS = $(libcext) cplcore cplui cpldrs cpldfs $(cpljava) + + HTML_SUBDIRS = + diff --git a/sci-astronomy/cpl/metadata.xml b/sci-astronomy/cpl/metadata.xml new file mode 100644 index 000000000000..c10d9ce830fc --- /dev/null +++ b/sci-astronomy/cpl/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> +</maintainer> +<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> +<use> + <flag name="gasgano"> + Enable support for <pkg>sci-astronomy/gasgano</pkg> file organizer + </flag> +</use> +</pkgmetadata> |