diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /kde-apps/cantor | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'kde-apps/cantor')
-rw-r--r-- | kde-apps/cantor/Manifest | 5 | ||||
-rw-r--r-- | kde-apps/cantor/cantor-19.04.3.ebuild | 2 | ||||
-rw-r--r-- | kde-apps/cantor/cantor-19.08.0.ebuild | 104 | ||||
-rw-r--r-- | kde-apps/cantor/files/cantor-19.04.3-missing-header.patch | 26 |
4 files changed, 136 insertions, 1 deletions
diff --git a/kde-apps/cantor/Manifest b/kde-apps/cantor/Manifest index 5edecb6a9941..e5fa067af0cf 100644 --- a/kde-apps/cantor/Manifest +++ b/kde-apps/cantor/Manifest @@ -1,3 +1,6 @@ +AUX cantor-19.04.3-missing-header.patch 566 BLAKE2B a95a8b12bde8d3281f4732f789f38d7c21ce12a441b6ae8f78bcd23cf37bd3402121410df83c87b0ffb2e332bb6736fe45036a2afe89ea46dfa127a07f5400d2 SHA512 f8bdcb555b0f3e7d2400d7eb23a3b08ab6e5dbf3cfaa0756928135ca372a9c41afdeeae20a5b4a12ab75f1a0f334e87a3ac6cf168e09b3ab449040412825e789 DIST cantor-19.04.3.tar.xz 2523496 BLAKE2B 59b7267eb8ac13aefc25e706bfb29e7430a59ecd7e92c69ff76032cbdf199cc9eee017f71bd2f0736e05dde09963de1926849d77678d15af6d1599795ff7402b SHA512 bfbb598e7fb4c61bddad0ef91802107a268121493146e7105d0c41450e3803b26b40363cc8fa69990f309aadb3bfefacb3fbb7dda75a3f274d70506c53d79ad4 -EBUILD cantor-19.04.3.ebuild 3097 BLAKE2B 7639582ccc8ee7deac6a31587cec28db2550422a434478acc1490a9592f9277f319709dd30b76f665dba1626da7d9cfe4afdcea9ab65b5775648a1ed24f6aa0e SHA512 fdccbcec18ebbe1190a9b65df5f705b1dd937f7ee7497efca6f3cdaf7a480a66bde22c5cf9ab1e8f3bf8e52bae17536a13195ee67c9096e542f15bf5251f0bc3 +DIST cantor-19.08.0.tar.xz 2536776 BLAKE2B 2c0c536dff462c3dee868f9e23fd9bf5f058246cec0999009b7b5b88cf9461e3925070a11790cfe61ce9019d7dcb3569127bf3bb29d4d3065a59a414c1590603 SHA512 ed40d123211b7f1585affcd88fa9549d15ebcda3fa23cdbb6ea7fc932eb79b3d84428cc0552350644faebded17088887d0e3dcda5635c4ac69df56be395a63a1 +EBUILD cantor-19.04.3.ebuild 3150 BLAKE2B ffafb3942ad7ba176937c38c223f0f3ffb092697b7427bbc6915270f9ce0a24ecfff1d14c01b63c1c0864209843f05386bc8ab79c3ae2a13b1574cac0be38ce5 SHA512 b5e25ad41aa9cb2ddd0fa922df2ed999050701c6acb9a43db28a6ef1f54d92b33ca40b635469b9d2650cdbedebf9ea70b03406ff5d1e61c95cbb1b80c46916ba +EBUILD cantor-19.08.0.ebuild 3100 BLAKE2B 47c92eefa0775dcfa0bf8176de0d7a6b2b9331e90d1e002a0f89ba026ecba26bbc44b367d4bee2da9ab7fac2fe95272e21094022f93f4d13561e1cc1d1985ad6 SHA512 a7f31794496dc315acd4869c09e65dc9fc6b7b80d487aa5d07c9e12dc8d50a3d674b02331319fe0858a4282fe73c3b0267f3b5916d0ff107ff164249da937eb3 MISC metadata.xml 669 BLAKE2B b2997169dbbde96b40d605ceb183dc26d39e0697fec17a1da77e71fae8ed46f294b2a77d012473be6bceaa03789f3d22fba2080c003f049fd40e3601afb543c0 SHA512 debcad5f8ba8492699b7b32d179b85c69e03ff2524251a4a710ad2e1d361fc91215e461d976ccae2c7423824839058f2bb075e02e2632ef0b887d91f2b39606c diff --git a/kde-apps/cantor/cantor-19.04.3.ebuild b/kde-apps/cantor/cantor-19.04.3.ebuild index fca31777aba3..306541dd15aa 100644 --- a/kde-apps/cantor/cantor-19.04.3.ebuild +++ b/kde-apps/cantor/cantor-19.04.3.ebuild @@ -57,6 +57,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${P}-missing-header.patch" ) + RESTRICT+=" test" pkg_pretend() { diff --git a/kde-apps/cantor/cantor-19.08.0.ebuild b/kde-apps/cantor/cantor-19.08.0.ebuild new file mode 100644 index 000000000000..181b280d4be7 --- /dev/null +++ b/kde-apps/cantor/cantor-19.08.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +PYTHON_COMPAT=( python3_{5,6,7} ) +inherit kde5 python-single-r1 + +DESCRIPTION="Interface for doing mathematics and scientific computing" +HOMEPAGE="https://kde.org/applications/education/cantor https://edu.kde.org/cantor/" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+analitza julia lua markdown postscript python qalculate R" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# TODO Add Sage Mathematics Software backend (http://www.sagemath.org) +DEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kpty) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep syntax-highlighting) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + $(add_qt_dep qtxmlpatterns) + analitza? ( $(add_kdeapps_dep analitza) ) + julia? ( dev-lang/julia ) + lua? ( dev-lang/luajit:2 ) + markdown? ( >=app-text/discount-2.2.2 ) + qalculate? ( + sci-libs/cln + sci-libs/libqalculate:= + ) + postscript? ( app-text/libspectre ) + python? ( + ${PYTHON_DEPS} + $(add_qt_dep qtdbus) + ) + R? ( dev-lang/R ) +" +RDEPEND="${DEPEND}" + +RESTRICT+=" test" + +pkg_pretend() { + kde5_pkg_pretend + + if ! has_version sci-mathematics/maxima && ! has_version sci-mathematics/octave && \ + ! use analitza && ! use julia && ! use lua && ! use python && ! use qalculate && ! use R; then + elog "You have decided to build ${PN} with no backend." + elog "To have this application functional, please enable one of the backends via USE flag:" + elog " analitza, lua, python, qalculate, R" + elog "Alternatively, install one of these:" + elog " # emerge sci-mathematics/maxima (bug #619534)" + elog " # emerge sci-mathematics/octave" + elog "Experimental available USE flag:" + elog " julia (not stable, bug #613576)" + elog + fi + + if ! has_version virtual/latex-base; then + elog "For LaTeX support:" + elog " # emerge virtual/latex-base" + fi +} + +pkg_setup() { + use python && python-single-r1_pkg_setup + kde5_pkg_setup +} + +src_configure() { + use julia && addpredict /proc/self/mem # bug 602894 + + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_PythonLibs=ON + $(cmake-utils_use_find_package analitza Analitza5) + $(cmake-utils_use_find_package julia Julia) + $(cmake-utils_use_find_package lua LuaJIT) + $(cmake-utils_use_find_package markdown Discount) + $(cmake-utils_use_find_package postscript LibSpectre) + $(cmake-utils_use_find_package python PythonLibs3) + $(cmake-utils_use_find_package qalculate Qalculate) + $(cmake-utils_use_find_package R R) + ) + kde5_src_configure +} diff --git a/kde-apps/cantor/files/cantor-19.04.3-missing-header.patch b/kde-apps/cantor/files/cantor-19.04.3-missing-header.patch new file mode 100644 index 000000000000..3844b6bcc54d --- /dev/null +++ b/kde-apps/cantor/files/cantor-19.04.3-missing-header.patch @@ -0,0 +1,26 @@ +From 6a49ffa048f619752d32ff9b85a03c8cbcb448b7 Mon Sep 17 00:00:00 2001 +From: Nikita Sirgienko <warquark@gmail.com> +Date: Sun, 21 Jul 2019 02:00:46 +0300 +Subject: Try to fix build error in stable-kf5-qt5 #7 + +--- + src/cantor.h | 2 ++ + 1 file changed, 2 insertions(+) + +(limited to 'src/cantor.h') + +diff --git a/src/cantor.h b/src/cantor.h +index 0352753..bbf8f6e 100644 +--- a/src/cantor.h ++++ b/src/cantor.h +@@ -25,6 +25,8 @@ + #include <KParts/MainWindow> + + #include <QList> ++#include <QStringList> ++#include <QMap> + + class QTabWidget; + class KTextEdit; +-- +cgit v1.1 |