Skip to content

Commit

Permalink
Temporarilly import maxima in overlay
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.0_alpha148
  • Loading branch information
kiwifb committed Dec 17, 2012
1 parent 0b19aac commit 78cbbea
Show file tree
Hide file tree
Showing 14 changed files with 1,097 additions and 0 deletions.
613 changes: 613 additions & 0 deletions sci-mathematics/maxima/ChangeLog

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions sci-mathematics/maxima/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
AUX 50maxima-gentoo.el 439 SHA256 134313e42f134e51283764e44c9a174a4010b319ac9c31822c2e7051d186de49 SHA512 7e31a3e78073b6beab247a7cef7b976b5e3a5e9663f6e84081dec17a6f82287ff9c63121d38d93c5189a5a8fd809e1663470e178b4a658dde1bc5c5caaa52467 WHIRLPOOL 5b66045e5e9aca9bb209bbe46a42897675ca7a38a49ce9b1e38efa53b3717142cec835eb21704d9ef2a02e977a271136e164193a6ed25325d29291266abd0c8e
AUX maxima-5.29.1-sbcl.patch 435 SHA256 85d36d14d4037472bfcf415602f2932a36c9b56413647f2ad0b3007b31b2993e SHA512 da60829f3f91818e84e82b7caf543eda74e71c5444e6f1e0e342c7ff9c2727c14cd8210cdc534c06f5c2c957c7f03b7367af8c3d0f1cdd944346f8dd620558a2 WHIRLPOOL b36a34a8aa83afa82880d07be8c2a075bd91de61fda5338435ce15b06674c58ae50f7f0aeb8d1fc243c8209aca5171eb649840f84cb15fbbe5ea8a7781ab3a2f
AUX maxima-5.29.1-wish.patch 946 SHA256 dd535626d5d2d16f249e2c41157f5bbfb030236651d9b0404cc1a69c5fec9e0c SHA512 34dd30d5eafac7c1551a57cce5010713766867330bbcf1c9ac82553626a84c051e728eac9ed7b0818359ac1016d9a1bb08e829f9e96fd15260db631f824eb4bb WHIRLPOOL c8d80aeabb6756dd4f4c22daeee2416e6d2ea06e3dba8f1fd2bdee53c510ff65a89f681116dbd0087eb06ceb18649ad31268e34d49464f4aaf8a9b1b8fac1b2b
AUX maxima-5.29.1.patch 5286 SHA256 bd11b5b6ff8364d638fa5c8719b1718d1f1c9433331cf3547094e4804119742f SHA512 c5b032d0d64eaa1b6550f50c18cb1f53613eee5cade52705b740d2cda30366ac5b3145ee1040506ad51c4e164abb40e1229434bd1de1e5f59e4f6dc68f833716 WHIRLPOOL 8fe857fd597b6d6a415ad385e8e41aac3f855a99d8747fe559d9ca6554dd8de42b685dc29603e3120bcfc40601de79ee8ad59a12807be75e4700a1a5e541486e
AUX maxima-ccl.patch 372 SHA256 2190a51fbb51119b822222c93669f29b5fcc14c96510f87a53388f3322a6622c SHA512 a617348c6f525eee4f2e471ede0b6bc1f6e4df4cfe944f52584bc6a5a2aff0a5ca6f554286f6c8cd3e88793e88bc5d258af20188743000677b229c3b69b8c257 WHIRLPOOL e7720f692f50967a536195d7b08a77380269b62d6a68c7b9d6301fe224ac349f4324eccd026035cdf03edded15de87002ae63811ffc1142a03729dd500851a52
AUX maxima-ecl-ldflags.patch 1069 SHA256 e4a12120d30389690d2d5c1ac8ae77713e1818950632c2953ac6ec57a9c11976 SHA512 9b080be546a95ef5eccbc1da9a7d18f90f8dcec0033d521008ed948f1e411ea7a37bf7a2c5cf54430f14fc7c4cab445cccebecbda2fcb5bc1ff8062878d67b0c WHIRLPOOL 52c185c647a11b4210f46ded0ac94fbf5e094691a231d1304885a4b235da120e0230384f91f8cf67cbdd09d6cd32a23bc4dd4de5c212ca41c0d94543a4babdb6
AUX maxima-imaxima.patch 211 SHA256 b1d07af716f477dedfb011cb8c4fdf154d146db5172664865efc1ec025bfa2ce SHA512 48b66de8b6a77c60033cfc04fecbca410ecf87aa52fd08326d2535af0261047b79fbe8515d8c7d73087fc98af2b6d8c436fe44941256a0d2ba8edff24ce7df9f WHIRLPOOL ebb601a3be816ef37eb43368f5ba46e0a47dd48fc2eee1a4c6c31869d9bbc3c448ccf01c807ddca8798258c069b2b627b3ae5063afc03ee6a50f9521158e4711
AUX maxima-no-init-files.patch 2626 SHA256 58b82fa1cdcc2eafc0f912541b350ae7aec8c492be5f6b0ce2174ae01f399d88 SHA512 f7ea883892f78090080c0842789f3dadf080e477115983e3f37738a63f187befb4f5e3ac259dac1c51f55d7590a159c9ef54c437301a1a5f7cd477f75c0910c6 WHIRLPOOL 2cd45ada31726735d4760b6c50de55372227b97f9653761a944aa5ef5457d89a99ddbf4ea33b7efeec6b2a0bb8fad1dc22fe8aea5e4660ef4b634a8a8925782d
AUX maxima-rmaxima.patch 552 SHA256 73cc45185ee9de683686348e11ed4135a498a1a65cc61b80cf1407c6ec49b133 SHA512 a60c8c5ac23b0342823fbcd15e27f44ea85652640271ea845e383796422fa416b221dd036eb0a1639f70f9b09473471657612c7a5f99892cfb214d52156a6907 WHIRLPOOL a328f28ecf817b77f621d46652df8450e47855614e51f0760be0ac0d9d7e5886956d3ce108e2acdae88b81c2dc8f3cadafe3693529c452d076937b70a9a6256f
AUX maxima-xdg-utils.patch 1090 SHA256 99c600c4c7e813305da375a4afa4a5e7ea6aa4ec9f1ecc051b9c913281af53ea SHA512 31b121a2d6f1c24e5f2fa3e6129f661a891660665bf45a2907146e3bae9309d185f83d7001287df92a73aff81562a7011ad6b92e03516883bc0ae0730570fa38 WHIRLPOOL 1aee0e9b00d7991b6d07b954927b152f1a5effddf3dca79b11ba47203f8be8b2d8432feb394295d77fc7669e9c3c8f9e0dd8d4fefc9657270d20e033f5fb49d7
DIST maxima-5.29.1.tar.gz 27148396 SHA256 e4d8558e6eff09aa0b424fd3591a3f309c7f53068640658d40c0b2a690a024dd SHA512 9db7166ed49116c6369d5cf18ff01f54e9dba971e683a4daecbf01d063cd91bd5d188dc5a4e3fc0f7b14493a89841ded4f4a6ceac2bf6060b77c91fb9bc8013b WHIRLPOOL 74fb19706aa199202d74a15e6084f333f67f53760f0465cb9289d07e3a368a5ceeb1a4c5baa852514b07442f5bafc9afc16e996f7962b1a1d214cf0ff5dd6f37
EBUILD maxima-5.29.1.ebuild 5169 SHA256 52d79f514dcc3b2e3232464043548832d725b36322b27fcd548491bfc8561413 SHA512 60510763165b00edf331c3b4f33033e5d167cab5e9a3412415ae9cb8a29451de795b0eccd916792d381a785e402033697378da63b47ed349269cbbbd36102f3b WHIRLPOOL e1f16837b079abb03b124e7c22230f63bbab91bd45dd5e72b27693bc6acdaa3fd6111cc2617f4f9334b9dace3867b213ea1ffceb0e4903cae9a2ff8ae296a5c0
MISC ChangeLog 23833 SHA256 a65cd69478a62cd9796c1bc53b7848c02438dece3e75e14a947ca6be4fe2a206 SHA512 55737a438ac827ef2caad29ec2da0a6d736b196d76d9ec35dd3e31613931d336305f06b14bd9fa9e76cc1aa07000cd0b8bccde384fea1502ab71f4a5f9183519 WHIRLPOOL de77553892660866e804908e60091b6191e04d7de7e0f5b832f44bb98ad1fba2b1f6f1058eeaad58b408360431dc290177bf81fa0cf4c2bc7c94c403607463c4
MISC metadata.xml 1316 SHA256 c5b7768087c365de73e5fe1458c72155134c0db19d6d9e22527e7dc0c5f99f50 SHA512 b7a7af7e6342b140b1d2a09ecb3a4a59107fe23bf0bfb63ca8c344e5960d7f3ac64e0b19f516333e34ab878e82fef58bdb447c0110058b09aa66870ba2f836a7 WHIRLPOOL 3cae3e8642d61d403bc5f82d5471c3b4d48670bcabec9af35309f95dfe4bba7306581d7e8f38f4dd7c45da9d56d0eec92fc71a7a7cff778ea78673fe5b857385
12 changes: 12 additions & 0 deletions sci-mathematics/maxima/files/50maxima-gentoo.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

