diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2007-01-13 10:41:58 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2007-01-13 10:41:58 +0000 |
commit | 9c2344021520bd34392abd9836021085c3704fd5 (patch) | |
tree | a947b2c480cc4d63462e77868c148d8c3ad53f3a /sci-mathematics | |
parent | Stable on ppc wrt bug 152878 (diff) | |
download | historical-9c2344021520bd34392abd9836021085c3704fd5.tar.gz historical-9c2344021520bd34392abd9836021085c3704fd5.tar.bz2 historical-9c2344021520bd34392abd9836021085c3704fd5.zip |
Version bump, move from the gentooscience.org overlay. Many thanks to Andrey Grozin <A.G.Grozin@inp.nsk.su> and Sebastien Fabbro <seb@ist.utl.pt> for their work on this in the overlay.
Package-Manager: portage-2.1.2_rc4-r7
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/maxima/ChangeLog | 16 | ||||
-rw-r--r-- | sci-mathematics/maxima/Manifest | 58 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/50maxima-gentoo.el | 2 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/digest-maxima-5.11.0 | 3 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-5.11.0-default-browser.patch | 13 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-5.11.0-default-psviewer.patch | 37 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-5.11.0-diff_form.patch | 9 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-5.11.0-sbcl-disable-debugger.patch | 20 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.11.0.ebuild | 137 | ||||
-rw-r--r-- | sci-mathematics/maxima/metadata.xml | 12 |
10 files changed, 291 insertions, 16 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog index 1cc69ae41313..25838f7af8bf 100644 --- a/sci-mathematics/maxima/ChangeLog +++ b/sci-mathematics/maxima/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for sci-mathematics/maxima -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.22 2006/10/31 11:24:06 je_fro Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.23 2007/01/13 10:41:58 cryos Exp $ + +*maxima-5.11.0 (13 Jan 2007) + + 13 Jan 2007; Marcus D. Hanwell <cryos@gentoo.org> + +files/maxima-5.11.0-default-psviewer.patch, files/50maxima-gentoo.el, + +files/maxima-5.11.0-default-browser.patch, + +files/maxima-5.11.0-diff_form.patch, + +files/maxima-5.11.0-sbcl-disable-debugger.patch, metadata.xml, + +maxima-5.11.0.ebuild: + Version bump, move from the gentooscience.org overlay. Many thanks to Andrey + Grozin <A.G.Grozin@inp.nsk.su> and Sebastien Fabbro <seb@ist.utl.pt> for + their work on this in the overlay. *maxima-5.10.0 (31 Oct 2006) diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index eec9cfd39874..81b746a4b909 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -1,11 +1,30 @@ -AUX 50maxima-gentoo.el 625 RMD160 f82dced83cb2f6361ba15992bbaf982006bac9a5 SHA1 63c2e91229e6acbbd3c37fd939a30b260778d274 SHA256 f384d9bfe98f24b40acc32f6abbc6c4180865690f1cf80944ec6028f5cfaef5a -MD5 b97aaf31b888a90139f3e81e504b63ce files/50maxima-gentoo.el 625 -RMD160 f82dced83cb2f6361ba15992bbaf982006bac9a5 files/50maxima-gentoo.el 625 -SHA256 f384d9bfe98f24b40acc32f6abbc6c4180865690f1cf80944ec6028f5cfaef5a files/50maxima-gentoo.el 625 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 50maxima-gentoo.el 626 RMD160 16afb0aba2928fbde417c25999fc73fd10d3cf6a SHA1 d6bf639680f96655fc6f2767d78263e1e351921c SHA256 713ffdf572861cd546ae71816995a04afb5bcba6fd33716009e1594967144e76 +MD5 e0bc896bcdab824eb06e84e2f03a19ad files/50maxima-gentoo.el 626 +RMD160 16afb0aba2928fbde417c25999fc73fd10d3cf6a files/50maxima-gentoo.el 626 +SHA256 713ffdf572861cd546ae71816995a04afb5bcba6fd33716009e1594967144e76 files/50maxima-gentoo.el 626 AUX maxima-5.10.0.patch 5406 RMD160 84d905721c86e15ce4b4614d602445f3aa0042aa SHA1 87d77347a4d9f97b151d265501cbafc85639149b SHA256 52a0d03919a016a6a5a6629f2e62b6a909a26e035be747344b7b0d1d5d17d47e MD5 c75e18ca4f173e29d973b445c152ab6f files/maxima-5.10.0.patch 5406 RMD160 84d905721c86e15ce4b4614d602445f3aa0042aa files/maxima-5.10.0.patch 5406 SHA256 52a0d03919a016a6a5a6629f2e62b6a909a26e035be747344b7b0d1d5d17d47e files/maxima-5.10.0.patch 5406 +AUX maxima-5.11.0-default-browser.patch 623 RMD160 e459e73d453f31c88fb390bf4b175d8faa13ea8f SHA1 1f19b95793d42c96341cbe45dec7943b1285040e SHA256 edb0b50c686066e5ea827302787108bf5764a434e8b1db630eca12d71269717b +MD5 257f5c1e598ff260e710064cedbeec17 files/maxima-5.11.0-default-browser.patch 623 +RMD160 e459e73d453f31c88fb390bf4b175d8faa13ea8f files/maxima-5.11.0-default-browser.patch 623 +SHA256 edb0b50c686066e5ea827302787108bf5764a434e8b1db630eca12d71269717b files/maxima-5.11.0-default-browser.patch 623 +AUX maxima-5.11.0-default-psviewer.patch 1673 RMD160 40d01388d60c4786894454bf5c7b264aea9e5e7e SHA1 335ca2946a9b745157a8ded0763fb8d5d113ffe0 SHA256 9164a6adb3e53c22bada7185198730f09eca0265bf15aeea219ca81dd098c0fa +MD5 1529509e686a705cf22b9895579fbf84 files/maxima-5.11.0-default-psviewer.patch 1673 +RMD160 40d01388d60c4786894454bf5c7b264aea9e5e7e files/maxima-5.11.0-default-psviewer.patch 1673 +SHA256 9164a6adb3e53c22bada7185198730f09eca0265bf15aeea219ca81dd098c0fa files/maxima-5.11.0-default-psviewer.patch 1673 +AUX maxima-5.11.0-diff_form.patch 377 RMD160 8b904b35e0efdf36438610968ac9989665b1ee89 SHA1 3abe65161bd6b7a6ea6e9fe592163ad6722f0adb SHA256 3aa581e6add03c3cc93127fe49f28281d331555c49507a87380302362fec59cf +MD5 aa1bd3ddfc99a4ee93ed3eda0c68455a files/maxima-5.11.0-diff_form.patch 377 +RMD160 8b904b35e0efdf36438610968ac9989665b1ee89 files/maxima-5.11.0-diff_form.patch 377 +SHA256 3aa581e6add03c3cc93127fe49f28281d331555c49507a87380302362fec59cf files/maxima-5.11.0-diff_form.patch 377 +AUX maxima-5.11.0-sbcl-disable-debugger.patch 1061 RMD160 a1aa9cf49092d89f971f295db538be8856d45fd2 SHA1 467fcdcc0b6c6c6bb2fbf45038ca0335c8fbc6ab SHA256 dcf2d6caa211c2e09c0a6fd61ae46a01a9aafbcd406bfab6d0fcb23027141978 +MD5 79ce983eb8b035270a3134be1ec7ca5d files/maxima-5.11.0-sbcl-disable-debugger.patch 1061 +RMD160 a1aa9cf49092d89f971f295db538be8856d45fd2 files/maxima-5.11.0-sbcl-disable-debugger.patch 1061 +SHA256 dcf2d6caa211c2e09c0a6fd61ae46a01a9aafbcd406bfab6d0fcb23027141978 files/maxima-5.11.0-sbcl-disable-debugger.patch 1061 AUX maxima-5.9.1-fix-clisp-getpid.patch 473 RMD160 60874eaf099746cecb10556b3e94d8fcf87d40cd SHA1 e1e1341c06711c1b78c2686ed3ea63bd9612da5d SHA256 255e8300e92cecb6781d3e9f8b6c022354a7db8cb2c3c3581a86395d9c6333ce MD5 801d6f51244585c2fa72877f708e9843 files/maxima-5.9.1-fix-clisp-getpid.patch 473 RMD160 60874eaf099746cecb10556b3e94d8fcf87d40cd files/maxima-5.9.1-fix-clisp-getpid.patch 473 @@ -31,12 +50,17 @@ MD5 55d928e715074355a442baf0934487de files/maxima-emacs.patch 826 RMD160 e6030b78934ace0c31b1cddf108e3e885cee7abf files/maxima-emacs.patch 826 SHA256 eb28871fb0019c92961a96f27380400379798eac7b884943a3c75ba9832acce4 files/maxima-emacs.patch 826 DIST maxima-5.10.0.tar.gz 9957907 RMD160 6ec60429f3720c9d8dca5d628e49d2eb01e24fc1 SHA1 b600e565cb97e572e66417c962d26e5276b5c33c SHA256 b59e3af8a771b92158410bed6327f18a6a69bccd4e776d83a3952a67bd388c49 +DIST maxima-5.11.0.tar.gz 13924132 RMD160 8f7fb1b8bc7438ffdc393a0eb0f86b5efa79ef3e SHA1 e9bcdbefe4dc23b83e4d30d52833f597d9cd3340 SHA256 7a7259123bd81a7de3609c7e59b561d49e2710a8f7117c42f373afdd6a6786ac DIST maxima-5.9.1.tar.gz 8093534 DIST maxima-5.9.3.tar.gz 8629022 RMD160 4b00da6406bab222f4a7069c4e8820a9437277f9 SHA1 b602dc1145c0521939b9a3b69d8e82a9606e689e SHA256 1807e46e12b5968ac70643eee32a3479fc06035613086d85366610440842abb9 EBUILD maxima-5.10.0.ebuild 3357 RMD160 590b4d546b9a74e685f7e689ff91db78fb243ca8 SHA1 998a54a885f8905e151a9d11436b3896eead2fc3 SHA256 6b063137ed6739921e2b2d098c8d3ffa1255872ca23d5c0c56dcf641c7d0fecd MD5 1f64a324683dd020af4d7854d90536a7 maxima-5.10.0.ebuild 3357 RMD160 590b4d546b9a74e685f7e689ff91db78fb243ca8 maxima-5.10.0.ebuild 3357 SHA256 6b063137ed6739921e2b2d098c8d3ffa1255872ca23d5c0c56dcf641c7d0fecd maxima-5.10.0.ebuild 3357 +EBUILD maxima-5.11.0.ebuild 3714 RMD160 e9f2d27a468a0ad813320b890c138bf520f7a4d4 SHA1 52b1689eb248b2fde32e03bcc8c0a9bcb4f44939 SHA256 91f451af146a47d2672bb8b6d1d89d20ec14ecbd9cb7b12dc3baa87d3fe72c38 +MD5 f09788f286deec03f84382094e2fb13e maxima-5.11.0.ebuild 3714 +RMD160 e9f2d27a468a0ad813320b890c138bf520f7a4d4 maxima-5.11.0.ebuild 3714 +SHA256 91f451af146a47d2672bb8b6d1d89d20ec14ecbd9cb7b12dc3baa87d3fe72c38 maxima-5.11.0.ebuild 3714 EBUILD maxima-5.9.1-r5.ebuild 2571 RMD160 ebac3868f73122da2777fa53b86d2eef0aebe7ab SHA1 34464fbf90699a11b730ba15375a3eddd79d5439 SHA256 9aee8bf82b4b47a1f3d04992de623cb2173862451591510cd49fc227b1f08db0 MD5 f653050981b2fed1501454602f59ad11 maxima-5.9.1-r5.ebuild 2571 RMD160 ebac3868f73122da2777fa53b86d2eef0aebe7ab maxima-5.9.1-r5.ebuild 2571 @@ -49,17 +73,20 @@ EBUILD maxima-5.9.3.ebuild 3697 RMD160 17f6dd2ae0383e0cf325bcd176f87d2418f42f02 MD5 011ac815579bb74f333da6c63bf30dc4 maxima-5.9.3.ebuild 3697 RMD160 17f6dd2ae0383e0cf325bcd176f87d2418f42f02 maxima-5.9.3.ebuild 3697 SHA256 bae587b50e697b26d1d72f4d7e92f7d69b32cfa419135265a9fb8b58590252cc maxima-5.9.3.ebuild 3697 -MISC ChangeLog 6628 RMD160 9d63920b8bb4dab5b316b6f254622ff964e1ea06 SHA1 53781fafa80d70df641a19c6190faa81ef2424b2 SHA256 21af3bfdcd48dcc9198bb9e1df1a5359b6e7446a6e5bfe9a2956796220859684 -MD5 4560ecae5e1d784905007dcced1a742e ChangeLog 6628 -RMD160 9d63920b8bb4dab5b316b6f254622ff964e1ea06 ChangeLog 6628 -SHA256 21af3bfdcd48dcc9198bb9e1df1a5359b6e7446a6e5bfe9a2956796220859684 ChangeLog 6628 -MISC metadata.xml 168 RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 SHA1 95c9e4f7368f82053d631bbcd469612c92ca13cb SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9 -MD5 30bc69a424d7634aae9c1e4203365d3d metadata.xml 168 -RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 metadata.xml 168 -SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9 metadata.xml 168 +MISC ChangeLog 7151 RMD160 3a9fd31cedb5942c363747259777fb4db773e1fe SHA1 efe65b3f1c6df962ce77e8d12e7958f3b7e67349 SHA256 74adfb8b98803d4857d2b6dfc23fe053f7290e605aad51fff56dac1d4e8527ce +MD5 9f1200da5c1cd251eed9e1c0d371f75f ChangeLog 7151 +RMD160 3a9fd31cedb5942c363747259777fb4db773e1fe ChangeLog 7151 +SHA256 74adfb8b98803d4857d2b6dfc23fe053f7290e605aad51fff56dac1d4e8527ce ChangeLog 7151 +MISC metadata.xml 737 RMD160 6f833e02ea5b87a66064c32e7c35889c63c96649 SHA1 bff378e387662ce5e4c4168c74ee7ff1493c41a4 SHA256 9deb0b30538b6d35c0877384b97620eda2dde0bf3b4c702ccdadb007e868daef +MD5 747fd88897ef9ae5002fa891864f42aa metadata.xml 737 +RMD160 6f833e02ea5b87a66064c32e7c35889c63c96649 metadata.xml 737 +SHA256 9deb0b30538b6d35c0877384b97620eda2dde0bf3b4c702ccdadb007e868daef metadata.xml 737 MD5 f3995d297ee8593cbed9c29aef36f8fa files/digest-maxima-5.10.0 244 RMD160 bf7bc2399707d0bae2d33a0689ce61afd43e4de5 files/digest-maxima-5.10.0 244 SHA256 ab33482322ef3a77e32e2a7a9f34d4d34793c28ad21dbb0178ebf94473d0469f files/digest-maxima-5.10.0 244 +MD5 9487bc28719928f5d7c6f6e4f20905ed files/digest-maxima-5.11.0 247 +RMD160 5cbac65993f23d21c8cdb91bad2ba8269271cd16 files/digest-maxima-5.11.0 247 +SHA256 63214925ce0a71acd450b8c4a8e5ac2535f9e11a37e88e8a8427d12f70c1dd85 files/digest-maxima-5.11.0 247 MD5 6f3becd603f999b2bb7488753ec07518 files/digest-maxima-5.9.1 65 RMD160 cc408ee71151e1e8454f62c4f6c69b2c44121527 files/digest-maxima-5.9.1 65 SHA256 253b31f30fec4f3e453a6f76975b902c40062750169e2d0d58644d388bf19465 files/digest-maxima-5.9.1 65 @@ -69,3 +96,10 @@ SHA256 253b31f30fec4f3e453a6f76975b902c40062750169e2d0d58644d388bf19465 files/di MD5 b0b6f0a0adb8e2b019e9a3d9decbcf14 files/digest-maxima-5.9.3 241 RMD160 3954badfebef02d3ae2280deb98c9ee77f8e7f29 files/digest-maxima-5.9.3 241 SHA256 e91682eae89570d2bb81449c39338148defb3bdda14cd1c815b2c26ca8c92927 files/digest-maxima-5.9.3 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFFqLeDntT9W3vfTuoRAlfEAKCuI/T7KrqxyFbQTzLBolJYgAdflwCghGSk +SxCbyb2stmc17P21itkFYto= +=NXSN +-----END PGP SIGNATURE----- diff --git a/sci-mathematics/maxima/files/50maxima-gentoo.el b/sci-mathematics/maxima/files/50maxima-gentoo.el index 1402cf456325..9b7151b17850 100644 --- a/sci-mathematics/maxima/files/50maxima-gentoo.el +++ b/sci-mathematics/maxima/files/50maxima-gentoo.el @@ -1,5 +1,5 @@ ;; maxima mode -(setq load-path (cons "/usr/shar/maxima/PV/emacs" load-path)) +(setq load-path (cons "/usr/share/maxima/PV/emacs" load-path)) (autoload 'maxima-mode "maxima" "Maxima mode" t) (autoload 'maxima "maxima" "Maxima interactive" t) (setq auto-mode-alist (cons '("\\.max" . maxima-mode) auto-mode-alist)) diff --git a/sci-mathematics/maxima/files/digest-maxima-5.11.0 b/sci-mathematics/maxima/files/digest-maxima-5.11.0 new file mode 100644 index 000000000000..706606789654 --- /dev/null +++ b/sci-mathematics/maxima/files/digest-maxima-5.11.0 @@ -0,0 +1,3 @@ +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/maxima-5.11.0-default-browser.patch b/sci-mathematics/maxima/files/maxima-5.11.0-default-browser.patch new file mode 100644 index 000000000000..d53a3f436e8a --- /dev/null +++ b/sci-mathematics/maxima/files/maxima-5.11.0-default-browser.patch @@ -0,0 +1,13 @@ +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 new file mode 100644 index 000000000000..ce45515c3cef --- /dev/null +++ b/sci-mathematics/maxima/files/maxima-5.11.0-default-psviewer.patch @@ -0,0 +1,37 @@ +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-diff_form.patch b/sci-mathematics/maxima/files/maxima-5.11.0-diff_form.patch new file mode 100644 index 000000000000..8bf1f5c8e239 --- /dev/null +++ b/sci-mathematics/maxima/files/maxima-5.11.0-diff_form.patch @@ -0,0 +1,9 @@ +diff -U2 --recursive maxima-5.11.0-orig/src/init-cl.lisp maxima-5.11.0/src/init-cl.lisp +--- maxima-5.11.0-orig/src/init-cl.lisp 2006-12-09 22:50:19.000000000 +0100 ++++ maxima-5.11.0/src/init-cl.lisp 2006-12-27 00:11:06.000000000 +0100 +@@ -326,4 +326,5 @@ + "contrib/unit" + "contrib/Zeilberger" ++ "diff_form" + "diffequations" + "lbfgs" 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 new file mode 100644 index 000000000000..478af44cfc78 --- /dev/null +++ b/sci-mathematics/maxima/files/maxima-5.11.0-sbcl-disable-debugger.patch @@ -0,0 +1,20 @@ +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/maxima-5.11.0.ebuild b/sci-mathematics/maxima/maxima-5.11.0.ebuild new file mode 100644 index 000000000000..280aeab7cc67 --- /dev/null +++ b/sci-mathematics/maxima/maxima-5.11.0.ebuild @@ -0,0 +1,137 @@ +# 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.1 2007/01/13 10:41:58 cryos Exp $ + +inherit eutils elisp-common autotools + +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 + + 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 +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/sci-mathematics/maxima/metadata.xml b/sci-mathematics/maxima/metadata.xml index 5a2f1c7b832e..ba2304321c92 100644 --- a/sci-mathematics/maxima/metadata.xml +++ b/sci-mathematics/maxima/metadata.xml @@ -1,5 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sci-mathematics</herd> + <herd>sci-mathematics</herd> + <longdescription lang="en"> + Computer Algebra system, descendent of Macsyma. + Maxima is a system for the manipulation of symbolic and + numerical expressions, including differentiation, integration, + Taylor series, Laplace transforms, ordinary differential + equations, systems of linear equations, and vectors, matrices, + and tensors. Maxima produces high precision results by using + exact fractions and arbitrarily long floating point representations, + and can plot functions and data in two and three dimensions. + </longdescription> </pkgmetadata> |