commit: 2a9ddcdc3465c101b476c582fd7e9936b69c9173 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Mon Dec 29 20:04:51 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Dec 30 13:43:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9ddcdc
sci-astronomy/stellarium: drop 25.1, 25.2 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/45184 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-astronomy/stellarium/Manifest | 10 -- .../files/stellarium-0.25.1-astrometry.patch | 50 ------ .../stellarium/files/stellarium-0.25.1-md4c.patch | 18 --- .../stellarium/files/stellarium-0.25.1-qt69.patch | 58 ------- sci-astronomy/stellarium/stellarium-25.1.ebuild | 175 --------------------- sci-astronomy/stellarium/stellarium-25.2.ebuild | 169 -------------------- 6 files changed, 480 deletions(-) diff --git a/sci-astronomy/stellarium/Manifest b/sci-astronomy/stellarium/Manifest index 5d5f690617e9..5fb2be2daae2 100644 --- a/sci-astronomy/stellarium/Manifest +++ b/sci-astronomy/stellarium/Manifest @@ -8,19 +8,9 @@ DIST stars_7_1v0_4.cat 1842421888 BLAKE2B 5f5e323565c0b3fba1006e08b9e27d2db6e6c5 DIST stars_7_1v0_4.cat.asc 313 BLAKE2B 4d2ad78812ed45e655266cdfffd4eaaae6ced690a6c511eaef2932fad9e7cb68389d069162e2e99eb4df9ed0630d7cdb2adae6cbcfa85ee049ae13e471d9f5ac SHA512 ff0b216116e86abf6bd3b46a44df986dfc91fe61df988f1d939f4db0d4456283dda0e5a6fe562433ab7dfcc096a35adeafdbeab497bc16d8587a89729fab9d6a DIST stars_8_2v0_3.cat 1971773856 BLAKE2B 49aab2f1490cd25c83a50eea4cab5c54d3db0e7f473140f466f8d2f205af3bfe981e94cdcd7eb164993df851396895304d325f1064634115ca8355b35fddc3d5 SHA512 026c3f4972a09fcd98a083f440654b614c89041e38dc5810d799bf986786d8e500cdb0cf6f9124fec1e91ba2891375d5778daf8a2c2906873cb4d41669f6fbe0 DIST stars_8_2v0_3.cat.asc 313 BLAKE2B 39c0f8a3189dc2434cb6c38f786bcf504bcfcb6473fd26ffbef7d84b3de7e351f8f3fe57171958965e1e0740eb3b2e88aa9d6e7eb66befcf6e0c1f882cada355 SHA512 90c1ae0e9391c3f940ef6c114385408f8d181b87c611f6240379d98f51d0a4cc4feb6b0433b345770ebac23485b1d219d38d5caf4addd24868da54143ef75537 -DIST stellarium-25.1.tar.xz 371392288 BLAKE2B 4edaca0e61756bb4c4f835f8b2878e299c2eea2eef9e39ddf00d5c59d2e30954d8020cce6b93fbec9affb17708317df9de06e7deab3205f4af8c6309d27b5ef6 SHA512 c413e31994e98e69b85885ee2114847e9d5d541e0c5fcc213f4a0af1c520eadddbdc1873815f1a827cad6c15f644f2422f477d0fc96ec68e2afe58d83a75bbee -DIST stellarium-25.1.tar.xz.asc 313 BLAKE2B 8a2a0dc5acbe9e8afa2004896f8e6b1fb752a81d147ba85d55e37ce5b6404686e6d623c934de15d394e2fe132e0343cb5b36cd1b5bbd449d9ac1e59870d7f7e3 SHA512 a9af17ce957e8a91017c6114094b0cc862737255102ba97d42e5c218cb16404839e674e59d2716943dc1e02cddf6dce78dad6ce988e2dd0b46ac88f4f6d245c7 -DIST stellarium-25.2.tar.xz 374328780 BLAKE2B 114af0c71f8580cec102474034b69a208f0a0ea850252f6045596a3a3e30fc273bc556172cf0834d138384775b0fa88f73cd95cfea87c36294cd6c532aae4e4a SHA512 291bebc9b698fa900cfad80cdd6a65727cecd9507d1c52db03cf57a06ba501384575d4a9a82ab5057662be407dd2e674e9f89f1a7bba6dc6b84d4fcefac9f47a -DIST stellarium-25.2.tar.xz.asc 313 BLAKE2B 002f551275d61711fa091f35157fa69bddd29294faf3d06f22a7aafb2f6c1a8be82942a7794da15a9698c8b5092ce8775d8e181beb8daf1c97fed2d0683fdd29 SHA512 d32926a18d66143d50b318ed0c2fd52a62b8aee42a16d4009d14f328ffe8b9a7d5d597d1a04ddf518fc04324320bc27c24459ae8e29ac5727aa01dd64a96a9da DIST stellarium-25.3.tar.xz 388192032 BLAKE2B f2760913046e9f7e1956dbfb0a767e933122b5e5a23a8c085154c44d93e1557dea9743d9c7fe7490d615153c0a236c552ea0d59e49bce75609bb24d4622b7d01 SHA512 bded792f4c91d82155c9c94bca8379cd74ec2a240ca31e4f11d8437cd807d24f8ba0f7e72ef10223ef077bafa041dfef93cc29087ff701d4d463578f1fb5f2cb DIST stellarium-25.3.tar.xz.asc 313 BLAKE2B e24a086efed59d2bd227e9ecaa0ad78a3a0a9f60f80e738412f4ea8099ae3340248694879de404a8d67af4598fc15452129af5594c4cd33074e5a5fb428235ce SHA512 206addbe2670ef95c9aff29fc9e442a9583077a94e3d9fd002f4f86fcbbfa1501ce1fd1b20ec5465207e75129df8dab774e7bb98731f7a4587051be8a20398a4 -DIST stellarium-dso-catalog-3.20.dat 28678745 BLAKE2B 24ddf76e81e91424cced5df74dd164d17a45fed2b65c1dc1e7065371c18a796350a1e1aab2da5860376eb90eac07e7c836ffdbb324a0d3eda6c91e8ce1c4ab3a SHA512 c84832bbf56d1097db3ff8fa8f3faadac1470a9f79d9ee759493915a48754dc86174551b5e705786f29331991bee57daa4cab6d7ecc2e4e00a2f895823ccfd87 -DIST stellarium-dso-catalog-3.20.dat.asc 313 BLAKE2B a7d9a1977ff4e1b21a80239d85ad5123ad03c2dcd57422cec7c2585eddb1004bbfc2b29a934653bc36c438981218811d21ade7380ae49278ef2c4f387ab762e5 SHA512 e8a7b10bb157d15b550a31646c8d8ce9933a77f748900a9c75f0c78b9b9205ce5e4e2ec18248ba786aacd5fbf36da00bbaf578b8b011c75351a9237568e62f1b DIST stellarium-dso-catalog-3.21.dat 28678662 BLAKE2B 62adf4e72f52e02a52fa51e0b564d12c301cf88f29b0f1c45fc1feb6d131709c18a32810ac8dc9c83f6438cf4bb57c2988ed2811974cf6a0e5593261a1da5388 SHA512 e9d3bc1162c79957b85924f828fbc58cf500fef6b843c3387be02c67b554be008d1640c2bf737e5dd3c9afb58a4cf26d02f4961846cb2c288045e16984f4ceca DIST stellarium-dso-catalog-3.21.dat.asc 313 BLAKE2B f06f9d8821bc27ce71b42f9473542e104196b30d3c951a2dbfe2d5c52839b430ef6939953cb68bed614f925f503fbc59490f861c5e2876a82f62ddb23dbf0806 SHA512 ccbd10df0a494e7c150b9817c39d2e7d3413429a988c0600a8d1ee3075764b7020c8f6c09c931ddf4e820179da95260c74409c50dcbd0f568eda217c517a016b -DIST stellarium_user_guide-25.1-1.pdf 14438330 BLAKE2B fa7d53aec3a0c0ff2e941b9846eb726d9e895284139dffaa5242fd0f8c657ecfeb44446e4f3a5b145fd643b32b43bd28e21910b1f2d94a002f22661b96665019 SHA512 0c24e1710c58180352119b45e98dc1c1fdf11ceab1ddfa815c8659b615ccbaa4eb8a937f955cfc70a835307c3fa25037be502091c8dfa6fd89a22c2b72a13107 -DIST stellarium_user_guide-25.1-1.pdf.asc 313 BLAKE2B 67a4f96966af10f1c0bcf96be521933cf8ba52707d7992d857b2dc863c232a4a752e11af47680fc4bb6df93913a3cac09fe03ef7cbe2ee560395071254ea7fd5 SHA512 b3fb4f21f750ca2ad0ad3b845212a55d6a04468e4127ffaa541bac60e67c0e0cbc1f213128522afd3b8da26137db68db7c0670bba25b59e9cc3b9aae43fe6513 -DIST stellarium_user_guide-25.2-1.pdf 14702921 BLAKE2B 47a327605502c98e13c459ad07e58ee4df21bc575098077019cfb552b5b28e6e5884752eab1f61cb572892360e6111b774a5835be491ab8596f62953bb4ff228 SHA512 1f97085c819b2e2f0eea254d450436c6b681daa243037b5ce03b2984ffcad70249c1445e1c014b1105e66b6b7abf843a94341efa68b3ec34c7fdf70e9daf322a -DIST stellarium_user_guide-25.2-1.pdf.asc 313 BLAKE2B a36c84e10ec752091ff8845591490bf291c104d2a348b70871284b9c8c358a4035991ab387eb0780e738b7a332910793ca0e90353b9b6c2dbdd334ca4a1b0614 SHA512 0508c0648c479c1e299c40599dc33c1ba6e0a7357ad5038c8a29b6c855455a50c79508e38e7bf17aeb1757b0a76abe1c33a07c93ed9886297fe629b7391d6d62 DIST stellarium_user_guide-25.3-1.pdf 14716840 BLAKE2B 3aaa9070b0d36d875b237d7860534ec4d2027595fa4105ad80e8726bb53e8ee2bcd018f959a1b1c70282d9c41afaad1451a7238bf72a358275573e42d9be8cb1 SHA512 675415ac3a233e1af8b54d158dfa5eafe90494a70f3151b214fc2ed7c54c94ef8cd3516567e394cdf0e7abff8aa457797cd7debbbc89bbc89f110fa16916e39e DIST stellarium_user_guide-25.3-1.pdf.asc 313 BLAKE2B 2a9e1196abe31ab30b14a86e16c9906fb3570257260b4f341249cfac2d265be724ee14f8f66d1990ea8fbd7ec4644e81a0fff9b5ce1a0536ed7f269c423b81cf SHA512 b47a336360f529b55e202090b3941cebdc07766bb000d9e09f4cd4068a320940ae5cfdcbe6dac60ce2e05cbf85c84a7b4d4704e93e5fe85ccf93f8ae07a6225d diff --git a/sci-astronomy/stellarium/files/stellarium-0.25.1-astrometry.patch b/sci-astronomy/stellarium/files/stellarium-0.25.1-astrometry.patch deleted file mode 100644 index 29b2de0b2e4e..000000000000 --- a/sci-astronomy/stellarium/files/stellarium-0.25.1-astrometry.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 4e1b49c3d593d04fa9970f1a0d59d9ef0a661a5b Mon Sep 17 00:00:00 2001 -From: "Alexander V. Wolf" <[email protected]> -Date: Wed, 26 Mar 2025 21:18:07 +0700 -Subject: [PATCH] Fix astrometry tests (fix #4246) - ---- - src/tests/testAstrometry.cpp | 24 +++--------------------- - 1 file changed, 3 insertions(+), 21 deletions(-) - -diff --git a/src/tests/testAstrometry.cpp b/src/tests/testAstrometry.cpp -index f5e07b4c81445..5a2e7a448b655 100644 ---- a/src/tests/testAstrometry.cpp -+++ b/src/tests/testAstrometry.cpp -@@ -33,33 +33,15 @@ QTEST_GUILESS_MAIN(TestAstrometry) - void TestAstrometry::initTestCase() - { - // Define the directory to search in -- QDir dir(QDir::currentPath()); -+ QDir dir(STELLARIUM_SOURCE_DIR); - // make a list of star catalog files stars_0_*.cat, stars_1_*.cat, stars_2_*.cat and stars_3_*.cat - QStringList filters; - filters << "stars_0_*.cat" << "stars_1_*.cat" << "stars_2_*.cat" << "stars_3_*.cat"; - QStringList files; - QString file; - -- while (!dir.isRoot()) // check directory one by one if the current directory contains star catalog files -- { -- // check if at least one "stars_*.cat" file exist under the directory -- if (dir.exists("stars/hip_gaia3")) // check if the directory exists, if yes go in to check -- { -- dir.cd("stars/hip_gaia3"); -- dir.setNameFilters(QStringList() << filters[0]); -- files = dir.entryList(QDir::Files); -- if (!files.isEmpty()) // in case the directory does not contains any star catalog file -- { -- break; -- } -- else -- { -- // go back to the parent directory and keep searching -- dir.cd("../../"); -- } -- } -- dir.cdUp(); // one level up at a time -- } -+ // Go to star catalog directory... -+ dir.cd("stars/hip_gaia3"); - - // assert the directory exists - QVERIFY2(dir.exists(), "Star catalog directory does not exist! Can't perform the rest of the tests."); diff --git a/sci-astronomy/stellarium/files/stellarium-0.25.1-md4c.patch b/sci-astronomy/stellarium/files/stellarium-0.25.1-md4c.patch deleted file mode 100644 index 1a82aacff428..000000000000 --- a/sci-astronomy/stellarium/files/stellarium-0.25.1-md4c.patch +++ /dev/null @@ -1,18 +0,0 @@ -Fixed upstream in 3a3e69417109abd92f0640ec2c63d1c4dbb7274d - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,1 +1,1 @@ --CPMAddPackage(NAME md4c -+CPMFindPackage(NAME md4c ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -524,7 +524,7 @@ IF(ENABLE_SPOUT AND SPOUT_LIBRARY_DLL) - CONFIGURE_FILE(${SPOUT_LIBRARY_DLL} ${CMAKE_CURRENT_BINARY_DIR} COPYONLY) - ENDIF() - --SET(STELMAIN_DEPS md4c-html ${ZLIB_LIBRARIES} glues_stel ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} ${STELLARIUM_QT_LIBRARIES} ${SPOUT_LIBRARY} ${STD_EXECUTION_LIBS}) -+SET(STELMAIN_DEPS md4c::md4c-html ${ZLIB_LIBRARIES} glues_stel ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} ${STELLARIUM_QT_LIBRARIES} ${SPOUT_LIBRARY} ${STD_EXECUTION_LIBS}) - IF(USE_BUNDLED_QTCOMPRESS) - SET(STELMAIN_DEPS ${STELMAIN_DEPS} qtcompress_stel) - ENDIF() diff --git a/sci-astronomy/stellarium/files/stellarium-0.25.1-qt69.patch b/sci-astronomy/stellarium/files/stellarium-0.25.1-qt69.patch deleted file mode 100644 index ed59c719dc19..000000000000 --- a/sci-astronomy/stellarium/files/stellarium-0.25.1-qt69.patch +++ /dev/null @@ -1,58 +0,0 @@ -From bbcd60ae52b6f1395ef2390a2d2ba9d0f98db548 Mon Sep 17 00:00:00 2001 -From: "Alexander V. Wolf" <[email protected]> -Date: Wed, 26 Mar 2025 01:55:43 +0700 -Subject: [PATCH] [Qt 6.9] Fix compilation - ---- - src/core/modules/ZoneArray.cpp | 2 +- - src/gui/AngleSpinBox.cpp | 12 +++++------- - 2 files changed, 6 insertions(+), 8 deletions(-) - -diff --git a/src/core/modules/ZoneArray.cpp b/src/core/modules/ZoneArray.cpp -index 19567500ae9bc..6ce092112767f 100644 ---- a/src/core/modules/ZoneArray.cpp -+++ b/src/core/modules/ZoneArray.cpp -@@ -564,7 +564,7 @@ void SpecialZoneArray<Star>::searchAround(const StelCore* core, int index, const - const float dyrs = static_cast<float>(core->getJDE()-STAR_CATALOG_JDEPOCH)/365.25; - const SpecialZoneData<Star> *const z = getZones()+index; - Vec3d tmp; -- double RA, DEC, pmra, pmdec, PlxErr, Plx, RadialVel; -+ double RA, DEC, pmra, pmdec, Plx, RadialVel; - for (const Star* s=z->getStars();s<z->getStars()+z->size;++s) - { - s->getFull6DSolution(RA, DEC, Plx, pmra, pmdec, RadialVel, dyrs); -diff --git a/src/gui/AngleSpinBox.cpp b/src/gui/AngleSpinBox.cpp -index 3b1e4f9f2267b..bb7cb5da0166a 100644 ---- a/src/gui/AngleSpinBox.cpp -+++ b/src/gui/AngleSpinBox.cpp -@@ -509,25 +509,23 @@ QSize AngleSpinBox::minimumSizeHint() const - case DMSSymbolsUnsigned: - { - if (angleSpinBoxFormat == DMSLetters || angleSpinBoxFormat == DMSLettersUnsigned) -- refText = QString("%1%2d %3m %4s").arg(signPlaceholder).arg(359).arg(59) -- .arg(0, 0, 'f', decimalPlaces, ' '); -+ refText = QString("%1%2d %3m %4s").arg(signPlaceholder).arg(359).arg(59).arg(0., 0, 'f', decimalPlaces, ' '); - else -- refText = QString("%1%2° %3' %4\"").arg(signPlaceholder).arg(359).arg(59) -- .arg(0, 0, 'f', decimalPlaces, ' '); -+ refText = QString("%1%2° %3' %4\"").arg(signPlaceholder).arg(359).arg(59).arg(0., 0, 'f', decimalPlaces, ' '); - break; - } - case HMSLetters: - case HMSSymbols: - { - if (angleSpinBoxFormat == HMSLetters) -- refText = QString("%1h %2m %3s").arg(23).arg(59).arg(0, 0, 'f', decimalPlaces, ' '); -+ refText = QString("%1h %2m %3s").arg(23).arg(59).arg(0., 0, 'f', decimalPlaces, ' '); - else -- refText = QString("%1h %2' %3\"").arg(23).arg(59).arg(0, 0, 'f', decimalPlaces, ' '); -+ refText = QString("%1h %2' %3\"").arg(23).arg(59).arg(0., 0, 'f', decimalPlaces, ' '); - break; - } - case DecimalDeg: - { -- refText = QString("%1%2°").arg(signPlaceholder).arg(360, 0, 'f', decimalPlaces, ' '); -+ refText = QString("%1%2°").arg(signPlaceholder).arg(360., 0, 'f', decimalPlaces, ' '); - break; - } - default: diff --git a/sci-astronomy/stellarium/stellarium-25.1.ebuild b/sci-astronomy/stellarium/stellarium-25.1.ebuild deleted file mode 100644 index 2e0242d906ff..000000000000 --- a/sci-astronomy/stellarium/stellarium-25.1.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -inherit cmake desktop flag-o-matic python-any-r1 toolchain-funcs xdg verify-sig virtualx - -DESCRIPTION="3D photo-realistic skies in real time" -HOMEPAGE="https://stellarium.org/ https://github.com/Stellarium/stellarium" -MY_DSO_VERSION="3.20" -SRC_URI=" - https://github.com/Stellarium/stellarium/releases/download/v${PV}/${P}.tar.xz - verify-sig? ( https://github.com/Stellarium/stellarium/releases/download/v${PV}/${P}.tar.xz.asc ) - 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 - verify-sig? ( https://github.com/Stellarium/stellarium-data/releases/download/dso-${MY_DSO_VERSION}/catalog-${MY_DSO_VERSION}.dat.asc -> ${PN}-dso-catalog-${MY_DSO_VERSION}.dat.asc ) - ) - doc? ( - https://github.com/Stellarium/stellarium/releases/download/v${PV}/stellarium_user_guide-${PV}-1.pdf - verify-sig? ( https://github.com/Stellarium/stellarium/releases/download/v${PV}/stellarium_user_guide-${PV}-1.pdf.asc ) - ) - stars? ( - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_4_1v0_6.cat - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_5_1v0_6.cat - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_6_1v0_4.cat - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_7_1v0_4.cat - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_8_2v0_3.cat - verify-sig? ( - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_4_1v0_6.cat.asc - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_5_1v0_6.cat.asc - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_6_1v0_4.cat.asc - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_7_1v0_4.cat.asc - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_8_2v0_3.cat.asc - ) - )" - -LICENSE="GPL-2+ SGI-B-2.0" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" -IUSE="debug deep-sky doc gps +lens-distortion libcxx media nls +scripting +show-my-sky stars telescope test webengine +xlsx" - -# Python interpreter is used while building RemoteControl plugin -BDEPEND=" - ${PYTHON_DEPS} - dev-lang/perl - doc? ( app-text/doxygen[dot] ) - nls? ( dev-qt/qttools:6[linguist] ) - verify-sig? ( sec-keys/openpgp-keys-stellarium ) -" -# TODO: review need for dev-cpp/tbb after several releases of gcc and clang -RDEPEND=" - dev-cpp/tbb:= - dev-libs/md4c - dev-qt/qtbase:6=[concurrent,gui,network,widgets] - dev-qt/qtcharts:6 - media-fonts/dejavu - >=sci-astronomy/calcmysky-0.3.0:=[qt6(+)] - virtual/zlib:= - gps? ( - dev-qt/qtpositioning:6 - dev-qt/qtserialport:6 - sci-geosciences/gpsd:=[cxx] - ) - lens-distortion? ( - media-gfx/exiv2:= - sci-libs/nlopt - ) - media? ( - dev-qt/qtmultimedia:6[gstreamer] - virtual/opengl - ) - scripting? ( dev-qt/qtdeclarative:6 ) - telescope? ( - dev-qt/qtserialport:6 - sci-libs/indilib:= - ) - webengine? ( dev-qt/qtwebengine:6[widgets] ) - xlsx? ( dev-libs/qxlsx:=[qt6(+)] ) -" -DEPEND="${RDEPEND} - libcxx? ( dev-cpp/fast_float ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}/stellarium-0.25.1-md4c.patch" - "${FILESDIR}/stellarium-0.25.1-astrometry.patch" - "${FILESDIR}/stellarium-0.25.1-qt69.patch" -) - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/stellarium.asc - -pkg_setup() { - if tc-is-clang && ! use libcxx && [[ $(tc-get-cxx-stdlib) == libc++ ]]; then - die "When using libc++, please enable USE=libcxx" - fi -} - -src_prepare() { - cmake_src_prepare - use debug || append-cppflags -DQT_NO_DEBUG #415769 - - rm -r src/external/qtcompress/ || die - rm -r src/external/zlib/ || die - rm -r src/external/fake-indi/ || die - - # for glues_stel aka libtess I couldn't find an upstream with the same API - - local remaining="$(cd src/external/ && echo */)" - if [[ "${remaining}" != "glues_stel/" ]]; then - eqawarn "Need to unbundle more deps: ${remaining}" - fi -} - -src_configure() { - filter-lto # https://bugs.gentoo.org/862249 - - local mycmakeargs=( - -DCCACHE_PROGRAM=no - -DCPM_LOCAL_PACKAGES_ONLY=yes - -DUSE_BUNDLED_QTCOMPRESS=no - -DENABLE_GPS="$(usex gps)" - -DENABLE_MEDIA="$(usex media)" - -DENABLE_NLS="$(usex nls)" - -DENABLE_QT6=yes - -DENABLE_QTWEBENGINE="$(usex webengine)" - -DENABLE_SHOWMYSKY=$(usex show-my-sky) - -DENABLE_SCRIPTING=$(usex scripting) - -DENABLE_TESTING="$(usex test)" - -DENABLE_XLSX="$(usex xlsx)" - -DUSE_PLUGIN_LENSDISTORTIONESTIMATOR="$(usex lens-distortion)" - -DUSE_PLUGIN_TELESCOPECONTROL="$(usex telescope)" - "$(cmake_use_find_package doc Doxygen)" - ) - 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/hip_gaia3 - doins "${DISTDIR}"/stars_{4,5}_1v0_6.cat - doins "${DISTDIR}"/stars_{6,7}_1v0_4.cat - doins "${DISTDIR}"/stars_8_2v0_3.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-25.2.ebuild b/sci-astronomy/stellarium/stellarium-25.2.ebuild deleted file mode 100644 index 2b6a71a35090..000000000000 --- a/sci-astronomy/stellarium/stellarium-25.2.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -inherit cmake desktop flag-o-matic python-any-r1 toolchain-funcs xdg verify-sig virtualx - -DESCRIPTION="3D photo-realistic skies in real time" -HOMEPAGE="https://stellarium.org/ https://github.com/Stellarium/stellarium" -MY_DSO_VERSION="3.20" -SRC_URI=" - https://github.com/Stellarium/stellarium/releases/download/v${PV}/${P}.tar.xz - verify-sig? ( https://github.com/Stellarium/stellarium/releases/download/v${PV}/${P}.tar.xz.asc ) - 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 - verify-sig? ( https://github.com/Stellarium/stellarium-data/releases/download/dso-${MY_DSO_VERSION}/catalog-${MY_DSO_VERSION}.dat.asc -> ${PN}-dso-catalog-${MY_DSO_VERSION}.dat.asc ) - ) - doc? ( - https://github.com/Stellarium/stellarium/releases/download/v${PV}/stellarium_user_guide-${PV}-1.pdf - verify-sig? ( https://github.com/Stellarium/stellarium/releases/download/v${PV}/stellarium_user_guide-${PV}-1.pdf.asc ) - ) - stars? ( - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_4_1v0_6.cat - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_5_1v0_6.cat - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_6_1v0_4.cat - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_7_1v0_4.cat - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_8_2v0_3.cat - verify-sig? ( - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_4_1v0_6.cat.asc - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_5_1v0_6.cat.asc - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_6_1v0_4.cat.asc - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_7_1v0_4.cat.asc - https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_8_2v0_3.cat.asc - ) - )" - -LICENSE="GPL-2+ SGI-B-2.0" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" -IUSE="debug deep-sky doc gps +lens-distortion libcxx media nls +scripting +show-my-sky stars telescope test webengine +xlsx" - -# Python interpreter is used while building RemoteControl plugin -BDEPEND=" - ${PYTHON_DEPS} - dev-lang/perl - doc? ( app-text/doxygen[dot] ) - nls? ( dev-qt/qttools:6[linguist] ) - verify-sig? ( sec-keys/openpgp-keys-stellarium ) -" -# TODO: review need for dev-cpp/tbb after several releases of gcc and clang -RDEPEND=" - dev-cpp/tbb:= - dev-libs/md4c - dev-qt/qtbase:6=[concurrent,gui,network,widgets] - dev-qt/qtcharts:6 - dev-qt/qtpositioning:6 - media-fonts/dejavu - >=sci-astronomy/calcmysky-0.3.5:= - virtual/zlib:= - gps? ( - dev-qt/qtserialport:6 - sci-geosciences/gpsd:=[cxx] - ) - lens-distortion? ( - media-gfx/exiv2:= - sci-libs/nlopt - ) - media? ( - dev-qt/qtmultimedia:6[gstreamer] - virtual/opengl - ) - scripting? ( dev-qt/qtdeclarative:6 ) - telescope? ( - dev-qt/qtserialport:6 - sci-libs/indilib:= - ) - webengine? ( dev-qt/qtwebengine:6[widgets] ) - xlsx? ( >=dev-libs/qxlsx-1.5.0:= ) -" -DEPEND="${RDEPEND} - libcxx? ( dev-cpp/fast_float ) -" - -RESTRICT="!test? ( test )" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/stellarium.asc - -pkg_setup() { - if tc-is-clang && ! use libcxx && [[ $(tc-get-cxx-stdlib) == libc++ ]]; then - die "When using libc++, please enable USE=libcxx" - fi -} - -src_prepare() { - cmake_src_prepare - use debug || append-cppflags -DQT_NO_DEBUG #415769 - - rm -r src/external/qtcompress/ || die - rm -r src/external/zlib/ || die - rm -r src/external/fake-indi/ || die - - # for glues_stel aka libtess I couldn't find an upstream with the same API - - local remaining="$(cd src/external/ && echo */)" - if [[ "${remaining}" != "glues_stel/" ]]; then - eqawarn "Need to unbundle more deps: ${remaining}" - fi -} - -src_configure() { - filter-lto # https://bugs.gentoo.org/862249 - - local mycmakeargs=( - -DCCACHE_PROGRAM=no - -DCPM_LOCAL_PACKAGES_ONLY=yes - -DUSE_BUNDLED_QTCOMPRESS=no - -DENABLE_GPS="$(usex gps)" - -DENABLE_MEDIA="$(usex media)" - -DENABLE_NLS="$(usex nls)" - -DENABLE_QT6=yes - -DENABLE_QTWEBENGINE="$(usex webengine)" - -DENABLE_SHOWMYSKY=$(usex show-my-sky) - -DENABLE_SCRIPTING=$(usex scripting) - -DENABLE_TESTING="$(usex test)" - -DENABLE_XLSX="$(usex xlsx)" - -DUSE_PLUGIN_LENSDISTORTIONESTIMATOR="$(usex lens-distortion)" - -DUSE_PLUGIN_TELESCOPECONTROL="$(usex telescope)" - "$(cmake_use_find_package doc Doxygen)" - ) - 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/hip_gaia3 - doins "${DISTDIR}"/stars_{4,5}_1v0_6.cat - doins "${DISTDIR}"/stars_{6,7}_1v0_4.cat - doins "${DISTDIR}"/stars_8_2v0_3.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 -}
