summaryrefslogtreecommitdiff
path: root/sci-astronomy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /sci-astronomy
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/Manifest.gzbin7029 -> 7034 bytes
-rw-r--r--sci-astronomy/kstars/Manifest7
-rw-r--r--sci-astronomy/kstars/files/kstars-2.9.5-libraw-0.19.patch73
-rw-r--r--sci-astronomy/kstars/kstars-2.9.5.ebuild7
-rw-r--r--sci-astronomy/kstars/kstars-3.0.0.ebuild85
-rw-r--r--sci-astronomy/kstars/metadata.xml1
6 files changed, 169 insertions, 4 deletions
diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz
index 86f306916fc1..6827cb469018 100644
--- a/sci-astronomy/Manifest.gz
+++ b/sci-astronomy/Manifest.gz
Binary files differ
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest
index 6c16027d776f..7b0071ec435c 100644
--- a/sci-astronomy/kstars/Manifest
+++ b/sci-astronomy/kstars/Manifest
@@ -1,4 +1,7 @@
+AUX kstars-2.9.5-libraw-0.19.patch 2568 BLAKE2B 95e725554f6e8f13b115891c968772f42caf97d7bdce1edc6ef34de67ffd777ae6464dd001b955169f892da704bd6f48ebe94cd4c50332301c38aa7f44ab2180 SHA512 1bfe27d312506802ad2191871b744ca8780bf3626c563f41eef5ad576e7d1cd056b2ec49c8c23ef8da43a198e61e46d379b9e637fffdefc7c796f95317363022
AUX kstars-2.9.5-qt-5.11.patch 776 BLAKE2B ab6d180fb89b526e4a50df17f24dad512bc25705611636076d287109d8ab6c4109030819458e0760339a59f3185451966c70e3970324cd152d486a18f3a5d6bb SHA512 6287dfdb0720e53d38ca6b24bd5c1c5cfd01af5db36de2b7d45551ac0c57d50d892a31830d8a3328fa1f36ebefc87635380593af97f6d5db0f17705dcb7742d3
DIST kstars-2.9.5.tar.xz 64033600 BLAKE2B 1d858d40d1ebccb1ae3217d8f3a464089171a6a9777cf759902017b373ceac3c7e56febf6ec3b2bed5db6cef779252e2d653e3c513545bf55261465465df2274 SHA512 850e3ad31f0c60547c406dc24bf3064f86867557f97acd63fb951d49fb09d7d20462a85016f8c645f316de0310cf7969e08c19e00fc0bedb5c1b006dfda0622b
-EBUILD kstars-2.9.5.ebuild 1955 BLAKE2B 78d56d1972e6cf950de1d6d2b0c60e5026c5ef0bc6680213585ed35d27d62ded3528ec0b4ba55bae0ab4c8299b3b4f04930867c14993fe5fa3132d918fae8ba3 SHA512 29b271c2207842c287f3fa45283f9d7dfbe023897b75ae5c43b63d293c7cdaa31c5017be8e54ab07e314e75e2536c08b86653e4527c755a2f79f6e318f2eff2d
-MISC metadata.xml 589 BLAKE2B 2615369c55a548e9263b3544a571c343ea5f1a60dc79b32c1124e06b1feef782f4631f31ecf4c52f37b8370ee8766198364008d3c77a310f5c1c2b34589f5d85 SHA512 e18188aaab2d0b650d7494849df568234e3e385917c70770652895e2907e4bed49ebb76d8874867eb54d008ac958b43eb0bf6486de49694ab299ac37ed8ab9d2
+DIST kstars-3.0.0.tar.xz 63604404 BLAKE2B 23754eb1d29b9e7793fac71869045a4e172f8c9aa32dc55d529ef40bf03251d035a2edc68508d887c204389364c2dceba2c9984985bf2ddcc357fc835924f215 SHA512 e574c2529898d66bc79e1cf88ce778dddeedfdfed4ea23921219226121b60be042a94e6865e9076efff038a0a529587901f9a4ab2cd5b658440a8bf39c0c4d08
+EBUILD kstars-2.9.5.ebuild 1991 BLAKE2B 64a352285ceb91cdb78814ef8e3f6778f5a5f9f17bbeb17621fff6e535b437266face23e4a6dfd77d03f8016a5800369574803ba6872f24dcf8d8d4e78febfb4 SHA512 871fe72fc42571a39681bf73e34f3d9f723adca8f1030d05adc2873e97fb866d2379c19c5d881ef49222135f2fb1dcc3171b360fd1b513a6a4b66fb6a6600830
+EBUILD kstars-3.0.0.ebuild 2201 BLAKE2B ae24e44edb71dc2e136f2a412850202c515a958925a72b6044514ded8027519a493bd54ee325cf4094d881aba3ea55663166d2a331e5905002c8d8b5344911e8 SHA512 505942ed6e9c9aeca82bc67f553f2fa3b22b3e95876cd6630b49501380778743d26b7bdee372e53c3f1d2923508ccca332d8c5e8727112d2d0690d09193299e6
+MISC metadata.xml 680 BLAKE2B 939326c39a45f1414df4a7069788e2bb5679b9a85d6db00aed248a9883cf70c1863379db1fc2f60c2954b80ec68b7771c21e3e9542a1b7ae8cf91ac839c4520d SHA512 7f7fa0ca9f30515093f7e65abc6b3e759921245d047393da96efccecdd61dfacf4bab59a19c63c3d86f9af7222d9f53ebe0823b459181575f735215f70b422aa
diff --git a/sci-astronomy/kstars/files/kstars-2.9.5-libraw-0.19.patch b/sci-astronomy/kstars/files/kstars-2.9.5-libraw-0.19.patch
new file mode 100644
index 000000000000..7db3faada9bd
--- /dev/null
+++ b/sci-astronomy/kstars/files/kstars-2.9.5-libraw-0.19.patch
@@ -0,0 +1,73 @@
+From 25630e41c71990d619f9f96693624056a8d89039 Mon Sep 17 00:00:00 2001
+From: Pino Toscano <pino@kde.org>
+Date: Tue, 31 Jul 2018 20:48:17 +0200
+Subject: cmake: fix enabling of exceptions
+
+Use the ECM module KDECompilerSettings unconditionally on every
+platform, as it provides the kde_enable_exceptions cmake macro needed.
+This might break build on android, but then the exclusion of
+KDECompilerSettings on android is a 2 years old hack, most probably
+working around a different issue which will need its own investigation,
+and fix.
+
+Use kde_enable_exceptions() unconditionally, which will do the right job
+for all the different compilers. This also removes the -Dfexceptions
+defines (which effectively does nothing), and the manual -fexceptions in
+htmesh.
+
+Incidentally, this fixes the build with libraw 0.19.0, which requires
+the usage of exceptions in case LIBRAW_NO_MEMPOOL_CHECK is not defined.
+
+* 2018-12-23: asturm@gentoo.org: backported to 2.9.5.
+
+---
+ CMakeLists.txt | 9 ++++-----
+ kstars/htmesh/CMakeLists.txt | 4 ----
+ 2 files changed, 4 insertions(+), 9 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 69f2409..73224cc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -87,10 +87,7 @@ include(ECMAddAppIcon)
+ include(KDEInstallDirs)
+ include(MacroBoolTo01)
+ include(ECMQtDeclareLoggingCategory)
+-if(NOT CMAKE_TOOLCHAIN_FILE STREQUAL ${CMAKE_SOURCE_DIR}/android/toolchain-android.cmake)
+- #We get error "could not find main method" with this module
+- include(KDECompilerSettings NO_POLICY_SCOPE)
+-endif()
++include(KDECompilerSettings NO_POLICY_SCOPE)
+ include(KDECMakeSettings)
+ include(FeatureSummary)
+
+@@ -252,8 +249,10 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
+ endif()
+ add_definitions(-DQT_NO_CAST_TO_ASCII)
+
++# Needed for htmesh, and libraw
++kde_enable_exceptions()
++
+ if (UNIX)
+- add_definitions(-Dfexceptions)
+
+ # TEMPORARY: To disable QCustomPlot warning until 2.0.0 is released which fixes these warnings
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-non-virtual-dtor")
+diff --git a/kstars/htmesh/CMakeLists.txt b/kstars/htmesh/CMakeLists.txt
+index e76d84e..0dbdc8f 100644
+--- a/kstars/htmesh/CMakeLists.txt
++++ b/kstars/htmesh/CMakeLists.txt
+@@ -32,10 +32,6 @@ IF (ANDROID)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
+ ENDIF ()
+
+-#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+-#TODO is there KF5_ENABLE_EXCEPTIONS?
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
+-
+ add_library(htmesh STATIC ${HTMesh_LIB_SRC})
+
+ add_definitions(-D_EXPORTING)
+--
+cgit v1.1
+
diff --git a/sci-astronomy/kstars/kstars-2.9.5.ebuild b/sci-astronomy/kstars/kstars-2.9.5.ebuild
index a982e58b0958..5bc717c962f0 100644
--- a/sci-astronomy/kstars/kstars-2.9.5.ebuild
+++ b/sci-astronomy/kstars/kstars-2.9.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -61,7 +61,10 @@ RDEPEND="${COMMON_DEPEND}
${PYTHON_DEPS}
"
-PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-qt-5.11.patch"
+ "${FILESDIR}/${P}-libraw-0.19.patch"
+)
src_configure() {
local mycmakeargs=(
diff --git a/sci-astronomy/kstars/kstars-3.0.0.ebuild b/sci-astronomy/kstars/kstars-3.0.0.ebuild
new file mode 100644
index 000000000000..eb48d6121865
--- /dev/null
+++ b/sci-astronomy/kstars/kstars-3.0.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python2_7 )
+inherit kde5 python-single-r1
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Desktop Planetarium"
+HOMEPAGE="https://www.kde.org/applications/education/kstars https://edu.kde.org/kstars/"
+IUSE="fits indi +password raw wcs"
+
+REQUIRED_USE="indi? ( fits ) ${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kauth)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep knotifyconfig)
+ $(add_frameworks_dep kplotting)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtdatavis3d)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtsql)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwebsockets)
+ $(add_qt_dep qtwidgets)
+ sys-libs/zlib
+ fits? ( sci-libs/cfitsio )
+ indi? ( >=sci-libs/indilib-1.7.5 )
+ password? ( dev-libs/qtkeychain:= )
+ raw? ( media-libs/libraw:= )
+ wcs? ( sci-astronomy/wcslib )
+"
+# TODO: Add back when re-enabled by upstream
+# opengl? (
+# $(add_qt_dep qtopengl)
+# virtual/opengl
+# )
+DEPEND="${COMMON_DEPEND}
+ $(add_qt_dep qtconcurrent)
+ dev-cpp/eigen:3
+"
+RDEPEND="${COMMON_DEPEND}
+ ${PYTHON_DEPS}
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DFETCH_TRANSLATIONS=OFF
+ $(cmake-utils_use_find_package fits CFitsio)
+ $(cmake-utils_use_find_package indi INDI)
+ $(cmake-utils_use_find_package password Qt5Keychain)
+ $(cmake-utils_use_find_package raw LibRaw)
+ $(cmake-utils_use_find_package wcs WCSLIB)
+ )
+
+ kde5_src_configure
+}
+
+pkg_postinst () {
+ kde5_pkg_postinst
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "x11-misc/xplanet" ; then
+ elog "${PN} has optional runtime support for x11-misc/xplanet"
+ fi
+ # same for AstrometryNet, which is not packaged.
+}
diff --git a/sci-astronomy/kstars/metadata.xml b/sci-astronomy/kstars/metadata.xml
index 2102d7af3db9..0b308e6b13c3 100644
--- a/sci-astronomy/kstars/metadata.xml
+++ b/sci-astronomy/kstars/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="fits">Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library</flag>
<flag name="indi">Enable support for Astronomical control library using libindi</flag>
+ <flag name="password">Store passwords securely via <pkg>dev-libs/qtkeychain</pkg></flag>
<flag name="wcs">Enable support for World Coordinate System library using wcslib</flag>
<flag name="xplanet">Enable support for Xplanet</flag>
</use>