diff options
author | Ulrich Müller <ulm@gentoo.org> | 2017-01-13 20:29:55 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2017-01-13 21:35:27 +0100 |
commit | 15e36e1852ee097c668f686a033f4ed22695f4d5 (patch) | |
tree | 015f93acf98c461742da097e6a7df4ff0eaf5ba5 /sci-mathematics | |
parent | sys-apps/ed: Security cleanup (bug #605552). (diff) | |
download | gentoo-15e36e1852ee097c668f686a033f4ed22695f4d5.tar.gz gentoo-15e36e1852ee097c668f686a033f4ed22695f4d5.tar.bz2 gentoo-15e36e1852ee097c668f686a033f4ed22695f4d5.zip |
sci-mathematics/maxima: Remove old.
maxima-5.34.1 is the last reverse dependency blocking removal of
app-emacs/imaxima.
Bug: 448242
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/maxima/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/50maxima-gentoo-0.el | 9 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/clisp-0.patch | 19 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/clozurecl-0.patch | 27 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/cmucl-0.patch | 27 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/ecls-1.patch | 37 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/imaxima-0.patch | 5 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/sbcl-0.patch | 26 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/wish-0.patch | 28 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.34.1.ebuild | 186 |
10 files changed, 0 insertions, 365 deletions
diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index 9f316adcf8bb..bd89940df543 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -1,4 +1,3 @@ -DIST maxima-5.34.1.tar.gz 29469851 SHA256 20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823 WHIRLPOOL 0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a DIST maxima-5.37.3.tar.gz 29964644 SHA256 8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1 WHIRLPOOL d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976 DIST maxima-5.38.1.tar.gz 38641257 SHA256 0e866536ab5847ec045ba013570f80f36206ca6ce07a5d13987010bcb321c6dc SHA512 abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9 WHIRLPOOL 443ab032e784e4e2c37274dc3b1635acd9ede08af7863793f93b2f8fdc10e9cce8d4b1a5e98df9a6486fe97e082fb4030fbb3208939ab627f7ca333de7c224b8 DIST maxima-5.39.0.tar.gz 38652090 SHA256 f58ff98013fcaa37d8661b941672c38db58f982f082d6cfcca1f1b5fac7d71b3 SHA512 393ade47fc3832ee44df7bf0c3bd2e501755167ec0f02d50d5876e7cf54fe682f2ebf2511290fa498d174e55961451e61ea5c1c5f6e5f9e6d04ad73d45a5d2a9 WHIRLPOOL 35c7e4acf7933c11562ade2ce30b9c3865a052fc13f9880502165313aae66925aff44cc9d70666001d0378ef14b2e0bf6bc2faeb258b6d50e558b9e043cd972c diff --git a/sci-mathematics/maxima/files/50maxima-gentoo-0.el b/sci-mathematics/maxima/files/50maxima-gentoo-0.el deleted file mode 100644 index ace2f4f6615d..000000000000 --- a/sci-mathematics/maxima/files/50maxima-gentoo-0.el +++ /dev/null @@ -1,9 +0,0 @@ -(add-to-list 'load-path "@SITELISP@") -(autoload 'maxima-mode "maxima" "Maxima mode" t) -(autoload 'maxima "maxima" "Maxima interactive" t) -(autoload 'dbl "dbl" "Make a debugger to run lisp, maxima and or gdb in" t) -(add-to-list 'auto-mode-alist '("\\.ma?[cx]\\'" . maxima-mode)) - -;; emaxima mode -(autoload 'emaxima-mode "emaxima" "EMaxima" t) -(add-hook 'emaxima-mode-hook 'emaxima-mark-file-as-emaxima) diff --git a/sci-mathematics/maxima/files/clisp-0.patch b/sci-mathematics/maxima/files/clisp-0.patch deleted file mode 100644 index 7e65c40b58f7..000000000000 --- a/sci-mathematics/maxima/files/clisp-0.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in ---- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 -+++ maxima-5.30.0/src/maxima.in 2013-04-13 13:07:03.094128196 +0700 -@@ -138,5 +138,5 @@ - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - else -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - fi -@@ -144,5 +144,5 @@ - if [ -x "$maxima_image_base" ]; then -- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - else -- exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - fi diff --git a/sci-mathematics/maxima/files/clozurecl-0.patch b/sci-mathematics/maxima/files/clozurecl-0.patch deleted file mode 100644 index d5afe951eb53..000000000000 --- a/sci-mathematics/maxima/files/clozurecl-0.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -r -U1 maxima-5.30.0.orig/configure.in maxima-5.30.0/configure.in ---- maxima-5.30.0.orig/configure.in 2013-04-03 02:13:30.000000000 +0700 -+++ maxima-5.30.0/configure.in 2013-04-13 12:42:16.645751903 +0700 -@@ -351,3 +351,3 @@ - dnl n.b. openmcl_default_name is hardcoded in "with" message --openmcl_default_name=openmcl -+openmcl_default_name=ccl - AC_ARG_ENABLE(openmcl, -diff -r -U1 maxima-5.30.0.orig/src/Makefile.am maxima-5.30.0/src/Makefile.am ---- maxima-5.30.0.orig/src/Makefile.am 2013-03-23 08:32:07.000000000 +0700 -+++ maxima-5.30.0/src/Makefile.am 2013-04-13 12:49:34.911159093 +0700 -@@ -304,3 +304,3 @@ - if OPENMCL --EXECUTEOPENMCL = $(OPENMCL_NAME) -e -+EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init -e - all-local: sharefiles.mk $(OPENMCL_MAXIMA) -diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in ---- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 -+++ maxima-5.30.0/src/maxima.in 2013-04-13 12:46:59.247013957 +0700 -@@ -185,5 +185,5 @@ - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - else -- exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - fi diff --git a/sci-mathematics/maxima/files/cmucl-0.patch b/sci-mathematics/maxima/files/cmucl-0.patch deleted file mode 100644 index 73ebd3445b48..000000000000 --- a/sci-mathematics/maxima/files/cmucl-0.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -r -U1 maxima-5.30.0.orig/src/Makefile.am maxima-5.30.0/src/Makefile.am ---- maxima-5.30.0.orig/src/Makefile.am 2013-03-23 08:32:07.000000000 +0700 -+++ maxima-5.30.0/src/Makefile.am 2013-04-13 13:12:37.521437190 +0700 -@@ -77,3 +77,3 @@ - if CMUCL --EXECUTECMUCL = $(CMUCL_NAME) -noinit -batch -+EXECUTECMUCL = $(CMUCL_NAME) -nositeinit -noinit -batch - # Newer versions of CMUCL have an INTL package that is compatible with -diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in ---- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 -+++ maxima-5.30.0/src/maxima.in 2013-04-13 13:11:26.647371277 +0700 -@@ -155,5 +155,5 @@ - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - else -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" $MAXIMA_LISP_OPTIONS -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - fi -@@ -161,5 +161,5 @@ - if [ -x "$maxima_image_base" ]; then -- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - else -- exec "@CMUCL_NAME@" $MAXIMA_LISP_OPTIONS -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "@CMUCL_NAME@" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - fi diff --git a/sci-mathematics/maxima/files/ecls-1.patch b/sci-mathematics/maxima/files/ecls-1.patch deleted file mode 100644 index 36e9af17bb6f..000000000000 --- a/sci-mathematics/maxima/files/ecls-1.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in ---- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 -+++ maxima-5.30.0/src/maxima.in 2013-04-13 12:57:12.037579805 +0700 -@@ -191,3 +191,3 @@ - elif [ "$MAXIMA_LISP" = "ecl" ]; then -- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -norc -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - -diff -r -U1 maxima-5.30.0.orig/src/maxima.system maxima-5.30.0/src/maxima.system ---- maxima-5.30.0.orig/src/maxima.system 2013-03-23 08:32:08.000000000 +0700 -+++ maxima-5.30.0/src/maxima.system 2013-04-13 12:59:54.086730845 +0700 -@@ -61,2 +61,10 @@ - #+ecl -+(defun split-ld-flags-for-ecl (string &aux space) -+ (setf string (string-trim '(#\Space) string)) -+ (if (setf space (position #\Space string)) -+ (cons (subseq string 0 space) -+ (split-ld-flags-for-ecl (subseq string (1+ space)))) -+ (cons string nil))) -+ -+#+ecl - (defun build-maxima-lib () -@@ -77,7 +85,12 @@ - files))) -+ (c::build-fasl "binary-ecl/maxima" :lisp-files obj -+ :ld-flags -+ (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*" -+ (find-package "MAXIMA"))))) -+ (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x)))) - (c::build-program "binary-ecl/maxima" :lisp-files obj - :ld-flags - (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*" - (find-package "MAXIMA"))))) -- (if (and x (not (string= x ""))) (list x))) -+ (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x))) - :epilogue-code '(progn (require :defsystem) - diff --git a/sci-mathematics/maxima/files/imaxima-0.patch b/sci-mathematics/maxima/files/imaxima-0.patch deleted file mode 100644 index fe607b240d13..000000000000 --- a/sci-mathematics/maxima/files/imaxima-0.patch +++ /dev/null @@ -1,5 +0,0 @@ ---- interfaces/emacs/Makefile.am.orig 2010-02-01 22:11:44.809941160 +1300 -+++ interfaces/emacs/Makefile.am 2010-02-01 22:12:06.608062346 +1300 -@@ -1 +1 @@ --SUBDIRS = emaxima misc imaxima -+SUBDIRS = emaxima misc diff --git a/sci-mathematics/maxima/files/sbcl-0.patch b/sci-mathematics/maxima/files/sbcl-0.patch deleted file mode 100644 index 5c2bdf7b509e..000000000000 --- a/sci-mathematics/maxima/files/sbcl-0.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -r -U1 maxima-5.30.0.orig/src/Makefile.am maxima-5.30.0/src/Makefile.am ---- maxima-5.30.0.orig/src/Makefile.am 2013-03-23 08:32:07.000000000 +0700 -+++ maxima-5.30.0/src/Makefile.am 2013-04-13 14:36:39.977014432 +0700 -@@ -199,3 +199,3 @@ - if SBCL --EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint --eval -+EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint --no-sysinit --no-userinit --eval - all-local: sharefiles.mk $(SBCL_MAXIMA) -diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in ---- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 -+++ maxima-5.30.0/src/maxima.in 2013-04-13 14:36:39.977014432 +0700 -@@ -196,5 +196,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 "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ 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 "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - else -- exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" -+ 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 "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" - fi -diff -r -U1 maxima-5.30.0.orig/src/server.lisp maxima-5.30.0/src/server.lisp ---- maxima-5.30.0.orig/src/server.lisp 2012-11-19 04:40:51.000000000 +0700 -+++ maxima-5.30.0/src/server.lisp 2013-04-13 14:37:19.937051659 +0700 -@@ -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/files/wish-0.patch b/sci-mathematics/maxima/files/wish-0.patch deleted file mode 100644 index 6fcb0d9ec8e9..000000000000 --- a/sci-mathematics/maxima/files/wish-0.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -r -U1 maxima-5.23.1.orig//configure.in maxima-5.23.1//configure.in ---- maxima-5.23.1.orig//configure.in 2011-01-15 21:54:46.000000000 +0600 -+++ maxima-5.23.1//configure.in 2011-01-16 21:00:16.000000000 +0600 -@@ -777,6 +777,11 @@ - [ --with-wish=<prog> Use <prog> for Tk wish shell (default wish)], -- [WISH="${withval}"], -- [WISH="wish"]) -+ [], -+ [with_wish="wish"]) -+case "${with_wish}" in -+ no) WISH="none" ;; -+ yes) WISH="wish" ;; -+ *) WISH="${with_wish}" ;; -+esac - AC_SUBST(WISH) -- -+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno) - -diff -r -U1 maxima-5.23.1.orig//interfaces/Makefile.am maxima-5.23.1//interfaces/Makefile.am ---- maxima-5.23.1.orig//interfaces/Makefile.am 2004-04-28 23:34:59.000000000 +0700 -+++ maxima-5.23.1//interfaces/Makefile.am 2011-01-16 20:41:38.000000000 +0600 -@@ -1,2 +1,6 @@ -+if WANT_TK - SUBDIRS = emacs xmaxima -+else -+SUBDIRS = emacs -+endif - EXTRA_DIST = bin/xmaxima.iss diff --git a/sci-mathematics/maxima/maxima-5.34.1.ebuild b/sci-mathematics/maxima/maxima-5.34.1.ebuild deleted file mode 100644 index 48434461e5dc..000000000000 --- a/sci-mathematics/maxima/maxima-5.34.1.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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" -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=( 0 0 . 1 0 0 ) - -IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}" - -# Languages -LANGS="es pt pt_BR" -for lang in ${LANGS}; do - IUSE="${IUSE} linguas_${lang}" -done - -RDEPEND="X? ( x11-misc/xdg-utils - sci-visualization/gnuplot[gd] - tk? ( dev-lang/tk:0 ) ) - latex? ( virtual/latex-base ) - emacs? ( virtual/emacs - latex? ( app-emacs/auctex ) ) - xemacs? ( app-editors/xemacs - latex? ( app-emacs/auctex ) )" - -PDEPEND="emacs? ( app-emacs/imaxima )" - -# 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}) )" - if (( ${n} > 0 )); then - DEF_DEP="${DEF_DEP} !${LISP}? ( " - fi -done - -# default lisp -DEF_LISP=0 # sbcl - -DEF_DEP="${DEF_DEP} `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 - ewarn "No lisp specified in USE flags, choosing ${LISPS[${DEF_LISP}]} as default" - NLISPS=${DEF_LISP} - fi -} - -src_prepare() { - local n PATCHES v - PATCHES=( imaxima-0 rmaxima-0 wish-0 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) --with-lispdir="${EPREFIX}/${SITELISP}"/${PN} -} - -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" - - if use latex; then - insinto ${TEXMF}/tex/latex/emaxima - doins interfaces/emacs/emaxima/emaxima.sty - fi - - # 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 || die - dodir /usr/share/doc - dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die - - if use emacs; then - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-0.el || die - 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() { - use emacs && elisp-site-regen - use latex && mktexlsr -} - -pkg_postrm() { - use emacs && elisp-site-regen - use latex && mktexlsr -} |