summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-31 22:30:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-31 22:30:36 +0000
commit618c3037024b4e5328531cdc07c6ceb7486f5329 (patch)
tree7c9f8d50c6f5fbd53f3df583c471f5d2e5c34202 /sci-mathematics
parent76dfef0cec9170000357d2f354e412daf48941fc (diff)
gentoo resync : 31.12.2017 (final resync this year)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin14833 -> 14842 bytes
-rw-r--r--sci-mathematics/maxima/Manifest9
-rw-r--r--sci-mathematics/maxima/files/db-0.patch20
-rw-r--r--sci-mathematics/maxima/files/sbcl-1.patch18
-rw-r--r--sci-mathematics/maxima/maxima-5.37.3-r4.ebuild208
-rw-r--r--sci-mathematics/maxima/maxima-5.39.0.ebuild208
-rw-r--r--sci-mathematics/maxima/maxima-5.41.0-r1.ebuild (renamed from sci-mathematics/maxima/maxima-5.40.0.ebuild)8
-rw-r--r--sci-mathematics/wxmaxima/Manifest3
-rw-r--r--sci-mathematics/wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch8
-rw-r--r--sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild11
10 files changed, 11 insertions, 482 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index deb2234f6b90..9b7a6abe2027 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 258b2a831f79..8836dd8f036b 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -2,22 +2,15 @@ AUX 50maxima-gentoo-1.el 538 BLAKE2B 0c0810f90f3a64f5e576b9e3480032ad7aa52ede02b
AUX clisp-1.patch 1194 BLAKE2B b64764d80b5908a35081b9bb7114e18de266156cb80bae1c764af8c74594a5238e916ed34c547c3053804d68840f2106278dfc83c61445ee9ab9361539315ddc SHA512 05febcd92f6e9d667a8bc8c5c2bf7f02a1585cf5cff8add669716b6fc014ca603ee5bd72e2824db2b8d20cf3f7c9e5cc981c7bce7091c8f5f7ec002a20de40d3
AUX clozurecl-2.patch 1505 BLAKE2B c5550f79e67dd007c970759c5e734009d1cb4fa0af728d414ce271175770ed32bd2cf5e58c9738e32afa76b0053b2eee77c886650b0ba99c7e0e3176bc946d69 SHA512 41664b77eae0f2c3cc0e551bd2c26c02769faed339b5725dc790691929094cd5d5008169eba9788515392d9fed00919aaacbb24ee91b76f5d51eb6468335cf9c
AUX cmucl-1.patch 1336 BLAKE2B 59767907f9f2734fa43e8d9c0e876cf2bf1f2cb0e360976ddd08b4eda9685cd1b862aa072a2f0202733db5ab91958bf0d6b48af3d20e6748f4de2e6b366f49ed SHA512 3b8c01ecbbcd87101e4e31356293216d9c2a018ddabc076905a8b87eeda27bea6cd36242ab6b9caf7553fb9187544beb620b739211c63e21afa1b2f050ef318e
-AUX db-0.patch 529 BLAKE2B 2bf919661bc5fa9c7375220cf433a6cb8d8bddd0c37e532df8b2be7931ccbf70a59fdab1207489aa26a093d7c770d0e26558a3875c93a5122123e0cf972b67ed SHA512 c3a196c2192be23c7551c1b4dd893c8304926318234ef06cf438c24f425f7fc93d8ebed4a9b4708852bb2e8ca7284afa03dfe53548cec8ebd6ba89e73a901cfa
AUX ecls-2.patch 1612 BLAKE2B 1f06a895ed09844e8d42f462e4541a49de46762a3e9189073a7624785937da2b5ec0e5c54e230652f80bc47a359793c1ed25209061787c3e2b0da76025bdbc86 SHA512 cd37e62c24f24e49f264d63526615537cb088386cfc48f3eac8fcc746d16f6d79c585dee6f24c664fca355f539728a1a23cc75f3672c240a210a407e87b73141
AUX emacs-0.patch 807 BLAKE2B 82c879f9c252c4efefb007f8553e845ddc52d76af5cbeab740a1f2bde459b5e87957e0f3e5a9d76d5c1e879ddbebdfb9a6d6b80745cc40e3ddc4379887f4e9b2 SHA512 f62d364651838ed196a2e8965930b42313cb73f912b898b953b526ffc5dc0135841b53618fbbb6a32d21d3412ba5f2bfb253bf41c640a136f68d830f43628ac4
AUX rmaxima-0.patch 552 BLAKE2B 8b8ceb5ea671049490ab006be31f6e81f85d9e43950296db920b3a0d4eb8b19cd14b8b599c98e1dc82f69d441d04c631c4aec2315eaee68f791ddce75dc7ed56 SHA512 a60c8c5ac23b0342823fbcd15e27f44ea85652640271ea845e383796422fa416b221dd036eb0a1639f70f9b09473471657612c7a5f99892cfb214d52156a6907
-AUX sbcl-1.patch 1412 BLAKE2B 9b2eb7245bcaebbd16bf160795970f23c743b94c9e1876ed841a4482603d842b1ed02d841b39396eed8a8fd0c5f3a970b4303a981990d4e975e9db4c808f5682 SHA512 a75d05de3e80e255b36180469a6c51a200b287e8c11aaeb09916a6c8e7b6a16abf41d78a66a51325ca5ca4129c12121ceedd1ae87a89f5adc0666b2094cf2f14
AUX sbcl-2.patch 1072 BLAKE2B 3e16339b7b9acbbfcd424780432be4a4267b994c3a7a8774c95ff8335d48565d15dae3cba16b127a9184e4fe20b5d6930df2e385c2a15b9f58e2d0fa597665a1 SHA512 b8df0b53f4ae04e175dfab8889206ea8ffa83c51b2408322423d5f52cf956b1084e7d1ba0c054032f9121cb1684fcc6bb9d48b1a967f9e01492ad25c035b1c62
AUX wish-2.patch 662 BLAKE2B ccc3879c7445fd916c921857ea9642fb54cc6b8eb647cb23c3f93b949a05de9226d19d7898daf998cbedc61a77556c923f3f6f8e57508b73f3cae117f62d214d SHA512 110db85899241e1f9ea8427ffb397737aefe0bb6286d037c2c04cfad9726838521ef6403242aeb1e4246d06f13cf83af84bba38567a99b00ed6a081f17b38ead
AUX xdg-utils-0.patch 1090 BLAKE2B 7a342a9e0bfd5b3aae1e3f8c45046c4fcaffea277cb68193e92fce4b23e03a0430ae095891183497e5deb969f1ba5e68f2423a9576c7465b137300bc2b096803 SHA512 31b121a2d6f1c24e5f2fa3e6129f661a891660665bf45a2907146e3bae9309d185f83d7001287df92a73aff81562a7011ad6b92e03516883bc0ae0730570fa38
-DIST maxima-5.37.3.tar.gz 29964644 BLAKE2B 8f98de6cd331fe6306298f962da953c3dd90a4d44f2ab062117eff42f1d63a82db92232d14fe48997241acc34cb9d7af2e997e8df215a49ba1df75702f650f92 SHA512 a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4 SHA512 abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
-DIST maxima-5.39.0.tar.gz 38652090 BLAKE2B 13642beb12e5ca5d3284abc0f7a7a0f00913e22b224f5f6fbca24a75445371fb46131ad32c48e539143524b79a32cda307be94642daf6287a050b99559b18246 SHA512 393ade47fc3832ee44df7bf0c3bd2e501755167ec0f02d50d5876e7cf54fe682f2ebf2511290fa498d174e55961451e61ea5c1c5f6e5f9e6d04ad73d45a5d2a9
-DIST maxima-5.40.0.tar.gz 41668208 BLAKE2B da33cbfb655419cee697dd74861256f4b77b2d52b0a19869010781008d50c6841259db74d95b283e25a9827fc47e340f24c5b0d781f548eae039fdea3d98d310 SHA512 7aa36ae56c289e1cc6bb1722a6ee93fed5bf893747a26bb52a48f93cd02d65b63c453f37dc2c86ab4596ad192150aed9ad6b361ab295eda5207d9633c07cdee6
DIST maxima-5.41.0.tar.gz 41540226 BLAKE2B ff726044c9026bc58d04832fa6382146ed7e7d61d801fa7131b1e7e2ed386b99e238e039481697f9aa24cea59ffd0f6811675cd28818c9fe53f023f965f9d149 SHA512 1b93ae2db055ba7fb4a95924a896667f0cfa1c675c603c104181662aeb32b10b006158526b2f3ad93a59688a23eacdc82e870bb8ffb182a89e1e51de013ec209
-EBUILD maxima-5.37.3-r4.ebuild 4828 BLAKE2B 5ff727f590a2c490e27e3352e3974980967ae3f522c9a47b39f5e6e2db8288eefad84bb2f043b3065ac1be21364b374a8fadaf3ebd082d407110f2afab1ac379 SHA512 633d63be6891ada0e394415e236355c3a5141472df821f37b92e23e3c7b01f1b18e3fba39d60e94b7289d6c0eeae5f1521fa617bb5a3669ccc0905b486f91ecf
EBUILD maxima-5.38.1.ebuild 4821 BLAKE2B 276ef7be163424ac82e3829da51df4073616c4ec45fd1002589f0fe5e4f662e27db20729d188539f4cb4ca21d828c475bfb2db3cb6f5350935f6bca207d9be08 SHA512 3003b55bf303482d51462ab9b5332a6cb5e170b9780836666f9af5bd5d0838cca2fe57f26f5c955a5414594184bfd3c90064ee638f086074a40b66a7cf02cc22
-EBUILD maxima-5.39.0.ebuild 4824 BLAKE2B 6b3e62a923ea0ba10e8e3ffaf3fad5db2d5ef1a6e156aa5a870f99f5590b15a34213c153830270875b1cbd83e5c5715cb9582b64cab9db2f3b8c97bb20eb5104 SHA512 c7926f33b56a0d18bf958513282ba8876427acac63d27f374b2eda914e733ea693357a01d7bfa90beb6f15d8f849e60c20a81d3436f9942aa510bbb591a5b999
-EBUILD maxima-5.40.0.ebuild 4824 BLAKE2B 7e010f103f2a185ec286389ef7641344a36857e3247a55347e309e3321a4ca61328a3135738e704ea35ce946cde4a073a43175cf451900d00b7f69f926420d25 SHA512 cb5bd1095eeeab1a6a08da4f3dd7aaf6ffc7721efb6f8dda327b238a5e879c4f3fca898dd85e363a809cb90747b0f3a85dfcbe2de4311a371b4efd81f7e82335
+EBUILD maxima-5.41.0-r1.ebuild 4890 BLAKE2B 5aa2a97dfd4dc72718a544c7de8a058d7a5ed102086b52e51906421cc69182df0252b336a7e4c2469cbe51fb761154088812edb764355859e3718eaa1b574783 SHA512 a2bfb607dfe6faa7098ae880ca4f3b7e3db808ecfa714611947df5d4fe00d7fdc6b9f7477ae9ccd3d83f25ae70c7eeffd0295105b5043ebbaeaa4c7f1bea8ee3
EBUILD maxima-5.41.0.ebuild 4824 BLAKE2B 7e010f103f2a185ec286389ef7641344a36857e3247a55347e309e3321a4ca61328a3135738e704ea35ce946cde4a073a43175cf451900d00b7f69f926420d25 SHA512 cb5bd1095eeeab1a6a08da4f3dd7aaf6ffc7721efb6f8dda327b238a5e879c4f3fca898dd85e363a809cb90747b0f3a85dfcbe2de4311a371b4efd81f7e82335
MISC metadata.xml 1521 BLAKE2B 5b42a6b4f68699a032b2a1cc43a34b8b7a1050e41b1875f758eb8ffd82151825d3f920587cf89e25f4f692c8fc587e5b405ca8e2fb3e842b7d7ce61e068f0dc4 SHA512 d2db86fcab10cabb9533954838babc9cee4ebb26b99604ebe0cb995b1239ac2a462455cc72d6311dab142290fbf460eaec920138c09045003b46dd382ed8cbf3
diff --git a/sci-mathematics/maxima/files/db-0.patch b/sci-mathematics/maxima/files/db-0.patch
deleted file mode 100644
index d6cc18617cc5..000000000000
--- a/sci-mathematics/maxima/files/db-0.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -r -U2 maxima-5.37.1.orig/src/db.lisp maxima-5.37.1/src/db.lisp
---- maxima-5.37.1.orig/src/db.lisp 2015-08-11 01:01:13.000000000 +0600
-+++ maxima-5.37.1/src/db.lisp 2015-09-04 00:21:43.596685564 +0600
-@@ -389,10 +389,14 @@
-
- (defmfun isp (pat)
-- (let ((isp 'unknown))
-+ (let ((isp 'unknown) #+ccl (err t))
- (ignore-errors
- (setq isp
- (cond ((truep pat))
- ((falsep pat) nil)
-- (t 'unknown))))
-+ (t 'unknown)))
-+ (setq err nil))
-+ #+ccl
-+ (when err
-+ (setq +labs nil))
- isp))
-
diff --git a/sci-mathematics/maxima/files/sbcl-1.patch b/sci-mathematics/maxima/files/sbcl-1.patch
deleted file mode 100644
index 8899f0973708..000000000000
--- a/sci-mathematics/maxima/files/sbcl-1.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
---- maxima-5.37.1.orig/src/maxima.in 2015-05-22 04:40:03.000000000 +0600
-+++ maxima-5.37.1/src/maxima.in 2015-09-03 16:22:57.340893630 +0600
-@@ -193,5 +193,5 @@
- if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
-- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$@"
-+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$@"
- else
-- exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$@"
-+ exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$@"
- fi
-diff -r -U1 maxima-5.37.1.orig/src/server.lisp maxima-5.37.1/src/server.lisp
---- maxima-5.37.1.orig/src/server.lisp 2015-04-10 01:41:59.000000000 +0600
-+++ maxima-5.37.1/src/server.lisp 2015-09-03 16:23:47.100891537 +0600
-@@ -10,3 +10,2 @@
- (eval-when (:compile-toplevel :load-toplevel :execute)
-- #+sbcl (require 'asdf) ;not needed here for a recent SBCL
- #+sbcl (require 'sb-posix)
diff --git a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
deleted file mode 100644
index 93b6c5ed9385..000000000000
--- a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-# <lisp> supports readline: . - no, y - yes
-SUPP_RL=( . . y . . y )
-# . - just --enable-<lisp>, <flag> - --enable-<flag>
-CONF_FLAG=( . . . ecl ccl . )
-# patch file version; . - no patch
-PATCH_V=( 1 1 . 2 2 1 )
-
-IUSE="emacs tk nls unicode X ${LISPS[*]}"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-RDEPEND="!app-emacs/imaxima
- X? ( x11-misc/xdg-utils
- sci-visualization/gnuplot[gd]
- tk? ( dev-lang/tk:0 ) )
- emacs? ( virtual/emacs
- virtual/latex-base
- app-emacs/auctex
- app-text/ghostscript-gpl
- dev-texlive/texlive-latexrecommended )"
-
-# generating lisp dependencies
-depends() {
- local LISP DEP
- LISP=${LISPS[$1]}
- DEP="dev-lisp/${LISP}:="
- if [ "${SUPP_RL[$1]}" = "." ]; then
- DEP="${DEP} app-misc/rlwrap"
- fi
- echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
- LISP=${LISPS[${n}]}
- RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
- DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-
-# default lisp
-DEF_LISP=0 # sbcl
-ARM_LISP=2 # gcl
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends ${DEF_LISP}` )"
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
- DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
- ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
- sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
- local n=${#LISPS[*]}
-
- for ((n--; n >= 0; n--)); do
- use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
- done
-
- if [ -z "${NLISPS}" ]; then
- use arm && DEF_LISP=${ARM_LISP}
- ewarn "No lisp specified in USE flags, choosing ${LISPS[${DEF_LISP}]} as default"
- NLISPS=${DEF_LISP}
- fi
-}
-
-src_prepare() {
- local n PATCHES v
- PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-0 db-0 )
-
- n=${#PATCHES[*]}
- for ((n--; n >= 0; n--)); do
- epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
- done
-
- n=${#LISPS[*]}
- for ((n--; n >= 0; n--)); do
- v=${PATCH_V[${n}]}
- if [ "${v}" != "." ]; then
- epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
- fi
- done
-
- # bug #343331
- rm share/Makefile.in || die
- rm src/Makefile.in || die
- touch src/*.mk
- touch src/Makefile.am
- eautoreconf
-}
-
-src_configure() {
- local CONFS CONF n lang
- for n in ${NLISPS}; do
- CONF=${CONF_FLAG[${n}]}
- if [ ${CONF} = . ]; then
- CONF=${LISPS[${n}]}
- fi
- CONFS="${CONFS} --enable-${CONF}"
- done
-
- # enable existing translated doc
- if use nls; then
- for lang in ${LANGS}; do
- if use "linguas_${lang}"; then
- CONFS="${CONFS} --enable-lang-${lang}"
- use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8"
- fi
- done
- fi
-
- econf ${CONFS} \
- $(use_with tk wish) \
- $(use_enable emacs) \
- --with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
-}
-
-src_compile() {
- emake
- if use emacs; then
- pushd interfaces/emacs/emaxima > /dev/null
- elisp-compile *.el
- popd > /dev/null
- pushd interfaces/emacs/imaxima > /dev/null
- BYTECOMPFLAGS="-L . -L ../emaxima"
- elisp-compile *.el
- popd > /dev/null
- fi
-}
-
-src_install() {
- docompress -x /usr/share/info
- emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
-
- use tk && make_desktop_entry xmaxima xmaxima \
- /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
- "Science;Math;Education"
-
- # do not use dodoc because interfaces can't read compressed files
- # read COPYING before attempt to remove it from dodoc
- insinto /usr/share/${PN}/${PV}/doc
- doins AUTHORS COPYING README README.lisps
- dodir /usr/share/doc
- dosym ../${PN}/${PV}/doc /usr/share/doc/${PF}
-
- if use emacs; then
- elisp-install ${PN} interfaces/emacs/{emaxima,imaxima}/*.{el,elc,lisp}
- elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-1.el
-
- rm "${ED}"/${SITELISP}/${PN}/emaxima.sty || die
- insinto ${TEXMF}/tex/latex/emaxima
- doins interfaces/emacs/emaxima/emaxima.sty
-
- insinto /usr/share/${PN}/${PV}/doc/imaxima
- doins interfaces/emacs/imaxima/README
- doins -r interfaces/emacs/imaxima/imath-example
- fi
-
- # if we use ecls, build an ecls library for maxima
- if use ecls; then
- ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
- insinto "${ECLLIB#${EPREFIX}}"
- doins src/binary-ecl/maxima.fas
- fi
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- mktexlsr
- fi
-}
-
-pkg_postrm() {
- if use emacs; then
- elisp-site-regen
- mktexlsr
- fi
-}
diff --git a/sci-mathematics/maxima/maxima-5.39.0.ebuild b/sci-mathematics/maxima/maxima-5.39.0.ebuild
deleted file mode 100644
index b43477f95708..000000000000
--- a/sci-mathematics/maxima/maxima-5.39.0.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-# <lisp> supports readline: . - no, y - yes
-SUPP_RL=( . . y . . y )
-# . - just --enable-<lisp>, <flag> - --enable-<flag>
-CONF_FLAG=( . . . ecl ccl . )
-# patch file version; . - no patch
-PATCH_V=( 2 1 . 2 2 1 )
-
-IUSE="emacs tk nls unicode X ${LISPS[*]}"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-RDEPEND="!app-emacs/imaxima
- X? ( x11-misc/xdg-utils
- sci-visualization/gnuplot[gd]
- tk? ( dev-lang/tk:0 ) )
- emacs? ( virtual/emacs
- virtual/latex-base
- app-emacs/auctex
- app-text/ghostscript-gpl
- dev-texlive/texlive-latexrecommended )"
-
-# generating lisp dependencies
-depends() {
- local LISP DEP
- LISP=${LISPS[$1]}
- DEP="dev-lisp/${LISP}:="
- if [ "${SUPP_RL[$1]}" = "." ]; then
- DEP="${DEP} app-misc/rlwrap"
- fi
- echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
- LISP=${LISPS[${n}]}
- RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
- DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-
-# default lisp
-DEF_LISP=0 # sbcl
-ARM_LISP=2 # gcl
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends ${DEF_LISP}` )"
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
- DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
- ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
- sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
- local n=${#LISPS[*]}
-
- for ((n--; n >= 0; n--)); do
- use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
- done
-
- if [ -z "${NLISPS}" ]; then
- use arm && DEF_LISP=${ARM_LISP}
- ewarn "No lisp specified in USE flags, choosing ${LISPS[${DEF_LISP}]} as default"
- NLISPS=${DEF_LISP}
- fi
-}
-
-src_prepare() {
- local n PATCHES v
- PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-0 )
-
- n=${#PATCHES[*]}
- for ((n--; n >= 0; n--)); do
- epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
- done
-
- n=${#LISPS[*]}
- for ((n--; n >= 0; n--)); do
- v=${PATCH_V[${n}]}
- if [ "${v}" != "." ]; then
- epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
- fi
- done
-
- # bug #343331
- rm share/Makefile.in || die
- rm src/Makefile.in || die
- touch src/*.mk
- touch src/Makefile.am
- eautoreconf
-}
-
-src_configure() {
- local CONFS CONF n lang
- for n in ${NLISPS}; do
- CONF=${CONF_FLAG[${n}]}
- if [ ${CONF} = . ]; then
- CONF=${LISPS[${n}]}
- fi
- CONFS="${CONFS} --enable-${CONF}"
- done
-
- # enable existing translated doc
- if use nls; then
- for lang in ${LANGS}; do
- if use "linguas_${lang}"; then
- CONFS="${CONFS} --enable-lang-${lang}"
- use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8"
- fi
- done
- fi
-
- econf ${CONFS} \
- $(use_with tk wish) \
- $(use_enable emacs) \
- --with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
-}
-
-src_compile() {
- emake
- if use emacs; then
- pushd interfaces/emacs/emaxima > /dev/null
- elisp-compile *.el
- popd > /dev/null
- pushd interfaces/emacs/imaxima > /dev/null
- BYTECOMPFLAGS="-L . -L ../emaxima"
- elisp-compile *.el
- popd > /dev/null
- fi
-}
-
-src_install() {
- docompress -x /usr/share/info
- emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
-
- use tk && make_desktop_entry xmaxima xmaxima \
- /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
- "Science;Math;Education"
-
- # do not use dodoc because interfaces can't read compressed files
- # read COPYING before attempt to remove it from dodoc
- insinto /usr/share/${PN}/${PV}/doc
- doins AUTHORS COPYING README README.lisps
- dodir /usr/share/doc
- dosym ../${PN}/${PV}/doc /usr/share/doc/${PF}
-
- if use emacs; then
- elisp-install ${PN} interfaces/emacs/{emaxima,imaxima}/*.{el,elc,lisp}
- elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-1.el
-
- rm "${ED}"/${SITELISP}/${PN}/emaxima.sty || die
- insinto ${TEXMF}/tex/latex/emaxima
- doins interfaces/emacs/emaxima/emaxima.sty
-
- insinto /usr/share/${PN}/${PV}/doc/imaxima
- doins interfaces/emacs/imaxima/README
- doins -r interfaces/emacs/imaxima/imath-example
- fi
-
- # if we use ecls, build an ecls library for maxima
- if use ecls; then
- ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
- insinto "${ECLLIB#${EPREFIX}}"
- doins src/binary-ecl/maxima.fas
- fi
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- mktexlsr
- fi
-}
-
-pkg_postrm() {
- if use emacs; then
- elisp-site-regen
- mktexlsr
- fi
-}
diff --git a/sci-mathematics/maxima/maxima-5.40.0.ebuild b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
index 8bdc377e8486..c9917d44ca01 100644
--- a/sci-mathematics/maxima/maxima-5.40.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-inherit autotools elisp-common eutils
+inherit autotools elisp-common eutils xdg
DESCRIPTION="Free computer algebra environment based on Macsyma"
HOMEPAGE="http://maxima.sourceforge.net/"
@@ -27,7 +27,7 @@ IUSE="emacs tk nls unicode X ${LISPS[*]}"
# Languages
LANGS="de es pt pt_BR"
for lang in ${LANGS}; do
- IUSE="${IUSE} linguas_${lang}"
+ IUSE="${IUSE} l10n_${lang/_/-}"
done
# texlive-latexrecommended needed by imaxima for breqn.sty
@@ -131,7 +131,7 @@ src_configure() {
# enable existing translated doc
if use nls; then
for lang in ${LANGS}; do
- if use "linguas_${lang}"; then
+ if use "l10n_${lang/_/-}"; then
CONFS="${CONFS} --enable-lang-${lang}"
use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8"
fi
@@ -194,6 +194,7 @@ src_install() {
}
pkg_postinst() {
+ xdg_mimeinfo_database_update
if use emacs; then
elisp-site-regen
mktexlsr
@@ -201,6 +202,7 @@ pkg_postinst() {
}
pkg_postrm() {
+ xdg_mimeinfo_database_update
if use emacs; then
elisp-site-regen
mktexlsr
diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest
index 5cfff8dd3f92..7de2f00e2e22 100644
--- a/sci-mathematics/wxmaxima/Manifest
+++ b/sci-mathematics/wxmaxima/Manifest
@@ -1,4 +1,3 @@
-AUX wxmaxima-require-wxGTK-3.0.patch 466 BLAKE2B 54d6c8cad12edab71e7efc5c4c0fe3acf079f7419258d597096e284c7d8b4293e1b4e3dfb141d81fed6cba617b13f83d0f5449d3a67146914f4985164bc92187 SHA512 9c90982c43f9d4a0e6c2cd69704cd52694615234cd7b2f3180d14146ac3d5bc1deb9098bc75745dc5f18a2be664ef3b783cceb689bf200eabf47588ec59ca226
DIST wxmaxima-15.08.2.tar.gz 5592673 BLAKE2B cacb508cbcb24e27a43998ba0079b14117980669c25b39b017c0c659ef48d2ad338c6503aea99447a14250ed1a68a3414880828fc8ffdcbd3177b8eb9355a919 SHA512 a537c49477f54df4fd9e4e42a5e0d0d740f1ede817d807a98b7cec877a3ad77b2be0a61ae487a7fa5beb193b112eca163b8873292ecab5acf118d58a91e91af6
DIST wxmaxima-16.04.2.tar.gz 5178050 BLAKE2B 52c416040277fbbf0f8e930f3ad3b8a78f7ed65d28d31722b0fef8482df261c418185705dd00841d9975ea55838303756ca7874a0e94f174fd4274fbd2dbc5d4 SHA512 da8159e7c779f50bde7a6f6852987c18aaf724b1ebf0bdc4d231f40b80e04cee2870a520251d212681b3f0a7533d28b744d3684fc395a26d2a46b48c1a31a856
DIST wxmaxima-16.12.0.tar.gz 4842949 BLAKE2B 668219b2602b02e49eafa2c35fa7a5cfc995691356f5ce747590aa2e516ad8c1c8a6f57c8c8e19095ff301b7fd131942ea0ed6dbf4ce3b728fbb139e2139b5dc SHA512 6a68cf6b4fdf07bef7fdd19397c226c3cf4f693aaab8ae028e6af69b114a04fa7dbf20f7f183853f8f655ef8d0bf984ee2a0af6096697ab3c454d17f37c98819
@@ -8,5 +7,5 @@ EBUILD wxmaxima-15.08.2.ebuild 1653 BLAKE2B 1822797d2cf9afbd98b08d4ad3384c118c59
EBUILD wxmaxima-16.04.2.ebuild 1656 BLAKE2B 64e40008e8b3912ab8955fb70d839845e2f901e53ffb2f9f623c59abe8266a81829b14999ca86cb351a82d8a7f30c1f5f7608df43258915ff53905b70079c0f9 SHA512 e3a379cc00ace47d2864a330c505d8f0e288703e8652b66467234fa69dd5143af61db7efd9b1d4ee6a324530febfe188570ba7814d0a67b50c4e0cb6efbc9c74
EBUILD wxmaxima-16.12.0.ebuild 1656 BLAKE2B 64e40008e8b3912ab8955fb70d839845e2f901e53ffb2f9f623c59abe8266a81829b14999ca86cb351a82d8a7f30c1f5f7608df43258915ff53905b70079c0f9 SHA512 e3a379cc00ace47d2864a330c505d8f0e288703e8652b66467234fa69dd5143af61db7efd9b1d4ee6a324530febfe188570ba7814d0a67b50c4e0cb6efbc9c74
EBUILD wxmaxima-16.12.2.ebuild 1656 BLAKE2B c56ed7d7b05ac88ad7555183abec7a8a24f6a44b2920889c539b36c708a5c637ef36bb311df6b5f46ea58a9c1a7599678746e67bde4554190c6ccb69b37d61cc SHA512 e6452ab3a3d4ccbe71befe27477775c00bdfe1235fa10e25acc5ed8d6d528acb735937eccddc288e5a70149baeb852b17fa00d652720526f299b246b4882575a
-EBUILD wxmaxima-17.10.1.ebuild 1311 BLAKE2B 3800a3abe3d2bf4425ae13927cc586b1f8305d87bf60c9e3c81adb2bef21db19bd0274699da2c9406816a6de1e1e4752f491e78a1101e4ba7c0853bd90068c55 SHA512 55516215396e1b53946ee8fd50dcfe375ea4a378561b5308a71844e4ed0729fc80c1af6816ff550ba0ebfeec3212d52176b6ce0ed4ef7376d9f7ebecd1a546c2
+EBUILD wxmaxima-17.10.1.ebuild 1306 BLAKE2B 5c96b27590bf6dd78beaff9a8b8b686a4c1b7c8a49f7045eaec2beb527168b4a371bd1dbe6b918d6c137bb6b4d2e88502268d406397b7dc9d5b703d7b3443ff4 SHA512 7ad43881f4bf03c28fe46e01e35cfc9a9bab8eb49745b40e3f0fd9a6b62c630312c7a8a7c7863efdcc5bea56b2f4cc7166dce7f1f6feff2e45dcf172b7903b0a
MISC metadata.xml 711 BLAKE2B 00c54141e803d86fb20dc4f058fe99f6bbc2fd067175af6d0a5f893dc5a0b523fdd9116341ba33f991b11538989869337e1ce36c2259cfdb284725fed1aeaf60 SHA512 30a578958cbc4813e2615d0c3d7c4a1349f408933f285d3a43a382bf90bdf5c985ef1b844c4f8391205be643961de0335536ee800e1be24bf358bb4ead736fe5
diff --git a/sci-mathematics/wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch b/sci-mathematics/wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch
deleted file mode 100644
index b08434061d39..000000000000
--- a/sci-mathematics/wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff -r -U3 wxmaxima-Version-17.10.1.orig/src/CMakeLists.txt wxmaxima-Version-17.10.1/src/CMakeLists.txt
---- wxmaxima-Version-17.10.1.orig/src/CMakeLists.txt 2017-10-22 12:45:56.000000000 +0700
-+++ wxmaxima-Version-17.10.1/src/CMakeLists.txt 2017-12-28 21:29:58.389806037 +0700
-@@ -1,3 +1,4 @@
-+set(wxWidgets_CONFIG_OPTIONS --toolkit=gtk2 --version=3.0)
- find_package(wxWidgets REQUIRED std xml html adv aui core net base richtext)
-
- include(${wxWidgets_USE_FILE})
diff --git a/sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild b/sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild
index 52fa2ddc14ed..c121ca2e948d 100644
--- a/sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild
+++ b/sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-
+WX_GTK_VER="3.0"
PLOCALES="ca cs da de el es fi fr gl hu it ja kab nb pl pt_BR ru tr uk zh_CN zh_TW"
-inherit cmake-utils l10n xdg-utils gnome2-utils
+inherit cmake-utils wxwidgets l10n xdg-utils gnome2-utils
DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
HOMEPAGE="http://andrejv.github.io/wxmaxima/"
@@ -18,17 +18,14 @@ S="${WORKDIR}"/${PN}-Version-${PV}
DEPEND="
dev-libs/libxml2:2
- x11-libs/wxGTK:3.0"
+ x11-libs/wxGTK:${WX_GTK_VER}"
RDEPEND="${DEPEND}
media-fonts/jsmath
sci-visualization/gnuplot[wxwidgets]
sci-mathematics/maxima"
-PATCHES=(
- "${FILESDIR}"/${PN}-require-wxGTK-3.0.patch
-)
-
src_prepare() {
+ setup-wxwidgets
cmake-utils_src_prepare
sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i "${S}"/info/CMakeLists.txt \