diff options
Diffstat (limited to 'sci-astronomy')
28 files changed, 138 insertions, 930 deletions
diff --git a/sci-astronomy/casa-data/Manifest b/sci-astronomy/casa-data/Manifest index 30f2722c36c6..f9d7b3a1628d 100644 --- a/sci-astronomy/casa-data/Manifest +++ b/sci-astronomy/casa-data/Manifest @@ -1,2 +1 @@ -DIST casa-data-20160222.tar.Z 12333481 BLAKE2B 59f76c10b40e8ef5476f6adf7a10cc55c9268d4fbdf82b608ab9cc8370b528aa092890050195d12a4d4486c275b43fc0dc84ad70e7067b8af675ddb67f0aefb3 SHA512 4b246b163f9754587b2d917db050ab3fa5e661f27b4a5a879d60abee4132503ce700c2d1b1a88cd5cf96a3c093cb3b9489b2b31781f7084ed0d9bd5a4bcbdd6b DIST casa-data-20170703.tar.Z 12421015 BLAKE2B 324dd4174f80bdf192de0ec8c12125304a9dd85b6bf64b4386053ec65bab4aa98417bf69f38eae64e4bfacfa4a6479cc6fded13fd0c8edfcbd3eb8aec537c815 SHA512 dc0de856da4146ed356fbfcb522b427bb6a66fb08affdf0bfe803b21305ac37eff9b1790ede58acc993df2f22d620982f10b42f631457258d1620702c10d87b1 diff --git a/sci-astronomy/casa-data/casa-data-20160222.ebuild b/sci-astronomy/casa-data/casa-data-20160222.ebuild deleted file mode 100644 index 78279ca3163b..000000000000 --- a/sci-astronomy/casa-data/casa-data-20160222.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MYPN=WSRT_Measures - -DESCRIPTION="Data and tables for the CASA software" -HOMEPAGE="https://github.com/casacore/casacore/" -SRC_URI="ftp://ftp.astron.nl/outgoing/Measures/${MYPN}_${PV}-000001.ztar -> ${P}.tar.Z" - -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -LICENSE="LGPL-3" -SLOT="0" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND}" - -S="${WORKDIR}" - -src_install() { - insinto /usr/share/casa/data - doins -r * -} diff --git a/sci-astronomy/cdsclient/Manifest b/sci-astronomy/cdsclient/Manifest index bbd2da686b74..842309b4edd3 100644 --- a/sci-astronomy/cdsclient/Manifest +++ b/sci-astronomy/cdsclient/Manifest @@ -1,2 +1 @@ -DIST cdsclient-3.81.tar.gz 122719 BLAKE2B 4db50f2552e4379797d395b272eb2dbefd4b16b9b6acd459fc306738c600b1e86370f7720d6927c36b1504d3e4d316b08ae642756a7a29c9b07aef75df48369c SHA512 3fcf7a902dfddb3583ff34eedbcddd6a5641bf9c87d234159090378436ac370313ea311d3fee6e202ee84b3fe4065ef45a46a15b5d996e05afd1418e617c20ea DIST cdsclient-3.84.tar.gz 119585 BLAKE2B cf5d7fe3e7a1f4985949b8621122157178b856e82415e6bf12a582c67e6748bf9eb75209983baab9051919817b373b198748cfda5a1e4733784a9b98ab7659ff SHA512 2d7abf0079189b9dd19cb8919061445fd19ea9f7dfd54e8ceee26b743218cf62ab00eba0147abe82d9294223927f04b4cc3328620dfc9184a7049f8d515b29e4 diff --git a/sci-astronomy/cdsclient/cdsclient-3.8.1.ebuild b/sci-astronomy/cdsclient/cdsclient-3.8.1.ebuild deleted file mode 100644 index 5bd03603cb17..000000000000 --- a/sci-astronomy/cdsclient/cdsclient-3.8.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils versionator - -# upstream versioning wrong: 3.71 is really 3.7.1 -MYP="${PN}-$(delete_version_separator 2)" - -DESCRIPTION="Collection of scripts to access the CDS databases" -HOMEPAGE="https://cdsweb.u-strasbg.fr/doc/cdsclient.html" -SRC_URI="ftp://cdsarc.u-strasbg.fr/pub/sw/${MYP}.tar.gz" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RESTRICT="mirror bindist" -DEPEND="" -RDEPEND="app-shells/tcsh" - -S="${WORKDIR}/${MYP}" - -PATCHES=( "${FILESDIR}/${PN}-makefile.patch" ) -src_prepare() { - default - # remove non standard "mantex" page - sed -e 's/aclient.tex//' -i configure || die -} - -src_install() { - local bindir="${EPREFIX}/usr/bin/${PN}" - emake DESTDIR="${D}" SHSDIR="${D}${bindir}" install - cat <<-EOF > 99${PN} - PATH=${bindir} - ROOTPATH=${bindir} - EOF - doenvd 99${PN} -} diff --git a/sci-astronomy/celestia/celestia-1.7.0_pre20200316.ebuild b/sci-astronomy/celestia/celestia-1.7.0_pre20200316.ebuild deleted file mode 100644 index a5fe892dd0d3..000000000000 --- a/sci-astronomy/celestia/celestia-1.7.0_pre20200316.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop flag-o-matic xdg cmake - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/CelestiaProject/Celestia.git" - inherit git-r3 -else - if [[ ${PV} == *_p* ]] ; then - COMMIT_ID="df508a0c597a3d96c1c039fa4a973e294021cfba" - SRC_URI="https://github.com/${PN^}Project/${PN^}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN^}-${COMMIT_ID}" - KEYWORDS="~amd64 ~x86" - else - SRC_URI="https://github.com/${PN^}Project/${PN^}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" - fi -fi - -DESCRIPTION="OpenGL 3D space simulator" -HOMEPAGE="https://celestia.space" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="glut lua nls +qt5 theora" -REQUIRED_USE="|| ( glut qt5 )" - -BDEPEND=" - dev-cpp/eigen - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" -DEPEND=" - dev-libs/libfmt:= - media-libs/glew:0= - media-libs/libpng:0= - sys-libs/zlib:= - virtual/glu - virtual/jpeg:0 - virtual/opengl - glut? ( media-libs/freeglut ) - lua? ( dev-lang/lua:0= ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) - theora? ( - media-libs/libogg - media-libs/libtheora - ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - # make better desktop files - "${FILESDIR}"/${PN}-1.5.0-desktop.patch - # add a ~/.celestia for extra directories - "${FILESDIR}"/${PN}-1.6.99-cfg.patch -) - -src_prepare() { - cmake_src_prepare - - ### This version of Celestia has a bug in the font rendering and - ### requires -fsigned-char. We should be able to force this flag - ### on all architectures. See bug #316573. - append-flags "-fsigned-char" -} - -src_configure() { - local mycmakeargs=( - -DENABLE_CELX="$(usex lua)" - -DENABLE_NLS="$(usex nls)" - -DENABLE_GLUT="$(usex glut)" - -DENABLE_GTK=OFF - -DENABLE_QT="$(usex qt5)" - -DENABLE_WIN=OFF - -DENABLE_THEORA="$(usex theora)" - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - local size - for size in 16 22 32 48 ; do - newicon -s ${size} "${S}"/src/celestia/kde/data/hi${size}-app-${PN}.png ${PN}.png - done - newicon -s 128 "${S}"/src/celestia/gtk/data/${PN}-logo.png ${PN}.png - doicon -s scalable "${S}"/src/celestia/gtk/data/${PN}.svg - - use glut && domenu ${PN}.desktop - if use qt5 ; then - sed \ - -e "/^Name/s@\$@ (qt5 interface)@" \ - -e "/^Exec/s@${PN}@${PN}-qt@" \ - ${PN}.desktop > "${T}"/${PN}-qt5.desktop || die - domenu "${T}"/${PN}-qt5.desktop - fi - dodoc AUTHORS README TRANSLATORS *.txt -} diff --git a/sci-astronomy/cpl/Manifest b/sci-astronomy/cpl/Manifest index aaf9792c8f4d..6390d6e12c57 100644 --- a/sci-astronomy/cpl/Manifest +++ b/sci-astronomy/cpl/Manifest @@ -1,3 +1 @@ -DIST cpl-6.4.2.tar.gz 3165143 BLAKE2B aaf36e15e88ece67cff74fb086054281bf283b7bbd9bfe163a73be6fe60c16cf1cde030f3d0cfd0d088de02b8e6f0ee182c8c809d3072e0680421a57797c5dbb SHA512 636ce549f23862a111fd88e97878eff8b86c88e8e2e800533b2f34f219f6b6ea3f03bd9de6ce9606c3787d0a61fb66a6bd92087d24c57c47e5a26e31eb362a11 -DIST cpl-6.6.1.tar.gz 3082051 BLAKE2B 748b6336021141451f520a27c295f9df6d23eaa1008b9325b74dedcd844d586869bccaa70c9663549c5cf9d498e6d326d1ad8fc9a2e53b05f975c037ebdfbd84 SHA512 261cd092b3d0f1865f2e1aca0760232497cfe85b92f61601b22d81619147cad17c427791adad5a863acb3febcfe78590c8f8d10de1d626f4b90302326f936064 DIST cpl-7.0.tar.gz 3090767 BLAKE2B bb1f6dcc35c1e2f574a6e008af2461a3832cfbd742bcef7ce9ff151d7fd7157ecc34b6efb75dcf3fc77e41ae20d7d14f229da05351712c3214f9da4814e0f5e5 SHA512 d79eb37a5f29740edc1736815bde6ec31bc4e1f648552cad48ab70626170ff6195d226de0c198e0287dee3bfe815ee7302b6882395d710c534fabe0c5353aaa6 diff --git a/sci-astronomy/cpl/cpl-6.4.2.ebuild b/sci-astronomy/cpl/cpl-6.4.2.ebuild deleted file mode 100644 index 3de13f648bd6..000000000000 --- a/sci-astronomy/cpl/cpl-6.4.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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="https://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 deleted file mode 100644 index 4ebafc3abfd6..000000000000 --- a/sci-astronomy/cpl/cpl-6.6.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_OPT_USE=gasgano - -inherit autotools java-pkg-opt-2 ltprune - -DESCRIPTION="ESO common pipeline library for astronomical data reduction" -HOMEPAGE="https://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=( - --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 deleted file mode 100644 index 658f2eaefb9e..000000000000 --- a/sci-astronomy/cpl/files/cpl-6.1.1-check-shared-libs.patch +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index a0c23a75d38c..000000000000 --- a/sci-astronomy/cpl/files/cpl-6.1.1-use-system-ltdl.patch +++ /dev/null @@ -1,46 +0,0 @@ -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/erfa/Manifest b/sci-astronomy/erfa/Manifest index 46dd8f8beaa7..74d18147fc9a 100644 --- a/sci-astronomy/erfa/Manifest +++ b/sci-astronomy/erfa/Manifest @@ -1,3 +1,2 @@ DIST erfa-1.2.0.tar.gz 305668 BLAKE2B bfaaca9203f25fbffc25723803d7d492f83c670cac7ea86e6ae15fc6636441ae7010208e8780ecc3133709a06b89b7d2218d1793b159d0be0c0694ab3579b958 SHA512 ead7a44b69048242cba34b0ab419eb97a1bcce6930d5834f5f00c8cae4cb331ee068cece08e51f918f7bd8eaaeada054006377876db01f7b7b4e86c26f17d311 -DIST erfa-1.3.0.tar.gz 640176 BLAKE2B 16da4c9bfb650fb54d0232ac111642f3fce732b663a3ab011a7d22755ce802c63c917c521844abb2c460b5cb19ecb87465bccac47ac770a117ea30388168c827 SHA512 c8dc110e2d581d7de79d0406fb5873201a795e1d7ce8dcf642125082d78d1cb00dd3fe44b76e1b7249014314abd840ad24615ad9d13cd447505af2271c1f31bd DIST erfa-1.4.0.tar.gz 641051 BLAKE2B 448f9f883d85a3c39a58497c6211542719c77b05b6bf4087519b710642c144939a9e27ba44b82a42d759dc04e1effe9833ae087487292846f954e6c3f93fb8db SHA512 2befe5a45486dbbd2ee88229cce7a6101462254bd346d3a2859e294f31119eb5cf5e4113e4061fa3e371216ed793a79ea1ba98fc6fd8aa53d2ba4170e1e135e2 diff --git a/sci-astronomy/erfa/erfa-1.3.0.ebuild b/sci-astronomy/erfa/erfa-1.3.0.ebuild deleted file mode 100644 index d4ae6c398f78..000000000000 --- a/sci-astronomy/erfa/erfa-1.3.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils ltprune - -DESCRIPTION="Essential Routines for Fundamental Astronomy" -HOMEPAGE="https://github.com/liberfa/erfa" -SRC_URI="https://github.com/liberfa/erfa/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/1" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -IUSE="static-libs" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - prune_libtool_files --all -} diff --git a/sci-astronomy/esorex/Manifest b/sci-astronomy/esorex/Manifest index 862d6c283df3..a5e9c66b9e18 100644 --- a/sci-astronomy/esorex/Manifest +++ b/sci-astronomy/esorex/Manifest @@ -1,3 +1 @@ -DIST esorex-3.10.2.tar.gz 817875 BLAKE2B 2e4d8aff00b2e26a8bbb78e354524fa2b91e01491ade19ae62c5de4062b1199c4a8e43afdefd997e4628583c47cb90324327ce5bbb7b668a3ff3c9e1617057ed SHA512 6f6f663bd74d61f3612a13fb39e17c984f8ed88d9dd175951b385d9797433b19a6e276841b23b61881cec8702eb8d74061549a922acf939a9a5e98c8016d1ecb DIST esorex-3.12.3.tar.gz 693894 BLAKE2B 6cefb944f402a706892af92f8ef578d6705aba6c44e3e4edc328369cac004af1e5aa64e1f189438e6d7b6465fb37d002701ce8d7c505a367c76c30b50c1ac096 SHA512 28d62b2cbb66e21fe96435fedf94a727c598b33f2d0aa9ff8d811cfc87edf8d215a76837f525d2964c24bb6e0a3b50aa4dcf2a8dcfae8ac1b933303f8fb08122 -DIST esorex-3.12.tar.gz 649290 BLAKE2B 6580e07121a7e85c2be446b0e3a110e4416f05448617125f809b5c315176c2579d10efe5db3ed166ed03afa809c37c07b2cb48eb1a4720c4cd473958576a1cab SHA512 02547d44cf93c570b2be6f429215efee95a2ef91a26b45fd0a5bfea3ec00837e04972f801c3c00a892eb8bb24b2e3aa8a854b4093844cfae0aed3bf0f396eac6 diff --git a/sci-astronomy/esorex/esorex-3.10.2.ebuild b/sci-astronomy/esorex/esorex-3.10.2.ebuild deleted file mode 100644 index 31d6954cb864..000000000000 --- a/sci-astronomy/esorex/esorex-3.10.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_AUTORECONF=1 -AUTOTOOLS_IN_SOURCE_BUILD=1 -AT_NO_RECURSIVE=1 - -inherit autotools-utils - -DESCRIPTION="ESO Recipe Execution Tool to exec cpl scripts" -HOMEPAGE="https://www.eso.org/sci/software/cpl/esorex.html" -SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND=">=sci-astronomy/cpl-6.3:0=" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-3.9.6-use-shared-libs.patch - "${FILESDIR}"/${PN}-3.10-remove-private-ltdl.patch - "${FILESDIR}"/${PN}-3.10-generate-manpage.patch - "${FILESDIR}"/${PN}-3.10-remove-empty-configdir.patch - "${FILESDIR}"/${PN}-3.10-set-default-plugin-path.patch -) - -export CPLDIR="${EPREFIX}/usr" - -src_install() { - autotools-utils_src_install - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples -} diff --git a/sci-astronomy/esorex/esorex-3.12.ebuild b/sci-astronomy/esorex/esorex-3.12.ebuild deleted file mode 100644 index 32d189e883f2..000000000000 --- a/sci-astronomy/esorex/esorex-3.12.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="ESO Recipe Execution Tool to exec cpl scripts" -HOMEPAGE="https://www.eso.org/sci/software/cpl/esorex.html" -SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND=">=sci-astronomy/cpl-6.3:=" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-3.9.6-use-shared-libs.patch - "${FILESDIR}"/${PN}-3.10-remove-private-ltdl.patch - "${FILESDIR}"/${PN}-3.10-generate-manpage.patch - "${FILESDIR}"/${PN}-3.10-remove-empty-configdir.patch - "${FILESDIR}"/${PN}-3.10-set-default-plugin-path.patch -) - -export CPLDIR="${EPREFIX}/usr" - -src_prepare() { - default - AT_NO_RECURSIVE=1 eautoreconf -} - -src_install() { - default - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples -} diff --git a/sci-astronomy/healpix/Manifest b/sci-astronomy/healpix/Manifest index f12c14d88a13..f4344c29ce19 100644 --- a/sci-astronomy/healpix/Manifest +++ b/sci-astronomy/healpix/Manifest @@ -1,2 +1 @@ -DIST Healpix_3.30_2015Oct08.tar.gz 23465221 BLAKE2B c11b681065a2baf951c82538c6c47459954e1702153d55c1983af245ac4748f7768b43ab5c44f4a7b914c15cd4c23ee176389f18cbbee02923a76d69444542d1 SHA512 a7be82687a2188f5dff99c6826355e3290ccc91cc440e67267c58fa13af9fa5d301eca9b37676ef6f0af262b2ff1c06e722d0dcd3aca00a4c9d2794bc666c0c7 DIST Healpix_3.31_2016Aug26.tar.gz 23834899 BLAKE2B a9e3b6567e851eb941e81d45145848a8daede260454dee29e056857f98ea643a0a438a5cc763651f4156ae975be41c601b8664f8bebbcf13b0fb23822c36ae40 SHA512 fd80e9ed80d19e438134f63c3d13802f63c4cd1b9f3596807e67d4ba5ff814e652a130d038449269d6ead271085eb0ab74884b2d768d8531066727377c457f9c diff --git a/sci-astronomy/healpix/healpix-3.30.ebuild b/sci-astronomy/healpix/healpix-3.30.ebuild deleted file mode 100644 index cb1375de1f31..000000000000 --- a/sci-astronomy/healpix/healpix-3.30.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools toolchain-funcs eutils java-pkg-opt-2 java-ant-2 ltprune - -MYP="Healpix_${PV}" -MYPF=${MYP}_2015Oct08 - -DESCRIPTION="Hierarchical Equal Area isoLatitude Pixelization of a sphere" -HOMEPAGE="https://sourceforge.net/projects/healpix/" -SRC_URI="mirror://sourceforge/healpix/${MYP}/${MYPF}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -# might add fortran in the future if requested -IUSE="cxx doc idl java openmp static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=sci-libs/cfitsio-3 - idl? ( - dev-lang/gdl - sci-astronomy/idlastro ) - java? ( >=virtual/jre-1.6:* )" - -DEPEND="${RDEPEND} - virtual/pkgconfig - java? ( >=virtual/jdk-1.6:* test? ( dev-java/ant-junit4:0 ) )" - -S="${WORKDIR}/${MYP}" - -pkg_pretend() { - if use cxx && use openmp && [[ $(tc-getCXX)$ == *g++* ]] && [[ ${MERGE_TYPE} != binary ]]; then - tc-has-openmp || \ - die "You are using gcc but without OpenMP capabilities that you requested" - fi -} - -pkg_setup() { - java-pkg-opt-2_pkg_setup -} - -src_prepare() { - pushd src/C/autotools > /dev/null - eautoreconf - popd > /dev/null - # why was static-libtool-libs forced? - if use cxx; then - pushd src/cxx/autotools > /dev/null - sed -i -e '/-static-libtool-libs/d' Makefile.am || die - eautoreconf - popd > /dev/null - fi - # duplicate of idlastro (in rdeps) - rm -r src/idl/zzz_external/astron || die - mv src/idl/zzz_external/README src/idl/README.external || die - java-pkg-opt-2_src_prepare - default -} - -src_configure() { - pushd src/C/autotools > /dev/null - econf $(use_enable static-libs static) - popd > /dev/null - if use cxx; then - pushd src/cxx/autotools > /dev/null - econf \ - --disable-native-optimizations \ - $(use_enable openmp) \ - $(use_enable static-libs static) - popd > /dev/null - fi -} - -src_compile() { - pushd src/C/autotools > /dev/null - emake - popd > /dev/null - if use cxx; then - pushd src/cxx/autotools > /dev/null - emake - popd > /dev/null - fi - if use java; then - pushd src/java > /dev/null - eant dist-notest - popd > /dev/null - fi -} - -src_test() { - pushd src/C/autotools > /dev/null - emake check - popd > /dev/null - if use cxx; then - pushd src/cxx/autotools > /dev/null - emake check - popd > /dev/null - fi - if use java; then - pushd src/java > /dev/null - EANT_GENTOO_CLASSPATH="ant-junit4" ANT_TASKS="ant-junit4" eant test - popd > /dev/null - fi -} - -src_install() { - dodoc READ_Copyrights_Licenses.txt - pushd src/C/autotools > /dev/null - emake install DESTDIR="${D}" - popd > /dev/null - if use cxx; then - pushd src/cxx/autotools > /dev/null - emake install DESTDIR="${D}" - docinto cxx - dodoc ../CHANGES - popd > /dev/null - fi - use static-libs || prune_libtool_files --all - if use idl; then - pushd src/idl > /dev/null - insinto /usr/share/gnudatalanguage/healpix - doins -r examples fits interfaces misc toolkit visu zzz_external - doins HEALPix_startup - docinto idl - dodoc README.* - popd > /dev/null - fi - if use java; then - pushd src/java > /dev/null - java-pkg_dojar dist/*.jar - docinto java - dodoc README CHANGES - popd > /dev/null - fi - use doc && dodoc -r doc/html -} diff --git a/sci-astronomy/montage/Manifest b/sci-astronomy/montage/Manifest index 6e739c3703ec..829e7d953c78 100644 --- a/sci-astronomy/montage/Manifest +++ b/sci-astronomy/montage/Manifest @@ -1,2 +1 @@ DIST Montage_v5.0.tar.gz 14663443 BLAKE2B b7dea04a0b9650b3e32bc425891c1221d60123c29663013b4af860efc238dee7552a2b55514ad7eda3be659873e3f14d2039b2e6eea20f565d64c7b8bd055069 SHA512 1396c7f846db4844d2e861622d152f2115ad4c684da02bb14116dfe3d01b559feaf29572663d0dfd234aa50843afaca3bb072d9127fbb2b539a14327c48499ae -DIST montage-4.1.tar.gz 38542751 BLAKE2B 4e7078ad04a92e18ddddfa72812eaf0b9bf5c9b5571bacfa4c94a8e08c5134238fac778bbfd2289e3d5ec3b6ad854ba237367887801006d5663912f84a5a595a SHA512 a4e6572c0ce04ca950cb425e2589d85609d037e57c575d4efa67b277cecf5e54a2e6d307914ee99997baaba7c5bdd43c72b1e1893111eacc065785689bfc17fb diff --git a/sci-astronomy/montage/files/montage-4.1-fix_freetype_incude.patch b/sci-astronomy/montage/files/montage-4.1-fix_freetype_incude.patch deleted file mode 100644 index 0b27c83784db..000000000000 --- a/sci-astronomy/montage/files/montage-4.1-fix_freetype_incude.patch +++ /dev/null @@ -1,13 +0,0 @@ -Author: Ole Streicher <olebole@debian.org> -Description: Fix freetype include path ---- a/util/Viewer/graphics.c -+++ b/util/Viewer/graphics.c -@@ -1,7 +1,7 @@ - #include <stdio.h> - #include <math.h> - #include <freetype2/ft2build.h> --#include <freetype.h> -+#include FT_FREETYPE_H - - void labeled_curve (char *face_path, int fontsize, int showLine, - double *xcurve, double *ycurve, int npt, diff --git a/sci-astronomy/montage/files/montage-4.1-use_system_libs.patch b/sci-astronomy/montage/files/montage-4.1-use_system_libs.patch deleted file mode 100644 index 4f4ff8d2d748..000000000000 --- a/sci-astronomy/montage/files/montage-4.1-use_system_libs.patch +++ /dev/null @@ -1,49 +0,0 @@ -From: Sebastien Fabbro <bicatali@gentoo.org> -Date: Tue, 7 Jun 2016 18:25:12 +0000 -Subject: Use system libraries - ---- a/lib/src/Makefile -+++ b/lib/src/Makefile -@@ -1,5 +1,5 @@ - l: -- (cd cfitsio-3.25; ./configure; make; cp libcfitsio.a ../..; cp *.h ../../include) -+# (cd cfitsio-3.25; ./configure; make; cp libcfitsio.a ../..; cp *.h ../../include) - (cd cmd; make; make install) - (cd coord; make; make install) - (cd mtbl; make; make install) -@@ -7,25 +7,25 @@ l: - (cd boundaries; make; make install) - (cd pixbounds; make; make install) - (cd www; make; make install) -- (cd wcstools-3.8.7/libwcs; make; cp libwcs.a ../../..; cp *.h ../../../include) -+# (cd wcstools-3.8.7/libwcs; make; cp libwcs.a ../../..; cp *.h ../../../include) - (cd two_plane_v1.1; make; make install) - (cd lodepng_20140823; make; make install) -- (cd jpeg-8b; ./configure; make; cp .libs/libjpeg.a ../..; cp jpeglib.h jconfig.h jmorecfg.h ../../include) -- (cd freetype-2.5.4; ./configure --prefix=`pwd`/../../freetype --without-png; make; make install) -+# (cd jpeg-8b; ./configure; make; cp .libs/libjpeg.a ../..; cp jpeglib.h jconfig.h jmorecfg.h ../../include) -+# (cd freetype-2.5.4; ./configure --prefix=`pwd`/../../freetype --without-png; make; make install) - (cd ..; ranlib *.a) - chmod 644 ../include/* - - clean: - rm -rf ../include/* ../freetype ../*.a -- (cd cfitsio-3.25; make clean; rm -rf config.log config.cache config.status lib) -+# (cd cfitsio-3.25; make clean; rm -rf config.log config.cache config.status lib) - (cd cmd; make clean) - (cd coord; make clean) - (cd mtbl; make clean) - (cd svc; make clean) - (cd boundaries; make clean) - (cd pixbounds; make clean) -- (cd wcstools-3.8.7/libwcs; make clean) -+# (cd wcstools-3.8.7/libwcs; make clean) - (cd two_plane_v1.1; make clean) - (cd lodepng_20140823; make clean) -- (cd jpeg-8b; make clean) -- (cd freetype-2.5.4; make clean; rm -rf objs/libfreetype.la objs/.libs) -+# (cd jpeg-8b; make clean) -+# (cd freetype-2.5.4; make clean; rm -rf objs/libfreetype.la objs/.libs) --- -2.8.3 - diff --git a/sci-astronomy/montage/montage-4.1.ebuild b/sci-astronomy/montage/montage-4.1.ebuild deleted file mode 100644 index 2520bf509a5b..000000000000 --- a/sci-astronomy/montage/montage-4.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils toolchain-funcs - -MYPN=Montage - -DESCRIPTION="Toolkit for assembling FITS images into mosaics" -HOMEPAGE="https://montage.ipac.caltech.edu/" -SRC_URI="https://github.com/Caltech-IPAC/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" - -IUSE="doc mpi" - -RDEPEND=" - media-libs/freetype:2= - sci-astronomy/wcstools:0= - sci-libs/cfitsio:0= - virtual/jpeg:0 - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-fix_format_errors.patch" - "${FILESDIR}/${P}-initdistdata.patch" - "${FILESDIR}/${P}-fix_freetype_incude.patch" - "${FILESDIR}/${P}-use_system_libs.patch" -) - -S="${WORKDIR}/${MYPN}-${PV}" - -src_prepare() { - default - tc-export CC AR - - find . -name Makefile\* | xargs sed -i \ - -e "/^CC.*=/s:\(gcc\|cc\):$(tc-getCC):g" \ - -e "/^CFLAGS.*=/s:-g:${CFLAGS} $($(tc-getPKG_CONFIG) --cflags wcstools):g" \ - -e "s:-I../../lib/freetype/include :$($(tc-getPKG_CONFIG) --cflags freetype2):g" \ - -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:g' \ - -e "s:-lwcs:$($(tc-getPKG_CONFIG) --libs wcstools):g" \ - -e "s:-lcfitsio:$($(tc-getPKG_CONFIG) --libs cfitsio):g" \ - -e 's:-lnsl::g' \ - -e "s:ar q:$(tc-getAR) q:g" || die - - if use mpi; then - sed -e 's:# MPICC:MPICC:' \ - -e 's:# BINS:BINS:' \ - -i Montage/Makefile.* || die - fi -} - -src_install() { - dobin bin/* - dodoc README* ChangeHistory - if use doc; then - insinto /usr/share/doc/${PF} - doins -r man/* - fi -} diff --git a/sci-astronomy/skycat/Manifest b/sci-astronomy/skycat/Manifest index 7bd1321ec46c..04f46a80de55 100644 --- a/sci-astronomy/skycat/Manifest +++ b/sci-astronomy/skycat/Manifest @@ -1,2 +1 @@ -DIST skycat-3.1.2.tar.gz 3091874 BLAKE2B cbaedd7006b1d1e6903673572fc15ca0897713da07e23b14b30914e7132d5be2cbd8c74c6a836a5cb0492dd8047b0556d568b029bed2101ff5a821fa4e89d6da SHA512 70f7f366c13f0d9914db5be0ed75952a5e97ca2aef18ce5a4aa3e330aeceaaa1ab06c5ada69056659d038b2e558648e1f4033668d4935c6a6c50bce8b766f100 DIST skycat-3.1.3.tar.gz 3057187 BLAKE2B 3adb385452969f4cc9dac4236c1ff3dae94f2f4cf3efef1b21acfb470ffe2c387c38aa4cc0b73c1836a2172271d6113e5d0f6ab49eaab7ad8a68c7ca6566133c SHA512 55ec0c2b367e028c23e5e8f8d74106aa51aec5173c2ab1772f5fa8a5a5b65f3d85e7b991597a89f11f6ca14d57aaa6b774f474b41e78747ee486df66ab22e9ff diff --git a/sci-astronomy/skycat/skycat-3.1.2-r2.ebuild b/sci-astronomy/skycat/skycat-3.1.2-r2.ebuild deleted file mode 100644 index d6d75d24af63..000000000000 --- a/sci-astronomy/skycat/skycat-3.1.2-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools flag-o-matic - -DESCRIPTION="ESO astronomical image visualizer with catalog access" -HOMEPAGE="https://www.eso.org/sci/observing/tools/skycat.html" -SRC_URI="http://archive.eso.org/cms/tools-documentation/skycat-download/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" - -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="threads" - -DEPEND="x11-libs/libXext - >=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 - sci-libs/cfitsio - sci-astronomy/wcstools" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-m4.patch # fix buggy tcl.m4 for bash3 and add soname - "${FILESDIR}"/${P}-makefile-qa.patch - "${FILESDIR}"/${PN}-3.0.2-systemlibs.patch # use system libs - "${FILESDIR}"/${PN}-3.0.2-tk8.5.patch # need fix for tk-8.5 -) - -src_prepare() { - default - rm -fr astrotcl/{cfitsio,libwcs} \ - || die "Failed to remove included libs" - # prefix it - sed -i \ - -e "s:/usr:${EPREFIX}/usr:g" \ - */configure.in */aclocal.m4 || die - local f - for f in configure.in */configure.in ; do - mv "$f" "${f/.in/.ac}" || die - done - eautoreconf -} - -src_configure() { - append-cppflags -DUSE_INTERP_RESULT # 514604 - econf $(use_enable threads) --enable-merge -} - -src_install() { - default - local d f - for d in tclutil astrotcl rtd cat skycat; do - for f in README CHANGES VERSION; do - newdoc ${f} ${f}.${d} - done - done -} diff --git a/sci-astronomy/sofa_c/Manifest b/sci-astronomy/sofa_c/Manifest index 59d0bf6d5470..c35bfcf6b0ab 100644 --- a/sci-astronomy/sofa_c/Manifest +++ b/sci-astronomy/sofa_c/Manifest @@ -1,3 +1 @@ -DIST sofa_c-20150209_a.tar.gz 1685051 BLAKE2B 099bec2af78244c3baab4f97bb0e766d22ba59d28567939f4186b1621bb703793dc3528aa6c45f18c4bfbc11582b1fdc8d0df414598ebef64e909b637d41fdc1 SHA512 45524228db30c388315ce76c1d85db422fac09da3c3ed1442e362a6a2b4a10d27c19ea4a2d51c854280102a99706663622e0375b4afbf096b79877e7602fec4c -DIST sofa_c-20160503_c.tar.gz 1720164 BLAKE2B 652a6ca3b133270792618440dba8085af795d4bdaf0044aa8fa4f6896d81ef3c0734d4dd521bc0193f94830e4ab701b039fabc77a9addd83393c184c22d4900d SHA512 d21f02d0669a8707e8b2d34be4f30b4acc222b4155e7b4e4f9fc54bbabf1edc99b49e66619581bc3427eff8ed1d26668aae86af73f63a5fd21eb73f3339e0f26 DIST sofa_c-20170420.tar.gz 1780577 BLAKE2B 80912027893957345e080f02eed059f764970bbf6b89d6979c355a65d6d144edc8073b6a6436d11d36009eab05f5d9ccad0270a7feef117e576055be6d8489d5 SHA512 f2dd806243e3aec51ea03a54e10e533d4c3c1a69d032d5f3ddd7cd823a75aeed8033491c91366813b8d8e5c0b66e0fd582e6ede03aa7b136311fdd7a4ebf20d3 diff --git a/sci-astronomy/sofa_c/sofa_c-20150209a.ebuild b/sci-astronomy/sofa_c/sofa_c-20150209a.ebuild deleted file mode 100644 index e145edaa645c..000000000000 --- a/sci-astronomy/sofa_c/sofa_c-20150209a.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -YYYY=${PV:0:4} -MMDD=${PV:4:4} -MYPV=${YYYY}${MMDD}_${PV:8:1} - -DESCRIPTION="Library for algorithms for models in fundamental astronomy" -HOMEPAGE=" http://www.iausofa.org/current_C.html" -SRC_URI="http://www.iausofa.org/${YYYY}_${MMDD}_C/${PN}-${MYPV}.tar.gz" - -LICENSE="SOFA" -SLOT=0 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc" - -RDEPEND="" -DEPEND="" - -PATCHES=( "${FILESDIR}/${PN}-makefile.patch" ) - -S="${WORKDIR}/sofa/${MYPV}/c/src" - -src_prepare() { - default - sed -i -e "s:/lib:/$(get_libdir):" makefile || die - tc-export CC -} - -src_install() { - emake DESTDIR="${ED}" install - cd .. - dodoc 00READ.ME - use doc && dodoc doc/*.lis doc/*.pdf -} diff --git a/sci-astronomy/sofa_c/sofa_c-20160503c.ebuild b/sci-astronomy/sofa_c/sofa_c-20160503c.ebuild deleted file mode 100644 index 00b50264fd84..000000000000 --- a/sci-astronomy/sofa_c/sofa_c-20160503c.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -YYYY=${PV:0:4} -MMDD=${PV:4:4} -MYPV=${YYYY}${MMDD}_${PV:8:1} - -DESCRIPTION="Library for algorithms for models in fundamental astronomy" -HOMEPAGE=" http://www.iausofa.org/current_C.html" -SRC_URI="http://www.iausofa.org/${YYYY}_${MMDD}_C/${PN}-${MYPV}.tar.gz" - -LICENSE="SOFA" -SLOT=0 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc" - -RDEPEND="" -DEPEND="" - -PATCHES=( "${FILESDIR}"/${PN}-makefile.patch ) - -S="${WORKDIR}/sofa/${MYPV}/c/src" - -src_prepare() { - default - sed -i -e "s:/lib:/$(get_libdir):" makefile || die - tc-export CC -} - -src_install() { - emake DESTDIR="${ED}" install - cd .. - dodoc 00READ.ME - use doc && dodoc doc/*.lis doc/*.pdf -} diff --git a/sci-astronomy/stellarium/Manifest b/sci-astronomy/stellarium/Manifest index cca666134983..a78059c5c8c5 100644 --- a/sci-astronomy/stellarium/Manifest +++ b/sci-astronomy/stellarium/Manifest @@ -5,6 +5,9 @@ DIST stars_7_2v0_1.cat 305710678 BLAKE2B 1cc9b4a6bc35a9339e495f7e0da4f7e90a0e92b DIST stars_8_2v0_1.cat 559068934 BLAKE2B c040a369cdf6885759998e1315b554d21a5e2b9b149a67967a8af45606aebf57bec407fab5ce1904978af0dc529aa6bddd267331ca45f58617bbf56d5ca99dee SHA512 06d4fa298b9dff8452f550377df99fcaa5e7107cfc7b75c9a4769b3cb6d97a822a54213c706102c1d7ef2dabc16df32a85f46b2f6d6c6f76a4e919353b739de4 DIST stellarium-0.20.2.tar.gz 344319520 BLAKE2B 0a64cfc6d5a43bf811609caa9104458768e234bad8fabd2aa88a38d860c22573d076f677f7523c95e1fc1770e73dc1e73b2e94d544cb099c7cd9a21ac79f6bdb SHA512 34f1ad5891dde84b53324046bdf1514df858335ba8f0954bb72350b057ff6dc4091a2d7bf89083489e0d8d1c750c5fb8ba8e1e241f9287a740121b377f0e510c DIST stellarium-0.20.3.tar.gz 349073272 BLAKE2B 4380e2f589f8ca7af7a62d7e72e18355328ba37d5d8c4e31f8da011fa46296a3c79b74aca04b9f4014f2b2ebc5a1124d62239d6a9bf947cea687d0a2f6e09c13 SHA512 7f4769955fa55751828b211023f3e88e78c42bd367dade9b29cbe86afcdbfc7078d87dc8f856b0f96a4c75bb3d07462a195095f7afb84bfca0988135a1518a1d +DIST stellarium-0.20.4.tar.gz 347033776 BLAKE2B 91b7f63f74d36a1e1af7d758cb8bea7f51397bc9a8b8ebda2cbc0ea919c9f4bef2312ce979b50dc6ec0706783f35f60f4562290173fec673dc3d9f4097b9f46e SHA512 29e14d56a93db672b5163e6f21dda462fe6c5598d9791bf9a98f414f662c26e0826b3892e3a888688371d805bbddbf5fb47f193c4e16d754fe83fbfb9559e5ae DIST stellarium-dso-catalog-3.10.dat 28297970 BLAKE2B 69d8f9756986c872cde0190ae3e5f225de30d8fabd5ba3e007176c8ffc4234e964ccc3beb58f75fc4579c75cee620661728a7c6c1d6960d5cb1be027828ba127 SHA512 22068d9ebca592db214f9831765701c52d07e71616705faaf6f5827d51a65af805947bd1f84553e5768f3e82f9e1a0e81eb36943713afb924d604a4676711b1f DIST stellarium-dso-catalog-3.11.dat 28297989 BLAKE2B de56efe1930e9ee0e584de9f8167c7b588b886623bbea547ac35b7d3fe32e99e402f8811a2878b82f059e9b946b19ce2456d8a8a4f2127b8dc85c34c6ba1b13b SHA512 21efc43f7ac10b3b14e63731938cbfeaa7b5097ef2a7328e741e00cfd391b80ba4f7e6a367677be2f01879d9c46b8b1bcd5fce8963776ef670455a442c663fc3 +DIST stellarium-dso-catalog-3.12.dat 28298461 BLAKE2B 0845981c1d35480eb0b1656e167f7f2dece00d82890c6605b6e5305e6c5be02bcce463c4a34ba3f9ee52f42c35b0a416a93b91361fdd9ce3c24f9bcb4be038f9 SHA512 0de88e559cc26c484edb0eb9d3dd33b4faf9a0e3579dc5ebfbcba70cc39a4e052248c159ace29c9a69027c8c121a832d510459d523b2e05bb0620556d2a49935 DIST stellarium_user_guide-0.20.3-1.pdf 32404701 BLAKE2B 811c8c58818bf76a6e597a2d24feaff2f7705a0eaffc8ccc1e6cdc037f374dedff01185466dac1635242bcf3ec8309806db03340b251fb39cea1f285a3cf5f26 SHA512 b820c2f76f40df9ef3c2f732cbb5c3622f37bff0cfdab8b56c78c0f4417ba036f6c623f00e7186e4b3c045ed2a4598baabd334fb6cb1037de12af0837a2fe86d +DIST stellarium_user_guide-0.20.4-1.pdf 32523592 BLAKE2B 0ead51a575a5ea66c23d7bd2af287d4cf6a68170c254a9d03e75542b73dd81ba73d8e5a36e2f964d9b31eced34b204bd9940db0984b6abd6ff926d096c9bd0fc SHA512 caab87576e9b0f25a439acf1f111243af65b88288f34ae9e3382ed165453015f1301e693a6f9f1cc44b91466a168b1c02bc58fe642ea161e9eb78dcafbc16c13 diff --git a/sci-astronomy/stellarium/stellarium-0.20.4.ebuild b/sci-astronomy/stellarium/stellarium-0.20.4.ebuild new file mode 100644 index 000000000000..8ad21442e947 --- /dev/null +++ b/sci-astronomy/stellarium/stellarium-0.20.4.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit cmake desktop flag-o-matic python-any-r1 xdg virtualx + +DESCRIPTION="3D photo-realistic skies in real time" +HOMEPAGE="https://stellarium.org/" +MY_DSO_VERSION="3.12" +SRC_URI=" + https://github.com/Stellarium/stellarium/releases/download/v${PV}/${P}.tar.gz + deep-sky? ( + https://github.com/Stellarium/stellarium-data/releases/download/dso-${MY_DSO_VERSION}/catalog.dat -> ${PN}-dso-catalog-${MY_DSO_VERSION}.dat + ) + doc? ( + https://github.com/Stellarium/stellarium/releases/download/v${PV}/stellarium_user_guide-${PV}-1.pdf + ) + stars? ( + https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat + https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_5_2v0_1.cat + https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_6_2v0_1.cat + https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_7_2v0_1.cat + https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_8_2v0_1.cat + )" + +LICENSE="GPL-2+ SGI-B-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="debug deep-sky doc gps media nls stars telescope test" + +# Python interpreter is used while building RemoteControl plugin +BDEPEND=" + ${PYTHON_DEPS} + doc? ( app-doc/doxygen[dot] ) + nls? ( dev-qt/linguist-tools:5 ) +" +RDEPEND=" + dev-libs/qtcompress:= + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtscript:5 + dev-qt/qtserialport:5 + dev-qt/qtwidgets:5 + media-fonts/dejavu + sys-libs/zlib + virtual/opengl + gps? ( dev-qt/qtpositioning:5 ) + media? ( dev-qt/qtmultimedia:5[widgets] ) + telescope? ( sci-libs/indilib:= ) +" +DEPEND="${RDEPEND} + dev-qt/qtconcurrent:5 + test? ( dev-qt/qttest:5 ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/stellarium-0.20.3-unbundle-indi.patch" + "${FILESDIR}/stellarium-0.20.3-unbundle-qtcompress.patch" + "${FILESDIR}/stellarium-0.20.3-unbundle-zlib.patch" +) + +src_prepare() { + cmake_src_prepare + use debug || append-cppflags -DQT_NO_DEBUG #415769 + + # Several libraries are bundled, remove them. + rm -r src/external/{libindi,qtcompress,zlib}/ || die + + # qcustomplot can't be easily unbundled because it uses qcustomplot 1 + # while we have qcustomplot 2 in tree which changed API a bit + # Also the license of the external qcustomplot is incompatible with stellarium + + # for glues_stel aka libtess I couldn't find an upstream with the same API + + # unbundling of qxlsx depends on https://github.com/QtExcel/QXlsx/pull/114 + + local remaining="$(cd src/external/ && echo */)" + if [[ "${remaining}" != "glues_stel/ qcustomplot/ qxlsx/" ]]; then + eqawarn "Need to unbundle more deps: ${remaining}" + fi +} + +src_configure() { + local mycmakeargs=( + -DENABLE_GPS="$(usex gps)" + -DENABLE_MEDIA="$(usex media)" + -DENABLE_NLS="$(usex nls)" + -DENABLE_TESTING="$(usex test)" + -DUSE_PLUGIN_TELESCOPECONTROL="$(usex telescope)" + ) + cmake_src_configure +} + +src_test() { + virtx cmake_src_test +} + +src_compile() { + cmake_src_compile + + if use doc ; then + cmake_build apidoc + fi +} + +src_install() { + if use doc ; then + local HTML_DOCS=( "${BUILD_DIR}/doc/html/." ) + dodoc "${DISTDIR}/stellarium_user_guide-${PV}-1.pdf" + fi + cmake_src_install + + # use the more up-to-date system fonts + rm "${ED}"/usr/share/stellarium/data/DejaVuSans{Mono,}.ttf || die + dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/stellarium/data/DejaVuSans.ttf + dosym ../../fonts/dejavu/DejaVuSansMono.ttf /usr/share/stellarium/data/DejaVuSansMono.ttf + + if use stars ; then + insinto /usr/share/${PN}/stars/default + doins "${DISTDIR}"/stars_4_1v0_2.cat + doins "${DISTDIR}"/stars_{5,6,7,8}_2v0_1.cat + fi + if use deep-sky ; then + insinto /usr/share/${PN}/nebulae/default + newins "${DISTDIR}/${PN}-dso-catalog-${MY_DSO_VERSION}.dat" catalog.dat + fi + newicon doc/images/stellarium-logo.png ${PN}.png +} |