;;; maxima site-lisp configuration

(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)
8 changes: 8 additions & 0 deletions sci-mathematics/maxima/files/maxima-5.29.1-sbcl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
diff -r -U1 maxima-5.28.0.orig/src/Makefile.am maxima-5.28.0/src/Makefile.am
--- maxima-5.28.0.orig/src/Makefile.am 2012-06-15 12:21:34.000000000 +0700
+++ maxima-5.28.0/src/Makefile.am 2012-08-25 09:32:26.000000000 +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)
28 changes: 28 additions & 0 deletions sci-mathematics/maxima/files/maxima-5.29.1-wish.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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
51 changes: 51 additions & 0 deletions sci-mathematics/maxima/files/maxima-5.29.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
diff -r -U1 maxima-5.28.0.orig/src/maxima.in maxima-5.28.0/src/maxima.in
--- maxima-5.28.0.orig/src/maxima.in 2012-06-15 12:21:34.000000000 +0700
+++ maxima-5.28.0/src/maxima.in 2012-08-15 21:46:37.000000000 +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
@@ -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
@@ -183,5 +183,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
@@ -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
8 changes: 8 additions & 0 deletions sci-mathematics/maxima/files/maxima-ccl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
diff -r -U1 maxima-5.28.0.orig/configure.in maxima-5.28.0/configure.in
--- maxima-5.28.0.orig/configure.in 2012-08-12 23:17:53.000000000 +0700
+++ maxima-5.28.0/configure.in 2012-08-15 21:47:42.000000000 +0700
@@ -350,3 +350,3 @@
dnl n.b. openmcl_default_name is hardcoded in "with" message
-openmcl_default_name=openmcl
+openmcl_default_name=ccl
AC_ARG_ENABLE(openmcl,
27 changes: 27 additions & 0 deletions sci-mathematics/maxima/files/maxima-ecl-ldflags.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
diff -p -up maxima-5.20.1/src/maxima.system.orig maxima-5.20.1/src/maxima.system
--- maxima-5.20.1/src/maxima.system.orig 2010-03-04 17:25:38.708483072 -0300
+++ maxima-5.20.1/src/maxima.system 2010-03-04 17:27:27.150481620 -0300
@@ -44,6 +44,14 @@
(c:build-fasl output :lisp-files (list object-output)))))

