diff options
Diffstat (limited to 'sci-astronomy')
28 files changed, 600 insertions, 211 deletions
diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz Binary files differindex 0fe661c22250..469103ecc58f 100644 --- a/sci-astronomy/Manifest.gz +++ b/sci-astronomy/Manifest.gz diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest index fc487a097312..2056c34eaa7b 100644 --- a/sci-astronomy/kstars/Manifest +++ b/sci-astronomy/kstars/Manifest @@ -1,8 +1,6 @@ AUX kstars-3.5.5-FindERFA.cmake.patch 4147 BLAKE2B 1b97ac59da72d4e327e25efb72784d0cf74a5d22624596c2b2a818a6a0879f33f5f21404428748a0879aeb250e2fe9e06e2ca16e79cf2365823633725462a296 SHA512 4318b3aa133fdd3a5b2e36d67ceff3f020dccdc796c20ce85c081aa4753e82bee4bf97552ef40e6428abf9c540d48836be5b7cdc0a6706b494f4669e4626ee6e DIST kstars-3.5.5.tar.xz 79302220 BLAKE2B df8503c72c689301e70345169491dbc8e27116b44c75a78088f91da0d103965f4da359d4de22c3a177898cfe734f66b06810440c2d4dd7ec15862f0ad4d4edf0 SHA512 03ed4db0e3998c9501f77fb22e26046177d4bc427e769be1964ba3d54701a1240908117bc65424768917252710b73811e38ec61e2391182794b30ad6c9d68d96 -DIST kstars-3.5.7.tar.xz 86749048 BLAKE2B 12c1502c2b4c2edf3e77bc28338d44ef0d61133b0db4aa800cca1c06a9ab2b9acb2c628ac0681a5ac253b5d105d0368eede5f91739b3be2c6f7a996d9322e320 SHA512 48ac509c8f2241155235a386ccfe321398a39886f1332b2b2829d6db3ebc2bf1161f8900a5f0fcf9b51925a655c547e10eef58526257ee5dafc8d77db9a11845 -DIST kstars-3.5.8.tar.xz 86831012 BLAKE2B a44e057427f0c91c932c3914a35c158b6a879ced0e2c9a1f496c73676a62da0f5b663b6ef8640b6afaac0451bfaa127dba96a8c291da3b631069810f552a6c4c SHA512 d238a157fd9b4e92ce7d2b156e837c02d65e416a4e2df2791c24c98735e7f6a20eb2982eaa898f971d5b70b53852a760d0e01a2f6abb47d1f66d1f5a282c5120 +DIST kstars-3.5.9.tar.xz 104914664 BLAKE2B ae87000c6c5b106b1a0c748feb6c578d2a6d9b71e5bff05e1be392e576a8e5ac0eb663eb22c14a20e91ea4df7d12fc9e0a3477492ff9b920f5d36cc410138eeb SHA512 25ed432bc4276216c82e43f9ac952f6fa973d9baf64b2b89a62855e853f42cd1ee39cf5f0496ce1b3c6b894da227ba32c4246ab972301cd67b80679240fad757 EBUILD kstars-3.5.5.ebuild 2594 BLAKE2B b598fe83de5103702142e63de88c0f7460129c0de8734754ef63630a46ce18446238c5151e46980fa3adc1b9e678d5444988c8d805510f50c7ce067ca38a792c SHA512 488de12a6649e42874e9ccd1b4cd1d152b1eedbdeabbdc89c2a6bdfb3a2af54303ab3397b2a973fe800bba0f37139fb2f2696bfb6a3758b9c369cbe454d7d1f6 -EBUILD kstars-3.5.7.ebuild 2542 BLAKE2B 847383c452bb87ecc3cdaf3387729e775d508bbde69312937b4a08ed77d82e8467b15b2c282318ac84b06e30df72554188159f5def83e899cd8ae043263906b5 SHA512 dfcd05d188b30882a8d7ceb2efa9a25eb711ea9491f8ae5f19724d61575b17fbff9b1aa096eecf04c9d15a0cd32243de06c6c8d3e785408497bdab69b2e9299e -EBUILD kstars-3.5.8.ebuild 2513 BLAKE2B c7ededae44c0e54307d4eadc4c2fb1cec37f7874135bfdd26e1b65e4ea956c62072f0556c996c60ef7d6fc9cc0d519fe41bab90a0605d9a22b4f62bb1ce2ff58 SHA512 b59eb346402fe3395a50c4b39760ca18f3429e6281abb4631ebab071faab2f8ff396d2134697f31a259d011be3c1e736d6d894e42115528fd95e25600734005f +EBUILD kstars-3.5.9.ebuild 2513 BLAKE2B c7ededae44c0e54307d4eadc4c2fb1cec37f7874135bfdd26e1b65e4ea956c62072f0556c996c60ef7d6fc9cc0d519fe41bab90a0605d9a22b4f62bb1ce2ff58 SHA512 b59eb346402fe3395a50c4b39760ca18f3429e6281abb4631ebab071faab2f8ff396d2134697f31a259d011be3c1e736d6d894e42115528fd95e25600734005f MISC metadata.xml 692 BLAKE2B a1be7f22ffff993276aaa943528cf39811e6567fdd9fe757d1045ab83e25010230f7d702bfef9c74ec71d62ff647edb4d7073e90dfb6147d100e4de6a225dfa1 SHA512 152e114ca9826e0599b530f6421e2ad5441b50b053cb81135cbf84dda3a7a37e7c7f989bb1d2f9bf826d9bf0cca97a3f0de5d9523f25fd0acbd3482348df0ed8 diff --git a/sci-astronomy/kstars/kstars-3.5.7.ebuild b/sci-astronomy/kstars/kstars-3.5.7.ebuild deleted file mode 100644 index cb2201885f9d..000000000000 --- a/sci-astronomy/kstars/kstars-3.5.7.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -KFMIN=5.82.0 -QTMIN=5.15.2 -inherit ecm kde.org optfeature - -DESCRIPTION="Desktop Planetarium" -HOMEPAGE="https://apps.kde.org/kstars/ https://edu.kde.org/kstars/" - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" - KEYWORDS="amd64 ~x86" -fi - -LICENSE="GPL-2+ GPL-3+" -SLOT="5" -IUSE="fits indi +password raw wcs" - -REQUIRED_USE="indi? ( fits ) ${PYTHON_REQUIRED_USE}" - -COMMON_DEPEND=" - >=dev-qt/qtdatavis3d-${QTMIN}:5 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtprintsupport-${QTMIN}:5 - >=dev-qt/qtsql-${QTMIN}:5 - >=dev-qt/qtsvg-${QTMIN}:5 - >=dev-qt/qtwebsockets-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-frameworks/kauth-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kcrash-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/knewstuff-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/knotifyconfig-${KFMIN}:5 - >=kde-frameworks/kplotting-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - sys-libs/zlib - fits? ( sci-libs/cfitsio:= ) - indi? ( - sci-libs/gsl:= - >=sci-libs/indilib-1.9.1 - sci-libs/libnova:= - sci-libs/stellarsolver - ) - password? ( dev-libs/qtkeychain:= ) - raw? ( media-libs/libraw:= ) - wcs? ( sci-astronomy/wcslib:= ) -" -# TODO: Add back when re-enabled by upstream -# opengl? ( -# >=dev-qt/qtopengl-${QTMIN}:5 -# virtual/opengl -# ) -DEPEND="${COMMON_DEPEND} - dev-cpp/eigen:3 - >=dev-qt/qtconcurrent-${QTMIN}:5 -" -RDEPEND="${COMMON_DEPEND} - >=dev-qt/qtgraphicaleffects-${QTMIN}:5 - >=dev-qt/qtpositioning-${QTMIN}:5 - >=dev-qt/qtquickcontrols-${QTMIN}:5 - >=dev-qt/qtquickcontrols2-${QTMIN}:5 -" - -src_configure() { - local mycmakeargs=( - -DFETCH_TRANSLATIONS=OFF - -DBUILD_PYKSTARS=OFF - -DBUILD_DOC=$(usex handbook) - $(cmake_use_find_package fits CFitsio) - $(cmake_use_find_package indi INDI) - $(cmake_use_find_package indi Nova) - $(cmake_use_find_package password Qt5Keychain) - $(cmake_use_find_package raw LibRaw) - $(cmake_use_find_package wcs WCSLIB) - ) - - ecm_src_configure -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - optfeature "Display 'current' pictures of planets" x11-misc/xplanet - fi - ecm_pkg_postinst -} diff --git a/sci-astronomy/kstars/kstars-3.5.8.ebuild b/sci-astronomy/kstars/kstars-3.5.9.ebuild index 4a205c269d69..4a205c269d69 100644 --- a/sci-astronomy/kstars/kstars-3.5.8.ebuild +++ b/sci-astronomy/kstars/kstars-3.5.9.ebuild diff --git a/sci-astronomy/pyephem/Manifest b/sci-astronomy/pyephem/Manifest index d95d9ce340ca..8faf72b402cb 100644 --- a/sci-astronomy/pyephem/Manifest +++ b/sci-astronomy/pyephem/Manifest @@ -1,3 +1,5 @@ DIST pyephem-3.7.7.1.tar.gz 1622306 BLAKE2B aefdd7b7e4471140f1c2b5c065f663dfb1095d8d8325e23d4b5b9c683ff7a91020151429a992ad78be897ab738d9bc207afa337b7806fb244d6d6c8a1c680b7f SHA512 ae0d9562f33ee25065b33ea3d4b24a74e32259bebb07edf37deacaa77e6d24b3a7a49e4602393b45a3c7cfc7d8088f038e68e96ec3576a796b5486fc2946ac5a +DIST pyephem-4.1.1.gh.tar.gz 2659977 BLAKE2B e373857d3fb66e742f9db992165dbd1d50afbb6b91588f2cfcd299409d491ef1174c54a182dd59b5a8e298a07312899c8f8b5a8aaa63e6b31deb5f8b1cd3131e SHA512 2539f36b7110cacd6cf95e9ba0be26ca837a66ba81f092d4be01405029adf22478184861f46ecf09d6cd35927140874e0f0d228b06537d05f3e2eddbcb35da85 EBUILD pyephem-3.7.7.1.ebuild 1067 BLAKE2B 45c390e9a9e361bc8c817b83c07b240c1706a182e47f3455f75cf0e6559207c6d177cd170f902c08c287df40308df7fe73ca666b5c802a192549673b46f164c2 SHA512 d4555ab691276a8e5557f34ad36f0fdc541b4029e89a1be166730dc7987fe1cf3644fea30d182d19067b2d19bff56032457d16981921307bd4583d4f2443f324 +EBUILD pyephem-4.1.1.ebuild 1075 BLAKE2B 3b522a577ae1e8346259e8cfcaa49fab5781a94c9a642713c9a9e864a9f8812329265c94edc914b0e421562eec27da2cf5708b76b7770450632a54b6937b097b SHA512 767a093155f3b4253e6a0cca525780f4c9a5b8c7ad835eede3b9dc8a08d16efb2aecbbf703fc4a91431c2f42da4595563e5ab8a7ed049cd8092f250305835f43 MISC metadata.xml 948 BLAKE2B f59f025e5ef3d44d0d7b53a82cbbe217b16a1fcf8ffad27e8c00a7faf705aa9d61434b0bc732bdb8b13917ea68532584809aac031f6884252c456fe025d3b07e SHA512 7f0a1edc80a06ac1ef41a18adfa0237700b4b2aef1d8ca48c51242ff8b2ef0d4bc983b7a2419d5f6033fdbaf5a7d8e3a53b57e40b315b8e1a5717572c2811c24 diff --git a/sci-astronomy/pyephem/pyephem-4.1.1.ebuild b/sci-astronomy/pyephem/pyephem-4.1.1.ebuild new file mode 100644 index 000000000000..2e6565b7f7e9 --- /dev/null +++ b/sci-astronomy/pyephem/pyephem-4.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Astronomical routines for the Python programming language" +HOMEPAGE="https://rhodesmill.org/pyephem/" +SRC_URI="https://github.com/brandon-rhodes/pyephem/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +BDEPEND="doc? ( dev-python/sphinx )" + +distutils_enable_tests unittest + +src_prepare() { + # Don't install rst files by default + sed -i -e "s:'doc/\*\.rst',::" setup.py || die + distutils-r1_src_prepare +} + +src_compile() { + distutils-r1_src_compile + if use doc; then + PYTHONPATH=. emake -C ephem/doc html + fi +} + +python_test() { + cd "${T}" || die + epytest --pyargs ephem +} + +src_install() { + use doc && HTML_DOCS=( ephem/doc/_build/html/. ) + distutils-r1_src_install +} + +python_install() { + distutils-r1_python_install + + rm -r "${D}$(python_get_sitedir)/ephem/tests" || die +} diff --git a/sci-astronomy/pysiril/Manifest b/sci-astronomy/pysiril/Manifest new file mode 100644 index 000000000000..2d03c292e863 --- /dev/null +++ b/sci-astronomy/pysiril/Manifest @@ -0,0 +1,3 @@ +DIST pysiril-V0_0_12.tar.bz2 114199 BLAKE2B c16209716c64591a2372dc090f419e5411a2607daa4420470cf7f07a729a997316f0d6f862d20722b2d23091ddd919e570289fdef1b0102b1ad2ae13cc3b4e37 SHA512 460355791f9041ace238f4727f8a219871f560fcf631ca798c1edc0ec729acca98c8abd1b14e460f0f127f5baa03603099a6f5c4151e0c1e627d2cff24bb6f18 +EBUILD pysiril-0.0.12.ebuild 528 BLAKE2B 047f918396918ec5158a18636b42d87b9d7aee44232871d8130e2f63c207bccd23cb886df416a73b49c0570677dc8f2ce91f241c1f0854e26bf5455f018bd9d2 SHA512 617dc5fa76879dcbdb0bb2e2e7acc4d90e65c63c8d3b8a6ada1062151d8f3e76396afbbb09f84a851c328ba719a01636dcd0b531c08c1a934801c70d9c92d082 +MISC metadata.xml 494 BLAKE2B e7781f189c50537ef692224940af06eb26c7703e43edd89fa9a5b49d8eaca673afaf6c52254593fedc4e21ac4bff77dcffaae1fb34babdf233d10b986de8782f SHA512 f5387f6360b29b6f7df9f12f72b2760c8702d57d7c672ca0f3b525fb536f1bc3f5cf11860e83774c680a16984e2f732938354c45ed66eb6a8ac3647532e117d2 diff --git a/sci-astronomy/pysiril/metadata.xml b/sci-astronomy/pysiril/metadata.xml new file mode 100644 index 000000000000..a38139b47d33 --- /dev/null +++ b/sci-astronomy/pysiril/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>mario.haustein@hrz.tu-chemnitz.de</email> + <name>Mario Haustein</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="gitlab">free-astro/pysiril</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-astronomy/pysiril/pysiril-0.0.12.ebuild b/sci-astronomy/pysiril/pysiril-0.0.12.ebuild new file mode 100644 index 000000000000..17d3033e0302 --- /dev/null +++ b/sci-astronomy/pysiril/pysiril-0.0.12.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Python library to interface Python to a SiriL script" +HOMEPAGE="https://gitlab.com/free-astro/pysiril" +SRC_URI="https://gitlab.com/free-astro/pysiril/-/archive/V${PV//./_}/${PN}-V${PV//./_}.tar.bz2" +S="${WORKDIR}/${PN}-V${PV//./_}" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="sci-astronomy/siril" diff --git a/sci-astronomy/siril/Manifest b/sci-astronomy/siril/Manifest new file mode 100644 index 000000000000..54bb916b9f6c --- /dev/null +++ b/sci-astronomy/siril/Manifest @@ -0,0 +1,5 @@ +AUX siril-docfiles.patch 433 BLAKE2B 3c781f4a0604f56ada235094eb481b4b51912921719ee198c7d2400a7dffbb4034d34505f5d7221b033efbbbe11b07332938a6dc0bc616bb6f6480e41475653e SHA512 2d770a2cb86d95c291beb6077ab01560e118bc84d838dfeef50bc9a812469fea568cdfe1c9b5d1a90b778527b65a397aac1656008739cff88ffc80ba6fd09c72 +DIST siril-1.0.1.tar.bz2 2846127 BLAKE2B 15c87e9d3ae175170ad67c1fc65abcca43220d8320df3ba2351cc49d495f9b9dde85d4143b2aa52950b92eb36f10e0ca6548d10e22e072e00596b8fdb535ce1c SHA512 ea35940b370b35802816a90789982dd328ba20d322d092c623c244de949b08810e3ad9552ce3dcc4cc6e2d6b5bf128ac668cbe4ff6ef78d22a4e6ed94b850ffa +EBUILD siril-1.0.1.ebuild 1609 BLAKE2B 933c63c2afe10cb6948bfa94e3599fc70477ff1e9ed78e4acf3fd460e8de4464c2494d055693d8d0883b723a49e8ff8aed3b2710f529affdc732b5a09b5cdd64 SHA512 e6d718dc597bf50ce8a78b6ac06c57e4986004c7fbf569e94bd819369670b8423074c9ea11fa8385b1159ad1b361c326345b8d0fe24f2580aff3ea20e8d56530 +EBUILD siril-9999.ebuild 1609 BLAKE2B 933c63c2afe10cb6948bfa94e3599fc70477ff1e9ed78e4acf3fd460e8de4464c2494d055693d8d0883b723a49e8ff8aed3b2710f529affdc732b5a09b5cdd64 SHA512 e6d718dc597bf50ce8a78b6ac06c57e4986004c7fbf569e94bd819369670b8423074c9ea11fa8385b1159ad1b361c326345b8d0fe24f2580aff3ea20e8d56530 +MISC metadata.xml 1193 BLAKE2B 9f96f4e276f27e19f5e3d5d9807a8d7f18ae50b5baa2f158130d3fac1dbda96aa70a7fb9126f6987fc518f214d4a6cfcee548c0d22beac74e434f25c001ae990 SHA512 4fb382297b5098d66c12ffdbda55e6fa6e085c9cc050ec0584497020ee4820d76cefc7a93de504642c4a27181685f69cc0d31eb3398a5d168aa15ea7c3ea72db diff --git a/sci-astronomy/siril/files/siril-docfiles.patch b/sci-astronomy/siril/files/siril-docfiles.patch new file mode 100644 index 000000000000..f98e0210d7e6 --- /dev/null +++ b/sci-astronomy/siril/files/siril-docfiles.patch @@ -0,0 +1,16 @@ +--- siril-1.0.0/meson.build ++++ siril-1.0.0/meson.build +@@ -497,13 +497,6 @@ + ] + + install_man(man_files) +-install_data(['AUTHORS', 'LICENSE.md', 'LICENSE_sleef.txt'], +- rename : [ +- 'doc/siril/AUTHORS', +- 'doc/siril/LICENSE.md', +- 'doc/siril/LICENSE_sleef.txt', +- ], +- install_dir : siril_share) + + + ################################################################################ diff --git a/sci-astronomy/siril/metadata.xml b/sci-astronomy/siril/metadata.xml new file mode 100644 index 000000000000..580487d37ad5 --- /dev/null +++ b/sci-astronomy/siril/metadata.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>mario.haustein@hrz.tu-chemnitz.de</email> + <name>Mario Haustein</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + SIRIL is an astronomical image processing tool. + + It is specially tailored for noise reduction and improving the + signal/noise ratio of an image from multiple captures, as required in + astronomy. SIRIL can align automatically or manually, stack and enhance + pictures from various file formats, even image sequence files (films + and SER files). It works well with limited system resources, like in + embedded platforms, but is also very fast when run on more powerful + computers. + </longdescription> + <use> + <flag name="heif">Add support for the HEIF image format</flag> + <flag name="wcs">Add supprt astrometry features using <pkg>sci-astronomy/wcslib</pkg></flag> + </use> + <upstream> + <remote-id type="gitlab">free-astro/siril</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-astronomy/siril/siril-1.0.1.ebuild b/sci-astronomy/siril/siril-1.0.1.ebuild new file mode 100644 index 000000000000..9f673bad189f --- /dev/null +++ b/sci-astronomy/siril/siril-1.0.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson toolchain-funcs xdg + +DESCRIPTION="A free astronomical image processing software" +HOMEPAGE="https://www.siril.org/" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/free-astro/${PN}.git" +else + SRC_URI="https://gitlab.com/free-astro/siril/-/archive/${PV/_/-}/${PN}-${PV/_/-}.tar.bz2" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${PV/_/-}" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="curl ffmpeg gnuplot heif jpeg openmp png raw tiff wcs" + +DEPEND=" + >=dev-libs/glib-2.56.0:2 + >=dev-libs/json-glib-1.2.6 + >=dev-libs/libconfig-1.4[cxx] + >=media-gfx/exiv2-0.25 + media-libs/librtprocess:= + >=media-libs/opencv-4.4.0:= + sci-libs/cfitsio + sci-libs/fftw:3.0= + sci-libs/gsl:= + x11-libs/cairo + >=x11-libs/gtk+-3.20.0:3 + curl? ( net-misc/curl ) + ffmpeg? ( media-video/ffmpeg:= ) + heif? ( media-libs/libheif ) + jpeg? ( media-libs/libjpeg-turbo:= ) + png? ( >=media-libs/libpng-1.6.0 ) + raw? ( media-libs/libraw ) + tiff? ( media-libs/tiff ) + wcs? ( >=sci-astronomy/wcslib-7.7 ) +" +RDEPEND=" + ${DEPEND} + gnuplot? ( sci-visualization/gnuplot ) +" + +PATCHES=( + "${FILESDIR}/${PN}-docfiles.patch" +) + +DOCS=( README.md NEWS ChangeLog LICENSE.md LICENSE_sleef.txt AUTHORS ) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local emesonargs=( + $(meson_use openmp) + $(usex curl -Denable-libcurl=yes -Denable-libcurl=no) + ) + meson_src_configure +} diff --git a/sci-astronomy/siril/siril-9999.ebuild b/sci-astronomy/siril/siril-9999.ebuild new file mode 100644 index 000000000000..9f673bad189f --- /dev/null +++ b/sci-astronomy/siril/siril-9999.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson toolchain-funcs xdg + +DESCRIPTION="A free astronomical image processing software" +HOMEPAGE="https://www.siril.org/" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/free-astro/${PN}.git" +else + SRC_URI="https://gitlab.com/free-astro/siril/-/archive/${PV/_/-}/${PN}-${PV/_/-}.tar.bz2" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${PV/_/-}" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="curl ffmpeg gnuplot heif jpeg openmp png raw tiff wcs" + +DEPEND=" + >=dev-libs/glib-2.56.0:2 + >=dev-libs/json-glib-1.2.6 + >=dev-libs/libconfig-1.4[cxx] + >=media-gfx/exiv2-0.25 + media-libs/librtprocess:= + >=media-libs/opencv-4.4.0:= + sci-libs/cfitsio + sci-libs/fftw:3.0= + sci-libs/gsl:= + x11-libs/cairo + >=x11-libs/gtk+-3.20.0:3 + curl? ( net-misc/curl ) + ffmpeg? ( media-video/ffmpeg:= ) + heif? ( media-libs/libheif ) + jpeg? ( media-libs/libjpeg-turbo:= ) + png? ( >=media-libs/libpng-1.6.0 ) + raw? ( media-libs/libraw ) + tiff? ( media-libs/tiff ) + wcs? ( >=sci-astronomy/wcslib-7.7 ) +" +RDEPEND=" + ${DEPEND} + gnuplot? ( sci-visualization/gnuplot ) +" + +PATCHES=( + "${FILESDIR}/${PN}-docfiles.patch" +) + +DOCS=( README.md NEWS ChangeLog LICENSE.md LICENSE_sleef.txt AUTHORS ) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local emesonargs=( + $(meson_use openmp) + $(usex curl -Denable-libcurl=yes -Denable-libcurl=no) + ) + meson_src_configure +} diff --git a/sci-astronomy/sirilic/Manifest b/sci-astronomy/sirilic/Manifest new file mode 100644 index 000000000000..5cf5bc6caea5 --- /dev/null +++ b/sci-astronomy/sirilic/Manifest @@ -0,0 +1,3 @@ +DIST sirilic-V1_14_3.tar.bz2 100939 BLAKE2B 3eabbde3e0884d793c2b2f87464cbf4acac5382d4d088f30f67405a60d934b4de3fee99ebb8e955f9ba1412c4279fe9acdcd4a8cd9b76a666207684561ec6118 SHA512 e311097481ef60ddac568653816a12f11864f8beeceff5ca0dd9c6e4caaf5d69e1373659be19fa99984ef9797caca8a0c9cbb56adc3143e79f59b75010b306b9 +EBUILD sirilic-1.14.3.ebuild 583 BLAKE2B fc5b340e84c25ae56c2b25f626640be35926595c6d7364b1f5a3685ba53ad824dee58cfac0d3967206af03121c661228c73bbc9dfc502f5cb26211adb65decee SHA512 f903dba34408752db1ce6e1dc60cde310ee270798e3f32984a59628f5c92f8eae99c6bbbec59fc7e98c5aa21deef43f443a13eeecc040f7bef1c99ea7e28fed2 +MISC metadata.xml 689 BLAKE2B 95ee65f7f16fca17c7d63dbdfe19161d6b964902502fb088a3c56b529b2f78872feccfaf1a83cf7b53ab12eb63ac257208e0603d6e09c2c6ec520a64ff7eb692 SHA512 fd1c370fb355d80372dc8e6584e9ac17f9d1f971ad7cb884d0bbb0af9dc44ccad985adfbe81b14554e76c1b7444db004563e8366cccb81a9810141467cdf45ed diff --git a/sci-astronomy/sirilic/metadata.xml b/sci-astronomy/sirilic/metadata.xml new file mode 100644 index 000000000000..3613015496fd --- /dev/null +++ b/sci-astronomy/sirilic/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>mario.haustein@hrz.tu-chemnitz.de</email> + <name>Mario Haustein</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + SiriLic (SiriL's Interactif Companion) is a software for preparing + acquisition files (RAW, Offset, Flat and Dark) for processing with + SiriL software. + </longdescription> + <upstream> + <remote-id type="gitlab">free-astro/sirilic</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-astronomy/sirilic/sirilic-1.14.3.ebuild b/sci-astronomy/sirilic/sirilic-1.14.3.ebuild new file mode 100644 index 000000000000..9a431ab22e09 --- /dev/null +++ b/sci-astronomy/sirilic/sirilic-1.14.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Preparing acquisition files for processing with the SiriL software" +HOMEPAGE="https://gitlab.com/free-astro/sirilic" +SRC_URI="https://gitlab.com/free-astro/sirilic/-/archive/V${PV//./_}/${PN}-V${PV//./_}.tar.bz2" +S="${WORKDIR}/${PN}-V${PV//./_}" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-python/wxpython:4.0[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" diff --git a/sci-astronomy/stellarium/Manifest b/sci-astronomy/stellarium/Manifest index 2b3226658192..d59601fbcd42 100644 --- a/sci-astronomy/stellarium/Manifest +++ b/sci-astronomy/stellarium/Manifest @@ -1,7 +1,9 @@ AUX stellarium-0.20.3-unbundle-indi.patch 3217 BLAKE2B 9de42cc423655ef8280fc5d40c917211ae9904310defc9f16d2a2cc3448b209c6aba67c34a48c884cd7f09a6b6a9e964c9fd8b9faa7ca6a3cd2101290bb2bb5d SHA512 f6da77375632ff5c2b99d30f5d361fa1cd4bc2dca89afb1b4c5a9b47d9396687c473cb4acc3d87f4242207de2dee9dce44899cc7de3baebb2dba9d550d25e294 AUX stellarium-0.20.3-unbundle-zlib.patch 844 BLAKE2B 24468924728aa9f77ebb2a48d87ecef2eb98768dabc8fcf914972da70feca1dc1de9e32e658afdfb796c769244a2882be8a46c4b9145c6e0109498a5f090baae SHA512 e8a645a302f890e0590369ea6b1642fe38f91b20a3076f8c5201b2b23581394dccc6a0b56e2423e3ab45e926e1a3266bf1fb24e0647ea05e59219147e8b53a1d AUX stellarium-0.21.2-unbundle-qtcompress.patch 7484 BLAKE2B f3cf62bf45247c2b4a09a55dcfbc3424869ce4c294da0a4ebc4daa3a19baa7ba377ff9ff4e271d2aab098f20ecde5018793901cacc54be9849bccad510831ca1 SHA512 81934b0b9ba8b2d1d8fa75eacdf146e374bbc29b862fe5585a4846d14c17174ef0c936d22c1a80eb61d3041d79d0f981d01bdb215e4530833b9d00e2613d0dae +AUX stellarium-0.22.1-fix-conv.patch 845 BLAKE2B d0147bef1e9c9c80e03b8690d801c7af3acfd66735426d095a1fc21ac4696e7b367c38a4c8c7b526013723159a8b47519ae418745f6110f0a305929cc7e2f623 SHA512 2ff0f6ef0b52817f576d829a21901a0e96b2724210eff5066666cd0c9e5c9778a4cbe1a19c60f010779ee65beeabfb2d7fd9ee68ad07ee107e3fed3fba02493d AUX stellarium-0.22.1-fix-star-manager-segfault.patch 873 BLAKE2B 5f970fd0f30fe6e73d0479d603e572bd4e6db5545d584badb11cecb09d2ba704c420398734e0f943c2ca34d1d5c7a93cea3da446d3b0e72bc2d18db1a455246b SHA512 f85d5c7614ba3dda8dc752c76a55ac361d194345cc926127d7428b82057dd19da27813f0071abfc2deb3ee729d7c33703ed3d5dfb3a2644c16d95ead400ca882 +AUX stellarium-0.22.1-fix-test-x86.patch 3578 BLAKE2B 8121746cdf9efaa023e2eadb9c8f451d781834a8bab0e96bc74b4e3b77cba62ccdfa1354d79d5409db042f002974551d6989bb58b7bde4c85394be48ac242b05 SHA512 b902e91542774ee7955442ed78938c336719aa93ca7ee644ea5f47987234603bc4fb7f271ba1a5d3f6298c325da78582d6b39b5909a46b881be483d56c6fd2ad AUX stellarium-0.22.1-unbundle-qtcompress.patch 7595 BLAKE2B 650c9de68a42c101df436c32c7f42f8623903c969d82f1de2c411c34d5237601df401129b950e407ff0e558f2c1e5c18bdbef5bf26bae2d499fda5377ef67c3d SHA512 8550ec4d9cd0b044491bb592a099bb7b28c8de03cef2ca38e8ad420303bc02b053bf896265cdbb08629befc0086dae9be31b0ed78c10756fd67eaa692a69ca64 DIST stars_4_1v0_2.cat 16948302 BLAKE2B 6efe02c6343fa3cd121879dddd3017dbd42a7c8965481b1ab79a258cedc4adc85df25240003b95c325eb35a8ed9686c38b2590f78aff9cd400ecac675583232d SHA512 80e5b2d0bc78c09658e84e7ee57309be290ba66a131ff38aa471235ff513d7824b28f6852ba1fdb485f86ede1fb2388cfb6327b2f1fe60bb097ce0cdbe48d2cb DIST stars_5_2v0_1.cat 42580300 BLAKE2B eb6528c0577b3f2001a8b03cc5a4e08fa4e75723f677d0dda98d27c50791d9825c0e0feca7b00f0cb82ce362bc83f3e8dc2260d14e81e4a070cbbfa44f2107ba SHA512 6fc0f7352d1165a0744cc932b6d379741e4614d5a95edd136522c789eaa8d1bcf05d7445f7dfd6896e8183aa64bf37b3610d87902b54542f62f2418b285892e0 @@ -15,5 +17,6 @@ DIST stellarium-dso-catalog-3.15.dat 28683372 BLAKE2B c2ba23a6b169815ed20d971138 DIST stellarium_user_guide-0.21.3-1.pdf 31253904 BLAKE2B 3e8a0395a29c2fac164379ea315cd21d102b2b400d9eeacdb37cf85f00816f0678edabb9b779db135f4c43ee4cfcc6307ee59f4a149aa33e878c11fe26551266 SHA512 83137fe09bdc279bec23b78694d5e1efe9238733f8adf2cb8ed7e37f0eee60b0475c4c93b5bc85a04b92a175284c24354c36b6a93014216387211c9b031cdf7c DIST stellarium_user_guide-0.22.1-1.pdf 36226017 BLAKE2B 628c57f1efa6238e5c12588ed4b0532816e8708f16d40fad0d87f72550af5efa500ae0edbc20e243488c59dfc94b47efe588d47419e7d29b1fd6ff9e4cec5438 SHA512 07d965f5b45ac964bec401f14ee81322a17939e292390ebd040339c265ede4b652b37e9220696f13c093ea22e8a706b27b7d23d7357dffbe808c2538f8cee93d EBUILD stellarium-0.21.3.ebuild 4231 BLAKE2B d865110272f4d1108a654e0cfc901ba2f33f9bfc4450723ce05004a056ad9bc29e87a118024f9861978808cf95629619a2f15985c88e54c77d3cad23823ad5be SHA512 0eb62c03aececa55b69fb061391d23531651a1e897e457aa52902ee9c087594c21453268269f6527092450112391dcfea2c18c3e2e58d7038d46b704015363a5 -EBUILD stellarium-0.22.1.ebuild 4319 BLAKE2B 9ca380bac74bf39c77f0a1e8d9f65cfb91b8e9734bbafe95a56d20345fd6cbc47e6b9cfba4cf0364eace660c9eb9dd196c3c450e8462fad735f578026881b9ab SHA512 2b56eaf926526f18783eacc101d52c0aaa2163075835f3016606996eefc888f902c4d946f80fd152a716c9313616bc8d2b9ca6ae4abe7e3694d24fec66b07d2a +EBUILD stellarium-0.22.1-r1.ebuild 4434 BLAKE2B a63d4cb0a7cf6fdb0b5e961d71c1bcb98d18f999b570c54b18a617826f7c61c95c55501758dc8b00a5bdf4e62dd28c95d8c926641f4d20915bc147943c193f43 SHA512 0b820802f07e3443dd055aaf59fd7db53321a9b30bb643331ca5db45c042bb3ca63a5ced6d307bdcf6feda19bc06f6ad4cbc552d5a89c10056a7ed47a9791606 +EBUILD stellarium-0.22.1.ebuild 4316 BLAKE2B 16d0509c9f07b6b459f9a7881af96c518e069a02378a826fb314009c89189593eeca2227cfbb153ac578dc3e993cccdc1d6a1541e18b326554ccbe5b0bf6fb6c SHA512 bb7c3c26913b8a42546e7fe8c548415a8c8163792db6bc631fd9527d19c1901600e7bc205f1171af418dcddc9efbb5f99c96edbdea759e912eadd3bc75031245 MISC metadata.xml 1331 BLAKE2B 858e48ee46003e8f9d5cb7c6dfe0dd0dab5126c069592c7edbdf2ddf0e3b281d4e5cab5cf21b6197dbde7d7a152225999773265cc4319a4550f15ee2c9903626 SHA512 7e801dbdccaef56276bde6a96bfd61811e6d6b6fcba21238d889d8b882afb9e983ed921dd4d30015107cc48afe6539c19a7bb6692300800ed9f8cc5e4166b5e7 diff --git a/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch b/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch new file mode 100644 index 000000000000..5187837fbb61 --- /dev/null +++ b/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch @@ -0,0 +1,23 @@ +From dd65fdf5a332d62834ac1cfe9639e220ea635c55 Mon Sep 17 00:00:00 2001 +From: "Alexander V. Wolf" <alex.v.wolf@gmail.com> +Date: Wed, 25 May 2022 20:55:15 +0700 +Subject: [PATCH] Fixed conversion tool radToHms(): avoiding possible negative + zero for value of seconds (see #2460) + +--- + src/core/StelUtils.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/core/StelUtils.cpp b/src/core/StelUtils.cpp +index 93a55ebb957..b03f55a68ec 100644 +--- a/src/core/StelUtils.cpp ++++ b/src/core/StelUtils.cpp +@@ -140,7 +140,7 @@ void radToHms(double angle, unsigned int& h, unsigned int& m, double& s) + + h = static_cast<unsigned int>(angle); + m = static_cast<unsigned int>((angle-h)*60); +- s = (angle-h)*3600.-60.*m; ++ s = qAbs((angle-h)*3600.-60.*m); + } + + /************************************************************************* diff --git a/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-test-x86.patch b/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-test-x86.patch new file mode 100644 index 000000000000..784b388b2534 --- /dev/null +++ b/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-test-x86.patch @@ -0,0 +1,93 @@ +From 802065e025c8b435dc39b4fdd9262efdc1dcd2a8 Mon Sep 17 00:00:00 2001 +From: "Alexander V. Wolf" <alex.v.wolf@gmail.com> +Date: Tue, 24 May 2022 14:47:50 +0700 +Subject: [PATCH] Fixed something strange in radToHMSStr and radToHMSStrAdapt + convertors + +probably ancient bug (?), maybe related to issue #2460 +--- + src/core/StelUtils.cpp | 6 +++--- + src/tests/testConversions.cpp | 16 ++++++---------- + 2 files changed, 9 insertions(+), 13 deletions(-) + +diff --git a/src/core/StelUtils.cpp b/src/core/StelUtils.cpp +index 521d538315e..93a55ebb957 100644 +--- a/src/core/StelUtils.cpp ++++ b/src/core/StelUtils.cpp +@@ -225,9 +225,9 @@ QString radToHmsStr(const double angle, const bool decimal) + { + unsigned int h,m; + double s; +- StelUtils::radToHms(angle+0.005*M_PI/12/(60*60), h, m, s); ++ StelUtils::radToHms(angle, h, m, s); + int width, precision; +- QString carry, r; ++ QString carry; + if (decimal) + { + width=5; +@@ -268,7 +268,7 @@ QString radToDmsStrAdapt(const double angle, const bool useD) + bool sign; + unsigned int d,m; + double s; +- StelUtils::radToDms(angle+0.005*M_PI/180/(60*60)*(angle<0?-1.:1.), sign, d, m, s); // NOTE: WTF??? ++ StelUtils::radToDms(angle, sign, d, m, s); + QString str; + QTextStream os(&str); + +diff --git a/src/tests/testConversions.cpp b/src/tests/testConversions.cpp +index a37db14307c..6e8a4c6f04c 100644 +--- a/src/tests/testConversions.cpp ++++ b/src/tests/testConversions.cpp +@@ -248,12 +248,12 @@ void TestConversions::testRadToDMSStrAdapt() + data << 61*M_PI/360 << "+30°30'" << false; + data << M_PI/648000 << "+0°0'1\"" << false; + data << 1213*M_PI/2400 << "+90°58'30\"" << false; +- data << 39599*M_PI/648000 << "+10°59'59\"" << false; ++ data << 39599*M_PI/648000 << "+10°59'59.00\"" << false; + data << -M_PI/36 << "-5°" << false; + data << -7*M_PI/8 << "-157°30'" << false; + data << -2*M_PI/5 << "-72°" << false; + data << -M_PI << "-180°" << false; +- data << -10*M_PI/648 << "-2°46'40\"" << false; ++ data << -10*M_PI/648 << "-2°46'40.00\"" << false; + + data << 0. << "+0d" << true; + data << M_PI/6 << "+30d" << true; +@@ -268,12 +268,12 @@ void TestConversions::testRadToDMSStrAdapt() + data << 61*M_PI/360 << "+30d30'" << true; + data << M_PI/648000 << "+0d0'1\"" << true; + data << 1213*M_PI/2400 << "+90d58'30\"" << true; +- data << 39599*M_PI/648000 << "+10d59'59\"" << true; ++ data << 39599*M_PI/648000 << "+10d59'59.00\"" << true; + data << -M_PI/36 << "-5d" << true; + data << -7*M_PI/8 << "-157d30'" << true; + data << -2*M_PI/5 << "-72d" << true; + data << -M_PI << "-180d" << true; +- data << -10*M_PI/648 << "-2d46'40\"" << true; ++ data << -10*M_PI/648 << "-2d46'40.00\"" << true; + + while (data.count()>=3) + { +@@ -282,9 +282,7 @@ void TestConversions::testRadToDMSStrAdapt() + bool flag = data.takeFirst().toBool(); + QString rdms = StelUtils::radToDmsStrAdapt(rad, flag); + QVERIFY2(rdms==edms, qPrintable(QString("%1 radians = %2 (expected %3) [flag: %4]") +- .arg(QString::number(rad, 'f', 5)) +- .arg(rdms) +- .arg(edms) ++ .arg(QString::number(rad, 'f', 5), rdms, edms) + .arg(flag))); + } + } +@@ -381,9 +379,7 @@ void TestConversions::testRadToDMSStr() + bool useDF = data.takeFirst().toBool(); + QString rdms = StelUtils::radToDmsStr(rad, decimalF, useDF); + QVERIFY2(rdms==edms, qPrintable(QString("%1 radians = %2 (expected %3) [flags: %4, %5]") +- .arg(QString::number(rad, 'f', 5)) +- .arg(rdms) +- .arg(edms) ++ .arg(QString::number(rad, 'f', 5), rdms, edms) + .arg(decimalF) + .arg(useDF))); + } diff --git a/sci-astronomy/stellarium/stellarium-0.22.1-r1.ebuild b/sci-astronomy/stellarium/stellarium-0.22.1-r1.ebuild new file mode 100644 index 000000000000..224aff001b9d --- /dev/null +++ b/sci-astronomy/stellarium/stellarium-0.22.1-r1.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..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.15" +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-${MY_DSO_VERSION}.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 ~riscv ~x86" +IUSE="debug deep-sky doc gps media nls stars telescope test webengine" + +# Python interpreter is used while building RemoteControl plugin +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + doc? ( app-doc/doxygen[dot] ) + nls? ( dev-qt/linguist-tools:5 ) +" +RDEPEND=" + dev-libs/qtcompress:= + dev-qt/qtcharts:5 + 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/qtwidgets:5 + media-fonts/dejavu + sys-libs/zlib + virtual/opengl + gps? ( + dev-qt/qtpositioning:5 + dev-qt/qtserialport:5 + sci-geosciences/gpsd:=[cxx] + ) + media? ( dev-qt/qtmultimedia:5[widgets] ) + telescope? ( + dev-qt/qtserialport:5 + sci-libs/indilib:= + ) + webengine? ( dev-qt/qtwebengine:5[widgets] ) +" +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-zlib.patch" + "${FILESDIR}/stellarium-0.22.1-fix-star-manager-segfault.patch" + "${FILESDIR}/stellarium-0.22.1-unbundle-qtcompress.patch" + "${FILESDIR}/stellarium-0.22.1-fix-test-x86.patch" + "${FILESDIR}/stellarium-0.22.1-fix-conv.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/185 + + 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_use_find_package webengine Qt5WebEngine) + $(cmake_use_find_package webengine Qt5WebEngineWidgets) + ) + 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 +} diff --git a/sci-astronomy/stellarium/stellarium-0.22.1.ebuild b/sci-astronomy/stellarium/stellarium-0.22.1.ebuild index 20e481ce1cc5..b200ab6bbf5c 100644 --- a/sci-astronomy/stellarium/stellarium-0.22.1.ebuild +++ b/sci-astronomy/stellarium/stellarium-0.22.1.ebuild @@ -27,7 +27,7 @@ SRC_URI=" LICENSE="GPL-2+ SGI-B-2.0" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ppc ppc64 ~riscv ~x86" IUSE="debug deep-sky doc gps media nls stars telescope test webengine" # Python interpreter is used while building RemoteControl plugin diff --git a/sci-astronomy/wcslib/Manifest b/sci-astronomy/wcslib/Manifest index 07a70215e615..2b1209e0e917 100644 --- a/sci-astronomy/wcslib/Manifest +++ b/sci-astronomy/wcslib/Manifest @@ -1,12 +1,9 @@ -AUX wcslib-7.7-tofits.patch 502 BLAKE2B 645dc391cff28b6460357ee6480931025923e90a7c880633536ceb99b89ef898695930f8660d98b91b62269a344e943c77083ad24b9afbd1a1985e6a32bfb03f SHA512 9ecb53086f5fd246ac69de6d1370c3e3236ca5c01ea1ea8114105b038486c7ec602e8ea33d4a922e8edb6be1c26c1fb4869cc6a572e8058604381afc65c95112 +DIST wcslib-7.11.tar.bz2 2946962 BLAKE2B 7c812f50e3c539da3d58a70acd9128bd957fccd463b0c404c4a55740fb6d7df88f9992d1a2c5c303091dfce91943a6e5bcca73b553354f67c2d522ebb77d6dc3 SHA512 28aa67edad31a8fe27bc8b04e060a17ee75d8fa5e9ec82ccbdb72136558e03d1196151214c9ce4026df88cb807ce2645f5df80bbc479ec91cfa749bf8b9477ec DIST wcslib-7.3.1.tar.bz2 2434274 BLAKE2B 9789a8eb34fe37c96b52e20efe3c14368499058e5c46aad4853b2be5f32a31df26525ec2c38d0ce87bcb7891b91a3ec3ac537e3c662c716a7c4381f26cd715e4 SHA512 753e0e202fb4250d321c36a0df9cd45ed88697111a06e108bc3e5397ddecc60d460cda2b4d45b5311dd72b88b66d4c70ff150b03e2da46c834b024f15304779b DIST wcslib-7.3.tar.bz2 2435669 BLAKE2B c0f641b4c2fdd9d332816195f399eb2ab3c5aa585f08c4857af77bd5ed4074e653663f7cbddc6d7678cd85bed2c0bd95719cd83a5138d21ad24841396d4c11b9 SHA512 8c98c4b575056e2d966b77a4bc951256d02ecee3a11847e140fd38d93afd0f76b3e906d590c952dc9fc58ceeb1ba062b19d8e1e676ee0032f5b7ed13a9dfa892 -DIST wcslib-7.4.tar.bz2 2446483 BLAKE2B e659e0f7d4aa54d599c1300f600bc8b7b56d672fa715be1e7c3ade4ff6eebaf68a2894dac73032b1f3aee5965254f359681718c93949962f4a59bdda448d5395 SHA512 3696f59bf15f3806faff2441250f8ae38bfbbc1e2e25404c9480c82629472521d89306d9340475ea4691c5e1a8417be3f058b4a01b49c9a45e0e718056a9394c -DIST wcslib-7.7.tar.bz2 2515760 BLAKE2B f5418513168903e14488004abeb5ec2f69d773f49a5abc28598d184ba66df2232b87fb0754fc63800951ea2e794741fbde119794feca2d822287cd63d3fa658c SHA512 372eb32d28ee78be14a3e8f1fba2a51c2b1f69de3bb70bf49487653878f905b4c463a0b7fc9cb06cf4fdd0b23114d3ec26d853072e0fd06d6e14610f0dfa06d4 DIST wcslib-7.9.tar.bz2 2947112 BLAKE2B 797a1c51dd5b1669faf63c4a509e698f93422d6b4bfc5ace023d75e8e03b2967cc01c6764cca190f07c65b76aec76a740349349561f18f61b870af90bb66ba35 SHA512 72831ced127ad8fce934b43ddde86383273b161316ac078b03dcd8de94b0d6076b625445728695e4c8a9da46cccaa3832038f251922a759f480ef2ad33fd67a1 +EBUILD wcslib-7.11.ebuild 1693 BLAKE2B 78aeddce9d49cfd0e8d6b6dc12a1aad275f61488ceaa1868c190202c1191ec3ca66f204727f1f7fa7e5a17c4389e3e2e5e938d55096e0f0a585ae8c8a975a208 SHA512 035cdcc410645dcafc0a55d15656ccd501eba045c4d72cf8a283cbd08757bfbe160b9db9ec0c99ecb82f5070928890d623023e41e47cab4b821d8d3c42b1e680 EBUILD wcslib-7.3.1.ebuild 1693 BLAKE2B e00e09b8e5223ef63eb2c65d626bb5f1e60d5cfa1a490ad9ceca268bec913c23f13d916520ef7b1b5c4e032f5fdc59dff3680e3448f48d0f66ccdfa7a53ed15a SHA512 e69ba5bed4b3acd3fdf871453a0a3f22faadbbaf6858f0806e260b7cb0f45fefd1a922a8f710ee1485bd33114801c03aaa1bc7baebceef0d34febb18729f2ca3 EBUILD wcslib-7.3.ebuild 1691 BLAKE2B 98f7e1ed446fb03c86419ff096131ddc318a9b11d5d97b8fc484dcdb22e277e2908112839080aa6c9633e1101b2d56ab2d97caf2cc950e18a982ec094efa26a0 SHA512 f16ee1129c6a4c54dbdf1da67e14af94d0eeba5945c164adaa5f187f3e287a721ccb6f9a7a9c989b77f7e5d2545e0d5c2ca2cd01c93e6742e6386cf844716bb4 -EBUILD wcslib-7.4.ebuild 1701 BLAKE2B b146801326acff7c25f6199413a28240ac66af2bb55a63538c671c319f4aa5a0ce3ad2767c5fa241776fb69adbb34c95ce8daf8850e5c7be858e3088148222c5 SHA512 e84137fb479a8ac961911f1d4b0258cc092e29372f467c03f81a98330e037a26f41cc2f9eb921ce96bd2fa9a1b6893b838945c48ecc1470543d4822e31238972 -EBUILD wcslib-7.7.ebuild 1811 BLAKE2B 3da5d6c62f20edacff142ab3eb9520a7193566697d5324b1ba8ba66690c25a6a20a54e0a336fefc3589f290e32f6da3b950c73f0b99b86e95d499a9bbec31d8b SHA512 07eda0730c776318f9c4614a18c840ba22c4b94123a8d8812b0a270eb232783d24b41ad2866cc0b9187e694e71993303d22bafced24634eca38c2693da527878 EBUILD wcslib-7.9.ebuild 1765 BLAKE2B 8ffc9f07968ab04ec930f83e1139d211086190c9858a6598a25b94ce08b4628e39705c1ce55a2a1be437761d27a0dc363c6f43eb87d7c4d47044b1306c6cc95b SHA512 6dcd921ebe7782636beba4c0e9396b7a1c5b31cbdb1fe6a7f91d34165d460ea47eedcb7e3fb63caf435d6edd9470da2e5bfed5df93247847e1bdc2097a0277b1 MISC metadata.xml 1107 BLAKE2B 82837dbdf8a7b56d330df0bdb0bf5afc90ad7efd8141c9cf63f6f9b30798a451103080393e3c2bd10e1502de50ea5bd1fc38e068119c07d1ff79fa4d61cda228 SHA512 9ab798676bf10969eb2d171598c3ecb0385322333240f002f033f36cab1060e14fbbd11462c572e2cb8ed1b7092f88824dd1fc2be6e2f93944c44d886ae9c4ef diff --git a/sci-astronomy/wcslib/files/wcslib-7.7-tofits.patch b/sci-astronomy/wcslib/files/wcslib-7.7-tofits.patch deleted file mode 100644 index 5c8022560220..000000000000 --- a/sci-astronomy/wcslib/files/wcslib-7.7-tofits.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- wcslib-7.7/Fortran/GNUmakefile -+++ wcslib-7.7/Fortran/GNUmakefile -@@ -171,8 +171,8 @@ - -@ echo '' - $(FC) $(FFLAGS) -c $< - --%.fits : ../C/test/%.keyrec tofits -- ./tofits < $< > $@ -+%.fits : ../C/test/%.keyrec ../utils/tofits -+ ../utils/tofits < $< > $@ - - run_% : % - -@ echo '' -@@ -361,7 +361,7 @@ - -@ echo '' - $(MAKE) -C ../pgsbox lib - --tofits : ../C/test/tofits.c -+../utils/tofits : ../utils/tofits.c - $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< - - ../C/wcstab.fits : ; diff --git a/sci-astronomy/wcslib/wcslib-7.7.ebuild b/sci-astronomy/wcslib/wcslib-7.11.ebuild index 0e2822299e62..e1382017202a 100644 --- a/sci-astronomy/wcslib/wcslib-7.7.ebuild +++ b/sci-astronomy/wcslib/wcslib-7.11.ebuild @@ -24,10 +24,6 @@ BDEPEND=" >=sys-devel/flex-2.6.0 virtual/pkgconfig" -PATCHES=( - "${FILESDIR}/${P}-tofits.patch" -) - src_configure() { # workaround until upstream fix it properly append-fflags $(test-flags-FC -fallow-argument-mismatch) @@ -59,11 +55,6 @@ src_configure() { sed -i -e 's/COPYING\*//' GNUmakefile || die } -src_test() { - # -j1 to work around a race condition - emake -j1 check -} - src_install () { default # static libs share the same symbols as shared (i.e. compiled with PIC) diff --git a/sci-astronomy/wcslib/wcslib-7.4.ebuild b/sci-astronomy/wcslib/wcslib-7.4.ebuild deleted file mode 100644 index a1abd488cd58..000000000000 --- a/sci-astronomy/wcslib/wcslib-7.4.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED=fortran - -inherit flag-o-matic fortran-2 - -DESCRIPTION="Astronomical World Coordinate System transformations library" -HOMEPAGE="https://www.atnf.csiro.au/people/mcalabre/WCS/" -SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2" - -SLOT="0/7" -LICENSE="LGPL-3" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc fortran fits pgplot static-libs +tools" - -RDEPEND=" - fits? ( sci-libs/cfitsio:0= ) - pgplot? ( sci-libs/pgplot:0= )" -DEPEND="${RDEPEND} - sys-devel/flex - virtual/pkgconfig" - -src_configure() { - # workaround until upstream fix it properly - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - local myconf=( - --docdir="${EPREFIX}"/usr/share/doc/${PF} - --htmldir="${EPREFIX}"/usr/share/doc/${PF} - $(use_enable fortran) - $(use_enable tools utils) - ) - # hacks because cfitsio and pgplot directories are hard-coded - if use fits; then - myconf+=( - --with-cfitsioinc="${EPREFIX}/usr/include" - --with-cfitsiolib="${EPREFIX}/usr/$(get_libdir)" - ) - else - myconf+=( --without-cfitsio ) - fi - if use pgplot; then - myconf+=( - --with-pgplotinc="${EPREFIX}/usr/include" - --with-pgplotlib="${EPREFIX}/usr/$(get_libdir)" - ) - else - myconf+=( --without-pgplot ) - fi - econf ${myconf[@]} - sed -i -e 's/COPYING\*//' GNUmakefile || die -} - -src_test() { - emake check -} - -src_install () { - default - # static libs share the same symbols as shared (i.e. compiled with PIC) - # so they are not compiled twice - use static-libs || rm "${ED}"/usr/$(get_libdir)/lib*.a - use doc || rm -r \ - "${ED}"/usr/share/doc/${PF}/html \ - "${ED}"/usr/share/doc/${PF}/*.pdf -} diff --git a/sci-astronomy/xephem/Manifest b/sci-astronomy/xephem/Manifest index 2e825216ebfe..31355042b882 100644 --- a/sci-astronomy/xephem/Manifest +++ b/sci-astronomy/xephem/Manifest @@ -5,5 +5,5 @@ AUX xephem-4.1.0-respect_env_vars.patch 3331 BLAKE2B 9e9cd514429485e7934b0d82355 DIST xephem-3.7.7.tgz 18128521 BLAKE2B a7d0ee2cf1be64f79ed0c5cea6d37e48c69875de5b3c9592554ee8be25b369e964c7a6bb05690ef28893b7af8277daf39ba85538f56852f35538180f9ad0c2ba SHA512 0a21f783a0a543f19a527afb87647ff2e988c6a426a37e01b9a3d1d76a9ee74125ce802e2dbc5e13034f11ef897e6188cb5b0bb92bc0d35db0fb8839e0c53157 DIST xephem-4.1.0.tar.gz 17213750 BLAKE2B 921aa4b305cb80df5746db962739d16ee23f1831b59934389ecd218b874ba1fc51aab07896d1283760db1a50be6279da50ed112320fc481f90b4f2d6e25c96dc SHA512 bcad3a6b375cabf1f44e39bc99386552d97a7e7d2ee4063dae4ccd3d5842604f0efc3407447f18a5c9e7f265bab6eebe98bdb64626dcf2135b56f346818ef1b6 EBUILD xephem-3.7.7-r1.ebuild 1186 BLAKE2B f249535f9449eaa36fbbe3ca33407c9d42385f0143cd77849d6f5c746934bc967bf56880f9205409bffd13e058b2fa7951d8c1181823b476a0f4c06be6d192ff SHA512 f814d7754b9f3ba339d10ca0c4b0b9ba30408b7595dfbd2e91ffe1f9924703caf7a4099bbd4ebd1f670d9310c752f78b9daa584316b93d8bd65e83f9135e7c4e -EBUILD xephem-4.1.0.ebuild 1281 BLAKE2B a6b4a55118d8a13d36031cddc165c222c3d1580f63963b4fdd8673a8119672299a351f1b19703e3197edaca003fe88cd663bdba7b48d33b89b93921f52342851 SHA512 7de7beccf2e1054be8281122c94d471f52eaa03990726d9214d66331f41201e252c9fc61799ca84af6c08b607bb6dd1a29a9a5541b6184944f46e1dfb34991e0 +EBUILD xephem-4.1.0.ebuild 1277 BLAKE2B 55c5dc546b977f0b0e9132cfe3c1c10da386165ee87d1ac7c3b7cc771cde76066eba18645438e5107ea1a7494f15fa962a6aeb1c7a65acd4c4a37f31898e37f4 SHA512 b1ad50f4642442a75c624a0da3ee388ba66b1e24235520b6643dce1d42051cec998f8b17ae9e1b97b114de60941c32b79552976dd6a29352af92d1fb6f77f140 MISC metadata.xml 731 BLAKE2B 980eecb953df6c70d788fd68a61cc584f6b1d6605c6970afc82a21ab0a6dacd69354e8156bc0b7dfc04cc205042d2d1d2170abd40bbb74a077a0462a72a78d95 SHA512 ac2f5d29c822dc4e89eedcfa0e2797d61a29531509267290e4426df1ca6179e9b07673f961b473cafacb2b35cf7e0b6f579053648bcee6ae61ae9dee319eaa55 diff --git a/sci-astronomy/xephem/xephem-4.1.0.ebuild b/sci-astronomy/xephem/xephem-4.1.0.ebuild index 93bd0f5554d6..8b8f87e5ba22 100644 --- a/sci-astronomy/xephem/xephem-4.1.0.ebuild +++ b/sci-astronomy/xephem/xephem-4.1.0.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/XEphem-${PV}" LICENSE="MIT" SLOT=0 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-libs/openssl:= |