Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/
Date: Sat, 29 Aug 2015 14:09:31
Message-Id: 1440857084.f36e2c4a38ca026c643ef30fa8c02388831c2e28.grozin@gentoo
1 commit: f36e2c4a38ca026c643ef30fa8c02388831c2e28
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 14:03:56 2015 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 14:04:44 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36e2c4a
7
8 sci-mathematics/maxima: cleaning old version
9
10 Package-Manager: portage-2.2.20.1
11
12 sci-mathematics/maxima/Manifest | 1 -
13 sci-mathematics/maxima/files/ecls-0.patch | 27 ----
14 .../maxima/files/maxima-5.26.0-ecls-12.2.1.patch | 8 -
15 .../maxima/files/maxima-5.26.0-wish.patch | 28 ----
16 sci-mathematics/maxima/files/maxima-5.26.0.patch | 37 -----
17 .../maxima-5.27.0-inhibit-sys_usr-inits.patch | 24 ---
18 .../maxima/files/maxima-5.27.0-wish.patch | 28 ----
19 sci-mathematics/maxima/files/maxima-5.27.0.patch | 37 -----
20 .../maxima/files/maxima-5.28.0-sbcl.patch | 8 -
21 .../maxima/files/maxima-5.28.0-wish.patch | 28 ----
22 sci-mathematics/maxima/files/maxima-5.28.0.patch | 51 ------
23 .../maxima/files/maxima-5.29.1-sbcl.patch | 8 -
24 .../maxima/files/maxima-5.29.1-wish.patch | 28 ----
25 sci-mathematics/maxima/files/maxima-5.29.1.patch | 51 ------
26 sci-mathematics/maxima/files/maxima-ccl.patch | 8 -
27 .../maxima/files/maxima-ecl-ldflags.patch | 27 ----
28 sci-mathematics/maxima/files/maxima-imaxima.patch | 5 -
29 .../maxima/files/maxima-no-init-files.patch | 31 ----
30 sci-mathematics/maxima/files/maxima-rmaxima.patch | 25 ---
31 .../maxima/files/maxima-xdg-utils.patch | 35 -----
32 sci-mathematics/maxima/maxima-5.18.1.ebuild | 175 ---------------------
33 21 files changed, 670 deletions(-)
34
35 diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
36 index d9727d8..221c53c 100644
37 --- a/sci-mathematics/maxima/Manifest
38 +++ b/sci-mathematics/maxima/Manifest
39 @@ -1,3 +1,2 @@
40 -DIST maxima-5.18.1.tar.gz 20440947 SHA256 eef1f70503755ec8fb311a13731044e6fff17e6fd9534eb6bea68a12964d94bf
41 DIST maxima-5.34.1.tar.gz 29469851 SHA256 20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823 WHIRLPOOL 0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
42 DIST maxima-5.36.1.tar.gz 29615673 SHA256 400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c WHIRLPOOL ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0
43
44 diff --git a/sci-mathematics/maxima/files/ecls-0.patch b/sci-mathematics/maxima/files/ecls-0.patch
45 deleted file mode 100644
46 index df45dee..0000000
47 --- a/sci-mathematics/maxima/files/ecls-0.patch
48 +++ /dev/null
49 @@ -1,27 +0,0 @@
50 -diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in
51 ---- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700
52 -+++ maxima-5.30.0/src/maxima.in 2013-04-13 12:57:12.037579805 +0700
53 -@@ -191,3 +191,3 @@
54 - elif [ "$MAXIMA_LISP" = "ecl" ]; then
55 -- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
56 -+ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -norc -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
57 -
58 -diff -r -U1 maxima-5.30.0.orig/src/maxima.system maxima-5.30.0/src/maxima.system
59 ---- maxima-5.30.0.orig/src/maxima.system 2013-03-23 08:32:08.000000000 +0700
60 -+++ maxima-5.30.0/src/maxima.system 2013-04-13 12:59:54.086730845 +0700
61 -@@ -61,2 +61,10 @@
62 - #+ecl
63 -+(defun split-ld-flags-for-ecl (string &aux space)
64 -+ (setf string (string-trim '(#\Space) string))
65 -+ (if (setf space (position #\Space string))
66 -+ (cons (subseq string 0 space)
67 -+ (split-ld-flags-for-ecl (subseq string (1+ space))))
68 -+ (cons string nil)))
69 -+
70 -+#+ecl
71 - (defun build-maxima-lib ()
72 -@@ -81,3 +89,3 @@
73 - (find-package "MAXIMA")))))
74 -- (if (and x (not (string= x ""))) (list x)))
75 -+ (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x)))
76 - :epilogue-code '(progn (require :defsystem)
77
78 diff --git a/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch b/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch
79 deleted file mode 100644
80 index 4fde880..0000000
81 --- a/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch
82 +++ /dev/null
83 @@ -1,8 +0,0 @@
84 -diff -r -U1 maxima-5.26.0.orig/src/numerical/slatec/xerprn.lisp maxima-5.26.0/src/numerical/slatec/xerprn.lisp
85 ---- maxima-5.26.0.orig/src/numerical/slatec/xerprn.lisp 2011-08-01 11:39:52.000000000 +0700
86 -+++ maxima-5.26.0/src/numerical/slatec/xerprn.lisp 2012-02-13 18:49:21.000000000 +0700
87 -@@ -20,3 +20,3 @@
88 - (let* ((newlin "$$"))
89 -- (declare (type (simple-array character (2)) newlin) (ignorable newlin))
90 -+ (declare (ignorable newlin))
91 - (defun xerprn (prefix npref messg nwrap)
92
93 diff --git a/sci-mathematics/maxima/files/maxima-5.26.0-wish.patch b/sci-mathematics/maxima/files/maxima-5.26.0-wish.patch
94 deleted file mode 100644
95 index 6fcb0d9..0000000
96 --- a/sci-mathematics/maxima/files/maxima-5.26.0-wish.patch
97 +++ /dev/null
98 @@ -1,28 +0,0 @@
99 -diff -r -U1 maxima-5.23.1.orig//configure.in maxima-5.23.1//configure.in
100 ---- maxima-5.23.1.orig//configure.in 2011-01-15 21:54:46.000000000 +0600
101 -+++ maxima-5.23.1//configure.in 2011-01-16 21:00:16.000000000 +0600
102 -@@ -777,6 +777,11 @@
103 - [ --with-wish=<prog> Use <prog> for Tk wish shell (default wish)],
104 -- [WISH="${withval}"],
105 -- [WISH="wish"])
106 -+ [],
107 -+ [with_wish="wish"])
108 -+case "${with_wish}" in
109 -+ no) WISH="none" ;;
110 -+ yes) WISH="wish" ;;
111 -+ *) WISH="${with_wish}" ;;
112 -+esac
113 - AC_SUBST(WISH)
114 --
115 -+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno)
116 -
117 -diff -r -U1 maxima-5.23.1.orig//interfaces/Makefile.am maxima-5.23.1//interfaces/Makefile.am
118 ---- maxima-5.23.1.orig//interfaces/Makefile.am 2004-04-28 23:34:59.000000000 +0700
119 -+++ maxima-5.23.1//interfaces/Makefile.am 2011-01-16 20:41:38.000000000 +0600
120 -@@ -1,2 +1,6 @@
121 -+if WANT_TK
122 - SUBDIRS = emacs xmaxima
123 -+else
124 -+SUBDIRS = emacs
125 -+endif
126 - EXTRA_DIST = bin/xmaxima.iss
127
128 diff --git a/sci-mathematics/maxima/files/maxima-5.26.0.patch b/sci-mathematics/maxima/files/maxima-5.26.0.patch
129 deleted file mode 100644
130 index 6309653..0000000
131 --- a/sci-mathematics/maxima/files/maxima-5.26.0.patch
132 +++ /dev/null
133 @@ -1,37 +0,0 @@
134 -diff -r -U1 maxima-5.23.1.orig//configure.in maxima-5.23.1//configure.in
135 ---- maxima-5.23.1.orig//configure.in 2011-01-15 21:54:46.000000000 +0600
136 -+++ maxima-5.23.1//configure.in 2011-01-16 19:50:55.000000000 +0600
137 -@@ -294,3 +294,3 @@
138 - dnl n.b. openmcl_default_name is hardcoded in "with" message
139 --openmcl_default_name=openmcl
140 -+openmcl_default_name=ccl
141 - AC_ARG_ENABLE(openmcl,
142 -diff -r -U1 maxima-5.23.1.orig//src/maxima.in maxima-5.23.1//src/maxima.in
143 ---- maxima-5.23.1.orig//src/maxima.in 2010-12-05 08:06:03.000000000 +0600
144 -+++ maxima-5.23.1//src/maxima.in 2011-01-16 20:07:27.000000000 +0600
145 -@@ -137,5 +137,5 @@
146 - if [ "$layout_autotools" = "true" ]; then
147 -- 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"
148 -+ 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"
149 - else
150 -- exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
151 -+ exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
152 - fi
153 -@@ -147,5 +147,5 @@
154 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
155 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
156 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
157 - else
158 -- 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"
159 -+ 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"
160 - fi
161 -@@ -155,3 +155,3 @@
162 - else
163 -- 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"
164 -+ 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"
165 - fi
166 -@@ -177,3 +177,3 @@
167 - elif [ "$MAXIMA_LISP" = "sbcl" ]; then
168 -- 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"
169 -+ 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"
170 - else
171
172 diff --git a/sci-mathematics/maxima/files/maxima-5.27.0-inhibit-sys_usr-inits.patch b/sci-mathematics/maxima/files/maxima-5.27.0-inhibit-sys_usr-inits.patch
173 deleted file mode 100644
174 index a86a4ed..0000000
175 --- a/sci-mathematics/maxima/files/maxima-5.27.0-inhibit-sys_usr-inits.patch
176 +++ /dev/null
177 @@ -1,24 +0,0 @@
178 -diff -uNr maxima-5.27.0.org/src/Makefile.am maxima-5.27.0/src/Makefile.am
179 ---- maxima-5.27.0.org/src/Makefile.am 2012-05-07 08:04:23.000000000 -0400
180 -+++ maxima-5.27.0/src/Makefile.am 2012-05-07 08:04:56.000000000 -0400
181 -@@ -176,7 +176,7 @@
182 -
183 -
184 - if SBCL
185 --EXECUTESBCL = $(SBCL_NAME) --noinform --noprint --eval
186 -+EXECUTESBCL = $(SBCL_NAME) --sysinit /dev/null --userinit /dev/null --eval
187 - all-local: sharefiles.mk binary-sbcl/maxima.core
188 - install-exec-local: install-sbcl
189 - uninstall-hook: uninstall-sbcl
190 -diff -uNr maxima-5.27.0.org/src/Makefile.in maxima-5.27.0/src/Makefile.in
191 ---- maxima-5.27.0.org/src/Makefile.in 2012-05-07 08:04:23.000000000 -0400
192 -+++ maxima-5.27.0/src/Makefile.in 2012-05-07 08:05:14.000000000 -0400
193 -@@ -240,7 +240,7 @@
194 - @CMUCL_TRUE@INITINTL = (when (find-package "INTL") (set (find-symbol "*DEFAULT-DOMAIN*" "INTL") "maxima"))
195 - @SCL_TRUE@EXECUTESCL = $(SCL_NAME) -noinit -batch
196 - @ACL_TRUE@EXECUTEACL = $(ACL_NAME) -batch
197 --@SBCL_TRUE@EXECUTESBCL = $(SBCL_NAME) --noinform --noprint --eval
198 -+@SBCL_TRUE@EXECUTESBCL = $(SBCL_NAME) --sysinit /dev/null --userinit /dev/null --eval
199 - @GCL_TRUE@EXECUTEGCL = $(GCL_NAME) -batch -eval
200 - @OPENMCL_TRUE@EXECUTEOPENMCL = $(OPENMCL_NAME) -e
201 - @ECL_TRUE@EXECUTEECL = $(ECL_NAME) -norc
202
203 diff --git a/sci-mathematics/maxima/files/maxima-5.27.0-wish.patch b/sci-mathematics/maxima/files/maxima-5.27.0-wish.patch
204 deleted file mode 100644
205 index 6fcb0d9..0000000
206 --- a/sci-mathematics/maxima/files/maxima-5.27.0-wish.patch
207 +++ /dev/null
208 @@ -1,28 +0,0 @@
209 -diff -r -U1 maxima-5.23.1.orig//configure.in maxima-5.23.1//configure.in
210 ---- maxima-5.23.1.orig//configure.in 2011-01-15 21:54:46.000000000 +0600
211 -+++ maxima-5.23.1//configure.in 2011-01-16 21:00:16.000000000 +0600
212 -@@ -777,6 +777,11 @@
213 - [ --with-wish=<prog> Use <prog> for Tk wish shell (default wish)],
214 -- [WISH="${withval}"],
215 -- [WISH="wish"])
216 -+ [],
217 -+ [with_wish="wish"])
218 -+case "${with_wish}" in
219 -+ no) WISH="none" ;;
220 -+ yes) WISH="wish" ;;
221 -+ *) WISH="${with_wish}" ;;
222 -+esac
223 - AC_SUBST(WISH)
224 --
225 -+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno)
226 -
227 -diff -r -U1 maxima-5.23.1.orig//interfaces/Makefile.am maxima-5.23.1//interfaces/Makefile.am
228 ---- maxima-5.23.1.orig//interfaces/Makefile.am 2004-04-28 23:34:59.000000000 +0700
229 -+++ maxima-5.23.1//interfaces/Makefile.am 2011-01-16 20:41:38.000000000 +0600
230 -@@ -1,2 +1,6 @@
231 -+if WANT_TK
232 - SUBDIRS = emacs xmaxima
233 -+else
234 -+SUBDIRS = emacs
235 -+endif
236 - EXTRA_DIST = bin/xmaxima.iss
237
238 diff --git a/sci-mathematics/maxima/files/maxima-5.27.0.patch b/sci-mathematics/maxima/files/maxima-5.27.0.patch
239 deleted file mode 100644
240 index 6309653..0000000
241 --- a/sci-mathematics/maxima/files/maxima-5.27.0.patch
242 +++ /dev/null
243 @@ -1,37 +0,0 @@
244 -diff -r -U1 maxima-5.23.1.orig//configure.in maxima-5.23.1//configure.in
245 ---- maxima-5.23.1.orig//configure.in 2011-01-15 21:54:46.000000000 +0600
246 -+++ maxima-5.23.1//configure.in 2011-01-16 19:50:55.000000000 +0600
247 -@@ -294,3 +294,3 @@
248 - dnl n.b. openmcl_default_name is hardcoded in "with" message
249 --openmcl_default_name=openmcl
250 -+openmcl_default_name=ccl
251 - AC_ARG_ENABLE(openmcl,
252 -diff -r -U1 maxima-5.23.1.orig//src/maxima.in maxima-5.23.1//src/maxima.in
253 ---- maxima-5.23.1.orig//src/maxima.in 2010-12-05 08:06:03.000000000 +0600
254 -+++ maxima-5.23.1//src/maxima.in 2011-01-16 20:07:27.000000000 +0600
255 -@@ -137,5 +137,5 @@
256 - if [ "$layout_autotools" = "true" ]; then
257 -- 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"
258 -+ 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"
259 - else
260 -- exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
261 -+ exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
262 - fi
263 -@@ -147,5 +147,5 @@
264 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
265 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
266 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
267 - else
268 -- 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"
269 -+ 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"
270 - fi
271 -@@ -155,3 +155,3 @@
272 - else
273 -- 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"
274 -+ 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"
275 - fi
276 -@@ -177,3 +177,3 @@
277 - elif [ "$MAXIMA_LISP" = "sbcl" ]; then
278 -- 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"
279 -+ 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"
280 - else
281
282 diff --git a/sci-mathematics/maxima/files/maxima-5.28.0-sbcl.patch b/sci-mathematics/maxima/files/maxima-5.28.0-sbcl.patch
283 deleted file mode 100644
284 index 66a583e..0000000
285 --- a/sci-mathematics/maxima/files/maxima-5.28.0-sbcl.patch
286 +++ /dev/null
287 @@ -1,8 +0,0 @@
288 -diff -r -U1 maxima-5.28.0.orig/src/Makefile.am maxima-5.28.0/src/Makefile.am
289 ---- maxima-5.28.0.orig/src/Makefile.am 2012-06-15 12:21:34.000000000 +0700
290 -+++ maxima-5.28.0/src/Makefile.am 2012-08-25 09:32:26.000000000 +0700
291 -@@ -199,3 +199,3 @@
292 - if SBCL
293 --EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint --eval
294 -+EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint --no-sysinit --no-userinit --eval
295 - all-local: sharefiles.mk $(SBCL_MAXIMA)
296
297 diff --git a/sci-mathematics/maxima/files/maxima-5.28.0-wish.patch b/sci-mathematics/maxima/files/maxima-5.28.0-wish.patch
298 deleted file mode 100644
299 index 6fcb0d9..0000000
300 --- a/sci-mathematics/maxima/files/maxima-5.28.0-wish.patch
301 +++ /dev/null
302 @@ -1,28 +0,0 @@
303 -diff -r -U1 maxima-5.23.1.orig//configure.in maxima-5.23.1//configure.in
304 ---- maxima-5.23.1.orig//configure.in 2011-01-15 21:54:46.000000000 +0600
305 -+++ maxima-5.23.1//configure.in 2011-01-16 21:00:16.000000000 +0600
306 -@@ -777,6 +777,11 @@
307 - [ --with-wish=<prog> Use <prog> for Tk wish shell (default wish)],
308 -- [WISH="${withval}"],
309 -- [WISH="wish"])
310 -+ [],
311 -+ [with_wish="wish"])
312 -+case "${with_wish}" in
313 -+ no) WISH="none" ;;
314 -+ yes) WISH="wish" ;;
315 -+ *) WISH="${with_wish}" ;;
316 -+esac
317 - AC_SUBST(WISH)
318 --
319 -+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno)
320 -
321 -diff -r -U1 maxima-5.23.1.orig//interfaces/Makefile.am maxima-5.23.1//interfaces/Makefile.am
322 ---- maxima-5.23.1.orig//interfaces/Makefile.am 2004-04-28 23:34:59.000000000 +0700
323 -+++ maxima-5.23.1//interfaces/Makefile.am 2011-01-16 20:41:38.000000000 +0600
324 -@@ -1,2 +1,6 @@
325 -+if WANT_TK
326 - SUBDIRS = emacs xmaxima
327 -+else
328 -+SUBDIRS = emacs
329 -+endif
330 - EXTRA_DIST = bin/xmaxima.iss
331
332 diff --git a/sci-mathematics/maxima/files/maxima-5.28.0.patch b/sci-mathematics/maxima/files/maxima-5.28.0.patch
333 deleted file mode 100644
334 index c8bd419..0000000
335 --- a/sci-mathematics/maxima/files/maxima-5.28.0.patch
336 +++ /dev/null
337 @@ -1,51 +0,0 @@
338 -diff -r -U1 maxima-5.28.0.orig/src/maxima.in maxima-5.28.0/src/maxima.in
339 ---- maxima-5.28.0.orig/src/maxima.in 2012-06-15 12:21:34.000000000 +0700
340 -+++ maxima-5.28.0/src/maxima.in 2012-08-15 21:46:37.000000000 +0700
341 -@@ -138,5 +138,5 @@
342 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
343 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
344 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
345 - else
346 -- 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"
347 -+ 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"
348 - fi
349 -@@ -144,5 +144,5 @@
350 - if [ -x "$maxima_image_base" ]; then
351 -- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
352 -+ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
353 - else
354 -- exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
355 -+ exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
356 - fi
357 -@@ -155,5 +155,5 @@
358 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
359 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
360 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
361 - else
362 -- 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"
363 -+ 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"
364 - fi
365 -@@ -161,5 +161,5 @@
366 - if [ -x "$maxima_image_base" ]; then
367 -- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
368 -+ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
369 - else
370 -- 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"
371 -+ 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"
372 - fi
373 -@@ -183,5 +183,5 @@
374 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
375 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
376 -+ 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"
377 - else
378 -- exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
379 -+ 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"
380 - fi
381 -@@ -196,5 +196,5 @@
382 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
383 -- 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"
384 -+ 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"
385 - else
386 -- 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"
387 -+ 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"
388 - fi
389
390 diff --git a/sci-mathematics/maxima/files/maxima-5.29.1-sbcl.patch b/sci-mathematics/maxima/files/maxima-5.29.1-sbcl.patch
391 deleted file mode 100644
392 index 66a583e..0000000
393 --- a/sci-mathematics/maxima/files/maxima-5.29.1-sbcl.patch
394 +++ /dev/null
395 @@ -1,8 +0,0 @@
396 -diff -r -U1 maxima-5.28.0.orig/src/Makefile.am maxima-5.28.0/src/Makefile.am
397 ---- maxima-5.28.0.orig/src/Makefile.am 2012-06-15 12:21:34.000000000 +0700
398 -+++ maxima-5.28.0/src/Makefile.am 2012-08-25 09:32:26.000000000 +0700
399 -@@ -199,3 +199,3 @@
400 - if SBCL
401 --EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint --eval
402 -+EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint --no-sysinit --no-userinit --eval
403 - all-local: sharefiles.mk $(SBCL_MAXIMA)
404
405 diff --git a/sci-mathematics/maxima/files/maxima-5.29.1-wish.patch b/sci-mathematics/maxima/files/maxima-5.29.1-wish.patch
406 deleted file mode 100644
407 index 6fcb0d9..0000000
408 --- a/sci-mathematics/maxima/files/maxima-5.29.1-wish.patch
409 +++ /dev/null
410 @@ -1,28 +0,0 @@
411 -diff -r -U1 maxima-5.23.1.orig//configure.in maxima-5.23.1//configure.in
412 ---- maxima-5.23.1.orig//configure.in 2011-01-15 21:54:46.000000000 +0600
413 -+++ maxima-5.23.1//configure.in 2011-01-16 21:00:16.000000000 +0600
414 -@@ -777,6 +777,11 @@
415 - [ --with-wish=<prog> Use <prog> for Tk wish shell (default wish)],
416 -- [WISH="${withval}"],
417 -- [WISH="wish"])
418 -+ [],
419 -+ [with_wish="wish"])
420 -+case "${with_wish}" in
421 -+ no) WISH="none" ;;
422 -+ yes) WISH="wish" ;;
423 -+ *) WISH="${with_wish}" ;;
424 -+esac
425 - AC_SUBST(WISH)
426 --
427 -+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno)
428 -
429 -diff -r -U1 maxima-5.23.1.orig//interfaces/Makefile.am maxima-5.23.1//interfaces/Makefile.am
430 ---- maxima-5.23.1.orig//interfaces/Makefile.am 2004-04-28 23:34:59.000000000 +0700
431 -+++ maxima-5.23.1//interfaces/Makefile.am 2011-01-16 20:41:38.000000000 +0600
432 -@@ -1,2 +1,6 @@
433 -+if WANT_TK
434 - SUBDIRS = emacs xmaxima
435 -+else
436 -+SUBDIRS = emacs
437 -+endif
438 - EXTRA_DIST = bin/xmaxima.iss
439
440 diff --git a/sci-mathematics/maxima/files/maxima-5.29.1.patch b/sci-mathematics/maxima/files/maxima-5.29.1.patch
441 deleted file mode 100644
442 index c8bd419..0000000
443 --- a/sci-mathematics/maxima/files/maxima-5.29.1.patch
444 +++ /dev/null
445 @@ -1,51 +0,0 @@
446 -diff -r -U1 maxima-5.28.0.orig/src/maxima.in maxima-5.28.0/src/maxima.in
447 ---- maxima-5.28.0.orig/src/maxima.in 2012-06-15 12:21:34.000000000 +0700
448 -+++ maxima-5.28.0/src/maxima.in 2012-08-15 21:46:37.000000000 +0700
449 -@@ -138,5 +138,5 @@
450 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
451 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
452 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
453 - else
454 -- 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"
455 -+ 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"
456 - fi
457 -@@ -144,5 +144,5 @@
458 - if [ -x "$maxima_image_base" ]; then
459 -- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
460 -+ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
461 - else
462 -- exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
463 -+ exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
464 - fi
465 -@@ -155,5 +155,5 @@
466 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
467 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
468 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
469 - else
470 -- 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"
471 -+ 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"
472 - fi
473 -@@ -161,5 +161,5 @@
474 - if [ -x "$maxima_image_base" ]; then
475 -- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
476 -+ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
477 - else
478 -- 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"
479 -+ 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"
480 - fi
481 -@@ -183,5 +183,5 @@
482 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
483 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
484 -+ 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"
485 - else
486 -- exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
487 -+ 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"
488 - fi
489 -@@ -196,5 +196,5 @@
490 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
491 -- 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"
492 -+ 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"
493 - else
494 -- 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"
495 -+ 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"
496 - fi
497
498 diff --git a/sci-mathematics/maxima/files/maxima-ccl.patch b/sci-mathematics/maxima/files/maxima-ccl.patch
499 deleted file mode 100644
500 index 6e74674..0000000
501 --- a/sci-mathematics/maxima/files/maxima-ccl.patch
502 +++ /dev/null
503 @@ -1,8 +0,0 @@
504 -diff -r -U1 maxima-5.28.0.orig/configure.in maxima-5.28.0/configure.in
505 ---- maxima-5.28.0.orig/configure.in 2012-08-12 23:17:53.000000000 +0700
506 -+++ maxima-5.28.0/configure.in 2012-08-15 21:47:42.000000000 +0700
507 -@@ -350,3 +350,3 @@
508 - dnl n.b. openmcl_default_name is hardcoded in "with" message
509 --openmcl_default_name=openmcl
510 -+openmcl_default_name=ccl
511 - AC_ARG_ENABLE(openmcl,
512
513 diff --git a/sci-mathematics/maxima/files/maxima-ecl-ldflags.patch b/sci-mathematics/maxima/files/maxima-ecl-ldflags.patch
514 deleted file mode 100644
515 index e71486f..0000000
516 --- a/sci-mathematics/maxima/files/maxima-ecl-ldflags.patch
517 +++ /dev/null
518 @@ -1,27 +0,0 @@
519 -diff -p -up maxima-5.20.1/src/maxima.system.orig maxima-5.20.1/src/maxima.system
520 ---- maxima-5.20.1/src/maxima.system.orig 2010-03-04 17:25:38.708483072 -0300
521 -+++ maxima-5.20.1/src/maxima.system 2010-03-04 17:27:27.150481620 -0300
522 -@@ -44,6 +44,14 @@
523 - (c:build-fasl output :lisp-files (list object-output)))))
524 -
525 - #+ecl
526 -+(defun split-ld-flags-for-ecl (string &aux space)
527 -+ (setf string (string-trim '(#\Space) string))
528 -+ (if (setf space (position #\Space string))
529 -+ (cons (subseq string 0 space)
530 -+ (split-ld-flags-for-ecl (subseq string (1+ space))))
531 -+ (cons string nil)))
532 -+
533 -+#+ecl
534 - (defun build-maxima-lib ()
535 - (labels ((list-all-objects (module)
536 - (if (eql (mk::component-type module) :file)
537 -@@ -66,7 +74,7 @@
538 - :ld-flags
539 - (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"
540 - (find-package "MAXIMA")))))
541 -- (if (and x (not (string= x ""))) (list x)))
542 -+ (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x)))
543 - :epilogue-code '(progn (require :defsystem)
544 - (cl-user::run)))))))
545 -
546
547 diff --git a/sci-mathematics/maxima/files/maxima-imaxima.patch b/sci-mathematics/maxima/files/maxima-imaxima.patch
548 deleted file mode 100644
549 index fe607b2..0000000
550 --- a/sci-mathematics/maxima/files/maxima-imaxima.patch
551 +++ /dev/null
552 @@ -1,5 +0,0 @@
553 ---- interfaces/emacs/Makefile.am.orig 2010-02-01 22:11:44.809941160 +1300
554 -+++ interfaces/emacs/Makefile.am 2010-02-01 22:12:06.608062346 +1300
555 -@@ -1 +1 @@
556 --SUBDIRS = emaxima misc imaxima
557 -+SUBDIRS = emaxima misc
558
559 diff --git a/sci-mathematics/maxima/files/maxima-no-init-files.patch b/sci-mathematics/maxima/files/maxima-no-init-files.patch
560 deleted file mode 100644
561 index 2e49a2b..0000000
562 --- a/sci-mathematics/maxima/files/maxima-no-init-files.patch
563 +++ /dev/null
564 @@ -1,31 +0,0 @@
565 ---- src/maxima.in.orig 2008-02-07 11:53:43.006379528 +0000
566 -+++ src/maxima.in 2008-02-07 11:55:02.278897011 +0000
567 -@@ -111,15 +111,15 @@
568 - fi
569 - if [ "$MAXIMA_LISP" = "clisp" ]; then
570 - if [ "$layout_autotools" = "true" ]; then
571 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
572 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
573 - else
574 -- exec "@CLISP_NAME@" -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
575 -+ exec "@CLISP_NAME@" -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
576 - fi
577 - elif [ "$MAXIMA_LISP" = "cmucl" ]; then
578 - if [ "$layout_autotools" = "true" ]; then
579 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
580 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
581 - else
582 -- exec "@CMUCL_NAME@" -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
583 -+ exec "@CMUCL_NAME@" -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
584 - fi
585 - elif [ "$MAXIMA_LISP" = "scl" ]; then
586 - if [ "$layout_autotools" = "true" ]; then
587 -@@ -138,7 +138,7 @@
588 - # in the function get-application-args in command-line.lisp
589 - exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
590 - elif [ "$MAXIMA_LISP" = "sbcl" ]; then
591 -- exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
592 -+ exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform --end-runtime-options --no-sysinit --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
593 - else
594 - echo "$0: lisp=\"$MAXIMA_LISP\" not known. Use --list-avail to see possible options." >&2
595 - exit 1
596
597 diff --git a/sci-mathematics/maxima/files/maxima-rmaxima.patch b/sci-mathematics/maxima/files/maxima-rmaxima.patch
598 deleted file mode 100644
599 index 712cbda..0000000
600 --- a/sci-mathematics/maxima/files/maxima-rmaxima.patch
601 +++ /dev/null
602 @@ -1,25 +0,0 @@
603 -diff -r -U2 maxima-5.28.0.orig/src/Makefile.am maxima-5.28.0/src/Makefile.am
604 ---- maxima-5.28.0.orig/src/Makefile.am 2012-06-15 12:21:34.000000000 +0700
605 -+++ maxima-5.28.0/src/Makefile.am 2012-10-30 22:22:29.000000000 +0700
606 -@@ -4,5 +4,21 @@
607 - bin_SCRIPTS = maxima maxima-command.ico maxima.bat set_lang.vbs
608 - else
609 -+if SBCL
610 - bin_SCRIPTS = maxima rmaxima
611 -+else
612 -+if CMUCL
613 -+bin_SCRIPTS = maxima rmaxima
614 -+else
615 -+if ECL
616 -+bin_SCRIPTS = maxima rmaxima
617 -+else
618 -+if OPENMCL
619 -+bin_SCRIPTS = maxima rmaxima
620 -+else
621 -+bin_SCRIPTS = maxima
622 -+endif
623 -+endif
624 -+endif
625 -+endif
626 - endif
627 -
628
629 diff --git a/sci-mathematics/maxima/files/maxima-xdg-utils.patch b/sci-mathematics/maxima/files/maxima-xdg-utils.patch
630 deleted file mode 100644
631 index 876fe6f..0000000
632 --- a/sci-mathematics/maxima/files/maxima-xdg-utils.patch
633 +++ /dev/null
634 @@ -1,35 +0,0 @@
635 ---- interfaces/emacs/misc/bookmode.el.orig 2008-02-07 12:42:18.008472937 +0000
636 -+++ interfaces/emacs/misc/bookmode.el 2008-02-07 12:43:02.531010132 +0000
637 -@@ -680,7 +680,7 @@
638 -
639 - (and tem
640 - (list (concat "View "(nth 1 tem))
641 -- 'call-process "ghostview" nil nil nil
642 -+ 'call-process "xdg-open" nil nil nil
643 - (expand-file-name(nth 1 tem))
644 - ))
645 - (list "Cancel")
646 -@@ -705,7 +705,7 @@
647 - (concat
648 - (cond ((looking-at "%PS") "")
649 - (t "gzip -dc | "))
650 -- "ghostview -")
651 -+ "xdg-open -")
652 -
653 - )))
654 -
655 ---- interfaces/xmaxima/Tkmaxima/Constants.tcl.orig 2008-02-07 12:42:47.294141832 +0000
656 -+++ interfaces/xmaxima/Tkmaxima/Constants.tcl 2008-02-07 12:43:02.539010587 +0000
657 -@@ -143,9 +143,9 @@
658 - image/gif netmath
659 - image/png netmath
660 - image/jpeg netmath
661 -- application/postscript "ghostview -safer %s"
662 -- application/pdf "acroread %s"
663 -- application/x-dvi "xdvi %s"
664 -+ application/postscript "xdg-open -safer %s"
665 -+ application/pdf "xdg-open %s"
666 -+ application/x-dvi "xdg-open %s"
667 - }
668 - set maxima_priv(imagecounter) 0
669 -
670
671 diff --git a/sci-mathematics/maxima/maxima-5.18.1.ebuild b/sci-mathematics/maxima/maxima-5.18.1.ebuild
672 deleted file mode 100644
673 index 367765c..0000000
674 --- a/sci-mathematics/maxima/maxima-5.18.1.ebuild
675 +++ /dev/null
676 @@ -1,175 +0,0 @@
677 -# Copyright 1999-2015 Gentoo Foundation
678 -# Distributed under the terms of the GNU General Public License v2
679 -# $Id$
680 -EAPI=2
681 -inherit eutils elisp-common
682 -
683 -DESCRIPTION="Free computer algebra environment based on Macsyma"
684 -HOMEPAGE="http://maxima.sourceforge.net/"
685 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
686 -
687 -LICENSE="GPL-2"
688 -SLOT="0"
689 -KEYWORDS="amd64 ppc x86"
690 -
691 -# Supported lisps with readline
692 -SUPP_RL="gcl clisp"
693 -# Supported lisps without readline
694 -SUPP_NORL="cmucl sbcl"
695 -SUPP_LISPS="${SUPP_RL} ${SUPP_NORL}"
696 -# Default lisp if none selected
697 -DEF_LISP="sbcl"
698 -
699 -IUSE="latex emacs tk nls unicode xemacs X ${SUPP_LISPS} ${IUSE}"
700 -
701 -# Languages
702 -LANGS="es pt pt_BR"
703 -for lang in ${LANGS}; do
704 - IUSE="${IUSE} linguas_${lang}"
705 -done
706 -
707 -RDEPEND="X? ( x11-misc/xdg-utils
708 - sci-visualization/gnuplot[gd]
709 - tk? ( dev-lang/tk:0 ) )
710 - latex? ( virtual/latex-base )
711 - emacs? ( virtual/emacs
712 - latex? ( app-emacs/auctex ) )
713 - xemacs? ( app-editors/xemacs
714 - latex? ( app-emacs/auctex ) )"
715 -
716 -PDEPEND="emacs? ( app-emacs/imaxima )"
717 -
718 -# create lisp dependencies
719 -for LISP in ${SUPP_LISPS}; do
720 - if [ "${LISP}" = "gcl" ]
721 - then
722 - RDEPEND="${RDEPEND} gcl? ( >=dev-lisp/gcl-2.6.8_pre[ansi] )"
723 - else
724 - RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP} )"
725 - fi
726 - DEF_DEP="${DEF_DEP} !${LISP}? ( "
727 -done
728 -DEF_DEP="${DEF_DEP} dev-lisp/${DEF_LISP}"
729 -for LISP in ${SUPP_NORL}; do
730 - RDEPEND="${RDEPEND} ${LISP}? ( app-misc/rlwrap )"
731 - [[ ${LISP} = ${DEF_LISP} ]] && \
732 - DEF_DEP="${DEF_DEP} app-misc/rlwrap"
733 -done
734 -for LISP in ${SUPP_LISPS}; do
735 - DEF_DEP="${DEF_DEP} )"
736 -done
737 -
738 -RDEPEND="${RDEPEND}
739 - ${DEF_DEP}"
740 -
741 -DEPEND="${RDEPEND}
742 - sys-apps/texinfo"
743 -
744 -TEXMF=/usr/share/texmf-site
745 -
746 -pkg_setup() {
747 - LISPS=""
748 -
749 - for LISP in ${SUPP_LISPS}; do
750 - use ${LISP} && LISPS="${LISPS} ${LISP}"
751 - done
752 -
753 - RL=""
754 -
755 - for LISP in ${SUPP_NORL}; do
756 - use ${LISP} && RL="yes"
757 - done
758 -
759 - if [ -z "${LISPS}" ]; then
760 - ewarn "No lisp specified in USE flags, choosing ${DEF_LISP} as default"
761 - LISPS="${DEF_LISP}"
762 - RL="yes"
763 - fi
764 -}
765 -
766 -src_prepare() {
767 - # use xdg-open to view ps, pdf
768 - epatch "${FILESDIR}"/${PN}-xdg-utils.patch
769 - epatch "${FILESDIR}"/${PN}-no-init-files.patch
770 - # remove rmaxima if neither cmucl nor sbcl
771 - if [ -z "${RL}" ]; then
772 - sed -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' \
773 - -i "${S}"/src/Makefile.in \
774 - || die "sed for rmaxima failed"
775 - fi
776 - # don't install imaxima, since we have a separate package for it
777 - sed -i -e '/^SUBDIRS/s/imaxima//' interfaces/emacs/Makefile.in \
778 - || die "sed for imaxima failed"
779 -}
780 -
781 -src_configure() {
782 - local myconf=""
783 - for LISP in ${LISPS}; do
784 - myconf="${myconf} --enable-${LISP}"
785 - done
786 -
787 - # remove xmaxima if no tk
788 - if use tk; then
789 - myconf="${myconf} --with-wish=wish"
790 - else
791 - myconf="${myconf} --with-wish=none"
792 - sed -i \
793 - -e '/^SUBDIRS/s/xmaxima//' \
794 - interfaces/Makefile.in || die "sed for tk failed"
795 - fi
796 -
797 - # enable existing translated doc
798 - if use nls; then
799 - for lang in ${LANGS}; do
800 - if use "linguas_${lang}"; then
801 - myconf="${myconf} --enable-lang-${lang}"
802 - use unicode && myconf="${myconf} --enable-lang-${lang}-utf8"
803 - fi
804 - done
805 - fi
806 -
807 - econf ${myconf}
808 -}
809 -
810 -src_install() {
811 - einstall emacsdir="${D}${SITELISP}/${PN}" || die "einstall failed"
812 -
813 - use tk && make_desktop_entry xmaxima xmaxima \
814 - /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
815 - "Science;Math;Education"
816 -
817 - if use latex; then
818 - insinto ${TEXMF}/tex/latex/emaxima
819 - doins interfaces/emacs/emaxima/emaxima.sty
820 - fi
821 -
822 - # do not use dodoc because interfaces can't read compressed files
823 - # read COPYING before attempt to remove it from dodoc
824 - insinto /usr/share/${PN}/${PV}/doc
825 - doins AUTHORS COPYING README README.lisps || die
826 - dodir /usr/share/doc
827 - dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
828 -
829 - if use emacs; then
830 - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
831 - fi
832 -}
833 -
834 -pkg_preinst() {
835 - # some lisps do not read compress info files (bug #176411)
836 - for infofile in "${D}"/usr/share/info/*.bz2 ; do
837 - bunzip2 "${infofile}"
838 - done
839 - for infofile in "${D}"/usr/share/info/*.gz ; do
840 - gunzip "${infofile}"
841 - done
842 -}
843 -
844 -pkg_postinst() {
845 - use emacs && elisp-site-regen
846 - use latex && mktexlsr
847 -}
848 -
849 -pkg_postrm() {
850 - use emacs && elisp-site-regen
851 -}