#+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 ()
(labels ((list-all-objects (module)
(if (eql (mk::component-type module) :file)
@@ -66,7 +74,7 @@
: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)
(cl-user::run)))))))

5 changes: 5 additions & 0 deletions sci-mathematics/maxima/files/maxima-imaxima.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--- 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
31 changes: 31 additions & 0 deletions sci-mathematics/maxima/files/maxima-no-init-files.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
--- src/maxima.in.orig 2008-02-07 11:53:43.006379528 +0000
+++ src/maxima.in 2008-02-07 11:55:02.278897011 +0000
@@ -111,15 +111,15 @@
fi
if [ "$MAXIMA_LISP" = "clisp" ]; then
if [ "$layout_autotools" = "true" ]; then
- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
else
- exec "@CLISP_NAME@" -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
+ exec "@CLISP_NAME@" -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
fi
elif [ "$MAXIMA_LISP" = "cmucl" ]; then
if [ "$layout_autotools" = "true" ]; then
- 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"
+ 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"
else
- exec "@CMUCL_NAME@" -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
+ exec "@CMUCL_NAME@" -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
fi
elif [ "$MAXIMA_LISP" = "scl" ]; then
if [ "$layout_autotools" = "true" ]; then
@@ -138,7 +138,7 @@
# in the function get-application-args in command-line.lisp
exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
elif [ "$MAXIMA_LISP" = "sbcl" ]; then
- 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"
+ 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"
else
echo "$0: lisp=\"$MAXIMA_LISP\" not known. Use --list-avail to see possible options." >&2
exit 1
25 changes: 25 additions & 0 deletions sci-mathematics/maxima/files/maxima-rmaxima.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
diff -r -U2 maxima-5.28.0.orig/src/Makefile.am maxima-5.28.0/src/Makefile.am
--- maxima-5.28.0.orig/src/Makefile.am 2012-06-15 12:21:34.000000000 +0700
+++ maxima-5.28.0/src/Makefile.am 2012-10-30 22:22:29.000000000 +0700
@@ -4,5 +4,21 @@
bin_SCRIPTS = maxima maxima-command.ico maxima.bat set_lang.vbs
else
+if SBCL
bin_SCRIPTS = maxima rmaxima
+else
+if CMUCL
+bin_SCRIPTS = maxima rmaxima
+else
+if ECL
+bin_SCRIPTS = maxima rmaxima
+else
+if OPENMCL
+bin_SCRIPTS = maxima rmaxima
+else
+bin_SCRIPTS = maxima
+endif
+endif
+endif
+endif
endif

