From ae939c1e1b8d41fadab2d915739736200f093bad Mon Sep 17 00:00:00 2001 From: bicatali Date: Wed, 18 Apr 2007 10:54:43 +0000 Subject: maxima changes now in main tree git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@553 32389bae-6d03-0410-99cf-db05cde120eb --- sci-mathematics/maxima/ChangeLog | 222 --------------------- sci-mathematics/maxima/Manifest | 28 --- sci-mathematics/maxima/files/50maxima-gentoo.el | 12 -- .../maxima/files/digest-maxima-5.11.0-r3 | 3 - .../maxima/files/maxima-5.11.0-diff_form.patch | 9 - .../maxima/files/maxima-5.11.0-xdg-utils.patch | 49 ----- sci-mathematics/maxima/maxima-5.11.0-r3.ebuild | 170 ---------------- sci-mathematics/maxima/metadata.xml | 15 -- 8 files changed, 508 deletions(-) delete mode 100644 sci-mathematics/maxima/ChangeLog delete mode 100644 sci-mathematics/maxima/Manifest delete mode 100644 sci-mathematics/maxima/files/50maxima-gentoo.el delete mode 100644 sci-mathematics/maxima/files/digest-maxima-5.11.0-r3 delete mode 100644 sci-mathematics/maxima/files/maxima-5.11.0-diff_form.patch delete mode 100644 sci-mathematics/maxima/files/maxima-5.11.0-xdg-utils.patch delete mode 100644 sci-mathematics/maxima/maxima-5.11.0-r3.ebuild delete mode 100644 sci-mathematics/maxima/metadata.xml (limited to 'sci-mathematics/maxima') diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog deleted file mode 100644 index ab14eab55..000000000 --- a/sci-mathematics/maxima/ChangeLog +++ /dev/null @@ -1,222 +0,0 @@ -# ChangeLog for sci-mathematics/maxima -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 27 Mar 2007; Sébastien Fabbro ChangeLog: - added latex stuff from bug #169178. - -*maxima-5.11.0-r2 (21 Jan 2007) - - 21 Jan 2007; Sébastien Fabbro - -files/maxima-5.9.3-emaxima.patch - -files/maxima-5.9.3-default-browser.patch - -files/maxima-5.9.3-default-psviewer.patch - -files/maxima-5.9.3-sbcl-disable-debugger.patch - -files/maxima-5.10.0.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 - -maxima-5.9.3-r1.ebuild - -maxima-5.10.0.ebuild - +files/50maxima-gentoo.el - -maxima-5.11.0-r1.ebuild - Cleaning unused versions. - Trying a fix of bug #169588, to get rid of auctex flag, and added a - warning using gnuplot. - Would like fixing bug #169178. Anyone? - -*maxima-5.11.0-r1 (21 Jan 2007) - - 21 Jan 2007; Andrey Grozin - +maxima-5.11.0-r1.ebuild, +files/maxima-5.11.0-xdg-utils.patch: - maxima-5.11.0-r1 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 - -*maxima-5.11.0 (26 Dec 2006) - - 26 Dec 2006; Andrey Grozin - +maxima-5.11.0.ebuild, +files/maxima-5.11.0-default-browser.patch, - +files/maxima-5.11.0-default-psviewer.patch, - +files/maxima-5.11.0-diff_form.patch, - +files/maxima-5.11.0-sbcl-disable-debugger.patch: - Version bump. emaxima.patch has been applied by the upstream. - - 02 Nov 2006; Andrey Grozin : - The comment about rlwrap corrected. - - 31 Oct 2006; Jeff Gardner ChangeLog: - Very minor fix to a comment. - -*maxima-5.10.0 (21 Sep 2006) - - 21 Sep 2006; Andrey Grozin - +maxima-5.10.0.ebuild, +files/maxima-5.10.0.patch: - Version bump. tcltk use flag replaced by tk, as everywhere. - Patches from 5.9.3 were not applied cleanly, fixed. - -*maxima-5.9.3-r1 (10 Jun 2006) - - 10 Jun 2006; Sebastien Fabbro - +files/50maxima-gentoo.el, +maxima-5.9.3-r1.ebuild, +metadata.xml - +files/maxima-5.9.3-default-psviewer.patch. Changed RDEPEND. Added linguas. - Fixed typos in files, closing bugs #130287, #130245 and #134795. - Added longdescription in metadata.xml. - - 17 Apr 2006; Marcus D. Hanwell - files/50maxima-gentoo.el: - Updated emacs file, closes bug 130245. - -*maxima-5.9.3 (15 Apr 2006) - - 15 Apr 2006; Marcus D. Hanwell - +files/maxima-5.9.3-default-browser.patch, - +files/maxima-5.9.3-emaxima.patch, +maxima-5.9.3.ebuild: - Version bump with lots of fixes, see bugs for more details. Many thanks to - Sebastien Fabbro , Robert Dodier , - Thomas Weidner <3.14159@gmx.net> and others for their work. Closes bugs - 112717 and 112754. - - 11 Apr 2006; Stephanie Lockwood-Childs - maxima-5.9.1-r5.ebuild: - stop xmaxima with clisp from executing 'kill -TERM -1' on exit (Bug #111062) - and keywording ~ppc (Bug #126254) - - 15 Mar 2006; Olivier Fisette - -maxima-5.9.1-r4.ebuild: - Removing obsolete version. - - 15 Mar 2006; Olivier Fisette maxima-5.9.1.ebuild: - Added missing gnuplot dependency (fixes bug #112431). - - 30 Jan 2006; Robin H. Johnson Manifest: - Fix manifest. - - 29 Jan 2006; Marcus D. Hanwell maxima-5.9.1-r5.ebuild: - Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot. - - 29 Jan 2006; Marcus D. Hanwell maxima-5.9.1-r4.ebuild: - Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot. - - 04 Oct 2005; Gustavo Zacarias - maxima-5.9.1-r5.ebuild: - Keyworded ~sparc - -*maxima-5.9.1-r5 (01 Oct 2005) - - 01 Oct 2005; Olivier Fisette - +maxima-5.9.1-r5.ebuild: - Install info files in "/usr/share/info", not "/usr/info" (fixes bug #105705). - -*maxima-5.9.1-r4 (19 Sep 2005) - - 19 Sep 2005; Olivier Fisette - -files/5.9.1-sbcl-gentoo.patch, -maxima-5.9.1-r2.ebuild, - -maxima-5.9.1-r3.ebuild, +maxima-5.9.1-r4.ebuild: - New ebuild with improved support for LISP compilers, thanks to Lucas Chiesa - (fixes bug #98763). Removed obsolete versions. - - 29 Aug 2005; Olivier Fisette maxima-5.9.1-r3.ebuild: - Readded ~amd64 support, thanks to a patch by Matthew Kennedy - . Partially fixes bug #98763. - -*maxima-5.9.1-r3 (20 Aug 2005) - - 20 Aug 2005; Olivier Fisette - +files/maxima-5.9.1-unicode-fix.patch, +maxima-5.9.1-r3.ebuild: - New revision incorporating a Unicode patch, thanks to Thomas Weidner - <3.14159@gmx.net> (fixes bug #92644). - - 20 Aug 2005; Olivier Fisette maxima-5.9.1-r2.ebuild: - Depend on >=gcl-2.6.7 (fixes bug #81869). Removed ~amd64 previously added by - Matthew Kennedy since AMD64 support is obviously broken (see bug #98763). - - 07 Aug 2005; Michael Hanselmann maxima-5.9.1.ebuild: - Stable on ppc. - - 01 Jul 2005; Matthew Kennedy - +files/5.9.1-sbcl-gentoo.patch, maxima-5.9.1-r2.ebuild: - Patch for SBCL support; Keywording ~mad64. - - 17 Apr 2005; Olivier Fisette -maxima-5.9.0.ebuild, - -maxima-5.9.0-r2.ebuild, -maxima-5.9.0-r3.ebuild, -maxima-5.9.1-r1.ebuild: - Removed obsolete versions. - -*maxima-5.9.1-r2 (17 Apr 2005) - - 17 Apr 2005; Olivier Fisette - +maxima-5.9.1-r2.ebuild: - Fixed documentation location problem (#82000). - -*maxima-5.9.1-r1 (28 Dec 2004) - - 28 Dec 2004; Olivier Fisette +metadata.xml, - +files/50maxima-gentoo.el, +files/maxima-emacs.patch, - +maxima-5.9.0-r2.ebuild, +maxima-5.9.0-r3.ebuild, +maxima-5.9.0.ebuild, - +maxima-5.9.1-r1.ebuild, +maxima-5.9.1.ebuild: - Moved from app-sci/maxima to sci-mathematics/maxima. - - 14 Oct 2004; Stefan Jones maxima-5.9.1-r1.ebuild: - Add missing pkg_postrm function on uninstall - -*maxima-5.9.1-r1 (07 Oct 2004) - - 07 Oct 2004; Stefan Jones maxima-5.9.1-r1.ebuild: - Add user submitted emacs install, bug #66135 - - 07 Oct 2004; Patrick Kursawe maxima-5.9.1.ebuild: - Escaping what should be escaped in postinst output - see bug #65395 - -*maxima-5.9.1 (05 Oct 2004) - - 05 Oct 2004; Stefan Jones maxima-5.9.1.ebuild: - New version bump, fixes bug #53470 - - 25 Aug 2004; Sven Wegener maxima-5.9.0-r2.ebuild, - maxima-5.9.0-r3.ebuild, maxima-5.9.0.ebuild: - Changed SRC_URI to use mirror:// syntax. - - 08 Aug 2004; Olivier Fisette - maxima-5.9.0-r3.ebuild, files/maxima-emacs.patch: - Fixed invalid reference to "/usr/local/info" in maxima emacs mode. - Reported by Dirk Gerrits in bug #59288. - - 27 Jun 2004; Aron Griffis maxima-5.9.0-r2.ebuild: - QA - fix use invocation - - 02 Jun 2004; Aron Griffis maxima-5.9.0-r2.ebuild: - Fix use invocation - - 18 May 2004; Mamoru KOMACHI maxima-5.9.0-r2.ebuild: - Changed app-text/tetex to virutal/tetex. - - 19 Apr 2004; Patrick Kursawe maxima-5.9.0-r1.ebuild, - maxima-5.9.0-r2.ebuild, maxima-5.9.0.ebuild: - Depend on gcl/cmucl only for x86. Added IUSE. Cleanup. - -*maxima-5.9.0-r2 (05 Oct 2003) - - 05 Oct 2003; Matthew Kennedy maxima-5.9.0-r2.ebuild: - use cmucl and not cmucl-bin (now masked) - - 21 Sep 2003; Matthew Kennedy maxima-5.9.0-r1.ebuild: - depend on virtual/emacs, not app-editors/emacs - - 31 Aug 2003; George Shapovalov maxima-5.9.0-r1.ebuild : - few more improvements from #16529. Now supports clisp, cmucl and gcl in any combination - -*maxima-5.9.0-r1 (06 Aug 2003) - - 06 Aug 2003; George Shapovalov maxima-5.9.0-r1.ebuild : - expandedn the ebuild following the #16529. - Now has 4 use flags (two of the local) and some emacs and tex related functionality. - Can be built with either clisp or cmucl - Thanks to Cliff Yapp and Sourav Mandal for suggestions and additions - -*maxima-5.9.0 (19 Apr 2003) - - 19 Apr 2003; George Shapovalov maxima-5.9.0.ebuild, files/{digest-maxima-5.9.0} : - initial release (#16529) - Free computer algebra environment, based on Macsyma - ebuild submitted by Sourav Mandal diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest deleted file mode 100644 index 9d289da9a..000000000 --- a/sci-mathematics/maxima/Manifest +++ /dev/null @@ -1,28 +0,0 @@ -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-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-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 -DIST maxima-5.11.0.tar.gz 13924132 RMD160 8f7fb1b8bc7438ffdc393a0eb0f86b5efa79ef3e SHA1 e9bcdbefe4dc23b83e4d30d52833f597d9cd3340 SHA256 7a7259123bd81a7de3609c7e59b561d49e2710a8f7117c42f373afdd6a6786ac -EBUILD maxima-5.11.0-r3.ebuild 4991 RMD160 9af3da5a5e54961b70c7c68c78443b0d0d5a0ee8 SHA1 d7140518e8af9fd1350e860fdaf6274412a9c276 SHA256 2c485caeb0232bc7b504647e24283578dc9f20860287fedb40b8afcfc5b9abe7 -MD5 744f136c7bca14227084dc34e9eaa1f7 maxima-5.11.0-r3.ebuild 4991 -RMD160 9af3da5a5e54961b70c7c68c78443b0d0d5a0ee8 maxima-5.11.0-r3.ebuild 4991 -SHA256 2c485caeb0232bc7b504647e24283578dc9f20860287fedb40b8afcfc5b9abe7 maxima-5.11.0-r3.ebuild 4991 -MISC ChangeLog 8595 RMD160 c1b33e2bddcd2415c72e7dfa752e3052bc244760 SHA1 cb690af02b3ab36f8a2e095dc3d668be5354e696 SHA256 74c07a8bcc037235b752130abd32899e3a16ea23f5036459c4c3f65a94d7a16f -MD5 bdd4be8af40c69f9b51314c4efb3538f ChangeLog 8595 -RMD160 c1b33e2bddcd2415c72e7dfa752e3052bc244760 ChangeLog 8595 -SHA256 74c07a8bcc037235b752130abd32899e3a16ea23f5036459c4c3f65a94d7a16f ChangeLog 8595 -MISC metadata.xml 719 RMD160 98e1ccd16db69dfdbd22d170641b54ef399c214d SHA1 51ea2f99d62249d47a0deabaee228c39d683c80e SHA256 94dc2b488cf7e292eb8824fde4dfc6f91e42e3d38b753fc866e22c39020ddaed -MD5 4a35403530a153ffbf243f8f27d0bf0a metadata.xml 719 -RMD160 98e1ccd16db69dfdbd22d170641b54ef399c214d metadata.xml 719 -SHA256 94dc2b488cf7e292eb8824fde4dfc6f91e42e3d38b753fc866e22c39020ddaed metadata.xml 719 -MD5 9487bc28719928f5d7c6f6e4f20905ed files/digest-maxima-5.11.0-r3 247 -RMD160 5cbac65993f23d21c8cdb91bad2ba8269271cd16 files/digest-maxima-5.11.0-r3 247 -SHA256 63214925ce0a71acd450b8c4a8e5ac2535f9e11a37e88e8a8427d12f70c1dd85 files/digest-maxima-5.11.0-r3 247 diff --git a/sci-mathematics/maxima/files/50maxima-gentoo.el b/sci-mathematics/maxima/files/50maxima-gentoo.el deleted file mode 100644 index cbba83115..000000000 --- a/sci-mathematics/maxima/files/50maxima-gentoo.el +++ /dev/null @@ -1,12 +0,0 @@ -;; maxima mode -(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)) -(autoload 'dbl "dbl" "Make a debugger to run lisp, maxima and or gdb in" t) -(autoload 'gcl-mode "gcl" "Major mode for editing maxima code and interacting with debugger" t) -(setq auto-mode-alist (cons '("\\.ma?[cx]\\'" . maxima-mode) auto-mode-alist)) - -;; 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.11.0-r3 b/sci-mathematics/maxima/files/digest-maxima-5.11.0-r3 deleted file mode 100644 index 706606789..000000000 --- a/sci-mathematics/maxima/files/digest-maxima-5.11.0-r3 +++ /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/maxima-5.11.0-diff_form.patch b/sci-mathematics/maxima/files/maxima-5.11.0-diff_form.patch deleted file mode 100644 index 8bf1f5c8e..000000000 --- a/sci-mathematics/maxima/files/maxima-5.11.0-diff_form.patch +++ /dev/null @@ -1,9 +0,0 @@ -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-xdg-utils.patch b/sci-mathematics/maxima/files/maxima-5.11.0-xdg-utils.patch deleted file mode 100644 index eb0cb91ce..000000000 --- a/sci-mathematics/maxima/files/maxima-5.11.0-xdg-utils.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- 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.11.0-r3.ebuild b/sci-mathematics/maxima/maxima-5.11.0-r3.ebuild deleted file mode 100644 index 45acdd211..000000000 --- a/sci-mathematics/maxima/maxima-5.11.0-r3.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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" -LINGUAS="es pt" -RESTRICT="nostrip" - -pkg_setup() { - - # Don't install in the main tree, as this causes file collisions - # with app-text/tetex, see bug #155944 - 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 ${LINGUAS}; 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 "${MAXIMA_TEXMFDIR}" -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-mathematics/maxima/metadata.xml b/sci-mathematics/maxima/metadata.xml deleted file mode 100644 index 8c2233954..000000000 --- a/sci-mathematics/maxima/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - -sci - - 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. - - -- cgit v1.2.3-65-gdbad