summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-04-18 10:53:32 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-04-18 10:53:32 +0000
commitda118226754e2de88f673370e22b60c3aa724c84 (patch)
treec0608340ef2f00206eaa5b89ceebfd9db97d2d0b /sci-mathematics
parentStable on alpha wrt security bug #172752 (diff)
downloadhistorical-da118226754e2de88f673370e22b60c3aa724c84.tar.gz
historical-da118226754e2de88f673370e22b60c3aa724c84.tar.bz2
historical-da118226754e2de88f673370e22b60c3aa724c84.zip
Cleaning of maxima, committing gentooscience overlay changes.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/maxima/ChangeLog16
-rw-r--r--sci-mathematics/maxima/Manifest53
-rw-r--r--sci-mathematics/maxima/files/50maxima-gentoo.el3
-rw-r--r--sci-mathematics/maxima/files/digest-maxima-5.10.03
-rw-r--r--sci-mathematics/maxima/files/digest-maxima-5.11.0-r23
-rw-r--r--sci-mathematics/maxima/files/digest-maxima-5.9.33
-rw-r--r--sci-mathematics/maxima/files/maxima-5.10.0.patch125
-rw-r--r--sci-mathematics/maxima/files/maxima-5.11.0-xdg-utils.patch49
-rw-r--r--sci-mathematics/maxima/maxima-5.10.0.ebuild131
-rw-r--r--sci-mathematics/maxima/maxima-5.11.0-r2.ebuild172
-rw-r--r--sci-mathematics/maxima/maxima-5.9.3.ebuild136
11 files changed, 262 insertions, 432 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog
index 8b9c02cfd820..be257cc8f777 100644
--- a/sci-mathematics/maxima/ChangeLog
+++ b/sci-mathematics/maxima/ChangeLog
@@ -1,6 +1,20 @@
# 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.26 2007/04/16 08:51:11 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.27 2007/04/18 10:53:32 bicatali Exp $
+
+*maxima-5.11.0-r2 (18 Apr 2007)
+
+ 18 Apr 2007; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ -files/maxima-5.10.0.patch, +files/maxima-5.11.0-xdg-utils.patch,
+ files/50maxima-gentoo.el, -maxima-5.9.3.ebuild, -maxima-5.10.0.ebuild,
+ +maxima-5.11.0-r2.ebuild:
+ auctex flag replaced by emacs+tetex. Cleaned ebuild, removed
+ obsolete versions. Added a warning using gnuplot.
+ maxima-5.11.0-r2 now depends on x11-misc/xdg-utils,
+ default-browser.patch and default-psviewer.patch replaced
+ by xdg-utils.patch; sbcl-disable-debugger.patch dropped,
+ see http://bugzilla.redhat.com/214568. Thanks to Andrey Grozin for his
+ work on the gentooscience overlay.
*maxima-5.11.0-r1 (16 Apr 2007)
diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 7e85841fa0b8..10e9003c0ca3 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,14 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 50maxima-gentoo.el 617 RMD160 466c641af02d3b7676d1eaa57c5e48f502c7a7cf SHA1 d9aac4db1e500053118a3b7c77ab8c4ff5960534 SHA256 669fca988cf31f233227b02cdf31ddb5fd2cad69b0349842a109b9cffce5fe6e
-MD5 c071f74e264cbeb0ebceac8039f66216 files/50maxima-gentoo.el 617
-RMD160 466c641af02d3b7676d1eaa57c5e48f502c7a7cf files/50maxima-gentoo.el 617
-SHA256 669fca988cf31f233227b02cdf31ddb5fd2cad69b0349842a109b9cffce5fe6e files/50maxima-gentoo.el 617
-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 50maxima-gentoo.el 600 RMD160 c45cc012987d2a74670ad9aac2b019a1233bd151 SHA1 f05c4ce4f51f2e3d0399fa04de9d8fc8b0296386 SHA256 32cd4c9e958c96e93bb74ee324196efa8f88a90e4508c4c67733c691d6969dfe
+MD5 95fb9c201700548f3d70d62eed081a98 files/50maxima-gentoo.el 600
+RMD160 c45cc012987d2a74670ad9aac2b019a1233bd151 files/50maxima-gentoo.el 600
+SHA256 32cd4c9e958c96e93bb74ee324196efa8f88a90e4508c4c67733c691d6969dfe files/50maxima-gentoo.el 600
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
@@ -25,6 +21,10 @@ AUX maxima-5.11.0-sbcl-disable-debugger.patch 1061 RMD160 a1aa9cf49092d89f971f29
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.11.0-xdg-utils.patch 1695 RMD160 6cadff5b3eb1faeadf81db43ea83d0feafd66127 SHA1 f7d266892f1af8e4424265c33a7b9140151b13fe SHA256 cbb25e0bb56f89ca04d2fb0504f4a0091218ff1eaf3e5666c62dbbae6ae7ef96
+MD5 d1dab5cbfbdf1d8799ba26e99fc64862 files/maxima-5.11.0-xdg-utils.patch 1695
+RMD160 6cadff5b3eb1faeadf81db43ea83d0feafd66127 files/maxima-5.11.0-xdg-utils.patch 1695
+SHA256 cbb25e0bb56f89ca04d2fb0504f4a0091218ff1eaf3e5666c62dbbae6ae7ef96 files/maxima-5.11.0-xdg-utils.patch 1695
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
@@ -49,18 +49,16 @@ AUX maxima-emacs.patch 826 RMD160 e6030b78934ace0c31b1cddf108e3e885cee7abf SHA1
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 RMD160 26940d11d6cba4125319a3c83234964af81e4603 SHA1 87dcf337f3f628ae78ef6bfaed694e98ad26f207 SHA256 fd402f2d13f6e03ac30c59e333aeb6f4993fa43fbf44cb1b36deba447d5cb2a4
-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-r1.ebuild 5175 RMD160 69674a83a680b165c783551ae9f7cb12a1f0f9c1 SHA1 48628330d6a5f1aa5184992c9565149193614075 SHA256 6dfdee5e23dfb3bf5703205c496c389b0f325ec2e56f94aca8c504ab7e7aa777
MD5 4ebcb1829d7568f889ce8a6b9be54e14 maxima-5.11.0-r1.ebuild 5175
RMD160 69674a83a680b165c783551ae9f7cb12a1f0f9c1 maxima-5.11.0-r1.ebuild 5175
SHA256 6dfdee5e23dfb3bf5703205c496c389b0f325ec2e56f94aca8c504ab7e7aa777 maxima-5.11.0-r1.ebuild 5175
+EBUILD maxima-5.11.0-r2.ebuild 5127 RMD160 ef55ef90c02c80146f9092eef1d8f6edd121c37a SHA1 9eab6c4b71777418bff4d181d5fb40effbc80af4 SHA256 db55068edda197379996810778f0fdc67a4e9464de2f662bc323bd3ad0e67655
+MD5 9a34c5929bf1e04543fd7c336259ef9d maxima-5.11.0-r2.ebuild 5127
+RMD160 ef55ef90c02c80146f9092eef1d8f6edd121c37a maxima-5.11.0-r2.ebuild 5127
+SHA256 db55068edda197379996810778f0fdc67a4e9464de2f662bc323bd3ad0e67655 maxima-5.11.0-r2.ebuild 5127
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
@@ -73,40 +71,33 @@ EBUILD maxima-5.9.1.ebuild 2532 RMD160 a4145d603c61df84ece22b2a06631f487904c514
MD5 a5bd93bd68dec962956ea5ed64b5c276 maxima-5.9.1.ebuild 2532
RMD160 a4145d603c61df84ece22b2a06631f487904c514 maxima-5.9.1.ebuild 2532
SHA256 6bbb7dc68d8bc64954ee7e621a4c3afc26a8b777c6cea8eb7e50210fa1083bcc maxima-5.9.1.ebuild 2532
-EBUILD maxima-5.9.3.ebuild 3681 RMD160 d686ba7a2e320c7ed1dedde4b008ecd5b7dca543 SHA1 9c7d13e8d53282a3cf1263166412f2403a46bd6b SHA256 a5a05f65bb0598b03d3d80cc2ce4754dc17e5c8117b6059d435ed0d4757dc8c1
-MD5 beb2d63d616e44465ae8ceee1d5b9dac maxima-5.9.3.ebuild 3681
-RMD160 d686ba7a2e320c7ed1dedde4b008ecd5b7dca543 maxima-5.9.3.ebuild 3681
-SHA256 a5a05f65bb0598b03d3d80cc2ce4754dc17e5c8117b6059d435ed0d4757dc8c1 maxima-5.9.3.ebuild 3681
-MISC ChangeLog 7759 RMD160 4b7cc5e3edc52e8560bd39dd4e0974271d7d22e8 SHA1 de58fd2086337b9f184f214df67f1c7818f9b193 SHA256 84ffc4122d5aa4550ad773ebdbba06d289ea3aece05ebba52af698ab4c8d1b95
-MD5 2588081e447f877da17ccef42fe5f6f7 ChangeLog 7759
-RMD160 4b7cc5e3edc52e8560bd39dd4e0974271d7d22e8 ChangeLog 7759
-SHA256 84ffc4122d5aa4550ad773ebdbba06d289ea3aece05ebba52af698ab4c8d1b95 ChangeLog 7759
+MISC ChangeLog 8422 RMD160 5a39261b65711b9ad85804c1bc043b162d4b1fa8 SHA1 164af006da04bc024ef378a956874b3bd684a32f SHA256 e037b7685d3c11734d64836b4c849e21d89007c0f1dabe1446002833dbc6f2ed
+MD5 159a0f42daa6eab0e81b825df6e8a9de ChangeLog 8422
+RMD160 5a39261b65711b9ad85804c1bc043b162d4b1fa8 ChangeLog 8422
+SHA256 e037b7685d3c11734d64836b4c849e21d89007c0f1dabe1446002833dbc6f2ed ChangeLog 8422
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 9487bc28719928f5d7c6f6e4f20905ed files/digest-maxima-5.11.0-r1 247
RMD160 5cbac65993f23d21c8cdb91bad2ba8269271cd16 files/digest-maxima-5.11.0-r1 247
SHA256 63214925ce0a71acd450b8c4a8e5ac2535f9e11a37e88e8a8427d12f70c1dd85 files/digest-maxima-5.11.0-r1 247
+MD5 9487bc28719928f5d7c6f6e4f20905ed files/digest-maxima-5.11.0-r2 247
+RMD160 5cbac65993f23d21c8cdb91bad2ba8269271cd16 files/digest-maxima-5.11.0-r2 247
+SHA256 63214925ce0a71acd450b8c4a8e5ac2535f9e11a37e88e8a8427d12f70c1dd85 files/digest-maxima-5.11.0-r2 247
MD5 ef493f2f9d7c8570ac06239a94707fae files/digest-maxima-5.9.1 241
RMD160 ca6bee5d10da060eff2d678ed90099d3f50fa198 files/digest-maxima-5.9.1 241
SHA256 c9f64acc636ed728a8c03269f4e58f16cb6b335b25c49fc4f7e308d06629d687 files/digest-maxima-5.9.1 241
MD5 ef493f2f9d7c8570ac06239a94707fae files/digest-maxima-5.9.1-r5 241
RMD160 ca6bee5d10da060eff2d678ed90099d3f50fa198 files/digest-maxima-5.9.1-r5 241
SHA256 c9f64acc636ed728a8c03269f4e58f16cb6b335b25c49fc4f7e308d06629d687 files/digest-maxima-5.9.1-r5 241
-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 v1.4.6 (GNU/Linux)
-iD8DBQFGIzkHNQqtfCuFneMRAp9SAJwKKqoRiZsbDhp/v0crY/3aRSluXgCeK4H7
-WPvLBvEFg/+QSO92+yH23DA=
-=Cm+6
+iD8DBQFGJfi11ycZbhPLE2ARAppcAJ9JTy+8AvxHbUiDrDPnK+I2KlunGQCePQKK
+FwbIydal9N5UlScAA1+GMPQ=
+=Yd7C
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/maxima/files/50maxima-gentoo.el b/sci-mathematics/maxima/files/50maxima-gentoo.el
index 7ec9767413a8..cbba83115f8f 100644
--- a/sci-mathematics/maxima/files/50maxima-gentoo.el
+++ b/sci-mathematics/maxima/files/50maxima-gentoo.el
@@ -1,5 +1,5 @@
;; maxima mode
-(add-to-list 'load-path "/usr/share/maxima/PV/emacs")
+(add-to-list 'load-path "@SITELISP@")
(autoload 'maxima-mode "maxima" "Maxima mode" t)
(autoload 'maxima "maxima" "Maxima interactive" t)
(setq auto-mode-alist (cons '("\\.max" . maxima-mode) auto-mode-alist))
@@ -10,4 +10,3 @@
;; emaxima mode
(autoload 'emaxima-mode "emaxima" "EMaxima" t)
(add-hook 'emaxima-mode-hook 'emaxima-mark-file-as-emaxima)
-
diff --git a/sci-mathematics/maxima/files/digest-maxima-5.10.0 b/sci-mathematics/maxima/files/digest-maxima-5.10.0
deleted file mode 100644
index 305a1626da24..000000000000
--- a/sci-mathematics/maxima/files/digest-maxima-5.10.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 1e7f5ecabf990f350c5f662f106d83b7 maxima-5.10.0.tar.gz 9957907
-RMD160 6ec60429f3720c9d8dca5d628e49d2eb01e24fc1 maxima-5.10.0.tar.gz 9957907
-SHA256 b59e3af8a771b92158410bed6327f18a6a69bccd4e776d83a3952a67bd388c49 maxima-5.10.0.tar.gz 9957907
diff --git a/sci-mathematics/maxima/files/digest-maxima-5.11.0-r2 b/sci-mathematics/maxima/files/digest-maxima-5.11.0-r2
new file mode 100644
index 000000000000..706606789654
--- /dev/null
+++ b/sci-mathematics/maxima/files/digest-maxima-5.11.0-r2
@@ -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/digest-maxima-5.9.3 b/sci-mathematics/maxima/files/digest-maxima-5.9.3
deleted file mode 100644
index 66a15c4deed9..000000000000
--- a/sci-mathematics/maxima/files/digest-maxima-5.9.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e6388632d91722bb0607914bdabc72f6 maxima-5.9.3.tar.gz 8629022
-RMD160 4b00da6406bab222f4a7069c4e8820a9437277f9 maxima-5.9.3.tar.gz 8629022
-SHA256 1807e46e12b5968ac70643eee32a3479fc06035613086d85366610440842abb9 maxima-5.9.3.tar.gz 8629022
diff --git a/sci-mathematics/maxima/files/maxima-5.10.0.patch b/sci-mathematics/maxima/files/maxima-5.10.0.patch
deleted file mode 100644
index 749063757ece..000000000000
--- a/sci-mathematics/maxima/files/maxima-5.10.0.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-diff -r -U4 maxima-5.10.0.orig/interfaces/emacs/emaxima/maxima.el maxima-5.10.0/interfaces/emacs/emaxima/maxima.el
---- maxima-5.10.0.orig/interfaces/emacs/emaxima/maxima.el 2005-06-22 05:48:42.000000000 +0200
-+++ maxima-5.10.0/interfaces/emacs/emaxima/maxima.el 2006-09-21 20:04:48.000000000 +0200
-@@ -2704,9 +2704,9 @@
- (process-mark inferior-maxima-process))))
-
- (defun inferior-maxima-wait-for-output ()
- "Wait for output from the Maxima process."
-- (while (and
-+ (when (and
- inferior-maxima-waiting-for-output
- (inferior-maxima-running))
- (accept-process-output inferior-maxima-process))
- (if maxima-running-xemacs
-@@ -2759,10 +2759,10 @@
- (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
-- 'inferior-maxima-remove-double-input-prompt)
-+; (add-to-list 'comint-output-filter-functions
-+; 'inferior-maxima-remove-double-input-prompt)
- (if maxima-fix-double-prompt
- (add-to-list 'comint-output-filter-functions
- 'inferior-maxima-remove-double-prompt))
- (inferior-maxima-wait-for-output)
-diff -r -U4 maxima-5.10.0.orig/interfaces/emacs/misc/bookmode.el maxima-5.10.0/interfaces/emacs/misc/bookmode.el
---- maxima-5.10.0.orig/interfaces/emacs/misc/bookmode.el 2000-05-08 08:09:44.000000000 +0200
-+++ maxima-5.10.0/interfaces/emacs/misc/bookmode.el 2006-09-21 20:18:03.000000000 +0200
-@@ -679,9 +679,9 @@
- 'book-set-postscript-value beg end (nth 1 tem)))
-
- (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))
- ))
- (list "Cancel")
- )))
-@@ -704,9 +704,9 @@
- ;; construct command to pass to the shell.
- (concat
- (cond ((looking-at "%PS") "")
- (t "gzip -dc | "))
-- "ghostview -")
-+ "gv -")
-
- )))
-
- (defun book-set-postscript-value ( beg end &optional file)
-diff -r -U4 maxima-5.10.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl maxima-5.10.0/interfaces/xmaxima/Tkmaxima/Constants.tcl
---- maxima-5.10.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-08-03 15:21:57.000000000 +0200
-+++ maxima-5.10.0/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-09-21 20:20:32.000000000 +0200
-@@ -142,9 +142,9 @@
- text/plain netmath
- image/gif netmath
- 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"
- }
- set maxima_priv(imagecounter) 0
-diff -r -U4 maxima-5.10.0.orig/interfaces/xmaxima/Tkmaxima/Menu.tcl maxima-5.10.0/interfaces/xmaxima/Tkmaxima/Menu.tcl
---- maxima-5.10.0.orig/interfaces/xmaxima/Tkmaxima/Menu.tcl 2006-09-11 17:38:01.000000000 +0200
-+++ maxima-5.10.0/interfaces/xmaxima/Tkmaxima/Menu.tcl 2006-09-21 20:08:45.000000000 +0200
-@@ -214,11 +214,11 @@
- lappend browse cmd.exe /c start
- }
- } 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 -r -U4 maxima-5.10.0.orig/src/Makefile.am maxima-5.10.0/src/Makefile.am
---- maxima-5.10.0.orig/src/Makefile.am 2006-09-05 01:52:42.000000000 +0200
-+++ maxima-5.10.0/src/Makefile.am 2006-09-21 20:11:16.000000000 +0200
-@@ -150,9 +150,9 @@
- endif
-
-
- 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
- uninstall: uninstall-sbcl
- clean: clean-sbcl
-diff -r -U4 maxima-5.10.0.orig/src/Makefile.in maxima-5.10.0/src/Makefile.in
---- maxima-5.10.0.orig/src/Makefile.in 2006-09-21 06:00:57.000000000 +0200
-+++ maxima-5.10.0/src/Makefile.in 2006-09-21 20:14:59.000000000 +0200
-@@ -203,9 +203,9 @@
- @CLISP_TRUE@EXECUTECLISP = $(CLISP_NAME) -norc -q -x
- @CMUCL_TRUE@EXECUTECMUCL = $(CMUCL_NAME) -noinit -batch
- @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
- genericdir = $(instsrcdir)
- real_lisp_sources = acall.lisp \
-diff -r -U4 maxima-5.10.0.orig/src/plot.lisp maxima-5.10.0/src/plot.lisp
---- maxima-5.10.0.orig/src/plot.lisp 2006-08-26 13:13:40.000000000 +0200
-+++ maxima-5.10.0/src/plot.lisp 2006-09-21 20:19:02.000000000 +0200
-@@ -74,9 +74,9 @@
- ((mlist) $logy nil)
- ((mlist) $plot_realpart nil)
- ))
-
--(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
- ;; is used outside of plot package too.
- (defvar *plot-realpart* t)
diff --git a/sci-mathematics/maxima/files/maxima-5.11.0-xdg-utils.patch b/sci-mathematics/maxima/files/maxima-5.11.0-xdg-utils.patch
new file mode 100644
index 000000000000..eb0cb91ce007
--- /dev/null
+++ b/sci-mathematics/maxima/files/maxima-5.11.0-xdg-utils.patch
@@ -0,0 +1,49 @@
+--- maxima-5.11.0/interfaces/emacs/misc/bookmode.el.xdg_utils 2000-05-08 01:09:44.000000000 -0500
++++ maxima-5.11.0/interfaces/emacs/misc/bookmode.el 2006-12-27 13:07:51.000000000 -0600
+@@ -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 -")
+
+ )))
+
+--- maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl.xdg_utils 2006-12-09 13:52:11.000000000 -0600
++++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl 2006-12-27 13:00:45.000000000 -0600
+@@ -245,9 +245,9 @@
+ }
+ } else {
+
+- set selectedbrowser mozilla
++ set selectedbrowser xdg-open
+
+- foreach b { firefox mozilla konqueror epiphany galeon amaya netscape } {
++ foreach b { xdg-open htmlview firefox mozilla konqueror epiphany galeon amaya netscape } {
+ if { ! [catch {exec which $b} ] } {
+ set selectedbrowser $b
+ break } }
+--- maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Constants.tcl.xdg_utils 2006-10-01 17:42:48.000000000 -0500
++++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-12-27 13:01:52.000000000 -0600
+@@ -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 %s"
++ application/pdf "xdg-open %s"
++ application/x-dvi "xdg-open %s"
+ }
+ set maxima_priv(imagecounter) 0
+
diff --git a/sci-mathematics/maxima/maxima-5.10.0.ebuild b/sci-mathematics/maxima/maxima-5.10.0.ebuild
deleted file mode 100644
index 166461322051..000000000000
--- a/sci-mathematics/maxima/maxima-5.10.0.ebuild
+++ /dev/null
@@ -1,131 +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.10.0.ebuild,v 1.1 2006/10/31 11:24:06 je_fro 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"
-
-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}
- epatch "${FILESDIR}/${P}.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 in USE
- 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 is 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
-
-# use existing translated docs
- 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/maxima-5.11.0-r2.ebuild b/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild
new file mode 100644
index 000000000000..4f4956c7f07a
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild
@@ -0,0 +1,172 @@
+# 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.1 2007/04/18 10:53:32 bicatali 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 tk nls unicode"
+
+# rlwrap is recommended for cmucl and sbcl
+RDEPEND=">=sci-visualization/gnuplot-4.0
+ x11-misc/xdg-utils
+ tetex? ( virtual/tetex )
+ 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 )
+ 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"
+# the make install already strips maxima exec.
+RESTRICT="nostrip"
+
+for lang in es pt; do
+ IUSE="${IUSE} linguas_${lang}"
+done
+
+pkg_setup() {
+# Don't install in the main tree, as this may cause file collisions
+ if use tetex; then
+ local TEXMFPATH="$(kpsewhich -var-value=TEXMFSITE)"
+ local TEXMFCONFIGFILE="$(kpsewhich texmf.cnf)"
+
+ if [ -z "${TEXMFPATH}" ]; then
+ eerror "You haven't defined the TEXMFSITE variable in your TeX config."
+ eerror "Please do so in the file ${TEXMFCONFIGFILE:-/var/lib/texmf/web2c/texmf.cnf}"
+ die "Define TEXMFSITE in TeX configuration!"
+ else
+ # go through the colon separated list of directories (maybe only one) provided in the variable
+ # TEXMFPATH (generated from TEXMFSITE from TeX's config) and choose only the first entry.
+ # All entries are separated by colons, even when defined with semi-colons, kpsewhich changes
+ # the output to a generic format, so IFS has to be redefined.
+ local IFS="${IFS}:"
+
+ for strippedpath in ${TEXMFPATH}
+ do
+ if [ -d ${strippedpath} ]; then
+ MAXIMA_TEXMFDIR="${strippedpath}"
+ break
+ fi
+ done
+
+ # verify if an existing path was chosen to prevent from installing into the wrong directory
+ if [ -z ${MAXIMA_TEXMFDIR} ]; then
+ eerror "TEXMFSITE does not contain any existing directory."
+ eerror "Please define an existing directory in your TeX config file"
+ eerror "${TEXMFCONFIGFILE:-/var/lib/texmf/web2c/texmf.cnf} or create at least one of the there specified directories"
+ die "TEXMFSITE variable did not contain an existing directory"
+ fi
+ fi
+ fi
+
+ if ! built_with_use -a sci-visualization/gnuplot png 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"
+ 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"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ # use xdg-open to view html, ps, pdf
+ epatch "${FILESDIR}/${P}-xdg-utils.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="${enablegcl}"
+ 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 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() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ use tk && make_desktop_entry xmaxima xmaxima \
+ /usr/share/${PN}/${PV}/xmaxima/maxima-new.png
+
+ 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
+ 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/maxima-5.9.3.ebuild b/sci-mathematics/maxima/maxima-5.9.3.ebuild
deleted file mode 100644
index 60227fab1d95..000000000000
--- a/sci-mathematics/maxima/maxima-5.9.3.ebuild
+++ /dev/null
@@ -1,136 +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.9.3.ebuild,v 1.3 2007/04/16 08:51:11 opfer 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"
-
-DEPEND=">=sys-apps/texinfo-4.3
- tetex? ( virtual/tetex )
- emacs? ( virtual/emacs )
- auctex? ( app-emacs/auctex )
- !clisp? ( !sbcl? ( !cmucl? ( >=dev-lisp/gcl-2.6.7 ) ) )
- cmucl? ( >=dev-lisp/cmucl-19a )
- clisp? ( >=dev-lisp/clisp-2.33.2-r1 )
- gcl? ( >=dev-lisp/gcl-2.6.7 )
- sbcl? ( >=dev-lisp/sbcl-0.9.4 )"
-
-# rlwrap is recommended for clisp and sbcl
-RDEPEND=">=sci-visualization/gnuplot-4.0
- app-text/gv
- sbcl? ( app-misc/rlwrap )
- cmucl? ( app-misc/rlwrap )
- tk? ( >=dev-lang/tk-8.3.3 )"
-
-# 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}
- # small patch for emaxima (from fedora)
- epatch ${FILESDIR}/${PF}-emaxima.patch
- # patch to select firefox as def. browswer and add opera as choices
- epatch ${FILESDIR}/${PF}-default-browser.patch
- # replace ugly ghostview with gv
- for psfile in $(grep -rl ghostview ${PF}/*); do
- sed -i -e 's/ghostview/gv/g' ${psfile}
- done
-}
-
-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
-
- # 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_preinst() {
- # do not gunzip the info files in certain cases of lisp
- 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
-}