diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-15 09:01:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-15 09:01:56 +0100 |
commit | e8f81810baa21f490d6910e8e2d424546b72a333 (patch) | |
tree | db79151c528a566490ffcac0d7b64484e12b4762 /sci-mathematics | |
parent | d00821e77f72d4af4ea30158c1c6e18ffff0875b (diff) |
gentoo resync : 15.09.2019
Diffstat (limited to 'sci-mathematics')
32 files changed, 47 insertions, 1465 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz Binary files differindex f39528e531b5..531e82255dac 100644 --- a/sci-mathematics/Manifest.gz +++ b/sci-mathematics/Manifest.gz diff --git a/sci-mathematics/cvc3/Manifest b/sci-mathematics/cvc3/Manifest deleted file mode 100644 index 4d49fd332b25..000000000000 --- a/sci-mathematics/cvc3/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX 50cvc3-gentoo.el 164 BLAKE2B 629cac93ab691b3379b6cdba9a24b2f426405a8606acac91fd7dc69ec5c7d93b4c7e5ffdc64442ba77024b255532ec062806805276af003ae935c4a734cba843 SHA512 bba873dfaeadc821ffc41168df51a0e0d5c0d038f60a36ba4f74c83d0ef8fb4ff3089cb587b680d5058c7fcddad2585c1e913cb25d8e2256cccda5872f017d07 -AUX cvc3-2.4.1-gccv6-fix.patch 2907 BLAKE2B 8f3b8dfcfb834fa899195e5e3195c9dad94b1359a3b1e19e98cc65a0ab0b2df2516ee064ac2c7c825def61c8fbd3dc5af6a88a3461a0c73b6a9e4e971848fc4e SHA512 1e4e54820aa0ff256bc12916be1219961848430d3448ac4e04d4dcab5ba3ef1e056cad1a3c68ba5e9ff4f0f48c5a92e1b2e9e7eb14837265b166abe1228005cf -DIST cvc3-2.4.1.tar.gz 1196616 BLAKE2B 8d3f7cbd24a1ba7e558fa8f91f9dd8f3fdc1aee3dd0d0e460bfb6e7922ae54cebaad3696912d3d0fb735ce1f6d00ac32a7d65c0b01af870124e48d9c96855aac SHA512 48e5cd82b3eb7506d762c2abc8db0c8fbc548575a1362dda53888075ac105a5bc0f0d58dfe01b60f207bc00ff8dfc39a5b3d9317784fe551658c884bb02e1ff2 -EBUILD cvc3-2.4.1-r1.ebuild 4298 BLAKE2B 4d4343b9de4774081a3f1470121e7bafd34793664671df478613b611123daed10523bb555301de9976237007974abeb5ccf5ca2c26d3f63d4648343065082f26 SHA512 7cc46232b5f2aa148967e13796ed6ba689e5b98bce5677a9efb1492bd97af7a6bf5e6c48d648e15d8e5b035f73a0a8930b66d903c2a57fdc8cabc756681dd252 -MISC metadata.xml 1806 BLAKE2B 640e42b6b1b85ddf30c9b17ad9b8f8817921c5b7e76cc1431fd582873524725ec2ccbe9537a2b95ec74b7022455e38f755c7a128cec2bfad31e9aec3325d9fa5 SHA512 7717a3e172f56cdac0c6716e2c776578fc5e5ee35dad288c605d28034eca54049414e7450d9b2a7d17869f3cdd0da41f61e407c5cd52fef2f3fa225e3e99133f diff --git a/sci-mathematics/cvc3/cvc3-2.4.1-r1.ebuild b/sci-mathematics/cvc3/cvc3-2.4.1-r1.ebuild deleted file mode 100644 index b51969ee713f..000000000000 --- a/sci-mathematics/cvc3/cvc3-2.4.1-r1.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit elisp-common - -DESCRIPTION="CVC3 is a theorem prover for Satisfiability Modulo Theories (SMT) problems" -HOMEPAGE="http://www.cs.nyu.edu/acsys/cvc3/index.html" -SRC_URI="http://www.cs.nyu.edu/acsys/cvc3/releases/2.4.1/${P}.tar.gz" - -LICENSE="BSD MIT HPND zchaff? ( zchaff )" -RESTRICT="mirror zchaff? ( bindist )" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc emacs isabelle test zchaff" - -RDEPEND="dev-libs/gmp:0= - isabelle? ( >=sci-mathematics/isabelle-2011.1-r1:= )" -DEPEND="${RDEPEND} - doc? ( - app-doc/doxygen - media-gfx/graphviz - ) - emacs? ( - virtual/emacs - )" - -SITEFILE="50${PN}-gentoo.el" - -PATCHES=( "${FILESDIR}/${P}-gccv6-fix.patch" ) - -src_prepare() { - default - - sed -e 's#prefix=@prefix@#prefix=$(patsubst %/,%,$(DESTDIR))@prefix@#' \ - -e 's#libdir=@libdir@#libdir=$(patsubst %/,%,$(DESTDIR))@libdir@#' \ - -e 's#mandir=@mandir@#mandir=$(patsubst %/,%,$(DESTDIR))@mandir@#' \ - -i "${S}/Makefile.local.in" \ - || die "Could not set DESTDIR in Makefile.local.in" -} - -src_configure() { - # --enable-static disables building of shared libraries, statically - # links /usr/bin/cvc3 and installs static libraries. - # --enable-static --enable-sharedlibs behaves the same as just --enable-static - econf \ - --enable-dynamic \ - $(use_enable zchaff) - - if use test; then - sed -e 's@LD_LIBS = @LD_LIBS = -L'"${S}"'/lib -Wl,-R'"${S}"'/lib @' \ - -i "${S}/test/Makefile" \ - || die "Could not set library paths in test/Makefile" - fi -} - -src_compile() { - emake - - use doc && emake -C doc - - if use emacs; then - pushd emacs >/dev/null || die - elisp-compile *.el || die "emacs elisp compile failed" - popd >/dev/null || die - fi - - use test && emake -C test -} - -src_test() { - pushd test >/dev/null || die - ./bin/test || die "Testsuite failed" - popd >/dev/null || die -} - -src_install() { - use doc && local HTML_DOCS=( doc/html/*.{html,gif,png,css} ) - default - - if use emacs; then - elisp-install ${PN} emacs/*.{el,elc} - cp "${FILESDIR}"/${SITEFILE} "${S}" || die "Failed to copy Emacs files" - elisp-site-file-install ${SITEFILE} - fi - - if use isabelle; then - ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" \ - || die "isabelle getenv ISABELLE_HOME failed" - [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty" - dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - cat >> settings <<- EOF || die "Failed to create Isabelle configuration for CVC3" - CVC3_COMPONENT="\$COMPONENT" - CVC3_HOME="${EPREFIX}/usr/bin" - CVC3_SOLVER="\$CVC3_HOME/cvc3" - CVC3_REMOTE_SOLVER="cvc3" - CVC3_INSTALLED="yes" - EOF - insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - doins settings - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen - if use isabelle; then - if [[ -f "${EROOT%/}/etc/isabelle/components" ]]; then - if egrep "contrib/${PN}-[0-9.]*" "${EROOT%/}/etc/isabelle/components"; then - sed -e "/contrib\/${PN}-[0-9.]*/d" \ - -i "${EROOT%/}/etc/isabelle/components" || die "Failed to remove old CVC3 registrations in Isabelle" - fi - cat >> "${EROOT%/}/etc/isabelle/components" <<- EOF || die "Failed to register CVC3 with Isabelle" - contrib/${PN}-${PV} - EOF - fi - fi - if use zchaff; then - einfo "This copy of CVC3 is also configured to use the SAT solver zchaff whose" - einfo "copyright is owned by Princeton University and is more restrictive." - einfo "Specifically, it may be used for internal, noncommercial, research purposes" - einfo "only. See the copyright notices from the zchaff source files which are" - einfo "included in the LICENSE file." - einfo "To build CVC3 without these files, please build cvc3 without the zchaff" - einfo "use flag (note: zchaff is disabled by default):" - einfo "USE=-zchaff emerge sci-mathemathematics/cvc3" - fi -} - -pkg_postrm() { - use emacs && elisp-site-regen - if use isabelle; then - if [[ ! -f "${EROOT%/}/usr/bin/cvc3" && -f "${EROOT%/}/etc/isabelle/components" ]]; then - # Note: this sed should only match the version of this ebuild - # Which is what we want as we do not want to remove the line - # of a new CVC3 being installed during an upgrade. - sed -e "/contrib\/${PN}-${PV}/d" \ - -i "${EROOT%/}/etc/isabelle/components" || die "Failed to unregister CVC3 from Isabelle" - fi - fi -} diff --git a/sci-mathematics/cvc3/files/50cvc3-gentoo.el b/sci-mathematics/cvc3/files/50cvc3-gentoo.el deleted file mode 100644 index 8e046edf7ad1..000000000000 --- a/sci-mathematics/cvc3/files/50cvc3-gentoo.el +++ /dev/null @@ -1,3 +0,0 @@ -(add-to-list 'load-path "@SITELISP@") -(add-to-list 'auto-mode-alist '("\\.cvc\\'" . cvc-mode)) -(autoload 'cvc-mode "cvc-mode" "CVC specifications editing mode." t) diff --git a/sci-mathematics/cvc3/files/cvc3-2.4.1-gccv6-fix.patch b/sci-mathematics/cvc3/files/cvc3-2.4.1-gccv6-fix.patch deleted file mode 100644 index 1fb3516b8c27..000000000000 --- a/sci-mathematics/cvc3/files/cvc3-2.4.1-gccv6-fix.patch +++ /dev/null @@ -1,76 +0,0 @@ -commit 4eb28b907e89be05d92eb704115f821b9b848e60 -Author: Matthew Dawson <matthew@mjdsystems.ca> -Date: Sun Oct 16 22:06:03 2016 -0400 - - Fix gcc v6 compile failures. - - * Use std::hash<const char*> over std::hash<char *>, as throwing away the const is not allowed. - * Use Hash::hash by default in CDMap over std::hash, to get Hash::hash<CVC3::expr> - -diff --git a/src/expr/expr_value.cpp b/src/expr/expr_value.cpp -index 0c85ff6..e4dd251 100644 ---- a/src/expr/expr_value.cpp -+++ b/src/expr/expr_value.cpp -@@ -29,7 +29,7 @@ namespace CVC3 { - // Class ExprValue static members - //////////////////////////////////////////////////////////////////////// - --std::hash<char*> ExprValue::s_charHash; -+std::hash<const char*> ExprValue::s_charHash; - std::hash<long int> ExprValue::s_intHash; - - //////////////////////////////////////////////////////////////////////// -diff --git a/src/include/cdmap.h b/src/include/cdmap.h -index faf682a..c3b094c 100644 ---- a/src/include/cdmap.h -+++ b/src/include/cdmap.h -@@ -43,9 +43,9 @@ namespace CVC3 { - // Auxiliary class: almost the same as CDO (see cdo.h), but on - // setNull() call it erases itself from the map. - --template <class Key, class Data, class HashFcn = std::hash<Key> > class CDMap; -+template <class Key, class Data, class HashFcn = Hash::hash<Key> > class CDMap; - --template <class Key, class Data, class HashFcn = std::hash<Key> > -+template <class Key, class Data, class HashFcn = Hash::hash<Key> > - class CDOmap :public ContextObj { - Key d_key; - Data d_data; -diff --git a/src/include/expr_hash.h b/src/include/expr_hash.h -index b2107d7..baa2eab 100644 ---- a/src/include/expr_hash.h -+++ b/src/include/expr_hash.h -@@ -20,7 +20,6 @@ - * hash_set over Expr class. - */ - /*****************************************************************************/ -- - #ifndef _cvc3__expr_h_ - #include "expr.h" - #endif -diff --git a/src/include/expr_value.h b/src/include/expr_value.h -index 95102b2..f53aa4d 100644 ---- a/src/include/expr_value.h -+++ b/src/include/expr_value.h -@@ -179,7 +179,7 @@ protected: - // Static hash functions. They don't depend on the context - // (ExprManager and such), so it is still thread-safe to have them - // static. -- static std::hash<char*> s_charHash; -+ static std::hash<const char*> s_charHash; - static std::hash<long int> s_intHash; - - static size_t pointerHash(void* p) { return s_intHash((long int)p); } -diff --git a/src/theory_core/theory_core.cpp b/src/theory_core/theory_core.cpp -index df5289f..37ccab9 100644 ---- a/src/theory_core/theory_core.cpp -+++ b/src/theory_core/theory_core.cpp -@@ -710,7 +710,7 @@ TheoryCore::TheoryCore(ContextManager* cm, - // d_termTheorems(cm->getCurrentContext()), - d_predicates(cm->getCurrentContext()), - d_solver(NULL), -- d_simplifyInPlace(false), -+ d_simplifyInPlace(NULL), - d_currentRecursiveSimplifier(NULL), - d_resourceLimit(0), - d_timeBase(0), diff --git a/sci-mathematics/cvc3/metadata.xml b/sci-mathematics/cvc3/metadata.xml deleted file mode 100644 index cb6781b3e6dd..000000000000 --- a/sci-mathematics/cvc3/metadata.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>gienah@gentoo.org</email> - <name>Mark Wright</name> -</maintainer> -<maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> -</maintainer> -<longdescription lang="en"> -CVC3 is an automatic theorem prover for Satisfiability Modulo Theories -(SMT) problems. It can be used to prove the validity (or, dually, the -satisfiability) of first-order formulas in a large number of built-in -logical theories and their combination. - -CVC3 is the last offspring of a series of popular SMT provers, which -originated at Stanford University with the SVC system. In particular, -it builds on the code base of CVC Lite, its most recent -predecessor. Its high level design follows that of the Sammy prover. - -CVC3 works with a version of first-order logic with polymorphic types -and has a wide variety of features including: - - several built-in base theories: rational and integer linear - arithmetic, arrays, tuples, records, inductive data types, bit - vectors, and equality over uninterpreted function symbols; - support for quantifiers; - an interactive text-based interface; - a rich C and C++ API for embedding in other systems; - proof and model generation abilities; - predicate subtyping; - essentially no limit on its use for research or commercial - purposes (see license). -</longdescription> -<use> - <flag name="isabelle">Add integration support for the Isabelle/HOL - theorem prover.</flag> - <flag name="zchaff">Use the SAT solver zchaff whose copyright is - owned by Princeton University and is more restrictive (see zchaff - license). - </flag> -</use> -</pkgmetadata> diff --git a/sci-mathematics/e/Manifest b/sci-mathematics/e/Manifest deleted file mode 100644 index af90697a4bc0..000000000000 --- a/sci-mathematics/e/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX e-2.3-build-system.patch 212 BLAKE2B bd42870773da66d9b466e98c70a0f7fcad56e630645879a9e4438c4e418cace391e978385c3a1390e014360b42cd24eb08c9bf5ac9fbbd3c81c13933c5f7d167 SHA512 4e0362620ce014588841b18ca74555d16cac940a5619c46a46d3672570afac477e99067c7af701b14d0b58633422b37c0f5714ad910349852d1c8b7ae99b7706 -DIST E-1.8.tgz 1832975 BLAKE2B ebac17f157f591874107009d1ad45d03449c8d440f3ad6dabda308193775cd69d01f6ffb159ef8acbc73fbd41e5b38f2eb61a1c734d638d4a045e068cc63fc90 SHA512 1b4358c636e8ea564ca942e1221e78234a9f0f793991f637bd7ec4d92eb9aa4a408a14c707405271fc017a9d63884d70bdfb0ed1b878383a1a44cfa57a7bdd51 -DIST E-2.3.tgz 2176351 BLAKE2B cb234d5d6ed9d098b9f1b3def44de570c2014dd017e2e39de58bfe8ea47f539008e30213eab78c61e042d04529cfdbc647706ae71707e306cf51f5189c5dad30 SHA512 9e0f22a174f9f0fae401d8556d0b825c17d06e48e40d027003a89ff8cc637e3a14e14af70e6a65ecf2a11a52d59388c6c36b129a123511b958c152f58fd06a16 -EBUILD e-1.8-r1.ebuild 3172 BLAKE2B b7e844811d5e81724af7b6b6c14d0cab271cda71a66d60086d639ebd31ac216ac55e67a2d34245e67499eb0f40644cecd5295636fe1bdd22c83fde0c7ac8b6ba SHA512 ca65245640594ff13a36e6350b91229835e21fe8a9a1841d3168007899fcf4e9db25c36901008d4fba1250e948635001322e2a9b3408b79fae1d126913a4733a -EBUILD e-2.3.ebuild 1533 BLAKE2B a00f7ab909309d0f22a5f6f88c8d9a696e4f3e632c8e95af8263592345e0e3af9dc2bf8762f7fcdfd386f18b2b8b2aa5b3366b2917248e0cf50fbd0e2f91941d SHA512 67cc912a601c7ff9f10d31d99039350a022d8253891f115b844b527badf9a4522d2d97095396aebe8a6a5b1e3708e8f7065e3aafbd2c77de03cbac9b63451ab2 -MISC metadata.xml 1462 BLAKE2B 3b2783ef3103c8a0f8606b0553e89b5265867b2b3272dd28530f5a8e8a745240726c937db655a31cc6ba923b579da8ba33a180c6f745a45e238b28b7a688a173 SHA512 635575800430295b5110104d38cbab61277b8d32acd23b883053a3092df0ea6531bac0fbae8a402cc9af0e11d7095959f44bee989050e4123ea7400c4c671e23 diff --git a/sci-mathematics/e/e-1.8-r1.ebuild b/sci-mathematics/e/e-1.8-r1.ebuild deleted file mode 100644 index d21fa37fa82b..000000000000 --- a/sci-mathematics/e/e-1.8-r1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -MY_PN="E" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="E is a theorem prover for full first-order logic with equality" -HOMEPAGE="http://www4.informatik.tu-muenchen.de/~schulz/E/E.html" -SRC_URI="http://www4.in.tum.de/~schulz/WORK/E_DOWNLOAD/V_${PV}/${MY_PN}.tgz -> ${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples isabelle" - -RDEPEND="isabelle? ( - >=sci-mathematics/isabelle-2011.1-r1:= - )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/${MY_PN} - -src_configure() { - ./configure --prefix="${ROOT}usr" \ - --man-prefix="${ROOT}share/man" \ - || die "E configure failed" - - sed -e "s@CFLAGS = @CFLAGS = ${CFLAGS} @" \ - -e "s@LD = \$(CC) @LD = \$(CC) ${LDFLAGS} @" \ - -i "${S}/Makefile.vars" \ - || die "Could not add our flags to Makefile.vars" -} - -src_install() { - dobin "${S}/PROVER/eprover" \ - "${S}/PROVER/epclextract" \ - "${S}/PROVER/eproof" \ - "${S}/PROVER/eproof_ram" \ - "${S}/PROVER/eground" \ - "${S}/PROVER/e_ltb_runner" \ - "${S}/PROVER/e_axfilter" \ - "${S}/PROVER/checkproof" \ - "${S}/PROVER/ekb_create" \ - "${S}/PROVER/ekb_delete" \ - "${S}/PROVER/ekb_ginsert" \ - "${S}/PROVER/ekb_insert" - - doman "${S}/DOC/man/eprover.1" \ - "${S}/DOC/man/epclextract.1" \ - "${S}/DOC/man/eproof.1" \ - "${S}/DOC/man/eproof_ram.1" \ - "${S}/DOC/man/eground.1" \ - "${S}/DOC/man/e_ltb_runner.1" \ - "${S}/DOC/man/e_axfilter.1" \ - "${S}/DOC/man/checkproof.1" \ - "${S}/DOC/man/ekb_create.1" \ - "${S}/DOC/man/ekb_delete.1" \ - "${S}/DOC/man/ekb_ginsert.1" \ - "${S}/DOC/man/ekb_insert.1" - - if use doc; then - pushd "${S}"/DOC || die "Could not cd to DOC" - dodoc ANNOUNCE CREDITS DONE E-REMARKS E-REMARKS.english E-USERS \ - HISTORY NEWS PORTING ReadMe THINKME TODO TPTP_SUBMISSION \ - WISHLIST eprover.pdf - dohtml *.html - dohtml estyle.sty - popd - fi - - if use examples; then - insinto /usr/share/${MY_PN}/examples - doins -r EXAMPLE_PROBLEMS - doins -r SIMPLE_APPS - fi - - if use isabelle; then - ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" \ - || die "isabelle getenv ISABELLE_HOME failed" - [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty" - cat <<- EOF >> "${S}/settings" - E_HOME="${ROOT}usr/bin" - E_VERSION="${PV}" - EOF - insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - doins "${S}/settings" - fi -} - -pkg_postinst() { - if use isabelle; then - if [ -f "${ROOT}etc/isabelle/components" ]; then - if egrep "contrib/${PN}-[0-9.]*" "${ROOT}etc/isabelle/components"; then - sed -e "/contrib\/${PN}-[0-9.]*/d" \ - -i "${ROOT}etc/isabelle/components" - fi - cat <<- EOF >> "${ROOT}etc/isabelle/components" - contrib/${PN}-${PV} - EOF - fi - fi -} - -pkg_postrm() { - if use isabelle; then - if [ ! -f "${ROOT}usr/bin/eproof" ]; then - if [ -f "${ROOT}etc/isabelle/components" ]; then - # Note: this sed should only match the version of this ebuild - # Which is what we want as we do not want to remove the line - # of a new E being installed during an upgrade. - sed -e "/contrib\/${PN}-${PV}/d" \ - -i "${ROOT}etc/isabelle/components" - fi - fi - fi -} diff --git a/sci-mathematics/e/e-2.3.ebuild b/sci-mathematics/e/e-2.3.ebuild deleted file mode 100644 index 2b9f7875941d..000000000000 --- a/sci-mathematics/e/e-2.3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -MY_PN="E" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="E is a theorem prover for full first-order logic with equality" -HOMEPAGE="https://wwwlehre.dhbw-stuttgart.de/~sschulz/E/E.html" -SRC_URI="http://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${PV}/${MY_PN}.tgz -> ${MY_P}.tgz" -LICENSE="GPL-2" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples" - -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( dev-texlive/texlive-latex )" - -S="${WORKDIR}"/${MY_PN} - -PATCHES=( "${FILESDIR}"/${PN}-2.3-build-system.patch ) - -src_prepare() { - default - rm -f DOC/eprover.pdf -} - -src_configure() { - ./configure --prefix="${ED}/usr" \ - --man-prefix="${ED}/usr/share/man" \ - || die "E configure failed" - - sed -e "s@CFLAGS = @CFLAGS = ${CFLAGS} @" \ - -e "s@LD = \$(CC) @LD = \$(CC) ${LDFLAGS} @" \ - -i "${S}/Makefile.vars" \ - || die "Could not add our flags to Makefile.vars" -} - -src_compile() { - default - use doc && emake documentation -} - -src_install() { - default - - local DOCS=( - "README.md" - "DOC/ANNOUNCE" - "DOC/CONTRIBUTORS" - "DOC/DONE" - "DOC/E-REMARKS" - "DOC/E-REMARKS.english" - "DOC/E-USERS" - "DOC/HISTORY" - "DOC/NEWS" - "DOC/PORTING" - "DOC/ReadMe" - "DOC/THINKME" - "DOC/TODO" - "DOC/TPTP_SUBMISSION" - "DOC/WISHLIST" - "DOC/eprover.pdf" - ) - local HTML_DOCS=( "DOC" ) - einstalldocs - - if use examples; then - insinto /usr/share/${MY_PN}/examples - doins -r EXAMPLE_PROBLEMS - doins -r SIMPLE_APPS - fi -} diff --git a/sci-mathematics/e/files/e-2.3-build-system.patch b/sci-mathematics/e/files/e-2.3-build-system.patch deleted file mode 100644 index 8031c20e026e..000000000000 --- a/sci-mathematics/e/files/e-2.3-build-system.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- E-orig/development_tools/e_install 2019-03-13 04:55:13.000000000 +1100 -+++ E/development_tools/e_install 2019-09-11 21:11:37.628045114 +1000 -@@ -13,4 +13,4 @@ - fi - } - --testinstall $1 $2 -+install $1 $2 diff --git a/sci-mathematics/e/metadata.xml b/sci-mathematics/e/metadata.xml deleted file mode 100644 index 38c1496fe98f..000000000000 --- a/sci-mathematics/e/metadata.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>gienah@gentoo.org</email> - <name>Mark Wright</name> -</maintainer> -<maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> -</maintainer> -<longdescription lang="en"> -E is a theorem prover for full first-order logic with equality. It -accepts a problem specification, typically consisting of a number of -first-order clauses or formulas, and a conjecture, again either in -clausal or full first-order form. The system will then try to find a -formal proof for the conjecture, assuming the axioms. - -If a proof is found, the system can provide a detailed list of proof -steps that can be individually verified. If the conjecture is -existential (i.e. it’s of the form “there exists an X with property -P”), the latest versions can also provide possible answers (values for -X). - -Development of E started as part of the E-SETHEO project at TUM. The -first public release was in in 1998, and the system has been -continuously improved ever since. I believe that E now is one of the -most powerful and friendly reasoning systems for first-order -logic. The prover has successfully participated in many competitions. -</longdescription> -<use> - <flag name="isabelle">Add integration support for the Isabelle/HOL - theorem prover.</flag> -</use> -</pkgmetadata> diff --git a/sci-mathematics/isabelle/Manifest b/sci-mathematics/isabelle/Manifest deleted file mode 100644 index 90b34f0b2f86..000000000000 --- a/sci-mathematics/isabelle/Manifest +++ /dev/null @@ -1,22 +0,0 @@ -AUX isabelle-2012-graphbrowser.patch 354 BLAKE2B beb2e7477a2cc706b91f87407768b9325ea886fd421a1374300ec84e54616bbd90d1435066b59ef8842adac43c5b1e8a8322512d7a6d42489ceaaa573fea7ba3 SHA512 ef850f554a41292e6a1811489309b9c13404191258acdf46d4739360b951634aaa76d25fcbef3784a54c25972b6a81ec2d4d151b6f53684224cdec286d4082c0 -AUX isabelle-2012-reverse-line-editor-order.patch 423 BLAKE2B 868874a2b8cb5a70f0ceb9c1555ce74dc5deb9c4d897bc5a2e8d239b1d5232e64b53a7df931c15f28e472a54a163ac6b9fd2cf0f4218a973cbfc402990b86651 SHA512 de9499e5c0d9bc22a72ef15320490fea7e71afbfe1ab6bc3a6a71a866eda2050833d47aadc7c0c7b106d4f0a28fa9a062ec2d9a6c15bf6c0eedd54274df20515 -AUX isabelle-2016-classpath.patch 1269 BLAKE2B 189c23f7b1935f379500fa03e9ea00e73148191963a5e7ec6820d244291825d0fe250fe88054d425657b81c84d380ed0b09615d0188d96c21f19211ce7d9279f SHA512 912930f7bd392bb6bb8569d447f3c0ba52c872c5be26b25fa551749ce4938cdc6bb1db4687a3e682e70dcb418e5f4b2d2cb5a49b470089618ff27653f492d096 -AUX isabelle-2016-jfreechart-classpath.patch 930 BLAKE2B 62e556bd401233fac73d7a0eb86bb21974c213e7f4944fe51ba987491cb215e5545489bdd6ec66c815976dcc331919e32079837f4155f29b63aeadad9cf6dfa6 SHA512 0479a158a25f11f9c1a2edea49fd5c5e635558095c46c543fe73cacc58aecedb91e9528ddc02be7bf1f4f3c6f4251e6918449f24dfa93aec3494aeed2590e7a6 -AUX isabelle-2016.1-bash_process-1.2.1-settings.patch 399 BLAKE2B 1e9c5f3bc270c4bc298cce82388264a5f2f11bfa5e52a2e1f1f58de8cfc5af36e3ab304af77300cb3b24abe6c136767020467f19f1a45c0146dac7f5813cc468 SHA512 0965da49933834c2746f55a80e84ecfcf4e1a0faf6997224cc08ec3e458998887234839d346a2a12bf2ea2efbb91a1b4a53dcd4d390832655f30ce519fa59a66 -AUX isabelle-2016.1-disable-jedit-build-after-install.patch 3852 BLAKE2B d10f05d28e352366a761e2f1e0f2c1a8fa9ab8712664584d92f328d44712e5ec2aef81a03fb7117e24112eafe3a10d3884d82c23392f439556af9abb3182cd84 SHA512 1786facbfe939841b6949be37712a087e5a80afb564a39d9019bc2c2110604328056a06f10737a732a9ad7c4a9a36ced8347b1b2c17f4744f20c3ebe2cd1445e -AUX isabelle-2016.1-jortho-1.0-2-classpath.patch 505 BLAKE2B 2c051ab92856443e217bb016cfd487ddce64183c39140a98ed671c157c21c58321c2ccf7e9a01dc4b25f9a2845205b67beff42fc9b8a0789952a51b1874eda86 SHA512 74af59748e537b70bde496c67f93b2a3de1947616f4289421f4d2c045c63ac53f7c3eb6c435818c598285871afe012d6a3eabb94793f408d6c1e13e3f7812408 -AUX isabelle-2016.1-libsha1.patch 535 BLAKE2B 2d7b90028e75671c68699ec2ab2d839b23e4d2292e4d0ea1853f839af38801bc8341d3efcec3a52e94e757e670260accec3800b8a310724f6f283bec74d2530a SHA512 7200f3a66c1ede6d1957cbab928a48ae6d7e785123e2df45bbbd62a8f09172b3fad383757929ee27f1efe358a61bff5c6f6de6fe486f2ffd269d08d2de840708 -AUX isabelle-2016.1-smt_read_only_certificates.patch 1372 BLAKE2B b66acbd954904c5c45c6e00ed8c902341ffe219ae71221c1ac92364e049e7d5931f5704fadc5588415b7476531c3d6478009d65d2fc96d481a85f32761162b40 SHA512 c6ef0253ef6fc100050dd35c15be07f17da14ef3119971a150d177f5fedec0bd134834965eee9dbcfa8e485fd05841b8770e0aaada75c74503ea2b3e6dd2bef3 -AUX isabelle-2016.1-smt_timeout.patch 1092 BLAKE2B 845d56129065296c4fb1d94606532cf8ecd9760bd8f5d5bf9c260552ef73197601f94652ba4f5c893a89c9575f5252946cb2770bf0323e2c06c876e937ec960a SHA512 ffbfb74959f35856c085a593e164d93a71bc08ce9c88d50d911f4cb4652b1be9aeade8d80cecf9f15165ba35135719ca36f82d3cbf789f1d8a9fac52bdb84bde -DIST Isabelle2016-1.tar.gz 39567637 BLAKE2B a664c89f2705e6b2709a8b3054d57ca443435967dd85f07e1651aa0bbfc41ee31dee88146243c8e0bddc2a1de86107158a89d13b2ff427f8dcf0308fe3dd2654 SHA512 c7da7900033a8c816f002b8899e398da7819dc457b3b1176dc9a19adffeb42d5524f2d14581a391487da1f36ffeabd0867bacab6462f3decfc0f7a9caf81a2d2 -DIST bash_process-isabelle-component-1.2.1.tar.gz 33182 BLAKE2B d139f5476b02b22a896fa742303a4e5c4de583972eb38a67e1a451fabe28d52c2c1310be865faf244104cad46758e1bf97f6222170999ff2e2da7c07e1398fe3 SHA512 d9817191af5660e38f1647401803115a93f0052291bfbbcb1cd9b41a4bab89b3ebdde22b40744a04ad3268aed8ca037ae59981c513f71b3ff6d89855d29e14c3 -DIST csdp-isabelle-component-6.x.tar.gz 493 BLAKE2B 364c8f390adfb4031958597e4435783e58ebbb3be49ee80d5ee6631770d9322190bd364530622ae66d490d91e499bb3bb626b01762fccf3f67c65b20b3f7756b SHA512 9be28ecbf61d0f6ad23e28d44bd7ceb8f06ab22f3a05a7c823a9c5bf52ddcf5e5c300c41e14451d6b8e6a4c32b1bbd17769c731cd890fab335a866cd5e735290 -DIST isabelle_fonts-isabelle-component-20160830.tar.gz 249427 BLAKE2B 8398e578e6b8f54ac163b33e29c8283fef29c5db2cd8562dca1d636e1947bebb54e79e55035398fca215f2fbdf868dfe318d91a7f76074ad97f2d4792b8b4432 SHA512 a185f79990478861832e9400ea37ffd02f582d3f916d26d901b8b0ec923027c412538bafe4a763a132adb9277a4b00a7a510762928ec49433ef550ae3fe59dbc -DIST jedit_build-isabelle-component-20161024.tar.gz 10819946 BLAKE2B 2764d854eecd6783a0893934742f21db9ac47b1304f969803e01ffc402d57d2f3d38c9f07cb6ea6d77f12a48337892baecc7175b1d759989d7c46d0104b34a9f SHA512 0563b696307dd33b244e4ecc62664056a2b003c3291a5e3d7dd4f1c936dac2c3257ff90273cb2c8dc3bf9dea40fae745fabb57fc5f4ed420d0c8fd7d2b917433 -DIST jfreechart-isabelle-component-1.0.14-1.tar.gz 3444825 BLAKE2B 4a24f362d647c9bbe538d18a49f7579cf9c1914854b19c7f4cca29d876870eb5f994df4b53ae2bf6f8bf8aa697306bfebdb272493fb974c6df8050778d173376 SHA512 ee1d84a45e43029d5e3acee823176196da19789322e8d3c2c81d5504930ad81d50e16e5da87655e4151034901daefb4ce6b82334839e39134b3a7ce32203aa67 -DIST jortho-isabelle-component-1.0-2.tar.gz 1723761 BLAKE2B 4f5503c640d25d79a8520a2f137900a8397db141f5f6279e4622bf44c377a3bcd7224d9e59de2f57993867362350bc279aebc54dc548562bab6b78b210110fb7 SHA512 8bef5e025d13b76c86a727bf93887b846cc906b2ce00299c38f69ccf33fb9dc7411e55b6fd1c56ed993c180d83a7e9ed90122f7feb6ae4fb70df93802ac21211 -DIST polyml-isabelle-component-5.6-1.tar.gz 822 BLAKE2B eea808d3cd2ce2c6b5b531fce046eba59e39f671e48e76e3d9093a4d9fadef9fbf3afc20b98eeaf5e672e8e34ed11aaf62441266469f53d3d228252fe9f64f89 SHA512 403239aa48aab8c39e12cd5f82cb5e3ba7c31f9325d88f5137d3ec509bb25ab4eb8b1103a66b8ea5ad45c7c968ef092749c486217528a5db4223819106c00a59 -DIST ssh-java-isabelle-component-20161009.tar.gz 412919 BLAKE2B d05152d92669043ba23d7e0767470a529ac7688866ed8be64432d724329a0c24590586faf5e09c365c44740550441798681b9e8b80a323285516ec61a884beb8 SHA512 685a9b8791046c1bc21aa77614fb1b304e7438715377e179954ebfd1603434ff66fe23e90de928a5af6f51a48ae6ea6f05f9ff8941d98f7c3a43fdda02d3b519 -DIST xz-java-isabelle-component-1.5.tar.gz 315 BLAKE2B b7a385671469fb8643d74d90b4faae2f66621f7bafb0262b7fc7777c883cae4a5939cb5261230c21a6125ce12cafe5285a873fc0a37f78ef0e4059d310c2bd0e SHA512 6dfec49e12c4cafbb6b6386dd54477e86b6bb419a77c52d9606a0305aeea9cd11f087ed6bba77352c7bf9ec656052ef617e845f472e57b5cdfbccf22b2eeb4fa -EBUILD isabelle-2016.1.ebuild 11253 BLAKE2B 2458c98781d77d570db71ff40c3b400a794d315efafe9a95e672815e031452f53d3b79544ca2027a66776203d1de4b985a9cede05d81ade5bdbbbdb761942a03 SHA512 6b497870498a3426fdec2494b04e0a6a0a093f3b73d46acea4c6659ea2897124dc989136d47083ba1fd79c607223f821a7a9e61346bbd437ff25e40429ab0bde -MISC metadata.xml 1207 BLAKE2B 0d3aa24b66bfab4bdfdd8afc70510b2d468e437cfeaaf0f93c206f209da7b6e1b5d1da93206357f0d067ee2dd1fbfa7124cfafe478022df4731b48bf3a9ae772 SHA512 158021354cea7c08befe74a21aa066e529a9ba315d2ae4bfa3e17c689439564358650d0100c43e18851ae4138744b451b70eb3fdf49f2ce90e37eac7b3f2268b diff --git a/sci-mathematics/isabelle/files/isabelle-2012-graphbrowser.patch b/sci-mathematics/isabelle/files/isabelle-2012-graphbrowser.patch deleted file mode 100644 index 3e63f1c62237..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2012-graphbrowser.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Isabelle2012-orig/lib/browser/build 2012-05-20 19:34:33.000000000 +1000 -+++ Isabelle2012/lib/browser/build 2012-05-26 22:18:41.952750622 +1000 -@@ -6,6 +6,8 @@ - # - # Requires proper Isabelle settings environment. - -+ISABELLE_HOME="$(cd "$(dirname "${0}")/../.."; pwd -P)" -+source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2 - - ## diagnostics - diff --git a/sci-mathematics/isabelle/files/isabelle-2012-reverse-line-editor-order.patch b/sci-mathematics/isabelle/files/isabelle-2012-reverse-line-editor-order.patch deleted file mode 100644 index 233ea5b50fad..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2012-reverse-line-editor-order.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- Isabelle2012-orig/etc/settings 2012-05-23 03:07:38.000000000 +1000 -+++ Isabelle2012/etc/settings 2012-05-27 12:43:36.209715015 +1000 -@@ -62,8 +62,8 @@ - ### - - ISABELLE_LINE_EDITOR="" --[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" - [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" -+[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" - - - ### diff --git a/sci-mathematics/isabelle/files/isabelle-2016-classpath.patch b/sci-mathematics/isabelle/files/isabelle-2016-classpath.patch deleted file mode 100644 index 032b18b71f3b..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016-classpath.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: Isabelle2016/lib/Tools/java -=================================================================== ---- Isabelle2016.orig/lib/Tools/java -+++ Isabelle2016/lib/Tools/java -@@ -10,5 +10,5 @@ declare -a JAVA_ARGS; eval "JAVA_ARGS=($ - unset CLASSPATH - - isabelle_java java "${JAVA_ARGS[@]}" \ -- -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@" -+ -classpath "$(platform_path "$ISABELLE_CLASSPATH:$(java-config -p scala-2.11)")" "$@" - -Index: Isabelle2016/lib/Tools/scala -=================================================================== ---- Isabelle2016.orig/lib/Tools/scala -+++ Isabelle2016/lib/Tools/scala -@@ -14,4 +14,4 @@ do - done - - isabelle_scala scala "${SCALA_ARGS[@]}" \ -- -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@" -+ -classpath "$(platform_path "$ISABELLE_CLASSPATH:$(java-config -p scala-2.11)")" "$@" -Index: Isabelle2016/lib/Tools/scalac -=================================================================== ---- Isabelle2016.orig/lib/Tools/scalac -+++ Isabelle2016/lib/Tools/scalac -@@ -7,5 +7,5 @@ - isabelle_admin_build jars || exit $? - - isabelle_scala scalac -Dfile.encoding=UTF-8 \ -- -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@" -+ -classpath "$(platform_path "$ISABELLE_CLASSPATH:$(java-config -p scala-2.11)")" "$@" - diff --git a/sci-mathematics/isabelle/files/isabelle-2016-jfreechart-classpath.patch b/sci-mathematics/isabelle/files/isabelle-2016-jfreechart-classpath.patch deleted file mode 100644 index 9a88ebef26ca..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016-jfreechart-classpath.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- Isabelle2016-orig/contrib/jfreechart-1.0.14-1/etc/settings 2013-09-12 07:46:57.000000000 +1000 -+++ Isabelle2016/contrib/jfreechart-1.0.14-1/etc/settings 2016-07-07 17:22:55.716464804 +1000 -@@ -1,9 +1,8 @@ - # -*- shell-script -*- :mode=shellscript: - - JFREECHART_HOME="$COMPONENT" --JFREECHART_JAR_NAMES="iText-2.1.5.jar jcommon-1.0.18.jar jfreechart-1.0.14.jar" -- --classpath "$JFREECHART_HOME/lib/iText-2.1.5.jar" --classpath "$JFREECHART_HOME/lib/jcommon-1.0.18.jar" --classpath "$JFREECHART_HOME/lib/jfreechart-1.0.14.jar" -+JFREECHART_JAR_NAMES="$(java-config --classpath itext | sed -e 's@:@ @g' -e 's@/[^ ]*/@@g') $(java-config --classpath jcommon-1.0 | sed -e 's@:@ @g' -e 's@/[^ ]*/@@g') $(java-config --classpath jfreechart-1.0 | sed -e 's@:@ @g' -e 's@/[^ ]*/@@g')" - -+classpath "$(java-config --classpath itext)" -+classpath "$(java-config --classpath jcommon-1.0)" -+classpath "$(java-config --classpath jfreechart-1.0)" diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-bash_process-1.2.1-settings.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-bash_process-1.2.1-settings.patch deleted file mode 100644 index 38d047199ce8..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-bash_process-1.2.1-settings.patch +++ /dev/null @@ -1,7 +0,0 @@ ---- Isabelle2016-1-orig/contrib/bash_process-1.2.1/etc/settings 2016-02-14 09:48:03.000000000 +1100 -+++ Isabelle2016-1/contrib/bash_process-1.2.1/etc/settings 2017-01-02 13:44:49.355549312 +1100 -@@ -1,3 +1,3 @@ - # -*- shell-script -*- :mode=shellscript: - --ISABELLE_BASH_PROCESS="$COMPONENT/${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}/bash_process" -+ISABELLE_BASH_PROCESS="$COMPONENT/bash_process" diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-disable-jedit-build-after-install.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-disable-jedit-build-after-install.patch deleted file mode 100644 index 6bac5ccbe748..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-disable-jedit-build-after-install.patch +++ /dev/null @@ -1,128 +0,0 @@ ---- Isabelle2016-1-orig/src/Tools/jEdit/lib/Tools/jedit 2016-12-13 01:03:49.000000000 +1100 -+++ Isabelle2016-1/src/Tools/jEdit/lib/Tools/jedit 2017-01-01 17:24:50.107722845 +1100 -@@ -239,125 +239,6 @@ - "$ISABELLE_JEDIT_BUILD_HOME/contrib/jsr305-2.0.0.jar" - ) - -- --# target -- --TARGET="dist/jars/Isabelle-jEdit.jar" -- --declare -a UPDATED=() -- --if [ "$BUILD_JARS" = jars_fresh ]; then -- OUTDATED=true --else -- OUTDATED=false -- if [ ! -e "$TARGET" ]; then -- OUTDATED=true -- else -- if [ -n "$ISABELLE_JEDIT_BUILD_HOME" ]; then -- declare -a DEPS=( -- "$JEDIT_JAR" "${JEDIT_JARS[@]}" "$PURE_JAR" -- "${SOURCES[@]}" "${RESOURCES[@]}" -- ) -- elif [ -e "$ISABELLE_HOME/Admin/build" ]; then -- declare -a DEPS=("$PURE_JAR" "${SOURCES[@]}" "${RESOURCES[@]}") -- else -- declare -a DEPS=() -- fi -- for DEP in "${DEPS[@]}" -- do -- [ ! -e "$DEP" ] && fail "Missing file: $DEP" -- [ "$DEP" -nt "$TARGET" ] && { -- OUTDATED=true -- UPDATED["${#UPDATED[@]}"]="$DEP" -- } -- done -- fi --fi -- -- --# build -- --if [ "$OUTDATED" = true ] --then -- echo "### Building Isabelle/jEdit ..." -- -- [ "${#UPDATED[@]}" -gt 0 ] && { -- echo "Changed files:" -- for FILE in "${UPDATED[@]}" -- do -- echo " $FILE" -- done -- } -- -- [ -z "$ISABELLE_JEDIT_BUILD_HOME" ] && \ -- fail "Unknown ISABELLE_JEDIT_BUILD_HOME -- missing auxiliary component" -- -- rm -rf dist || failed -- mkdir -p dist dist/classes || failed -- -- cp -p -R -f "$ISABELLE_JEDIT_BUILD_HOME/contrib/$ISABELLE_JEDIT_BUILD_VERSION/." dist/. -- cp -p -R -f "${RESOURCES[@]}" dist/classes/. -- cp src/jEdit.props dist/properties/. -- cp -p -R -f src/modes/. dist/modes/. -- -- perl -i -e 'while (<>) { -- if (m/FILE="ml.xml"/ or m/FILE_NAME_GLOB="...sml,ml."/) { } -- elsif (m/NAME="javacc"/) { -- print qq!<MODE NAME="isabelle" FILE="isabelle.xml" FILE_NAME_GLOB="{*.thy,ROOT0.ML,ROOT.ML}"/>\n\n!; -- print qq!<MODE NAME="isabelle-ml" FILE="isabelle-ml.xml" FILE_NAME_GLOB="*.ML"/>\n\n!; -- print qq!<MODE NAME="isabelle-news" FILE="isabelle-news.xml"/>\n\n!; -- print qq!<MODE NAME="isabelle-options" FILE="isabelle-options.xml"/>\n\n!; -- print qq!<MODE NAME="isabelle-root" FILE="isabelle-root.xml" FILE_NAME_GLOB="ROOT"/>\n\n!; -- print; -- } -- elsif (m/NAME="sqr"/) { -- print qq!<MODE NAME="sml" FILE="sml.xml" FILE_NAME_GLOB="*.{sml,sig}"/>\n\n!; -- print; -- } -- else { print; } -- }' dist/modes/catalog -- -- cd dist -- isabelle_jdk jar xf jedit.jar -- cp "$ISABELLE_HOME/lib/logo/isabelle_transparent-32.gif" \ -- "org/gjt/sp/jedit/icons/themes/classic/32x32/apps/isabelle.gif" || failed -- cp "$ISABELLE_HOME/lib/logo/isabelle_transparent-32.gif" \ -- "org/gjt/sp/jedit/icons/themes/tango/32x32/apps/isabelle.gif" || failed -- isabelle_jdk jar cfe jedit.jar org.gjt.sp.jedit.jEdit org || failed -- rm -rf META-INF org -- cd .. -- -- cp -p -R -f "${JEDIT_JARS[@]}" dist/jars/. || failed -- ( -- #FIXME workarounds for scalac 2.11.0 -- export CYGWIN="nodosfilewarning" -- function stty() { :; } -- export -f stty -- -- for JAR in "$JEDIT_JAR" "${JEDIT_JARS[@]}" "$PURE_JAR" -- do -- classpath "$JAR" -- done -- export CLASSPATH="$(platform_path "$ISABELLE_CLASSPATH")" -- exec "$SCALA_HOME/bin/scalac" $ISABELLE_SCALA_BUILD_OPTIONS -d dist/classes "${SOURCES[@]}" -- ) || fail "Failed to compile sources" -- -- cd dist/classes -- isabelle_jdk jar cf "../jars/Isabelle-jEdit.jar" * || failed -- cd ../.. -- rm -rf dist/classes -- -- cp "$ISABELLE_JEDIT_BUILD_HOME/doc/jedit5.3.0manual-a4.pdf" dist/doc/jedit-manual.pdf -- cp dist/doc/CHANGES.txt dist/doc/jedit-changes -- cat > dist/doc/Contents <<EOF --Original jEdit Documentation -- jedit-manual jEdit 5.3 User's Guide -- jedit-changes jEdit 5.3 Version History -- --EOF -- --fi -- - popd >/dev/null - - diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-jortho-1.0-2-classpath.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-jortho-1.0-2-classpath.patch deleted file mode 100644 index a34cae3fcf45..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-jortho-1.0-2-classpath.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- Isabelle2016-1-orig/contrib/jortho-1.0-2/etc/settings 2014-04-16 06:03:34.000000000 +1000 -+++ Isabelle2016-1/contrib/jortho-1.0-2/etc/settings 2017-01-02 00:13:01.619790577 +1100 -@@ -3,4 +3,4 @@ - JORTHO_HOME="$COMPONENT" - JORTHO_DICTIONARIES="$JORTHO_HOME/dictionaries/en.gz:$JORTHO_HOME/dictionaries/en_US.gz:$JORTHO_HOME/dictionaries/en_GB-ise.gz:$JORTHO_HOME/dictionaries/en_GB-ize.gz:$JORTHO_HOME/dictionaries/en_CA.gz" - --classpath "$JORTHO_HOME/jortho.jar" -+classpath "$(java-config -p jortho)" diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-libsha1.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-libsha1.patch deleted file mode 100644 index f19436acd1c3..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-libsha1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Isabelle2016-1-orig/src/Pure/General/sha1.ML 2016-12-13 01:03:45.000000000 +1100 -+++ Isabelle2016-1/src/Pure/General/sha1.ML 2016-12-28 20:50:36.814706587 +1100 -@@ -146,7 +146,7 @@ - (* C library and memory *) - - val library_path = -- Path.explode ("$ML_HOME/" ^ (if ML_System.platform_is_windows then "sha1.dll" else "libsha1.so")); -+ Path.explode ("$SHA1_HOME/" ^ (if ML_System.platform_is_windows then "sha1.dll" else "libsha1.so")); - - fun with_memory n = - Thread_Attributes.uninterruptible (fn restore_attributes => fn f => diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-smt_read_only_certificates.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-smt_read_only_certificates.patch deleted file mode 100644 index d766a957021d..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-smt_read_only_certificates.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- Isabelle2016-1-orig/src/HOL/SMT_Examples/Boogie.thy 2016-12-13 01:03:38.000000000 +1100 -+++ Isabelle2016-1/src/HOL/SMT_Examples/Boogie.thy 2016-12-30 23:46:11.947737290 +1100 -@@ -52,7 +52,7 @@ - section \<open>Verification condition proofs\<close> - - declare [[smt_oracle = false]] --declare [[smt_read_only_certificates = true]] -+declare [[smt_read_only_certificates = false]] - - - declare [[smt_certificates = "Boogie_Max.certs"]] ---- Isabelle2016-1-orig/src/HOL/SMT_Examples/SMT_Examples.thy 2016-12-13 01:03:38.000000000 +1100 -+++ Isabelle2016-1/src/HOL/SMT_Examples/SMT_Examples.thy 2016-12-30 23:46:11.953737338 +1100 -@@ -9,7 +9,7 @@ - begin - - declare [[smt_certificates = "SMT_Examples.certs"]] --declare [[smt_read_only_certificates = true]] -+declare [[smt_read_only_certificates = false]] - - - section \<open>Propositional and first-order logic\<close> ---- Isabelle2016-1-orig/src/HOL/SMT_Examples/SMT_Word_Examples.thy 2016-12-13 01:03:38.000000000 +1100 -+++ Isabelle2016-1/src/HOL/SMT_Examples/SMT_Word_Examples.thy 2016-12-30 23:46:11.967737450 +1100 -@@ -11,7 +11,7 @@ - declare [[smt_oracle = true]] - declare [[z3_extensions = true]] - declare [[smt_certificates = "SMT_Word_Examples.certs"]] --declare [[smt_read_only_certificates = true]] -+declare [[smt_read_only_certificates = false]] - - text \<open> - Currently, there is no proof reconstruction for words. diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-smt_timeout.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-smt_timeout.patch deleted file mode 100644 index 249c94bd2583..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-smt_timeout.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- Isabelle2016-1-orig/src/HOL/SMT.thy 2016-12-13 01:03:38.000000000 +1100 -+++ Isabelle2016-1/src/HOL/SMT.thy 2016-12-30 14:11:09.379863215 +1100 -@@ -201,7 +201,7 @@ - (given in seconds) to restrict their runtime. - \<close> - --declare [[smt_timeout = 20]] -+declare [[smt_timeout = 300]] - - text \<open> - SMT solvers apply randomized heuristics. In case a problem is not ---- Isabelle2016-1-orig/src/HOL/Tools/SMT/smt_config.ML 2016-12-13 01:03:42.000000000 +1100 -+++ Isabelle2016-1/src/HOL/Tools/SMT/smt_config.ML 2016-12-30 14:11:27.186904132 +1100 -@@ -170,7 +170,7 @@ - (* options *) - - val oracle = Attrib.setup_config_bool @{binding smt_oracle} (K true) --val timeout = Attrib.setup_config_real @{binding smt_timeout} (K 30.0) -+val timeout = Attrib.setup_config_real @{binding smt_timeout} (K 300.0) - val reconstruction_step_timeout = Attrib.setup_config_real @{binding smt_reconstruction_step_timeout} (K 10.0) - val random_seed = Attrib.setup_config_int @{binding smt_random_seed} (K 1) - val read_only_certificates = Attrib.setup_config_bool @{binding smt_read_only_certificates} (K false) diff --git a/sci-mathematics/isabelle/isabelle-2016.1.ebuild b/sci-mathematics/isabelle/isabelle-2016.1.ebuild deleted file mode 100644 index 3e67fa95fbff..000000000000 --- a/sci-mathematics/isabelle/isabelle-2016.1.ebuild +++ /dev/null @@ -1,328 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils check-reqs java-pkg-2 versionator - -MY_PN="Isabelle" -MY_PV=$(replace_all_version_separators '-') -MY_P="${MY_PN}${MY_PV}" - -BP_PV="1.2.1" -BP_PN="bash_process" -BP_P="${BP_PN}-${BP_PV}" -BP_IC_PN="${BP_PN}-isabelle-component" -BP_IC_P="${BP_IC_PN}-${BP_PV}" - -# csdp is used in the compile of HOL_ex in -# Library/Sum_of_Squares/sos_wrapper.ML where it execs $ISABELLE_CSDP -CSDP_PV="6.x" -CSDP_PN="csdp" -CSDP_P="${CSDP_PN}-${CSDP_PV}" -CSDP_IC_PN="${CSDP_PN}-isabelle-component" -CSDP_IC_P="${CSDP_IC_PN}-${CSDP_PV}" - -ISABELLE_FONTS_PV="20160830" -ISABELLE_FONTS_PN="isabelle_fonts" -ISABELLE_FONTS_P="${ISABELLE_FONTS_PN}-${ISABELLE_FONTS_PV}" -ISABELLE_FONTS_IC_PN="${ISABELLE_FONTS_PN}-isabelle-component" -ISABELLE_FONTS_IC_P="${ISABELLE_FONTS_IC_PN}-${ISABELLE_FONTS_PV}" - -JEDIT_PV="20161024" -JEDIT_PN="jedit_build" -JEDIT_P="${JEDIT_PN}-${JEDIT_PV}" -JEDIT_IC_PN="${JEDIT_PN}-isabelle-component" -JEDIT_IC_P="${JEDIT_IC_PN}-${JEDIT_PV}" - -JORTHO_PV="1.0-2" -JORTHO_PN="jortho" -JORTHO_P="${JORTHO_PN}-${JORTHO_PV}" -JORTHO_IC_PN="${JORTHO_PN}-isabelle-component" -JORTHO_IC_P="${JORTHO_IC_PN}-${JORTHO_PV}" - -JFREECHART_PV="1.0.14-1" -JFREECHART_PN="jfreechart" -JFREECHART_P="${JFREECHART_PN}-${JFREECHART_PV}" -JFREECHART_IC_PN="${JFREECHART_PN}-isabelle-component" -JFREECHART_IC_P="${JFREECHART_IC_PN}-${JFREECHART_PV}" - -POLYML_PV="5.6-1" -POLYML_PN="polyml" -POLYML_P="${POLYML_PN}-${POLYML_PV}" -POLYML_IC_PN="${POLYML_PN}-isabelle-component" -POLYML_IC_P="${POLYML_IC_PN}-${POLYML_PV}" - -SSH_JAVA_PV="20161009" -SSH_JAVA_PN="ssh-java" -SSH_JAVA_P="${SSH_JAVA_PN}-${SSH_JAVA_PV}" -SSH_JAVA_IC_PN="${SSH_JAVA_PN}-isabelle-component" -SSH_JAVA_IC_P="${SSH_JAVA_IC_PN}-${SSH_JAVA_PV}" - -XZ_JAVA_PV="1.5" -XZ_JAVA_PN="xz-java" -XZ_JAVA_P="${XZ_JAVA_PN}-${XZ_JAVA_PV}" -XZ_JAVA_IC_PN="${XZ_JAVA_PN}-isabelle-component" -XZ_JAVA_IC_P="${XZ_JAVA_IC_PN}-${XZ_JAVA_PV}" - -SS="2.12" - -DESCRIPTION="Isabelle is a generic proof assistant" -HOMEPAGE="http://www.cl.cam.ac.uk/research/hvg/Isabelle/index.html" -SRC_URI="http://isabelle.in.tum.de/website-${MY_P}/dist/${MY_P}.tar.gz - http://isabelle.in.tum.de/dist/contrib/${BP_P}.tar.gz -> ${BP_IC_P}.tar.gz - https://dev.gentoo.org/~gienah/snapshots/${CSDP_IC_P}.tar.gz - http://isabelle.in.tum.de/dist/contrib/${ISABELLE_FONTS_P}.tar.gz -> ${ISABELLE_FONTS_IC_P}.tar.gz - http://isabelle.in.tum.de/components/${JORTHO_P}.tar.gz -> ${JORTHO_IC_P}.tar.gz - http://isabelle.in.tum.de/components/${JEDIT_P}.tar.gz -> ${JEDIT_IC_P}.tar.gz - http://isabelle.in.tum.de/dist/contrib/${JFREECHART_P}.tar.gz -> ${JFREECHART_IC_P}.tar.gz - https://dev.gentoo.org/~gienah/snapshots/${POLYML_IC_P}.tar.gz - http://isabelle.in.tum.de/dist/contrib/${SSH_JAVA_P}.tar.gz -> ${SSH_JAVA_IC_P}.tar.gz - https://dev.gentoo.org/~gienah/snapshots/${XZ_JAVA_IC_P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc graphbrowsing ledit readline" - -#upstream says -#bash 2.x/3.x, Poly/ML 5.x, Perl 5.x, -#for document preparation: complete LaTeX -DEPEND=">=app-shells/bash-3.0:* - >=dev-java/jcommon-1.0.18:1.0 - dev-java/jortho:0 - >=dev-java/jfreechart-1.0.14:1.0 - >=dev-java/itext-2.1.5:0 - dev-java/xz-java:0 - >=dev-lang/ghc-7.6.3 - >=dev-lang/polyml-5.6:=[-portable] - >=dev-lang/perl-5.8.8-r2 - >=dev-lang/swi-prolog-6.6.6 - sci-libs/coinor-csdp - =sci-mathematics/z3-4.4*[isabelle] - >=virtual/jdk-1.8 - doc? ( - virtual/latex-base - dev-tex/rail - ) - dev-lang/scala:${SS} - ledit? ( - app-misc/ledit - ) - readline? ( - app-misc/rlwrap - )" - -RDEPEND=" - dev-perl/libwww-perl - sci-mathematics/sha1-polyml - >=virtual/jre-1.8" - -S="${WORKDIR}"/Isabelle${MY_PV} -TARGETDIR="/usr/share/Isabelle" - -# Notes on QA warnings: * Class files not found via DEPEND in package.env -# Stuff with $ in the name appear to be spurious: -# isabelle/Markup_Tree$$anonfun$results$1$1.class -# scala/tools/nsc/backend/jvm/GenJVM$BytecodeGenerator$$anonfun$computeLocalVarsIndex$1.class -# It wants javafx, I am unsure how to fix this. I test isabelle with the Sun JDK: -# javafx/application/Platform.class javafx -# Presumably the user can provide the jEdit plugins if they are necessary: -# marker/MarkerSetsPlugin.class http://plugins.jedit.org/plugins/?MarkerSets -# projectviewer/gui/OptionPaneBase.class http://plugins.jedit.org/plugins/?ProjectViewer - -JAVA_GENTOO_CLASSPATH="itext,jcommon-1.0,jortho,jfreechart-1.0,scala-${SS},xz-java" - -CHECKREQS_MEMORY="8192M" -CHECKREQS_DISK_BUILD="17G" -CHECKREQS_DISK_USR="8G" - -src_unpack() { - unpack "${MY_P}.tar.gz" - cd "${S}/contrib" || die - unpack ${BP_IC_P}.tar.gz - unpack ${CSDP_IC_P}.tar.gz - unpack ${ISABELLE_FONTS_IC_P}.tar.gz - unpack ${JEDIT_IC_P}.tar.gz - unpack ${JORTHO_IC_P}.tar.gz - unpack ${JFREECHART_IC_P}.tar.gz - unpack ${POLYML_IC_P}.tar.gz - unpack ${SSH_JAVA_IC_P}.tar.gz - unpack ${XZ_JAVA_IC_P}.tar.gz -} - -pkg_setup() { - java-pkg-2_pkg_setup - check-reqs_pkg_setup -} - -src_prepare() { - java-pkg-2_src_prepare - java-pkg_getjars ${JAVA_GENTOO_CLASSPATH} - rm -rf "${S}/contrib/${BP_P}/{x86-cygwin,x86-darwin,x86_64-darwin,x86-linux,x86_64-linux}" \ - || die "Could not remove bash_process binaries" - rm -f "${S}/contrib/${JORTHI_P}/${JORTHO_PN}.jar" \ - || die "Could not remove contrib/${JORTHI_P}/${JORTHO_PN}.jar" - eapply "${FILESDIR}/${PN}-2016-classpath.patch" - eapply "${FILESDIR}/${PN}-2016-jfreechart-classpath.patch" - eapply "${FILESDIR}/${PN}-2016.1-bash_process-1.2.1-settings.patch" - eapply "${FILESDIR}/${PN}-2012-graphbrowser.patch" - eapply "${FILESDIR}/${PN}-2016.1-libsha1.patch" - eapply "${FILESDIR}/${PN}-2016.1-smt_timeout.patch" - eapply "${FILESDIR}/${PN}-2016.1-smt_read_only_certificates.patch" - eapply "${FILESDIR}/${PN}-2016.1-disable-jedit-build-after-install.patch" - eapply "${FILESDIR}/${PN}-2016.1-jortho-1.0-2-classpath.patch" - local polymlver=$(poly -v | cut -d' ' -f2) - local polymlarch=$(poly -v | cut -d' ' -f9 | cut -d'-' -f1) - cat <<- EOF >> "${S}/etc/settings" - # Poly/ML Gentoo (${polymlarch,,}) - ML_PLATFORM=${polymlarch,,}-linux - ML_HOME="${ROOT}usr/bin" - ML_SYSTEM=polyml-${polymlver} - ML_OPTIONS="-H 1000" - ML_SOURCES="${ROOT}usr/src/debug/dev-lang/polyml-${polymlver}" - - ISABELLE_GHC="${ROOT}usr/bin/ghc" - ISABELLE_OCAML="${ROOT}usr/bin/ocaml" - ISABELLE_SWIPL="${ROOT}usr/bin/swipl" - ISABELLE_JDK_HOME="\$(java-config --jdk-home)" - ISABELLE_BUILD_JAVA_OPTIONS="-Djava.awt.headless=true" - SCALA_HOME="${ROOT}usr/share/scala-${SS}" - SHA1_HOME="${ROOT}usr/$(get_libdir)/sha1-polyml" - EOF - local Z3_P="$(best_version sci-mathematics/z3 | sed 's:sci-mathematics/::')" - cat <<- EOF >> "${S}/etc/components" - #bundled components - contrib/${BP_P} - contrib/${CSDP_P} - contrib/${ISABELLE_FONTS_P} - contrib/${JEDIT_P} - contrib/${JORTHO_P} - contrib/${JFREECHART_P} - contrib/${POLYML_P} - contrib/${SSH_JAVA_P} - contrib/${XZ_JAVA_P} - contrib/${Z3_P} - EOF - local Z3_RC="${ROOT}usr/share/Isabelle/contrib/${Z3_P}" - [ -d "${Z3_RC}" ] \ - || die "z3 isabelle component directory ${Z3_RC} does not exist" - ln -s "${Z3_RC}" \ - "${S}/contrib/${Z3_P}" \ - || die "Failed to create z3 isabelle component symbolic link" - if use ledit && ! use readline; then - eapply "${FILESDIR}/${PN}-2012-reverse-line-editor-order.patch" - fi - rm -f "${S}/contrib/${JFREECHART_P}/lib"/*.jar \ - || die "Could not rm bundled jar files supplied by Gentoo" -} - -src_compile() { - unset DISPLAY - einfo "Building Isabelle. This may take some time." - pushd contrib/${BP_P} || die "Could not cd to contrib/${BP_P}" - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${BP_PN} ${BP_PN}.c \ - || die "Could not build ${BP_PN}" - popd || die - if use graphbrowsing - then - rm -f "${S}/lib/browser/GraphBrowser.jar" \ - || die "failed cleaning graph browser directory" - pushd "${S}/lib/browser" \ - || die "Could not change directory to lib/browser" - ./build || die "failed building the graph browser" - popd - fi - ./bin/isabelle jedit -b -f || die "pide build failed" - pushd "${S}"/src/Pure || die "Could not change directory to src/Pure" - ../../bin/isabelle env ./build-jars -f || die "build-jars failed" - popd || die - ./bin/isabelle build -a -b -s -v || die "isabelle build failed" -} - -src_install() { - local Z3_P="$(best_version sci-mathematics/z3 | sed 's:sci-mathematics/::')" - rm "${S}/contrib/${Z3_P}" \ - || die "Failed to remove z3 isabelle component symbolic link" - - insinto ${TARGETDIR} - doins -r src - doins -r lib - doins -r contrib - doins ROOTS - - docompress -x /usr/share/doc/${PF} - dodoc -r doc - if use doc; then - dosym /usr/share/doc/${PF}/doc "${TARGETDIR}/doc" - # The build of sci-mathematics/haskabelle with use doc requires - # sci-mathematics/isabelle[doc?]. The haskabelle doc build requires - # the src/Doc directory stuff in the isabelle package. - doins -r src/Doc - for i in $(find ./src/Doc -type f -executable -print) - do - exeinto $(dirname "${TARGETDIR}/${i}") - doexe ${i} - done - fi - - for i in $(find \ - ./{bin,lib,"contrib/${BP_P}/${BP_PN}",src/HOL,src/Pure,src/Tools} \ - -type f -executable -print) - do - exeinto $(dirname "${TARGETDIR}/${i}") - doexe ${i} - done - - insinto /etc/isabelle - doins -r etc/* - dosym /etc/isabelle "${TARGETDIR}/etc" - - local LIBDIR="/usr/"$(get_libdir)"/Isabelle"${MY_PV} - dosym "${LIBDIR}/heaps" "${TARGETDIR}/heaps" - insinto ${LIBDIR} - doins -r heaps - - ./bin/isabelle install -d ${TARGETDIR} "${ED}usr/bin" \ - || die "isabelle install failed" - newicon lib/icons/"${PN}.xpm" "${PN}.xpm" - newicon lib/icons/"${PN}-mini.xpm" "${PN}-mini.xpm" - - java-pkg_regjar \ - $(find . -type f -name \*.jar -print | sed -e "s@^\.@${ED}${TARGETDIR}@g") - - local DOCS=( "ANNOUNCE" "CONTRIBUTORS" "COPYRIGHT" "NEWS" "README" ) - einstalldocs -} - -pkg_postinst() { - # If any of the directories in /etc/isabelle/components do not exist, then - # even isabelle getenv ISABELLE_HOME fails. Hence it is necessary to - # to delete any non-existing directories. If an old Isabelle version was - # installed with component ebuilds like sci-mathematics/e, then the - # Isabelle version is upgraded, then the contrib directories will not - # exist initially, it is necessary to delete them from /etc/isabelle/components. - # Then these components are rebuilt (creating these directories) using the - # EAPI=5 subslot depends. - for i in $(egrep '^[^#].*$' "${ROOT}etc/isabelle/components") - do - if [ ! -d ${TARGETDIR}/${i} ]; then - sed -e "\@${i}@d" -i "${ROOT}etc/isabelle/components" - fi - done - if use ledit && use readline; then - elog "Both readline and ledit use flags specified. The default setting" - elog "if both are installed is to use readline (rlwrap), this can be" - elog "modfied by editing the ISABELLE_LINE_EDITOR setting in" - elog "${ROOT}/etc/isabelle/settings" - fi - elog "Please ensure you have a pdf viewer installed, for example:" - elog "As root: emerge app-text/zathura-pdf-poppler" - elog "Please configure your preferred pdf viewer, something like:" - elog "As normal user: xdg-mime default zathura.desktop application/pdf" - elog "Or alternatively by editing the PDF_VIEWER variable in the system" - elog "settings file ${ROOT}etc/isabelle/settings and/or the user" - elog "settings file \$HOME/.isabelle/${MY_P}/etc/settings" - elog "For nitpick it is necessary to install:" - elog "emerge sci-mathematics/kodkodi" -} diff --git a/sci-mathematics/isabelle/metadata.xml b/sci-mathematics/isabelle/metadata.xml deleted file mode 100644 index d59b385fb4ad..000000000000 --- a/sci-mathematics/isabelle/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>gienah@gentoo.org</email> -</maintainer> -<maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> -</maintainer> -<longdescription lang="en"> -Isabelle is a generic proof assistant. It allows mathematical -formulas to be expressed in a formal language and provides tools -for proving those formulas in a logical calculus. The main -application is the formalization of mathematical proofs and in -particular formal verification, which includes proving the -correctness of computer hardware or software and proving -properties of computer languages and protocols. -</longdescription> -<use> - <flag name="graphbrowsing">Generate theory browsing information, - including HTML documents that show a theory's definition, the - theorems proved in its ML file and the relationship with its - ancestors and descendants.</flag> - <flag name="ledit">Use ledit for the isabelle tty line editor</flag> - <flag name="readline">Use readline (rlwrap) for the isabelle tty line - editor</flag> -</use> -</pkgmetadata> diff --git a/sci-mathematics/kodkodi/Manifest b/sci-mathematics/kodkodi/Manifest deleted file mode 100644 index 5d8167f1ac6d..000000000000 --- a/sci-mathematics/kodkodi/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST kodkodi-1.5.2.tgz 2826648 BLAKE2B 1c2c83b2fd0df3bf01d8aa5a5332a4347cd64493daef28780b3cc8fa7d627bed1d05cee91afdfef88b62d262e8ba39be6d8ae719b2f6e0da40808d5ef3176c17 SHA512 117e0f1b3e3ee88efb9a9e2f02e8a7ce82a3487528ad0476acf20fafd885d3d48c051bd4a8cb6aa5cda61f24dfa74159448b83398be4119e726e757f6ff3aad4 -EBUILD kodkodi-1.5.2-r1.ebuild 2893 BLAKE2B b70a581375137db1c0cc714dd1fc5f42947470287f93970eabd8bd2e2a6c082a68f8eddb9eeff63f611f14422c24dd7c5e1401aedd2fe77121bd7dc0176a2e64 SHA512 b7a36e799ed2b0a96a28662f5e0e98c56fcdbac4e85e090b83f30f941300c8cf572a6125b6193abf50341f17ad379db397063aa17aec64b4f8135bd8fb06b0a9 -MISC metadata.xml 570 BLAKE2B 9a1bb608090c1748c207a1aaa0cb88d91b381ca5201ebc71b36f23e5f96b896ab0ad23434cb5fd5e251058e2c2098f4f009c73946c16a65f9fc1d9f31cab89b4 SHA512 e41523244a6503726c4e81500011d26554e709d6eb670005f761fa6fe82c3243b0f5eb2840f83c242cd376763cc467d40049bbb53cef856724f04f9ab2a1c251 diff --git a/sci-mathematics/kodkodi/kodkodi-1.5.2-r1.ebuild b/sci-mathematics/kodkodi/kodkodi-1.5.2-r1.ebuild deleted file mode 100644 index 18f9e89ca3e1..000000000000 --- a/sci-mathematics/kodkodi/kodkodi-1.5.2-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple multilib - -DESCRIPTION="A text front-end for the Kodkod Java library" -HOMEPAGE="http://www21.in.tum.de/~blanchet/#software" -SRC_URI="http://www21.in.tum.de/~blanchet/${P}.tgz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="isabelle examples" - -COMMON_DEP="dev-java/antlr:3 - =sci-mathematics/kodkod-1.5*:=" -RDEPEND="${COMMON_DEP} - isabelle? ( - sci-mathematics/isabelle:= - ) - >=virtual/jre-1.6" -DEPEND="${COMMON_DEP} - >=virtual/jdk-1.6 - app-arch/unzip" - -S="${WORKDIR}/${P}" - -JAVA_GENTOO_CLASSPATH="kodkod,antlr-3" - -src_prepare() { - default - sed -e 's@exec "$ISABELLE_TOOL" java $KODKODI_JAVA_OPT@java@' \ - -i "${S}/bin/kodkodi" || die "Could not patch bin/kodkodi" - rm -f jar/*.jar || die "Could not rm jar files" -} - -src_compile() { - JAVA_SRC_DIR="src" - TARGETDIR="/usr/share/${P}" - KODKOD_LIBDIR="/usr/"$(get_libdir)"/kodkod" - - java-pkg-simple_src_compile - - pushd "${S}/target/classes" > /dev/null || die - jar -uf "${S}"/${PN}.jar $(find -name '*.class') || die - popd > /dev/null -} - -src_install() { - java-pkg-simple_src_install - dodoc README HISTORY manual/${PN}.pdf LICENSES/Kodkodi - insinto ${TARGETDIR} - if use examples; then - doins -r examples - fi - - if use isabelle; then - ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" \ - || die "isabelle getenv ISABELLE_HOME failed" - [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty" - dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - cat <<- EOF >> "${S}/settings" - KODKODI="\$COMPONENT" - KODKODI_VERSION="${PV}" - KODKODI_PLATFORM=\$ISABELLE_PLATFORM - KODKODI_CLASSPATH="$(java-config --classpath=antlr:3):${ROOT}usr/share/${PN}-${SLOT}/lib/kodkodi.jar:$(java-config --classpath=kodkod)" - KODKODI_JAVA_LIBRARY_PATH="${KODKOD_LIBDIR}" - EOF - insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - doins "${S}/settings" - dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/bin" - exeinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/bin" - doexe bin/kodkodi - fi -} - -pkg_postinst() { - if use isabelle; then - if [ -f "${ROOT}etc/isabelle/components" ]; then - if egrep "contrib/${PN}-[0-9.]*" "${ROOT}etc/isabelle/components"; then - sed -e "/contrib\/${PN}-[0-9.]*/d" \ - -i "${ROOT}etc/isabelle/components" - fi - cat <<- EOF >> "${ROOT}etc/isabelle/components" - contrib/${PN}-${PV} - EOF - fi - fi -} - -pkg_postrm() { - if use isabelle; then - if [ ! -f "${ROOT}usr/bin/kodkodi" ]; then - if [ -f "${ROOT}etc/isabelle/components" ]; then - # Note: this sed should only match the version of this ebuild - # Which is what we want as we do not want to remove the line - # of a new kodkodi being installed during an upgrade. - sed -e "/contrib\/${PN}-${PV}/d" \ - -i "${ROOT}etc/isabelle/components" - fi - fi - fi -} diff --git a/sci-mathematics/kodkodi/metadata.xml b/sci-mathematics/kodkodi/metadata.xml deleted file mode 100644 index 28c187d2755b..000000000000 --- a/sci-mathematics/kodkodi/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>gienah@gentoo.org</email> - <name>Mark Wright</name> -</maintainer> -<maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> -</maintainer> -<longdescription lang="en"> -A text front-end for the Kodkod Java library. -</longdescription> -<use> - <flag name="isabelle">Add integration support for the Isabelle/HOL - theorem prover.</flag> -</use> -</pkgmetadata> diff --git a/sci-mathematics/spass/Manifest b/sci-mathematics/spass/Manifest deleted file mode 100644 index 3f6eac8e73fd..000000000000 --- a/sci-mathematics/spass/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST spass39.tgz 554633 BLAKE2B ca2215f205215805eace6abae82ad281bdadd75f2a52cfe3fed43cb15a4955a4e4d2375fc73a546592315540a7596494bc0df4c53996fd9299e901f68a81ddc8 SHA512 d7ea0697426c476f2e03b2f9078b7e060671067a67fad7144bb5887a2dd3f39e19e1888f121fce546b5d6ea9a4dc458d1cbec56b59c93507e7dc2d0afa25a89b -EBUILD spass-3.9.ebuild 4528 BLAKE2B cde0847e8e2779971f33c1901f4601083c7490082d987a3286c89b1b7c72b8f5c5824aa3762f3eab99b4748c17f0cc6e38bd6f5ced7cf66ff87e4a013b6349a0 SHA512 e00e0c0a2fe8ffc3b5e5ff193a90ed002ffb0a7173cd31837351d32e86201b4bb0296ee49e203ebba9b67f948448f93e3f8acd317f1f800691d6b8a9ed3b0a2f -MISC metadata.xml 577 BLAKE2B 7d0a60f31459c0a514ae829d1a56efdb55ac0abb5c5202e1e8400755ae4593ef183e9770e2308545af2b17ad7e385d15c48a9ee630a3cd20d1feb5f0edc189d1 SHA512 7cd50f06b202828fd682e2f44d361b393cc89f0468001970c2ad807e26d7fa5399cba09e6805a937cfba9c56019b67ab3dec422a989e16cbb5216fa76c253285 diff --git a/sci-mathematics/spass/metadata.xml b/sci-mathematics/spass/metadata.xml deleted file mode 100644 index 93ca493501bd..000000000000 --- a/sci-mathematics/spass/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>gienah@gentoo.org</email> - </maintainer> - <maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> - </maintainer> - <longdescription lang="en"> - SPASS: An Automated Theorem Prover for First-Order Logic with Equality. - </longdescription> - <use> - <flag name="isabelle">Add integration support for the Isabelle/HOL theorem prover.</flag> - </use> -</pkgmetadata> diff --git a/sci-mathematics/spass/spass-3.9.ebuild b/sci-mathematics/spass/spass-3.9.ebuild deleted file mode 100644 index c702deaec240..000000000000 --- a/sci-mathematics/spass/spass-3.9.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -MY_PV=$(ver_rs 1- '' "${PV}") -MY_P="${PN}${MY_PV}" - -DESCRIPTION="An Automated Theorem Prover for First-Order Logic with Equality" -HOMEPAGE="http://www.spass-prover.org/" -SRC_URI="http://www.spass-prover.org/download/sources/${MY_P}.tgz" - -LICENSE="BSD-2" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="isabelle" - -RDEPEND="isabelle? ( - sci-mathematics/isabelle:= - )" -DEPEND="${RDEPEND}" - -src_unpack() { - mkdir -p "${P}" || die - cd "${S}" || die - unpack "${MY_P}.tgz" -} - -src_compile() { - einfo "generating parsers" - bison -d -p pro_ -o proparser.c proparser.y || die - bison -d -p tptp_ -o tptpparser.c tptpparser.y || die - bison -d -p ia_ -o iaparser.c iaparser.y || die - - einfo "generating lexers" - flex -Ppro_ -o proscanner.c proscanner.l || die - flex -Ptptp_ -o tptpscanner.c tptpscanner.l || die - flex -Pia_ -o iascanner.c iascanner.l || die - - einfo "compiling sources" - local x - for x in *.c - do - $(tc-getCC) \ - ${CPPFLAGS} ${CFLAGS} \ - -c -o ${x/.c/.o} ${x} || die "compile ${x} failed" - done - - einfo "linking tptp2dfg" - $(tc-getCC) \ - ${LDFLAGS} -o tptp2dfg \ - array.o clause.o cmdline.o context.o description.o dfg_diagnostic.o \ - dfg_string_table.o dfg_token.o dfgparser.o dfglexer.o \ - tptpparser.o tptpscanner.o eml.o flags.o foldfg.o hashmap.o kbo.o \ - list.o memory.o misc.o order.o rpos.o sharing.o st.o stack.o \ - strings.o subst.o symbol.o term.o unify.o tptp2dfg.o -lm \ - || die "link tptp2dfg failed" - - einfo "linking dfg2ascii" - $(tc-getCC) \ - ${LDFLAGS} -o dfg2ascii \ - array.o clause.o cmdline.o context.o description.o dfg_diagnostic.o \ - dfg_string_table.o dfg_token.o dfgparser.o dfglexer.o \ - tptpparser.o tptpscanner.o eml.o flags.o foldfg.o hashmap.o kbo.o \ - list.o memory.o misc.o order.o rpos.o sharing.o st.o stack.o \ - strings.o subst.o symbol.o term.o unify.o dfg2ascii.o -lm \ - || die "link dfg2ascii failed" - - einfo "linking dfg2dfg" - $(tc-getCC) \ - ${LDFLAGS} -o dfg2dfg \ - array.o clause.o cmdline.o context.o description.o dfg_diagnostic.o \ - dfg_string_table.o dfg_token.o dfgparser.o dfglexer.o \ - tptpparser.o tptpscanner.o eml.o flags.o foldfg.o hashmap.o kbo.o \ - list.o memory.o misc.o order.o rpos.o sharing.o st.o stack.o \ - strings.o subst.o symbol.o term.o unify.o approx.o dfg2dfg.o -lm \ - || die "link dfg2dfg failed" - - einfo "linking SPASS" - $(tc-getCC) \ - ${LDFLAGS} -o SPASS \ - array.o clause.o cmdline.o context.o description.o dfg_diagnostic.o \ - dfg_string_table.o dfg_token.o dfgparser.o dfglexer.o \ - tptpparser.o tptpscanner.o eml.o flags.o foldfg.o hashmap.o kbo.o \ - list.o memory.o misc.o order.o rpos.o sharing.o st.o stack.o \ - strings.o subst.o symbol.o term.o unify.o analyze.o clock.o \ - closure.o cnf.o component.o condensing.o defs.o doc-proof.o graph.o \ - hash.o hasharray.o iaparser.o iascanner.o partition.o proofcheck.o \ - ras.o renaming.o resolution.o rules-inf.o rules-red.o rules-sort.o \ - rules-split.o rules-ur.o search.o sort.o subsumption.o table.o \ - tableau.o terminator.o top.o vector.o -lm \ - || die "link SPASS failed" -} - -src_install() { - exeinto /usr/bin - local x - for x in tptp2dfg dfg2ascii dfg2dfg SPASS - do - doexe ${x} - done - - if use isabelle; then - ewarn "All open source versions of spass are broken with Isabelle 2016.1" - ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" - [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty" - dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - cat <<- EOF >> "${S}/settings" - SPASS_HOME="${EROOT}/usr/bin" - SPASS_VERSION="${PV}" - EOF - insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - doins "${S}/settings" - fi -} - -pkg_postinst() { - if use isabelle; then - if [ -f "${EROOT}/etc/isabelle/components" ]; then - if egrep "contrib/${PN}-[0-9.]*" "${EROOT}/etc/isabelle/components"; then - sed -e "/contrib\/${PN}-[0-9.]*/d" \ - -i "${EROOT}/etc/isabelle/components" - fi - cat <<- EOF >> "${EROOT}/etc/isabelle/components" - contrib/${PN}-${PV} - EOF - fi - fi -} - -pkg_postrm() { - if use isabelle; then - if [ ! -f "${EROOT}/usr/bin/SPASS" ]; then - if [ -f "${EROOT}/etc/isabelle/components" ]; then - # Note: this sed should only match the version of this ebuild - # Which is what we want as we do not want to remove the line - # of a new spass being installed during an upgrade. - sed -e "/contrib\/${PN}-${PV}/d" \ - -i "${EROOT}/etc/isabelle/components" - fi - fi - fi -} diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest index 7159c08e784e..9b52ab5ddcb8 100644 --- a/sci-mathematics/wxmaxima/Manifest +++ b/sci-mathematics/wxmaxima/Manifest @@ -1,7 +1,9 @@ DIST wxmaxima-18.11.4.tar.gz 12156776 BLAKE2B 75be0fb88402af011885616a646f7abcad25516ea9b0b375daf02edac5518b113188290262bc431e8bfb4836fc1f731982a1c41c62871818e4d2cc68c96ccb31 SHA512 964de93edc5c46e98de3de405b1873fa0ed594d54f1ddc030377b023110261cb1e6b0b08dbf210551888bf890e28d16e9b1698768c93dde413d5e1918cbd234e DIST wxmaxima-19.05.7.tar.gz 13832202 BLAKE2B 6afe37dfcefe3f1711cc1cc89e4c61071dff2d49c60742a6d64ece9fa029823f6e94e20eb69e6d6cd8ccad1f5f656670089d593752f4be4d179222f5f2090d53 SHA512 3a7caee5ab03eefd4d2811345678d7b74081b0a4315dcc7739dbf4d265d274bb47a93ace5980a30185a13f40c1c970a8e4ba444bdd64b8b9ebd3b9a263cc6c06 DIST wxmaxima-19.08.1.tar.gz 15153254 BLAKE2B 1bd48735ab95b078b9f35d7be623c1a16da6764649254579a2c2252ff858adb05e9408a85e5ed84dba6f15f879db761472276a5da77fa15e1c1823c678160aa3 SHA512 07f650144b8acd8295a45411185805185078f5236b67b33dac0f12308fc3b7522a6a46dfd2df35397c1d2fd5a357fb8d12473be4af576fcf09bda1e34352ae68 +DIST wxmaxima-19.09.0.tar.gz 15153282 BLAKE2B 96cb2db8938b73fb2dc3547310109df581a780a0372687aed9957cd3434fcbec8fef23467543f854f7e6b2c302dba6f3d5a411b17ab83e886175a62dc3fac385 SHA512 fad35fa118e49834d2ff6d54fb1f7cb8675ca1caadbb43c526b7a313479412c1a6c69959a0820c17af0119fc926f66c31368598c9e212fac56305a96d7a39838 EBUILD wxmaxima-18.11.4.ebuild 1324 BLAKE2B 1f6c20362bc7403da290ae6ae0bfa898b611d2986f770523d24780682562fa5c60a853697dda8507fe1ede01410b140bd6518cf1f5b0a65502fc36a9f0486a7d SHA512 e6102de11417007556f36485d8c37c100c0bc2f5df0cb39750ef5bda82d4c7a71d4036f7879e066dc407f45eab3e92122ae2c0494cbc94e607daf3982ea1702a EBUILD wxmaxima-19.05.7.ebuild 1460 BLAKE2B 1137943c8725f8a47b31404ff691f4d865f419b9bdc224a851decc4d76c067c4b7dec561039c6b6efa9c6fc8b2643bb8f57f4c94dec60db954b8a02a3d049f65 SHA512 7437cacffb38ce11970036778acb916aadec00ad84e8d8de0f9627bb935e96caac30ede0f6b08ea72539fb3e93d96879796773741d95402df239536418e6dff4 EBUILD wxmaxima-19.08.1.ebuild 1460 BLAKE2B 1137943c8725f8a47b31404ff691f4d865f419b9bdc224a851decc4d76c067c4b7dec561039c6b6efa9c6fc8b2643bb8f57f4c94dec60db954b8a02a3d049f65 SHA512 7437cacffb38ce11970036778acb916aadec00ad84e8d8de0f9627bb935e96caac30ede0f6b08ea72539fb3e93d96879796773741d95402df239536418e6dff4 +EBUILD wxmaxima-19.09.0.ebuild 1234 BLAKE2B 8cd862e12a583116859213c861d120095b88f5a815fcf8aed15499eaadaedcc5c0eae3c1e5b40e5bd4beae165fba68408c1c0772bf69ed28651264e214a82bf8 SHA512 f544e092e687134e312791a7b4d003bcc15b42aded3bc9e464ab1271c6e626fdb5fbdd87ae52c189a5e901099d3f8d47a9431b46c449f499081488b39d0e5218 MISC metadata.xml 711 BLAKE2B 00c54141e803d86fb20dc4f058fe99f6bbc2fd067175af6d0a5f893dc5a0b523fdd9116341ba33f991b11538989869337e1ce36c2259cfdb284725fed1aeaf60 SHA512 30a578958cbc4813e2615d0c3d7c4a1349f408933f285d3a43a382bf90bdf5c985ef1b844c4f8391205be643961de0335536ee800e1be24bf358bb4ead736fe5 diff --git a/sci-mathematics/wxmaxima/wxmaxima-19.09.0.ebuild b/sci-mathematics/wxmaxima/wxmaxima-19.09.0.ebuild new file mode 100644 index 000000000000..f73edd67a189 --- /dev/null +++ b/sci-mathematics/wxmaxima/wxmaxima-19.09.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +WX_GTK_VER="3.0" +PLOCALES="ca cs da de el en es fi fr gl hu it ja kab nb pl pt_BR ru tr uk zh_CN zh_TW" +inherit cmake-utils wxwidgets l10n xdg + +DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit" +HOMEPAGE="https://wxmaxima-developers.github.io/wxmaxima/" +SRC_URI="https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +S="${WORKDIR}"/${PN}-Version-${PV} + +DEPEND=" + dev-libs/libxml2:2 + x11-libs/wxGTK:${WX_GTK_VER}" +RDEPEND="${DEPEND} + media-fonts/jsmath + sci-visualization/gnuplot[wxwidgets] + sci-mathematics/maxima" + +src_prepare() { + setup-wxwidgets + cmake-utils_src_prepare + + sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i "${S}"/info/CMakeLists.txt \ + || die "sed info/CMakeLists.txt failed" + + # locales + rm_po() { + rm "${S}"/locales/${1}.po || die "rm ${1}.po failed" + } + l10n_find_plocales_changes "${S}"/locales '' '.po' + l10n_for_each_disabled_locale_do rm_po +} + +src_install() { + docompress -x /usr/share/doc/${PF}/wxmaxima.hhp /usr/share/doc/${PF}/wxmaxima_tr.hhp + cmake-utils_src_install +} |