diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-09-13 14:08:30 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-09-13 14:08:30 +0000 |
commit | 1456d6962ef6d77c5a9b8d6c089d72f8669301e9 (patch) | |
tree | c9e15aac6b1a1141d3ea9f5c3b1015b5cd0be1cf /sci-mathematics | |
parent | added empty IUSE (diff) | |
download | gentoo-2-1456d6962ef6d77c5a9b8d6c089d72f8669301e9.tar.gz gentoo-2-1456d6962ef6d77c5a9b8d6c089d72f8669301e9.tar.bz2 gentoo-2-1456d6962ef6d77c5a9b8d6c089d72f8669301e9.zip |
Version bump. Thanks for Andrey Grozin <A.G.Grozin@inp.nsk.su> to maintain
(Portage version: 2.1.2.12)
Diffstat (limited to 'sci-mathematics')
18 files changed, 100 insertions, 628 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog index bac557907ecd..869bfb9baf34 100644 --- a/sci-mathematics/maxima/ChangeLog +++ b/sci-mathematics/maxima/ChangeLog @@ -1,6 +1,24 @@ # ChangeLog for sci-mathematics/maxima # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.29 2007/07/09 01:39:58 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.30 2007/09/13 14:08:30 bicatali Exp $ + +*maxima-5.13.0 (13 Sep 2007) + + 13 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org> + -files/maxima-5.9.1-fix-clisp-getpid.patch, + -files/maxima-5.9.1-no-kill-minus-one.patch, + -files/maxima-5.9.1-unicode-fix.patch, + -files/maxima-5.9.3-default-browser.patch, + -files/maxima-5.9.3-emaxima.patch, + -files/maxima-5.11.0-default-browser.patch, + -files/maxima-5.11.0-default-psviewer.patch, + -files/maxima-5.11.0-sbcl-disable-debugger.patch, + +files/maxima-5.13.0-xdg-utils.patch, -maxima-5.9.1-r5.ebuild, + -maxima-5.11.0.ebuild, -maxima-5.11.0-r1.ebuild, +maxima-5.13.0.ebuild, + maxima-5.11.0-r2.ebuild: + Version bump. Thanks for Andrey Grozin <A.G.Grozin@inp.nsk.su> to maintain + it in the science overlay. Closing bug #191529 and bug #192241. Cleaning + old versions. 09 Jul 2007; Steve Arnold <nerdboy@gentoo.org> maxima-5.11.0.ebuild, maxima-5.11.0-r1.ebuild, maxima-5.11.0-r2.ebuild: diff --git a/sci-mathematics/maxima/files/digest-maxima-5.11.0 b/sci-mathematics/maxima/files/digest-maxima-5.11.0 deleted file mode 100644 index 706606789654..000000000000 --- a/sci-mathematics/maxima/files/digest-maxima-5.11.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d9ae353e8eba9b9d5686e119e59ab88c maxima-5.11.0.tar.gz 13924132 -RMD160 8f7fb1b8bc7438ffdc393a0eb0f86b5efa79ef3e maxima-5.11.0.tar.gz 13924132 -SHA256 7a7259123bd81a7de3609c7e59b561d49e2710a8f7117c42f373afdd6a6786ac maxima-5.11.0.tar.gz 13924132 diff --git a/sci-mathematics/maxima/files/digest-maxima-5.11.0-r1 b/sci-mathematics/maxima/files/digest-maxima-5.11.0-r1 deleted file mode 100644 index 706606789654..000000000000 --- a/sci-mathematics/maxima/files/digest-maxima-5.11.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d9ae353e8eba9b9d5686e119e59ab88c maxima-5.11.0.tar.gz 13924132 -RMD160 8f7fb1b8bc7438ffdc393a0eb0f86b5efa79ef3e maxima-5.11.0.tar.gz 13924132 -SHA256 7a7259123bd81a7de3609c7e59b561d49e2710a8f7117c42f373afdd6a6786ac maxima-5.11.0.tar.gz 13924132 diff --git a/sci-mathematics/maxima/files/digest-maxima-5.13.0 b/sci-mathematics/maxima/files/digest-maxima-5.13.0 new file mode 100644 index 000000000000..a744fcabcc6f --- /dev/null +++ b/sci-mathematics/maxima/files/digest-maxima-5.13.0 @@ -0,0 +1,3 @@ +MD5 7317ba22fc485554b15aceb6bc22542b maxima-5.13.0.tar.gz 19216173 +RMD160 2ec91678f8c6a6f863d6ba448f299793e52c822a maxima-5.13.0.tar.gz 19216173 +SHA256 9625e09785f88f738faf40ad64889acd17328e043c39ef5ad56f3172d76af187 maxima-5.13.0.tar.gz 19216173 diff --git a/sci-mathematics/maxima/files/digest-maxima-5.9.1-r5 b/sci-mathematics/maxima/files/digest-maxima-5.9.1-r5 deleted file mode 100644 index dc43049bb73d..000000000000 --- a/sci-mathematics/maxima/files/digest-maxima-5.9.1-r5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 659acfad1f61444cf5b38f6c28279d40 maxima-5.9.1.tar.gz 8093534 -RMD160 26940d11d6cba4125319a3c83234964af81e4603 maxima-5.9.1.tar.gz 8093534 -SHA256 fd402f2d13f6e03ac30c59e333aeb6f4993fa43fbf44cb1b36deba447d5cb2a4 maxima-5.9.1.tar.gz 8093534 diff --git a/sci-mathematics/maxima/files/maxima-5.11.0-default-browser.patch b/sci-mathematics/maxima/files/maxima-5.11.0-default-browser.patch deleted file mode 100644 index d53a3f436e8a..000000000000 --- a/sci-mathematics/maxima/files/maxima-5.11.0-default-browser.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -U2 --recursive maxima-5.11.0-orig/interfaces/xmaxima/Tkmaxima/Menu.tcl maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl ---- maxima-5.11.0-orig/interfaces/xmaxima/Tkmaxima/Menu.tcl 2006-12-09 20:52:11.000000000 +0100 -+++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl 2006-12-26 22:59:33.000000000 +0100 -@@ -246,7 +246,7 @@ - } else { - -- set selectedbrowser mozilla -+ set selectedbrowser firefox - -- foreach b { firefox mozilla konqueror epiphany galeon amaya netscape } { -+ foreach b { firefox konqueror epiphany galeon mozilla opera } { - if { ! [catch {exec which $b} ] } { - set selectedbrowser $b diff --git a/sci-mathematics/maxima/files/maxima-5.11.0-default-psviewer.patch b/sci-mathematics/maxima/files/maxima-5.11.0-default-psviewer.patch deleted file mode 100644 index ce45515c3cef..000000000000 --- a/sci-mathematics/maxima/files/maxima-5.11.0-default-psviewer.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -U2 --recursive maxima-5.11.0-orig/interfaces/emacs/misc/bookmode.el maxima-5.11.0/interfaces/emacs/misc/bookmode.el ---- maxima-5.11.0-orig/interfaces/emacs/misc/bookmode.el 2000-05-08 08:09:44.000000000 +0200 -+++ maxima-5.11.0/interfaces/emacs/misc/bookmode.el 2006-12-26 23:29:42.000000000 +0100 -@@ -681,5 +681,5 @@ - (and tem - (list (concat "View "(nth 1 tem)) -- 'call-process "ghostview" nil nil nil -+ 'call-process "gv" nil nil nil - (expand-file-name(nth 1 tem)) - )) -@@ -706,5 +706,5 @@ - (cond ((looking-at "%PS") "") - (t "gzip -dc | ")) -- "ghostview -") -+ "gv -") - - ))) -diff -U2 --recursive maxima-5.11.0-orig/interfaces/xmaxima/Tkmaxima/Constants.tcl maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Constants.tcl ---- maxima-5.11.0-orig/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-10-02 00:42:48.000000000 +0200 -+++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-12-26 23:31:47.000000000 +0100 -@@ -144,5 +144,5 @@ - image/png netmath - image/jpeg netmath -- application/postscript "ghostview -safer %s" -+ application/postscript "gv -safer %s" - application/pdf "acroread %s" - application/x-dvi "xdvi %s" -diff -U2 --recursive maxima-5.11.0-orig/src/plot.lisp maxima-5.11.0/src/plot.lisp ---- maxima-5.11.0-orig/src/plot.lisp 2006-10-10 23:13:17.000000000 +0200 -+++ maxima-5.11.0/src/plot.lisp 2006-12-26 23:33:25.000000000 +0100 -@@ -76,5 +76,5 @@ - )) - --(defvar $viewps_command "(ghostview \"~a\")") -+(defvar $viewps_command "(gv \"~a\")") - - ;; $plot_realpart option is false by default but *plot-realpart* is true because coerce-float-fun diff --git a/sci-mathematics/maxima/files/maxima-5.11.0-sbcl-disable-debugger.patch b/sci-mathematics/maxima/files/maxima-5.11.0-sbcl-disable-debugger.patch deleted file mode 100644 index 478af44cfc78..000000000000 --- a/sci-mathematics/maxima/files/maxima-5.11.0-sbcl-disable-debugger.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -U2 --recursive maxima-5.11.0-orig/src/Makefile.am maxima-5.11.0/src/Makefile.am ---- maxima-5.11.0-orig/src/Makefile.am 2006-11-25 13:00:04.000000000 +0100 -+++ maxima-5.11.0/src/Makefile.am 2006-12-26 23:53:46.000000000 +0100 -@@ -152,5 +152,5 @@ - - if SBCL --EXECUTESBCL = $(SBCL_NAME) --noinform --noprint --eval -+EXECUTESBCL = $(SBCL_NAME) --noinform --noprint --disable-debugger --eval - all-local: binary-sbcl/maxima.core - install-exec-local: install-sbcl -diff -U2 --recursive maxima-5.11.0-orig/src/Makefile.in maxima-5.11.0/src/Makefile.in ---- maxima-5.11.0-orig/src/Makefile.in 2006-12-21 17:49:36.000000000 +0100 -+++ maxima-5.11.0/src/Makefile.in 2006-12-26 23:54:21.000000000 +0100 -@@ -202,5 +202,5 @@ - @SCL_TRUE@EXECUTESCL = $(SCL_NAME) -noinit -batch - @ACL_TRUE@EXECUTEACL = $(ACL_NAME) -batch --@SBCL_TRUE@EXECUTESBCL = $(SBCL_NAME) --noinform --noprint --eval -+@SBCL_TRUE@EXECUTESBCL = $(SBCL_NAME) --noinform --noprint --disable-debugger --eval - @GCL_TRUE@EXECUTEGCL = $(GCL_NAME) -batch -eval - @OPENMCL_TRUE@EXECUTEOPENMCL = $(OPENMCL_NAME) -e diff --git a/sci-mathematics/maxima/files/maxima-5.13.0-xdg-utils.patch b/sci-mathematics/maxima/files/maxima-5.13.0-xdg-utils.patch new file mode 100644 index 000000000000..daeb2b7e78dc --- /dev/null +++ b/sci-mathematics/maxima/files/maxima-5.13.0-xdg-utils.patch @@ -0,0 +1,31 @@ +diff -U2 --recursive maxima-5.13.0.orig/interfaces/emacs/misc/bookmode.el maxima-5.13.0/interfaces/emacs/misc/bookmode.el +--- maxima-5.13.0.orig/interfaces/emacs/misc/bookmode.el 2000-05-08 13:09:44.000000000 +0700 ++++ maxima-5.13.0/interfaces/emacs/misc/bookmode.el 2007-08-28 22:45:07.000000000 +0700 +@@ -681,5 +681,5 @@ + (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)) + )) +@@ -706,5 +706,5 @@ + (cond ((looking-at "%PS") "") + (t "gzip -dc | ")) +- "ghostview -") ++ "xdg-open -") + + ))) +diff -U2 --recursive maxima-5.13.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl maxima-5.13.0/interfaces/xmaxima/Tkmaxima/Constants.tcl +--- maxima-5.13.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-10-02 05:42:48.000000000 +0700 ++++ maxima-5.13.0/interfaces/xmaxima/Tkmaxima/Constants.tcl 2007-08-28 22:46:44.000000000 +0700 +@@ -144,7 +144,7 @@ + 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 diff --git a/sci-mathematics/maxima/files/maxima-5.9.1-fix-clisp-getpid.patch b/sci-mathematics/maxima/files/maxima-5.9.1-fix-clisp-getpid.patch deleted file mode 100644 index 4d4f436215ec..000000000000 --- a/sci-mathematics/maxima/files/maxima-5.9.1-fix-clisp-getpid.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- maxima-5.9.1/src/server.lisp.orig 2006-04-06 22:28:19.000000000 -0700 -+++ maxima-5.9.1/src/server.lisp 2006-04-06 22:37:00.000000000 -0700 -@@ -70,7 +70,8 @@ - (deff getpid (symbol-function - ;; Decide at load time which function to use. - (or (and (memq :unix *features*) -- (find-symbol "PROGRAM-ID" "SYS")) -+ (or (find-symbol "PROCESS-ID" "SYS") -+ (find-symbol "PROGRAM-ID" "SYS"))) - 'getpid-from-environment))) - - #+cmu diff --git a/sci-mathematics/maxima/files/maxima-5.9.1-no-kill-minus-one.patch b/sci-mathematics/maxima/files/maxima-5.9.1-no-kill-minus-one.patch deleted file mode 100644 index 41cf85598ca3..000000000000 --- a/sci-mathematics/maxima/files/maxima-5.9.1-no-kill-minus-one.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- maxima-5.9.1/interfaces/xmaxima/Tkmaxima/RunMaxima.tcl.orig 2004-06-21 15:46:32.000000000 -0700 -+++ maxima-5.9.1/interfaces/xmaxima/Tkmaxima/RunMaxima.tcl 2006-04-04 22:33:51.000000000 -0700 -@@ -451,13 +451,18 @@ - proc CMkill { signal pid } { - global maxima_priv tcl_platform - -- # Windows pids can be negative - if {[string is int $pid]} { -- gui status "Signaling $pid with $signal" -+ # Windows pids can be negative - if {$tcl_platform(platform) == "windows" } { -+ gui status "Signaling $pid with $signal" - exec $maxima_priv(kill) $signal $pid - } else { -- exec $maxima_priv(kill) $signal $pid -+ if {$pid > 1} { -+ gui status "Signaling $pid with $signal" -+ exec $maxima_priv(kill) $signal $pid -+ } else { -+ gui status "Bad PID $pid!! Refusing to send signal $signal" -+ } - } - } - } diff --git a/sci-mathematics/maxima/files/maxima-5.9.1-unicode-fix.patch b/sci-mathematics/maxima/files/maxima-5.9.1-unicode-fix.patch deleted file mode 100644 index 37f2c7b12910..000000000000 --- a/sci-mathematics/maxima/files/maxima-5.9.1-unicode-fix.patch +++ /dev/null @@ -1,190 +0,0 @@ -diff -ru maxima-5.9.1/src/cl-info.lisp maxima-5.9.1.new/src/cl-info.lisp ---- maxima-5.9.1/src/cl-info.lisp 2004-07-27 03:16:12.000000000 +0200 -+++ maxima-5.9.1.new/src/cl-info.lisp 2005-05-14 23:51:29.607052432 +0200 -@@ -118,7 +118,7 @@ - (eval-when (compile eval load) - (defun sharp-u-reader (stream subchar arg) - (declare (ignore subchar arg)) -- (let ((tem (make-array 10 :element-type 'base-char -+ (let ((tem (make-array 10 :element-type 'character - :fill-pointer 0 :adjustable t))) - (unless (eql (read-char stream) #\") - (error "sharp-u-reader reader needs a \"right after it")) -@@ -132,7 +132,7 @@ - (#\r . #\return)))) - ch)))) - (vector-push-extend ch tem))) -- (coerce tem '(simple-array base-char (*))))) -+ (coerce tem '(simple-array character (*))))) - - (set-dispatch-macro-character #\# #\u 'sharp-u-reader) - ) -@@ -153,7 +153,7 @@ - (error "illegal file start ~a" start)) - #-gcl - (let ((tem (make-array (- len start) -- :element-type 'base-char))) -+ :element-type 'character))) - (when (> start 0) - (file-position st start)) - (read-sequence tem st :start 0 :end (length tem)) -@@ -249,7 +249,7 @@ - ((> extra 0) - (setq tem - (make-array (+ (length x) extra) -- :element-type 'base-char :fill-pointer 0)) -+ :element-type 'character :fill-pointer 0)) - (setq i 0) - (go AGAIN)) - (t (setq tem x))) -diff -ru maxima-5.9.1/src/numerical/f2cl-lib.lisp maxima-5.9.1.new/src/numerical/f2cl-lib.lisp ---- maxima-5.9.1/src/numerical/f2cl-lib.lisp 2004-06-19 22:32:49.000000000 +0200 -+++ maxima-5.9.1.new/src/numerical/f2cl-lib.lisp 2005-05-14 23:51:29.593054560 +0200 -@@ -1125,7 +1125,7 @@ - `',dims - `(list ,@dims)))) - `(let ((,init (make-array ,new-dims -- :element-type `(simple-array base-char (,',@len)) -+ :element-type `(simple-array character (,',@len)) - :initial-element (make-string ,@len)))) - (dotimes (k (array-total-size ,init)) - (setf (aref ,init k) -diff -ru maxima-5.9.1/src/numerical/slatec/xercnt.lisp maxima-5.9.1.new/src/numerical/slatec/xercnt.lisp ---- maxima-5.9.1/src/numerical/slatec/xercnt.lisp 2004-06-19 22:32:50.000000000 +0200 -+++ maxima-5.9.1.new/src/numerical/slatec/xercnt.lisp 2005-05-14 23:51:29.562059272 +0200 -@@ -10,7 +10,7 @@ - - (defun xercnt (librar subrou messg nerr level kontrl) - (declare (type f2cl-lib:integer4 kontrl level nerr) -- (type (simple-array base-char (*)) messg subrou librar)) -+ (type (simple-array character (*)) messg subrou librar)) - (prog () - (declare) - (go end_label) -diff -ru maxima-5.9.1/src/numerical/slatec/xermsg.lisp maxima-5.9.1.new/src/numerical/slatec/xermsg.lisp ---- maxima-5.9.1/src/numerical/slatec/xermsg.lisp 2004-06-19 22:32:50.000000000 +0200 -+++ maxima-5.9.1.new/src/numerical/slatec/xermsg.lisp 2005-05-14 23:51:29.563059120 +0200 -@@ -10,23 +10,23 @@ - - (defun xermsg (librar subrou messg nerr level) - (declare (type f2cl-lib:integer4 level nerr) -- (type (simple-array base-char (*)) messg subrou librar)) -+ (type (simple-array character (*)) messg subrou librar)) - (prog ((lfirst -- (make-array '(20) :element-type 'base-char :initial-element #\Space)) -+ (make-array '(20) :element-type 'character :initial-element #\Space)) - (temp -- (make-array '(72) :element-type 'base-char :initial-element #\Space)) -+ (make-array '(72) :element-type 'character :initial-element #\Space)) - (xlibr -- (make-array '(8) :element-type 'base-char :initial-element #\Space)) -+ (make-array '(8) :element-type 'character :initial-element #\Space)) - (xsubr -- (make-array '(8) :element-type 'base-char :initial-element #\Space)) -+ (make-array '(8) :element-type 'character :initial-element #\Space)) - (ltemp 0) (mkntrl 0) (llevel 0) (lerr 0) (kount 0) (i 0) (kdummy 0) - (f2cl-lib:f2cl-// 0.0f0) (maxmes 0) (lkntrl 0)) - (declare (type single-float f2cl-lib:f2cl-//) - (type f2cl-lib:integer4 lkntrl maxmes kdummy i kount lerr llevel - mkntrl ltemp) -- (type (simple-array base-char (8)) xsubr xlibr) -- (type (simple-array base-char (72)) temp) -- (type (simple-array base-char (20)) lfirst)) -+ (type (simple-array character (8)) xsubr xlibr) -+ (type (simple-array character (72)) temp) -+ (type (simple-array character (20)) lfirst)) - (setf lkntrl (j4save 2 0 f2cl-lib:%false%)) - (setf maxmes (j4save 4 0 f2cl-lib:%false%)) - (cond -diff -ru maxima-5.9.1/src/numerical/slatec/xerprn.lisp maxima-5.9.1.new/src/numerical/slatec/xerprn.lisp ---- maxima-5.9.1/src/numerical/slatec/xerprn.lisp 2004-06-19 22:32:50.000000000 +0200 -+++ maxima-5.9.1.new/src/numerical/slatec/xerprn.lisp 2005-05-14 23:51:29.564058968 +0200 -@@ -9,15 +9,15 @@ - - - (let* ((newlin "$$")) -- (declare (type (simple-array base-char (2)) newlin)) -+ (declare (type (simple-array character (2)) newlin)) - (defun xerprn (prefix npref messg nwrap) - (declare (type f2cl-lib:integer4 nwrap npref) -- (type (simple-array base-char (*)) messg prefix)) -+ (type (simple-array character (*)) messg prefix)) - (prog ((iu (make-array 5 :element-type 'f2cl-lib:integer4)) (nunit 0) - (cbuff - (make-array '(148) - :element-type -- 'base-char -+ 'character - :initial-element - #\Space)) - (idelta 0) (lpiece 0) (nextc 0) (lenmsg 0) (lwrap 0) (lpref 0) (i 0) -@@ -25,7 +25,7 @@ - (declare (type (simple-array f2cl-lib:integer4 (5)) iu) - (type f2cl-lib:integer4 n i lpref lwrap lenmsg nextc lpiece - idelta nunit) -- (type (simple-array base-char (148)) cbuff)) -+ (type (simple-array character (148)) cbuff)) - (multiple-value-bind - (var-0 var-1) - (xgetua iu nunit) -diff -ru maxima-5.9.1/src/numerical/slatec/xersve.lisp maxima-5.9.1.new/src/numerical/slatec/xersve.lisp ---- maxima-5.9.1/src/numerical/slatec/xersve.lisp 2004-06-19 22:32:50.000000000 +0200 -+++ maxima-5.9.1.new/src/numerical/slatec/xersve.lisp 2005-05-14 23:51:29.564058968 +0200 -@@ -20,37 +20,37 @@ - (nmsg 0)) - (declare (type f2cl-lib:integer4 nmsg kountx) - (type (simple-array f2cl-lib:integer4 (*)) kount levtab nertab) -- (type (simple-array (simple-array base-char (20)) (*)) mestab) -- (type (simple-array (simple-array base-char (8)) (*)) subtab -+ (type (simple-array (simple-array character (20)) (*)) mestab) -+ (type (simple-array (simple-array character (8)) (*)) subtab - libtab)) - (setq kountx 0) - (setq nmsg 0) - (defun xersve (librar subrou messg kflag nerr level icount) - (declare (type f2cl-lib:integer4 icount level nerr kflag) -- (type (simple-array base-char (*)) messg subrou librar)) -+ (type (simple-array character (*)) messg subrou librar)) - (prog ((mes - (make-array '(20) - :element-type -- 'base-char -+ 'character - :initial-element - #\Space)) - (lib - (make-array '(8) - :element-type -- 'base-char -+ 'character - :initial-element - #\Space)) - (sub - (make-array '(8) - :element-type -- 'base-char -+ 'character - :initial-element - #\Space)) - (lun (make-array 5 :element-type 'f2cl-lib:integer4)) (i 0) - (iunit 0) (kunit 0) (nunit 0)) - (declare (type f2cl-lib:integer4 nunit kunit iunit i) -- (type (simple-array base-char (20)) mes) -- (type (simple-array base-char (8)) lib sub) -+ (type (simple-array character (20)) mes) -+ (type (simple-array character (8)) lib sub) - (type (simple-array f2cl-lib:integer4 (5)) lun)) - (cond - ((<= kflag 0) (if (= nmsg 0) (go end_label)) -diff -ru maxima-5.9.1/src/server.lisp maxima-5.9.1.new/src/server.lisp ---- maxima-5.9.1/src/server.lisp 2004-06-19 22:32:51.000000000 +0200 -+++ maxima-5.9.1.new/src/server.lisp 2005-05-14 23:51:29.820020056 +0200 -@@ -48,7 +48,7 @@ - :element-type (if bin '(unsigned-byte 8) 'character))) - #+gcl (si::socket port :host host) - #+lispworks (comm:open-tcp-stream host port :direction :io :element-type -- (if bin 'unsigned-byte 'base-char)) -+ (if bin 'unsigned-byte 'character)) - #-(or allegro clisp cmu sbcl gcl lispworks) - (error 'not-implemented :proc (list 'open-socket host port bin)))) - diff --git a/sci-mathematics/maxima/files/maxima-5.9.3-default-browser.patch b/sci-mathematics/maxima/files/maxima-5.9.3-default-browser.patch deleted file mode 100644 index 161273889944..000000000000 --- a/sci-mathematics/maxima/files/maxima-5.9.3-default-browser.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- maxima-5.9.3/interfaces/xmaxima/Tkmaxima/Menu.tcl 2005-09-30 16:23:11.000000000 +0100 -+++ maxima-5.9.3/interfaces/xmaxima/Tkmaxima/Menu.tcl.new 2006-04-08 16:01:02.000000000 +0100 -@@ -215,9 +215,9 @@ - } - } else { - -- set selectedbrowser mozilla -+ set selectedbrowser firefox - -- foreach b { mozilla konqueror epiphany firefox netscape } { -+ foreach b { firefox konqueror epiphany mozilla opera netscape } { - if { ! [catch {exec which $b} ] } { - set selectedbrowser $b - break } } diff --git a/sci-mathematics/maxima/files/maxima-5.9.3-emaxima.patch b/sci-mathematics/maxima/files/maxima-5.9.3-emaxima.patch deleted file mode 100644 index 992d0b1afb79..000000000000 --- a/sci-mathematics/maxima/files/maxima-5.9.3-emaxima.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- maxima-5.9.3/interfaces/emacs/emaxima/maxima.el~ 2005-06-21 23:48:42.000000000 -0400 -+++ maxima-5.9.3/interfaces/emacs/emaxima/maxima.el 2006-04-07 12:10:29.000000000 -0400 -@@ -2756,8 +2756,8 @@ - (save-excursion - (set-buffer mbuf) - (setq inferior-maxima-process (get-buffer-process mbuf)) -- (add-to-list 'comint-output-filter-functions -- 'inferior-maxima-output-filter) -+; (add-to-list 'comint-output-filter-functions -+; 'inferior-maxima-output-filter) - ; (add-to-list 'comint-output-filter-functions - ; 'inferior-maxima-replace-tabs-by-spaces) - (add-to-list 'comint-output-filter-functions diff --git a/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild b/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild index 1f35b41c6461..c919f8b0163c 100644 --- a/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild +++ b/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild,v 1.3 2007/07/09 01:39:58 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild,v 1.4 2007/09/13 14:08:30 bicatali Exp $ inherit eutils elisp-common autotools fdo-mime @@ -18,7 +18,7 @@ RDEPEND=">=sci-visualization/gnuplot-4.0 x11-misc/xdg-utils tetex? ( virtual/tetex ) emacs? ( virtual/emacs - tetex? ( || ( app-emacs/auctex app-xemacs/auctex ) ) ) + tetex? ( || ( app-emacs/auctex app-xemacs/auctex ) ) ) clisp? ( >=dev-lisp/clisp-2.33.2-r1 ) gcl? ( >=dev-lisp/gcl-2.6.7 ) sbcl? ( >=dev-lisp/sbcl-0.9.4 app-misc/rlwrap ) @@ -69,7 +69,7 @@ pkg_setup() { fi fi - if ! built_with_use -a sci-visualization/gnuplot png gd; then + if ! built_with_use -a sci-visualization/gnuplot gd; then elog "To benefit full plotting capability of maxima," elog "enable the png and gd USE flags enabled for" elog "both sci-visualization/gnuplot and media-libs/gd" diff --git a/sci-mathematics/maxima/maxima-5.11.0.ebuild b/sci-mathematics/maxima/maxima-5.11.0.ebuild deleted file mode 100644 index 4302bc1525bf..000000000000 --- a/sci-mathematics/maxima/maxima-5.11.0.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.11.0.ebuild,v 1.2 2007/07/09 01:39:58 nerdboy Exp $ - -inherit eutils elisp-common autotools fdo-mime - -DESCRIPTION="Free computer algebra environment based on Macsyma" -HOMEPAGE="http://maxima.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 AECA" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="cmucl clisp sbcl gcl tetex emacs auctex tk nls unicode" - -# rlwrap is recommended for cmucl and sbcl -RDEPEND=">=sci-visualization/gnuplot-4.0 - app-text/gv - tetex? ( virtual/tetex ) - emacs? ( virtual/emacs ) - auctex? ( app-emacs/auctex ) - clisp? ( >=dev-lisp/clisp-2.33.2-r1 ) - gcl? ( >=dev-lisp/gcl-2.6.7 ) - sbcl? ( >=dev-lisp/sbcl-0.9.4 app-misc/rlwrap ) - cmucl? ( >=dev-lisp/cmucl-19a app-misc/rlwrap ) - !clisp? ( !sbcl? ( !cmucl? ( >=dev-lisp/gcl-2.6.7 ) ) ) - tk? ( >=dev-lang/tk-8.3.3 )" - -DEPEND="${RDEPEND} >=sys-apps/texinfo-4.3" - -for lang in es pt; do - IUSE="${IUSE} linguas_${lang}" -done - -# chosen apps are hardcoded in maxima source: -# - ghostview for postscript (changed to gv) -# - acroread for pdf -# - xdvi for dvi. this could change, with pain. - -src_unpack() { - unpack ${A} - # replace obsolete netscape with firefox, add opera as choices - epatch "${FILESDIR}"/${P}-default-browser.patch - # replace ugly ghostview with gv - epatch "${FILESDIR}"/${P}-default-psviewer.patch - # no debug during compile - epatch "${FILESDIR}"/${P}-sbcl-disable-debugger.patch - # diff_form autoloading - epatch "${FILESDIR}/${P}-diff_form.patch" -} - -src_compile() { - # automake version mismatch otherwise (sbcl only) - use sbcl && eautoreconf - - # remove rmaxima if neither cmucl nor sbcl - if ! use sbcl && ! use cmucl ; then - sed -i -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' src/Makefile.in - fi - - # remove xmaxima if no tk - local myconf="" - if use tk; then - myconf="${myconf} --with-wish=wish" - else - myconf="${myconf} --with-wish=none" - sed -i -e '/^SUBDIRS/s/xmaxima//' interfaces/Makefile.in - fi - - # enable gcl if no other lisp selected - if use gcl || (! use cmucl && ! use clisp && ! use sbcl ); then - if ! built_with_use dev-lisp/gcl ansi; then - eerror "GCL must be installed with ANSI." - eerror "Try USE=\"ansi\" emerge gcl" - die "This package needs gcl with USE=ansi" - fi - myconf="${myconf} --enable-gcl" - fi - - # enable existing translated doc - if use nls; then - for lang in es pt; do - if use linguas_${lang}; then - myconf="${myconf} --enable-lang-${lang}" - use unicode && myconf="${myconf} --enable-lang-${lang}-utf8" - fi - done - fi - - econf \ - $(use_enable cmucl) \ - $(use_enable clisp) \ - $(use_enable sbcl) \ - ${myconf} \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - - use tk && make_desktop_entry xmaxima xmaxima \ - /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \ - "Science;Math;Education" - - if use emacs; then - sed -e "s/PV/${PV}/" "${FILESDIR}"/50maxima-gentoo.el > 50maxima-gentoo.el - elisp-site-file-install 50maxima-gentoo.el - fi - - if use tetex; then - insinto /usr/share/texmf/tex/latex/emaxima - doins interfaces/emacs/emaxima/emaxima.sty - fi - - insinto /usr/share/${PN}/${PV}/doc - doins AUTHORS ChangeLog COPYING NEWS README* - dodir /usr/share/doc - dosym /usr/share/${PN}/${PV}/doc /usr/share/doc/${PF} -} - -pkg_preinst() { - # some lisp do not gunzip info files on the fly - if use cmucl || use clisp || use sbcl; then - for infofile in $(ls ${D}/usr/share/info/*.gz); do - gunzip ${infofile} - done - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen - use tetex && mktexlsr - fdo-mime_desktop_database_update -} - -pkg_postrm() { - use emacs && elisp-site-regen - fdo-mime_desktop_database_update -} diff --git a/sci-mathematics/maxima/maxima-5.11.0-r1.ebuild b/sci-mathematics/maxima/maxima-5.13.0.ebuild index 5d3c711e07bb..d5db4891753e 100644 --- a/sci-mathematics/maxima/maxima-5.11.0-r1.ebuild +++ b/sci-mathematics/maxima/maxima-5.13.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.11.0-r1.ebuild,v 1.2 2007/07/09 01:39:58 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.13.0.ebuild,v 1.1 2007/09/13 14:08:30 bicatali Exp $ -inherit eutils elisp-common autotools fdo-mime +inherit eutils elisp-common autotools DESCRIPTION="Free computer algebra environment based on Macsyma" HOMEPAGE="http://maxima.sourceforge.net/" @@ -11,14 +11,14 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2 AECA" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="cmucl clisp sbcl gcl tetex emacs auctex tk nls unicode" +IUSE="cmucl clisp sbcl gcl tetex emacs tk nls unicode" # rlwrap is recommended for cmucl and sbcl RDEPEND=">=sci-visualization/gnuplot-4.0 - app-text/gv + x11-misc/xdg-utils tetex? ( virtual/tetex ) - emacs? ( virtual/emacs ) - auctex? ( app-emacs/auctex ) + emacs? ( virtual/emacs + tetex? ( || ( app-emacs/auctex app-xemacs/auctex ) ) ) clisp? ( >=dev-lisp/clisp-2.33.2-r1 ) gcl? ( >=dev-lisp/gcl-2.6.7 ) sbcl? ( >=dev-lisp/sbcl-0.9.4 app-misc/rlwrap ) @@ -27,8 +27,12 @@ RDEPEND=">=sci-visualization/gnuplot-4.0 tk? ( >=dev-lang/tk-8.3.3 )" DEPEND="${RDEPEND} >=sys-apps/texinfo-4.3" +# the make install already strips maxima exec. +RESTRICT="strip" -for lang in es pt; do +LANGS="es pt pt_BR" + +for lang in ${LANGS}; do IUSE="${IUSE} linguas_${lang}" done @@ -66,28 +70,33 @@ pkg_setup() { fi fi fi -} -# chosen apps are hardcoded in maxima source: -# - ghostview for postscript (changed to gv) -# - acroread for pdf -# - xdvi for dvi. this could change, with pain. + if ! built_with_use -a sci-visualization/gnuplot gd; then + elog "To benefit full plotting capability of maxima," + elog "enable the gd USE flag enabled for sci-visualization/gnuplot" + elog "Then re-emerge maxima" + epause 5 + fi + + # enable gcl if no other lisp selected + if use gcl || (! use cmucl && ! use clisp && ! use sbcl ); then + if ! built_with_use dev-lisp/gcl ansi; then + eerror "GCL must be installed with ANSI." + eerror "Try USE=\"ansi\" emerge gcl" + die "This package needs gcl with USE=ansi" + fi + enablegcl="--enable-gcl --enable-gcl-alt-link" + fi +} src_unpack() { unpack ${A} - # replace obsolete netscape with firefox, add opera as choices - epatch "${FILESDIR}"/${P}-default-browser.patch - # replace ugly ghostview with gv - epatch "${FILESDIR}"/${P}-default-psviewer.patch - # no debug during compile - epatch "${FILESDIR}"/${P}-sbcl-disable-debugger.patch - # diff_form autoloading - epatch "${FILESDIR}/${P}-diff_form.patch" + # use xdg-open to view ps, pdf + epatch "${FILESDIR}/${P}-xdg-utils.patch" } src_compile() { - # automake version mismatch otherwise (sbcl only) - use sbcl && eautoreconf + eautoreconf # remove rmaxima if neither cmucl nor sbcl if ! use sbcl && ! use cmucl ; then @@ -95,7 +104,7 @@ src_compile() { fi # remove xmaxima if no tk - local myconf="" + local myconf="${enablegcl}" if use tk; then myconf="${myconf} --with-wish=wish" else @@ -103,20 +112,10 @@ src_compile() { sed -i -e '/^SUBDIRS/s/xmaxima//' interfaces/Makefile.in fi - # enable gcl if no other lisp selected - if use gcl || (! use cmucl && ! use clisp && ! use sbcl ); then - if ! built_with_use dev-lisp/gcl ansi; then - eerror "GCL must be installed with ANSI." - eerror "Try USE=\"ansi\" emerge gcl" - die "This package needs gcl with USE=ansi" - fi - myconf="${myconf} --enable-gcl" - fi - # enable existing translated doc if use nls; then - for lang in es pt; do - if use linguas_${lang}; then + for lang in ${LANGS}; do + if use "linguas_${lang}"; then myconf="${myconf} --enable-lang-${lang}" use unicode && myconf="${myconf} --enable-lang-${lang}-utf8" fi @@ -133,44 +132,37 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install || die "make install failed" + einstall || die "einstall failed" use tk && make_desktop_entry xmaxima xmaxima \ - /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \ - "Science;Math;Education" + /usr/share/${PN}/${PV}/xmaxima/maxima-new.png - if use emacs; then - sed -e "s/PV/${PV}/" "${FILESDIR}"/50maxima-gentoo.el > 50maxima-gentoo.el - elisp-site-file-install 50maxima-gentoo.el - fi + use emacs && \ + elisp-site-file-install "${FILESDIR}/50maxima-gentoo.el" if use tetex; then insinto "${MAXIMA_TEXMFDIR}/tex/latex/emaxima" doins interfaces/emacs/emaxima/emaxima.sty fi - insinto /usr/share/${PN}/${PV}/doc + insinto "/usr/share/${PN}/${PV}/doc" doins AUTHORS ChangeLog COPYING NEWS README* dodir /usr/share/doc - dosym /usr/share/${PN}/${PV}/doc /usr/share/doc/${PF} + dosym "/usr/share/${PN}/${PV}/doc" "/usr/share/doc/${PF}" } pkg_preinst() { - # some lisp do not gunzip info files on the fly - if use cmucl || use clisp || use sbcl; then - for infofile in $(ls ${D}/usr/share/info/*.gz); do - gunzip ${infofile} - done - fi + # all lisps do not bunzip2 info files on the fly + for infofile in $(ls ${D}/usr/share/info/*.bz2); do + bunzip2 "${infofile}" + done } pkg_postinst() { use emacs && elisp-site-regen use tetex && mktexlsr - fdo-mime_desktop_database_update } pkg_postrm() { use emacs && elisp-site-regen - fdo-mime_desktop_database_update } diff --git a/sci-mathematics/maxima/maxima-5.9.1-r5.ebuild b/sci-mathematics/maxima/maxima-5.9.1-r5.ebuild deleted file mode 100644 index 77e257c0bcb9..000000000000 --- a/sci-mathematics/maxima/maxima-5.9.1-r5.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.9.1-r5.ebuild,v 1.4 2006/04/12 06:16:35 wormo Exp $ - -inherit eutils elisp-common - -DESCRIPTION="Free computer algebra environment, based on Macsyma" -HOMEPAGE="http://maxima.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 AECA" -SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc ~sparc" -IUSE="cmucl clisp sbcl tetex emacs auctex" - -DEPEND="tetex? ( virtual/tetex ) - emacs? ( virtual/emacs ) - auctex? ( app-emacs/auctex ) - >=sys-apps/texinfo-4.3 - !clisp? ( !sbcl? ( !cmucl? ( >=dev-lisp/gcl-2.6.7 ) ) ) - cmucl? ( >=dev-lisp/cmucl-19a ) - clisp? ( >=dev-lisp/clisp-2.33.2-r1 ) - sbcl? ( >=dev-lisp/sbcl-0.8.14 )" -RDEPEND=">=dev-lang/tk-8.3.3 - >=sci-visualization/gnuplot-4.0-r1" - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/maxima-${PV}-unicode-fix.patch - # next 2 patches fix xmaxmima-kills-everything problem (Bug #111062) - epatch "${FILESDIR}"/maxima-${PV}-fix-clisp-getpid.patch - epatch "${FILESDIR}"/maxima-${PV}-no-kill-minus-one.patch - cd "${S}"/interfaces/emacs/emaxima - epatch "${FILESDIR}"/maxima-emacs.patch -} - -src_compile() { - local myconf - myconf="--infodir=/usr/share/info" - if use cmucl || use clisp || use sbcl; then - if use cmucl; then - myconf="${myconf} --enable-cmucl" - fi - if use clisp; then - myconf="${myconf} --enable-clisp" - fi - if use sbcl; then - myconf="${myconf} --enable-sbcl" - fi - else - if ! built_with_use dev-lisp/gcl ansi; then - eerror "GCL must be installed with ANSI." - eerror "Try USE=\"ansi\" emerge gcl" - die "This package needs gcl with USE=ansi" - fi - myconf="${myconf} --enable-gcl" - fi - econf ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - if use emacs - then - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el - fi - if use tetex - then - insinto /usr/share/texmf/tex/latex/emaxima - doins "${S}"/interfaces/emacs/emaxima/emaxima.sty - fi - - # Install documentation. - insinto /usr/share/${PN}/${PV}/doc - doins AUTHORS ChangeLog COPYING NEWS README* - dodir /usr/share/doc - dosym /usr/share/${PN}/${PV}/doc /usr/share/doc/${PF} -} - -pkg_postinst() { - if use emacs - then - einfo "Running elisp-site-regen...." - elisp-site-regen - fi - if use tetex - then - einfo "Running mktexlsr to rebuild ls-R database...." - mktexlsr - fi -} - -pkg_postrm() { - if use emacs - then - einfo "Running elisp-site-regen...." - elisp-site-regen - fi -} |