summaryrefslogtreecommitdiff
path: root/sci-visualization
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /sci-visualization
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/Manifest.gzbin5703 -> 5703 bytes
-rw-r--r--sci-visualization/labplot/Manifest4
-rw-r--r--sci-visualization/labplot/labplot-2.9.0-r1.ebuild95
-rw-r--r--sci-visualization/labplot/labplot-9999.ebuild1
-rw-r--r--sci-visualization/scidavis/Manifest8
-rw-r--r--sci-visualization/scidavis/files/scidavis-muparser.patch61
-rw-r--r--sci-visualization/scidavis/files/scidavis-qwtplot3d.patch15
-rw-r--r--sci-visualization/scidavis/metadata.xml1
-rw-r--r--sci-visualization/scidavis/scidavis-2.9.0.ebuild (renamed from sci-visualization/scidavis/scidavis-2.7.ebuild)24
9 files changed, 115 insertions, 94 deletions
diff --git a/sci-visualization/Manifest.gz b/sci-visualization/Manifest.gz
index 0755bf1f0ad9..d4aa3e29926f 100644
--- a/sci-visualization/Manifest.gz
+++ b/sci-visualization/Manifest.gz
Binary files differ
diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest
index a5cbc42f0246..c0f01cb3ddfa 100644
--- a/sci-visualization/labplot/Manifest
+++ b/sci-visualization/labplot/Manifest
@@ -1,4 +1,6 @@
DIST labplot-2.8.2.tar.xz 13235168 BLAKE2B 251d7f6293ea90a1a16a33f38f3b3657051545cff4b0acc3d3009a02387c4cadb61dad31b72466f0d197b1cccac6e9095687fcc694853c2a6ef41fa1a954c6a7 SHA512 fc550ccb00c5d9966b42f3a367daaebfa94909b65f0a146e4cd75f9a4ed50d00a917fa4c5fd6b6694bf2223d75a564db49697106ea663b0e17def4ce501b09e1
+DIST labplot-2.9.0.tar.xz 21413512 BLAKE2B ab3c579eb64ee4b9b558db63210b1d2210210e1ee2df7fd986d75ebbacab96c4cd05a8fc4698859373e011bd47c55a1abc73d0e8107dd3e3f1b60ce87e1f14d4 SHA512 d06e373e463d9cf3df81eec367167350572975366785b6c88bdab947288fbc21a9eb8e706cb1a831967b8bf0a8039f2f919e14ae7cfb40b21e66f862e38c5d45
EBUILD labplot-2.8.2.ebuild 2394 BLAKE2B be54185403a3166173302351d58b279e34c2c60b0e31ae340f71d0d520477a7ab10786a4cc0367ea32ca912d90d42b57e712525c71608c3846280b3f76fd16b4 SHA512 8ac9dc2d1f96c9fa5314d2845443c6dc37798fc716b25848d7eec62faaf69cec41288d0632b6b154484eeebbf00fe98e0443971860479b9422226549680e08f7
-EBUILD labplot-9999.ebuild 2617 BLAKE2B 8274be807161a25c0075feeb2278d4c3f836673d1972c82b1f3661de287bab4f771a30e81db45a9f39bc9f9b346c613f730a4f5069c413d887f33df5a793bffd SHA512 dc46c82356dc971f0ce62807cc271608feedb0ee2a25e54f93a9ee112ea7ee8a13abb85094fa42bb816aec85cca43c6322a2e8609a61e7b9fe8889ce85becd0d
+EBUILD labplot-2.9.0-r1.ebuild 2635 BLAKE2B 0f78cfd439665721f0fc656ca6fb79344f6c720a5a757c76901d483cb3d787ed4f2a713bf690c3bfa94b1a3f27f27950365732f1a8ac1a13f8296d83e242d8aa SHA512 ea9f1a60752fef3094af2273d2e3c7a380f1472b828d852628aae4e431f8db513b578ffdbf3618fa926f741ea333504e2ebffc1a499bd88cc6882352922b7485
+EBUILD labplot-9999.ebuild 2635 BLAKE2B 0f78cfd439665721f0fc656ca6fb79344f6c720a5a757c76901d483cb3d787ed4f2a713bf690c3bfa94b1a3f27f27950365732f1a8ac1a13f8296d83e242d8aa SHA512 ea9f1a60752fef3094af2273d2e3c7a380f1472b828d852628aae4e431f8db513b578ffdbf3618fa926f741ea333504e2ebffc1a499bd88cc6882352922b7485
MISC metadata.xml 1328 BLAKE2B 7c5afcd644eb98a6afdaba264e24e225e44075e223c47e10922f2aa7ea4658ad34b6f3a55e82a72109413da8bd41df55c2aeb02d93db12ae154acf116d300706 SHA512 ac715b846c70cf31d8a3f92c291848fb9f6c3e571f3cdadc9670c2eb3211ebf2e96dae4263232544506f2cf4db2bb408beeea2cb322f1ac56c179048bd77ba20
diff --git a/sci-visualization/labplot/labplot-2.9.0-r1.ebuild b/sci-visualization/labplot/labplot-2.9.0-r1.ebuild
new file mode 100644
index 000000000000..1e23e3c19800
--- /dev/null
+++ b/sci-visualization/labplot/labplot-2.9.0-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.88.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
+HOMEPAGE="https://labplot.kde.org/ https://apps.kde.org/labplot2/"
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="cantor fftw fits hdf5 libcerf markdown matio netcdf origin root serial telemetry"
+
+DEPEND="
+ app-text/poppler
+ >=dev-qt/qtconcurrent-${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/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:5
+ >=sci-libs/gsl-1.15:=
+ cantor? (
+ >=kde-apps/cantor-19.12.0:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ )
+ fftw? ( sci-libs/fftw:3.0= )
+ fits? ( sci-libs/cfitsio:= )
+ hdf5? ( sci-libs/hdf5:= )
+ libcerf? ( sci-libs/libcerf )
+ markdown? ( app-text/discount )
+ matio? ( sci-libs/matio:= )
+ netcdf? ( sci-libs/netcdf:= )
+ origin? ( sci-libs/liborigin:2 )
+ root? (
+ app-arch/lz4
+ sys-libs/zlib
+ )
+ serial? ( >=dev-qt/qtserialport-${QTMIN}:5 )
+ telemetry? ( dev-libs/kuserfeedback:5 )
+"
+RDEPEND="${DEPEND}"
+# not packaged: dev-qt/qtmqtt, bug 683994
+BDEPEND="
+ sys-devel/bison
+ sys-devel/gettext
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_MQTT=OFF # not packaged
+ -DENABLE_READSTAT=OFF # not packaged
+ -DENABLE_CANTOR=$(usex cantor)
+ -DENABLE_FFTW=$(usex fftw)
+ -DENABLE_FITS=$(usex fits)
+ -DENABLE_HDF5=$(usex hdf5)
+ -DENABLE_LIBCERF=$(usex libcerf)
+ -DENABLE_DISCOUNT=$(usex markdown)
+ -DENABLE_MATIO=$(usex matio)
+ -DENABLE_NETCDF=$(usex netcdf)
+ -DENABLE_LIBORIGIN=$(usex origin)
+ -DENABLE_ROOT=$(usex root)
+ -DENABLE_QTSERIALPORT=$(usex serial)
+ $(cmake_use_find_package telemetry KUserFeedback)
+ -DENABLE_TESTS=$(usex test)
+ )
+
+ ecm_src_configure
+}
diff --git a/sci-visualization/labplot/labplot-9999.ebuild b/sci-visualization/labplot/labplot-9999.ebuild
index 24768e5e9f36..1e23e3c19800 100644
--- a/sci-visualization/labplot/labplot-9999.ebuild
+++ b/sci-visualization/labplot/labplot-9999.ebuild
@@ -22,6 +22,7 @@ SLOT="5"
IUSE="cantor fftw fits hdf5 libcerf markdown matio netcdf origin root serial telemetry"
DEPEND="
+ app-text/poppler
>=dev-qt/qtconcurrent-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtnetwork-${QTMIN}:5
diff --git a/sci-visualization/scidavis/Manifest b/sci-visualization/scidavis/Manifest
index ab5b4711e6af..352a9ca28ba9 100644
--- a/sci-visualization/scidavis/Manifest
+++ b/sci-visualization/scidavis/Manifest
@@ -1,5 +1,3 @@
-AUX scidavis-muparser.patch 2299 BLAKE2B 9ba9e99c838c4fe8c767b8cbfdb9ce93202a8d539039993552a6da2590a28b7acd27f891b6e251ee9bb063a0010d52fa419807ab2a515e633ebd32ea8179877d SHA512 44841cac0f111687ffe38e322c8fb25139f5529321eb4609a8a7821e0ee3bba832f61fe9f6b0e42f28f4571898468de83274d36bbdfc57c97ed227426244c103
-AUX scidavis-qwtplot3d.patch 453 BLAKE2B 774cae5c148944cb4c0a85965431031296b9f846b1154620e39cca0c6ec4ba8645e84bfccbcca051334f11ba301f3aa1bb6a4d6110cec57dc9cb881fd4fa0d85 SHA512 95a778670c8540a150e52317a95f8ff8211bc0cdaf10280f84bf2c5365f7b803cd56b46760a56db75ba29289ebf53abf9d803d0bb78cf55c0426059bb994b584
-DIST scidavis-2.7.tar.gz 11765155 BLAKE2B 10e218472893cd19fe3fb6ebef0116c37167b10b1535e6d39b3eb0f6e2f9a537a75c8da5648dae41b77add089d57cafea640d0c7f4dca459c5a9ef2cc24bff18 SHA512 8063d9f5fb29f824e0183d8902dfe9a8310b6041664ac2189765953088968136f3d72fd04f667d8dfce0ede16e17593e3351f5593d70e73705f1b737bf90b4de
-EBUILD scidavis-2.7.ebuild 2104 BLAKE2B c342b5e17575d5e2cb3f583c67d35c814b47dc5ef87d7648fc8078436205ec8b1ecd2db06de26cd20cfe3ae6b31abeb3fc044daddec3b746181d2a5c3da7b751 SHA512 d98a5bf780411ca6601162c6652a6af5058b265a70ba0261120df7420e6b7605d5d47c86b005ef528fcfcf0684ce02ee2593e907b04e6e5b19f3c32c46f59b0f
-MISC metadata.xml 1085 BLAKE2B e02c4b1a7fa0eecbdb26db3cd577a06591b557678e91598c5e84a4dfec87c215e5758ca67a438331bef33265b6a0f1441141b6711b05c7e496f7e5feebca9954 SHA512 e33807092bd789cdc11819a0d56d9d39fcb7065d870d47ef1f20254e75f6f85a299ca4fe9c3dae50c53a90d9fe730cb9062c8b0cf8e09c4a46e449bff655181a
+DIST scidavis-2.9.0.tar.gz 9348738 BLAKE2B 70af736e0cbe62ffc4b8cc828fffe819b91245f01fa1dc089d1a225ba943495b947562aac84829b8b92664ffbe6e31ecc8f6d9b685adb144c4b21e619739c00e SHA512 3058b11e7864a646c31e5576ac4ebb3e30bcc08f382ee1798183935482236890bbd1090c8e2272c28b54e2498a42dfed801f17fc4c0aca83264ab76f4a7fb7ba
+EBUILD scidavis-2.9.0.ebuild 2194 BLAKE2B 26f47f34bada5d5eb7bb4e88b2d4f75d74fa676b47e5db06aebe8992bb2d8fba2e2d63cb762c280a7155ea2f0ffa7b2155cfb13ebac921f5a4e048036f213718 SHA512 61233cd82c78fe8c1bbc0eff85c6b938208ada616f47f053c34f89a9fa2fee807fcf13c03310d1400ae79ab83d8251b220136eae2680939c176416538cc9fe4d
+MISC metadata.xml 1016 BLAKE2B 77c5f9c2df96f624091439ef5390a25142cd88b940a4376d8b9051e80dbc44b7d196421f2b73d6021615f3e5579106e36da6e94613c631d4e41bf4decb67eb28 SHA512 8238b9c89915f7a8a4644db5ae63b9221401794e53ad6357f5d35ab303e3d0ddf84cf5b616bfa736f78f1b94974af3a9b55bc5eaece6302f82b7e68f608ec00a
diff --git a/sci-visualization/scidavis/files/scidavis-muparser.patch b/sci-visualization/scidavis/files/scidavis-muparser.patch
deleted file mode 100644
index 1b8c994bc74e..000000000000
--- a/sci-visualization/scidavis/files/scidavis-muparser.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1b75dcc..f6c730a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,4 +1,5 @@
- cmake_minimum_required( VERSION 3.16 )
-+include(GNUInstallDirs)
-
- # Target platform is Windows 10
- if( CMAKE_GENERATOR STREQUAL "Visual Studio 15 2017" OR
-@@ -115,6 +116,7 @@ find_package( ZLIB "1.2.11" REQUIRED )
- find_package( OpenGL COMPONENTS OpenGL REQUIRED )
-
- # muParser
-+if( SCRIPTING_MUPARSER )
- find_library( MUPARSER_LIB
- NAMES muparser
- REQUIRED
-@@ -124,6 +126,7 @@ find_path( MUPARSER_INCLUDE_DIR
- REQUIRED
- )
- message( STATUS "Found muParser : ${MUPARSER_LIB} include: ${MUPARSER_INCLUDE_DIR}" )
-+endif()
-
- add_subdirectory( 3rdparty )
-
-@@ -149,7 +152,7 @@ set( DOC_FILES
- if( WIN32 )
- install( FILES ${DOC_FILES} DESTINATION . )
- else()
-- install( FILES ${DOC_FILES} DESTINATION share/doc/scidavis )
-+ install( FILES ${DOC_FILES} DESTINATION ${CMAKE_INSTALL_DOCDIR} )
- endif()
-
- if( MSVC )
-diff --git a/scidavis/CMakeLists.txt b/scidavis/CMakeLists.txt
-index cc68d4d..fb6da42 100644
---- a/scidavis/CMakeLists.txt
-+++ b/scidavis/CMakeLists.txt
-@@ -127,15 +127,18 @@ if (NOT CMAKE_CROSS_COMPILING)
- install( FILES scidavis.desktop DESTINATION share/applications )
- install( FILES scidavis.xml DESTINATION share/mime/packages )
- install( FILES scidavis.1 DESTINATION share/man/man1 )
-- install( FILES scidavis.appdata.xml DESTINATION share/appdata )
-+ install( FILES scidavis.appdata.xml DESTINATION share/metainfo )
- install( FILES x-sciprj.desktop DESTINATION share/mimelnk/application )
- endif()
-
- if( SCRIPTING_PYTHON )
-+ if(NOT PYTHON_SCRIPTDIR)
-+ set(PYTHON_SCRIPTDIR etc)
-+ endif()
- if( MULTI_CONFIG )
-- install( FILES scidavisrc.py ${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/scidavisrc.pyc DESTINATION etc )
-+ install( FILES scidavisrc.py ${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/scidavisrc.pyc DESTINATION ${PYTHON_SCRIPTDIR} )
- else()
-- install( FILES scidavisrc.py ${CMAKE_CURRENT_BINARY_DIR}/scidavisrc.pyc DESTINATION etc )
-+ install( FILES scidavisrc.py ${CMAKE_CURRENT_BINARY_DIR}/scidavisrc.pyc DESTINATION ${PYTHON_SCRIPTDIR} )
- endif()
- install( FILES scidavisUtil.py DESTINATION share/scidavis )
- endif()
diff --git a/sci-visualization/scidavis/files/scidavis-qwtplot3d.patch b/sci-visualization/scidavis/files/scidavis-qwtplot3d.patch
deleted file mode 100644
index 857cca79bd98..000000000000
--- a/sci-visualization/scidavis/files/scidavis-qwtplot3d.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
-index 1b43375..a2bd52c 100644
---- a/3rdparty/CMakeLists.txt
-+++ b/3rdparty/CMakeLists.txt
-@@ -46,8 +46,8 @@ endif()
- option( BUILD_QWTPLOT3D "Build QwtPlot3D using own code" OFF )
-
- if( NOT BUILD_QWTPLOT3D )
-- find_library ( QWTPLOT3D_LIBRARY
-- NAMES qwtplot3d-qt5
-+find_library ( QWTPLOT3D_LIBRARY
-+ NAMES qwtplot3d
- HINTS ${QT_LIBRARY_DIR}
- )
- if( NOT QWTPLOT3D_LIBRARY )
diff --git a/sci-visualization/scidavis/metadata.xml b/sci-visualization/scidavis/metadata.xml
index 93c583ed2a8f..1c44688f2711 100644
--- a/sci-visualization/scidavis/metadata.xml
+++ b/sci-visualization/scidavis/metadata.xml
@@ -16,7 +16,6 @@
<use>
<flag name="origin">Add support for reading OriginLab OPJ project files through <pkg>sci-libs/liborigin</pkg>.</flag>
<flag name="python">Build support for python scripting.</flag>
- <flag name="muparser">Build support for muparser scripting.</flag>
</use>
<upstream>
<remote-id type="sourceforge">scidavis</remote-id>
diff --git a/sci-visualization/scidavis/scidavis-2.7.ebuild b/sci-visualization/scidavis/scidavis-2.9.0.ebuild
index d6d6452d9a35..0487299231ed 100644
--- a/sci-visualization/scidavis/scidavis-2.7.ebuild
+++ b/sci-visualization/scidavis/scidavis-2.9.0.ebuild
@@ -12,13 +12,13 @@ inherit python-single-r1 cmake docs virtualx xdg
DESCRIPTION="Application for Scientific Data Analysis and Visualization"
HOMEPAGE="http://scidavis.sourceforge.net/ https://github.com/SciDAVis/scidavis/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/SciDAVis/scidavis/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+ ZLIB"
KEYWORDS="~amd64"
SLOT="0"
-IUSE="doc +muparser origin python test"
+IUSE="doc origin python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
# requires network
@@ -26,7 +26,7 @@ RESTRICT="test"
PROPERTIES="test_network"
RDEPEND="
- muparser? ( dev-cpp/muParser )
+ dev-cpp/muParser
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
@@ -57,11 +57,6 @@ BDEPEND="
)
"
-PATCHES=(
- "${FILESDIR}/${PN}-muparser.patch"
- "${FILESDIR}/${PN}-qwtplot3d.patch"
-)
-
src_prepare() {
cmake_src_prepare
@@ -76,12 +71,19 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- -DSCRIPTING_MUPARSER=$(usex muparser)
- -DSCRIPTING_PYTHON=$(usex python)
- -DPYTHON_SCRIPTDIR="$(python_get_scriptdir)"
+ # Even if we disable muparser scripting, we still need MuParser.h
+ # for Graph3D.cpp. So just enable it unconditionally. Bug 834074
+ -DSCRIPTING_MUPARSER=ON
-DORIGIN_IMPORT=$(usex origin)
+ -DSCRIPTING_PYTHON=$(usex python)
-DBUILD_TESTS=$(usex test)
)
+
+ if use python; then
+ mycmakeargs+=(
+ -DPYTHON_SCRIPTDIR="$(python_get_scriptdir)"
+ )
+ fi
cmake_src_configure
}