diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2023-01-29 23:31:17 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-02-23 09:02:00 +0200 |
commit | e3048a5a5a887614f309c7cccd9bac7040d2fd97 (patch) | |
tree | 7311c910d22e5e9950999744895cf36a0facf15a /sci-astronomy/stellarium/files | |
parent | sys-process/fcron: add myself as a maintainer (diff) | |
download | gentoo-e3048a5a5a887614f309c7cccd9bac7040d2fd97.tar.gz gentoo-e3048a5a5a887614f309c7cccd9bac7040d2fd97.tar.bz2 gentoo-e3048a5a5a887614f309c7cccd9bac7040d2fd97.zip |
sci-astronomy/stellarium: drop 0.22.2, 1.1
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-astronomy/stellarium/files')
3 files changed, 0 insertions, 301 deletions
diff --git a/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-indi.patch b/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-indi.patch deleted file mode 100644 index 33d355f842f4..000000000000 --- a/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-indi.patch +++ /dev/null @@ -1,82 +0,0 @@ -diff --git a/plugins/TelescopeControl/src/INDI/CMakeLists.txt b/plugins/TelescopeControl/src/INDI/CMakeLists.txt -index a250e1bb0f..f14007c392 100644 ---- a/plugins/TelescopeControl/src/INDI/CMakeLists.txt -+++ b/plugins/TelescopeControl/src/INDI/CMakeLists.txt -@@ -25,7 +25,7 @@ add_library(TelescopeControl_INDI STATIC - target_link_libraries(TelescopeControl_INDI - Qt5::Core - Qt5::Network -- indiclient -+ -lindiclient - TelescopeControl_common - ${CMAKE_THREAD_LIBS_INIT} - ) -diff --git a/plugins/TelescopeControl/src/INDI/INDIConnection.cpp b/plugins/TelescopeControl/src/INDI/INDIConnection.cpp -index f401dc7049..d890d3aa14 100644 ---- a/plugins/TelescopeControl/src/INDI/INDIConnection.cpp -+++ b/plugins/TelescopeControl/src/INDI/INDIConnection.cpp -@@ -25,9 +25,9 @@ - #include <limits> - #include <cmath> - --#include "indibase/baseclient.h" --#include "indibase/basedevice.h" --#include "indibase/inditelescope.h" -+#include "libindi/baseclient.h" -+#include "libindi/basedevice.h" -+#include "libindi/inditelescope.h" - - const int INDIConnection::SLEW_STOP = INDI::Telescope::SLEW_GUIDE - 1; - -diff --git a/plugins/TelescopeControl/src/INDI/INDIConnection.hpp b/plugins/TelescopeControl/src/INDI/INDIConnection.hpp -index 111ad2cdba..80ead01137 100644 ---- a/plugins/TelescopeControl/src/INDI/INDIConnection.hpp -+++ b/plugins/TelescopeControl/src/INDI/INDIConnection.hpp -@@ -20,7 +20,7 @@ - #define INDICONNECTION_HPP - - #include <QObject> --#include "indibase/baseclient.h" -+#include "libindi/baseclient.h" - - #include <mutex> - #include <QStringList> -diff --git a/plugins/TelescopeControl/src/INDI/TelescopeClientINDI.cpp b/plugins/TelescopeControl/src/INDI/TelescopeClientINDI.cpp -index 6bd7754ff5..633d4ae7b2 100644 ---- a/plugins/TelescopeControl/src/INDI/TelescopeClientINDI.cpp -+++ b/plugins/TelescopeControl/src/INDI/TelescopeClientINDI.cpp -@@ -24,7 +24,7 @@ - - #include "StelCore.hpp" - #include "StelUtils.hpp" --#include "indibase/inditelescope.h" -+#include "libindi/inditelescope.h" - #include "INDIControlWidget.hpp" - - TelescopeClientINDI::TelescopeClientINDI(const QString &name, const QString ¶ms): -diff --git a/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp b/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp -index 6c1a281ec5..ca7b7e0c40 100644 ---- a/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp -+++ b/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp -@@ -22,7 +22,7 @@ - #include <cmath> - - #include "INDIConnection.hpp" --#include "indibase/basedevice.h" -+#include "libindi/basedevice.h" - - void TestINDIConnection::deafultCoordinates() - { -diff --git a/src/external/CMakeLists.txt b/src/external/CMakeLists.txt -index 6fcf7678da..a59d8c121c 100644 ---- a/src/external/CMakeLists.txt -+++ b/src/external/CMakeLists.txt -@@ -176,7 +176,7 @@ target_link_libraries(qxlsx_stel Qt5::Core Qt5::Gui qtcompress_stel) - set_target_properties(qxlsx_stel PROPERTIES FOLDER "src/external")
-
- ################################# INDI ################################
--IF(USE_PLUGIN_TELESCOPECONTROL)
-+IF(USE_PLUGIN_TELESCOPECONTROL AND 0)
- set(INDI_SOVERSION "1")
- set(CMAKE_INDI_VERSION_MAJOR 1)
- set(CMAKE_INDI_VERSION_MINOR 6)
diff --git a/sci-astronomy/stellarium/files/stellarium-0.22.2-unbundle-qtcompress.patch b/sci-astronomy/stellarium/files/stellarium-0.22.2-unbundle-qtcompress.patch deleted file mode 100644 index 47643b797992..000000000000 --- a/sci-astronomy/stellarium/files/stellarium-0.22.2-unbundle-qtcompress.patch +++ /dev/null @@ -1,208 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -614,6 +614,8 @@ ELSE(ENABLE_GPS) - MESSAGE(STATUS "GPS: disabled.") - ENDIF(ENABLE_GPS) - -+find_package(Qt5Compress REQUIRED) -+ - IF(USE_QTOPENGL) - # QtOpenGL module is deprecated. After merging the QOpenGLWidget branch, we don't use this module directly anymore, - # but the QtMultimediaWidgets module requires it internally, so we still have to package it. ---- a/plugins/Satellites/src/CMakeLists.txt -+++ b/plugins/Satellites/src/CMakeLists.txt -@@ -55,7 +55,7 @@ IF(ENABLE_TESTING) - ENDIF(ENABLE_TESTING) - - ADD_LIBRARY(Satellites-static STATIC ${Satellites_SRCS} ${Satellites_RES_CXX} ${SatellitesDialog_UIS_H}) --TARGET_LINK_LIBRARIES(Satellites-static Qt5::Core Qt5::Network Qt5::Widgets) -+TARGET_LINK_LIBRARIES(Satellites-static Qt5::Core Qt5::Network Qt5::Widgets Qt5::Compress) - # The library target "Satellites-static" has a default OUTPUT_NAME of "Satellites-static", so change it. - SET_TARGET_PROPERTIES(Satellites-static PROPERTIES OUTPUT_NAME "Satellites") - IF(MSVC) ---- a/plugins/Satellites/src/Satellites.cpp -+++ b/plugins/Satellites/src/Satellites.cpp -@@ -43,7 +43,7 @@ - #include "StelUtils.hpp" - #include "StelActionMgr.hpp" - --#include "external/qtcompress/qzipreader.h" -+#include "qzipreader.h" - - #include <QNetworkAccessManager> - #include <QNetworkReply> -@@ -1639,12 +1639,12 @@ void Satellites::saveDownloadedUpdate(QNetworkReply* reply) - QString archive = zip.fileName(); - QByteArray data; - -- Stel::QZipReader reader(archive); -- if (reader.status() != Stel::QZipReader::NoError) -+ QZipReader reader(archive); -+ if (reader.status() != QZipReader::NoError) - qWarning() << "[Satellites] Unable to open as a ZIP archive"; - else - { -- QList<Stel::QZipReader::FileInfo> infoList = reader.fileInfoList(); -+ QList<QZipReader::FileInfo> infoList = reader.fileInfoList(); - for (const auto& info : qAsConst(infoList)) - { - // qWarning() << "[Satellites] Processing:" << info.filePath; ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -479,7 +479,7 @@ IF(ENABLE_SPOUT AND SPOUT_LIBRARY_DLL) - CONFIGURE_FILE(${SPOUT_LIBRARY_DLL} ${CMAKE_CURRENT_BINARY_DIR} COPYONLY) - ENDIF() - --SET(STELMAIN_DEPS ${ZLIB_LIBRARIES} qtcompress_stel glues_stel qxlsx_stel ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} ${STELLARIUM_QT_LIBRARIES} ${SPOUT_LIBRARY}) -+SET(STELMAIN_DEPS ${ZLIB_LIBRARIES} Qt5::Compress glues_stel qxlsx_stel ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} ${STELLARIUM_QT_LIBRARIES} ${SPOUT_LIBRARY}) - IF(ENABLE_LIBGPS) - SET(STELMAIN_DEPS ${STELMAIN_DEPS} ${GPS_LIBRARY}) - ENDIF() ---- a/src/core/modules/LandscapeMgr.cpp -+++ b/src/core/modules/LandscapeMgr.cpp -@@ -1331,8 +1331,8 @@ QString LandscapeMgr::installLandscapeFromArchive(QString sourceFilePath, const - } - QDir destinationDir (parentDestinationDir.absoluteFilePath("landscapes")); - -- Stel::QZipReader reader(sourceFilePath); -- if (reader.status() != Stel::QZipReader::NoError) -+ QZipReader reader(sourceFilePath); -+ if (reader.status() != QZipReader::NoError) - { - qWarning() << "LandscapeMgr: Unable to open as a ZIP archive:" << QDir::toNativeSeparators(sourceFilePath); - emit errorNotArchive(); -@@ -1341,7 +1341,7 @@ QString LandscapeMgr::installLandscapeFromArchive(QString sourceFilePath, const - - //Detect top directory - QString topDir, iniPath; -- const QList<Stel::QZipReader::FileInfo> infoList = reader.fileInfoList(); -+ const QList<QZipReader::FileInfo> infoList = reader.fileInfoList(); - for (const auto& info : infoList) - { - QFileInfo fileInfo(info.filePath); ---- a/src/external/CMakeLists.txt -+++ b/src/external/CMakeLists.txt -@@ -70,6 +70,7 @@ target_include_directories(zlib_stel PUBLIC zlib) - set_target_properties(zlib_stel PROPERTIES AUTOMOC 0)
- SET_TARGET_PROPERTIES(zlib_stel PROPERTIES FOLDER "src/external")
-
-+if(0)
- set(qtcompress_SRCS
- qtcompress/qzip.cpp
- qtcompress/qzipreader.h
-@@ -82,6 +83,7 @@ target_link_libraries(qtcompress_stel ${ZLIB_LIBRARIES} Qt5::Core) - #turn off automoc, not needed here
- set_target_properties(qtcompress_stel PROPERTIES AUTOMOC 0)
- SET_TARGET_PROPERTIES(qtcompress_stel PROPERTIES FOLDER "src/external")
-+endif()
-
- # QCustomPlot should not be unbundled, because upstream uses GPL 3, and
- # Stellarium uses GPL 2. Author of QCustomPlot has agreed for GPL 2+ for this.
-@@ -180,7 +182,7 @@ SET(qxlsx_SRCS - qxlsx/xlsxcelllocation.h
- )
- add_library(qxlsx_stel STATIC EXCLUDE_FROM_ALL ${qxlsx_SRCS})
--target_link_libraries(qxlsx_stel Qt5::Core Qt5::Gui qtcompress_stel)
-+target_link_libraries(qxlsx_stel Qt5::Core Qt5::Gui Qt5::Compress)
- set_target_properties(qxlsx_stel PROPERTIES FOLDER "src/external")
-
- ################################# INDI ################################
---- a/src/external/qxlsx/xlsxzipreader.cpp -+++ b/src/external/qxlsx/xlsxzipreader.cpp -@@ -5,13 +5,13 @@ - QT_BEGIN_NAMESPACE_XLSX - - ZipReader::ZipReader(const QString &filePath) : -- m_reader(new Stel::QZipReader(filePath)) -+ m_reader(new QZipReader(filePath)) - { - init(); - } - - ZipReader::ZipReader(QIODevice *device) : -- m_reader(new Stel::QZipReader(device)) -+ m_reader(new QZipReader(device)) - { - init(); - } -@@ -23,8 +23,8 @@ ZipReader::~ZipReader() - - void ZipReader::init() - { -- QList<Stel::QZipReader::FileInfo> allFiles = m_reader->fileInfoList(); -- for (const Stel::QZipReader::FileInfo &fi : allFiles) { -+ QList<QZipReader::FileInfo> allFiles = m_reader->fileInfoList(); -+ for (const QZipReader::FileInfo &fi : allFiles) { - if (fi.isFile || (!fi.isDir && !fi.isFile && !fi.isSymLink)) - m_filePaths.append(fi.filePath); - } ---- a/src/external/qxlsx/xlsxzipreader_p.h -+++ b/src/external/qxlsx/xlsxzipreader_p.h -@@ -8,7 +8,7 @@ - #include <QIODevice> - - #include "xlsxglobal.h" --#include "external/qtcompress/qzipreader.h" -+#include "qzipreader.h" - - #if QT_VERSION >= 0x050600 - #include <QVector> -@@ -31,7 +31,7 @@ public: - private: - Q_DISABLE_COPY(ZipReader) - void init(); -- QScopedPointer<Stel::QZipReader> m_reader; -+ QScopedPointer<QZipReader> m_reader; - QStringList m_filePaths; - }; - ---- a/src/external/qxlsx/xlsxzipwriter.cpp -+++ b/src/external/qxlsx/xlsxzipwriter.cpp -@@ -10,14 +10,14 @@ QT_BEGIN_NAMESPACE_XLSX - - ZipWriter::ZipWriter(const QString &filePath) - { -- m_writer = new Stel::QZipWriter(filePath, QIODevice::WriteOnly); -- m_writer->setCompressionPolicy(Stel::QZipWriter::AutoCompress); -+ m_writer = new QZipWriter(filePath, QIODevice::WriteOnly); -+ m_writer->setCompressionPolicy(QZipWriter::AutoCompress); - } - - ZipWriter::ZipWriter(QIODevice *device) - { -- m_writer = new Stel::QZipWriter(device); -- m_writer->setCompressionPolicy(Stel::QZipWriter::AutoCompress); -+ m_writer = new QZipWriter(device); -+ m_writer->setCompressionPolicy(QZipWriter::AutoCompress); - } - - ZipWriter::~ZipWriter() -@@ -27,7 +27,7 @@ ZipWriter::~ZipWriter() - - bool ZipWriter::error() const - { -- return m_writer->status() != Stel::QZipWriter::NoError; -+ return m_writer->status() != QZipWriter::NoError; - } - - void ZipWriter::addFile(const QString &filePath, QIODevice *device) ---- a/src/external/qxlsx/xlsxzipwriter_p.h -+++ b/src/external/qxlsx/xlsxzipwriter_p.h -@@ -8,7 +8,7 @@ - #include <QIODevice> - - #include "xlsxglobal.h" --#include "external/qtcompress/qzipwriter.h" -+#include "qzipwriter.h" - - class QZipWriter; - -@@ -27,7 +27,7 @@ public: - void close(); - - private: -- Stel::QZipWriter *m_writer; -+ QZipWriter *m_writer; - }; - - QT_END_NAMESPACE_XLSX diff --git a/sci-astronomy/stellarium/files/stellarium-1.1-qxlsx.patch b/sci-astronomy/stellarium/files/stellarium-1.1-qxlsx.patch deleted file mode 100644 index f3e4c9c38ab7..000000000000 --- a/sci-astronomy/stellarium/files/stellarium-1.1-qxlsx.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -815,7 +815,7 @@ IF(ENABLE_XLSX) - # TODO: switch to something like vcpkg or conan, and plain find_package, - # without the fallback of cmake downloading the dep itself. - # But some libraries are not available there yet. -- CPMFindPackage(NAME QXlsx -+ CPMFindPackage(NAME QXlsxQt${QT_VERSION_MAJOR} - URL https://github.com/QtExcel/QXlsx/archive/refs/tags/v1.4.4.zip - URL_HASH SHA256=3efbd6f63a1ffd521c535dce7b5a5a7e9ebd23db51e6ae8e3e2eb89796e57675 - DOWNLOAD_ONLY yes |