sci-astronomy/kstars: drop 3.7.9

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-04-14 22:01:23 +02:00
parent adc9232ee5
commit 3371b8a586
4 changed files with 0 additions and 158 deletions

View File

@@ -1,3 +1,2 @@
DIST kstars-3.7.9.tar.xz 51113076 BLAKE2B 1cbdec01a9c4b7d0ab06afa4c7310d99154a5c86270b63e4a06cb499a749cf83a9d1b0e87d07247935eec52f0fcd0173400857bd5917b245e004300c4d3a49f4 SHA512 4e28a5f150880dc193c2512afef2bc73220f693e8eceb19047cae7475d8e9640e09e1578ec4076d025ef56597387efd6a6b2ea7dc31f883c2a0ff063391a75c0
DIST kstars-3.8.1.tar.xz 51894280 BLAKE2B 2b26b5c1ca9027e244dc6d4363c2d1bfc0b6a44c8203b6e60a9c0dc4c013f90bbba3e9a4a8907cf4329adf593463989b2f27c1a60b72eb36d8a9ab37567e0d06 SHA512 c8d564c6ddcb36cd478759045545bc9ac8d31c23277f2d99f779028d086a2def28eb684f35db642624ccb6db5c183fa701f3d085fb773f0c0be98cf29a8d7cdc
DIST kstars-3.8.2.tar.xz 52049284 BLAKE2B a0d5bf5f48ba4664bc933162322dfcc55149c33da621ac31cd87e5160fd7bbd3b2b68c48526d82d018240fe6b881f891f1299399a3d54df335f43a79e71dac90 SHA512 81f468d779055f7a38b4d6e204f0e51663a845197d7ab31a2e7343c8885494398628da2627794082e107d4472a4370a9447956beaddbbbb7055fc67cb9bd56a3

View File

@@ -1,53 +0,0 @@
From 7e5a75da29016e533d59971ba84931b33e072a81 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Tue, 3 Dec 2024 19:46:01 +0100
Subject: [PATCH] Thanks, but no thanks
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a3b591512..31071aeef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -364,7 +364,7 @@ if (ANDROID)
endif ()
# Add security (hardening flags)
-IF (UNIX OR APPLE OR ANDROID)
+IF (0)
SET(SEC_COMP_FLAGS "${SEC_COMP_FLAGS} -fstack-protector-all -Wcast-align -fPIE")
# This is ill-defined, but I searched for a solution for quite a long time to no avail
# - FORTIFY_SOURCE generates a warning when there is no code optimization, and warnings will become errors at some point
@@ -396,7 +396,7 @@ IF (UNIX OR APPLE OR ANDROID)
ENDIF ()
# Clang Format support
-IF (UNIX OR APPLE)
+IF (0)
SET(FORMAT_CODE OFF CACHE BOOL "Enable Clang Format")
IF (FORMAT_CODE MATCHES ON)
FILE(GLOB_RECURSE ALL_SOURCE_FILES *.c *.cpp *.h)
@@ -417,7 +417,7 @@ ENDIF ()
SET(FIX_WARNINGS OFF CACHE BOOL "Enable strict compilation mode to turn compiler warnings to errors")
# Warning, debug and linker flags
-IF (UNIX OR APPLE)
+IF (0)
SET(COMP_FLAGS "")
SET(LINKER_FLAGS "")
# Verbose warnings and turns all to errors
@@ -481,7 +481,7 @@ ENDIF ()
# Sanitizer support
SET(SANITIZERS OFF CACHE BOOL "Sanitizer support for gcc and Clang")
-IF (SANITIZERS AND
+IF (0 AND
((UNIX AND (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR CMAKE_COMPILER_IS_GNUCXX) OR
(APPLE AND (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_COMPILER_IS_GNUCXX))))
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address,undefined -fno-omit-frame-pointer")
--
2.51.0

View File

@@ -1,103 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_TEST="true"
KFMIN=6.9.0
QTMIN=6.8.1
inherit ecm kde.org optfeature xdg
DESCRIPTION="Desktop Planetarium"
HOMEPAGE="https://apps.kde.org/kstars/ https://kstars.kde.org/"
if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-2+ GPL-3+"
SLOT="0"
IUSE="opencv +password raw"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# https://wiki.gentoo.org/wiki/Project:Qt/Qt6_migration_notes#Still_unpackaged
# >=dev-qt/qtdatavis3d-${QTMIN}:6
COMMON_DEPEND="
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,sql,widgets]
>=dev-qt/qtdeclarative-${QTMIN}:6
>=dev-qt/qtsvg-${QTMIN}:6
>=dev-qt/qtwebsockets-${QTMIN}:6
>=kde-frameworks/kconfig-${KFMIN}:6
>=kde-frameworks/kconfigwidgets-${KFMIN}:6
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/kcrash-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kio-${KFMIN}:6
>=kde-frameworks/knewstuff-${KFMIN}:6
>=kde-frameworks/knotifications-${KFMIN}:6
>=kde-frameworks/knotifyconfig-${KFMIN}:6
>=kde-frameworks/kplotting-${KFMIN}:6
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
>=kde-frameworks/kxmlgui-${KFMIN}:6
sci-astronomy/wcslib:=
sci-libs/cfitsio:=
sci-libs/gsl:=
>=sci-libs/indilib-2.0.2
sci-libs/libnova:=
>=sci-libs/stellarsolver-2.7
virtual/zlib:=
opencv? ( media-libs/opencv:=[ffmpeg] )
password? ( >=dev-libs/qtkeychain-0.14.2:=[qt6(+)] )
raw? ( media-libs/libraw:= )
"
# TODO: what about virtual/opengl?
DEPEND="${COMMON_DEPEND}
dev-cpp/eigen:3
>=dev-qt/qtbase-${QTMIN}:6[concurrent]
test? ( sci-astronomy/erfa )
"
RDEPEND="${COMMON_DEPEND}
!${CATEGORY}/${PN}:5
>=dev-qt/qt5compat-${QTMIN}:6[qml]
>=dev-qt/qtpositioning-${QTMIN}:6
"
CMAKE_SKIP_TESTS=(
# bug 842768, test declared unstable by upstream
TestKSPaths
# bugs 923871, 939788
TestPlaceholderPath # ki18n (KLocalizedString) failure
# all fail with offscreen plugin
TestEkos{Capture,FilterWheel,Focus,Mount,Scheduler{,Ops},Simulator}
)
PATCHES=(
"${FILESDIR}"/${PN}-3.7.4-cmake.patch # bug 895892, downstream patch
)
src_configure() {
local mycmakeargs=(
-DBUILD_PYKSTARS=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_LibXISF=ON # not packaged
-DBUILD_WITH_QT6=ON # KF6 please
-DENABLE_SENTRY=OFF
$(cmake_use_find_package opencv OpenCV)
$(cmake_use_find_package password Qt6Keychain)
$(cmake_use_find_package raw LibRaw)
)
ecm_src_configure
}
src_test() {
LC_NUMERIC="C" LC_TIME="C" TZ=UTC ecm_src_test
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
optfeature "Display 'current' pictures of planets" x11-misc/xplanet
fi
xdg_pkg_postinst
}

View File

@@ -10,7 +10,6 @@
<remote-id type="kde-invent">education/kstars</remote-id>
</upstream>
<use>
<flag name="opencv">Enable contrast type focus measures via <pkg>media-libs/opencv</pkg></flag>
<flag name="password">Store passwords securely via <pkg>dev-libs/qtkeychain</pkg></flag>
</use>
</pkgmetadata>