35 changes: 35 additions & 0 deletions sci-mathematics/maxima/files/maxima-xdg-utils.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
--- interfaces/emacs/misc/bookmode.el.orig 2008-02-07 12:42:18.008472937 +0000
+++ interfaces/emacs/misc/bookmode.el 2008-02-07 12:43:02.531010132 +0000
@@ -680,7 +680,7 @@

(and tem
(list (concat "View "(nth 1 tem))
- 'call-process "ghostview" nil nil nil
+ 'call-process "xdg-open" nil nil nil
(expand-file-name(nth 1 tem))
))
(list "Cancel")
@@ -705,7 +705,7 @@
(concat
(cond ((looking-at "%PS") "")
(t "gzip -dc | "))
- "ghostview -")
+ "xdg-open -")

)))

--- interfaces/xmaxima/Tkmaxima/Constants.tcl.orig 2008-02-07 12:42:47.294141832 +0000
+++ interfaces/xmaxima/Tkmaxima/Constants.tcl 2008-02-07 12:43:02.539010587 +0000
@@ -143,9 +143,9 @@
image/gif netmath
image/png netmath
image/jpeg netmath
- application/postscript "ghostview -safer %s"
- application/pdf "acroread %s"
- application/x-dvi "xdvi %s"
+ application/postscript "xdg-open -safer %s"
+ application/pdf "xdg-open %s"
+ application/x-dvi "xdg-open %s"
}
set maxima_priv(imagecounter) 0

Loading

0 comments on commit 78cbbea

Please sign in to comment.