diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-06-10 16:16:59 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-06-10 16:16:59 +0000 |
commit | 791d154d91de02959d3ebff68d6c1b9f32335df9 (patch) | |
tree | 166f8fe99ec1182b8861169905028a9e7a159035 /sci-mathematics | |
parent | cfitsio: fix $PF to $ for docs (diff) | |
download | sci-791d154d91de02959d3ebff68d6c1b9f32335df9.tar.gz sci-791d154d91de02959d3ebff68d6c1b9f32335df9.tar.bz2 sci-791d154d91de02959d3ebff68d6c1b9f32335df9.zip |
added maxima-5.9.3-r1
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@236 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/maxima/ChangeLog | 167 | ||||
-rw-r--r-- | sci-mathematics/maxima/Manifest | 9 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/50maxima-gentoo.el | 13 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/digest-maxima-5.9.3-r1 | 1 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-5.9.3-default-browser.patch | 14 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-5.9.3-emaxima.patch | 13 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-emacs.patch | 20 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.9.3-r1.ebuild | 136 | ||||
-rw-r--r-- | sci-mathematics/maxima/metadata.xml | 15 |
9 files changed, 388 insertions, 0 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog new file mode 100644 index 000000000..479fb4b1a --- /dev/null +++ b/sci-mathematics/maxima/ChangeLog @@ -0,0 +1,167 @@ +# ChangeLog for sci-mathematics/maxima +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*maxima-5.9.3-r1 (10 Jun 2006) + + 10 Jun 2006; Sebastien Fabbro <seb@ist.utl.pt> + +files/50maxima-gentoo.el, +maxima-5.9.3-r1.ebuild, +metadata.xml + Fixed typos in files, closing bugs #130287, #130245 and #134795. + Added longdescription in metadata.xml. + + 17 Apr 2006; Marcus D. Hanwell <cryos@gentoo.org> + files/50maxima-gentoo.el: + Updated emacs file, closes bug 130245. + +*maxima-5.9.3 (15 Apr 2006) + + 15 Apr 2006; Marcus D. Hanwell <cryos@gentoo.org> + +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 <seb@ist.utl.pt>, Robert Dodier <robert.dodier@gmail.com>, + Thomas Weidner <3.14159@gmx.net> and others for their work. Closes bugs + 112717 and 112754. + + 11 Apr 2006; Stephanie Lockwood-Childs <wormo@gentoo.org> + 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 <ribosome@gentoo.org> + -maxima-5.9.1-r4.ebuild: + Removing obsolete version. + + 15 Mar 2006; Olivier Fisette <ribosome@gentoo.org> maxima-5.9.1.ebuild: + Added missing gnuplot dependency (fixes bug #112431). + + 30 Jan 2006; Robin H. Johnson <robbat2@gentoo.org> Manifest: + Fix manifest. + + 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> maxima-5.9.1-r5.ebuild: + Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot. + + 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> maxima-5.9.1-r4.ebuild: + Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot. + + 04 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> + maxima-5.9.1-r5.ebuild: + Keyworded ~sparc + +*maxima-5.9.1-r5 (01 Oct 2005) + + 01 Oct 2005; Olivier Fisette <ribosome@gentoo.org> + +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 <ribosome@gentoo.org> + -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 + <lucas.chiesa@gmail.com> (fixes bug #98763). Removed obsolete versions. + + 29 Aug 2005; Olivier Fisette <ribosome@gentoo.org> maxima-5.9.1-r3.ebuild: + Readded ~amd64 support, thanks to a patch by Matthew Kennedy + <mkennedy@gentoo.org>. Partially fixes bug #98763. + +*maxima-5.9.1-r3 (20 Aug 2005) + + 20 Aug 2005; Olivier Fisette <ribosome@gentoo.org> + +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 <ribosome@gentoo.org> 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 <hansmi@gentoo.org> maxima-5.9.1.ebuild: + Stable on ppc. + + 01 Jul 2005; Matthew Kennedy <mkennedy@gentoo.org> + +files/5.9.1-sbcl-gentoo.patch, maxima-5.9.1-r2.ebuild: + Patch for SBCL support; Keywording ~mad64. + + 17 Apr 2005; Olivier Fisette <ribosome@gentoo.org> -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 <ribosome@gentoo.org> + +maxima-5.9.1-r2.ebuild: + Fixed documentation location problem (#82000). + +*maxima-5.9.1-r1 (28 Dec 2004) + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +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 <cretin@gentoo.org> 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 <cretin@gentoo.org> maxima-5.9.1-r1.ebuild: + Add user submitted emacs install, bug #66135 + + 07 Oct 2004; Patrick Kursawe <phosphan@gentoo.org> 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 <cretin@gentoo.org> maxima-5.9.1.ebuild: + New version bump, fixes bug #53470 + + 25 Aug 2004; Sven Wegener <swegener@gentoo.org> 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 <ribosome@gentoo.org> + 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 <dirk@dirkgerrits.com> in bug #59288. + + 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> maxima-5.9.0-r2.ebuild: + QA - fix use invocation + + 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> maxima-5.9.0-r2.ebuild: + Fix use invocation + + 18 May 2004; Mamoru KOMACHI <usata@gentoo.org> maxima-5.9.0-r2.ebuild: + Changed app-text/tetex to virutal/tetex. + + 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> 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 <mkennedy@gentoo.org> maxima-5.9.0-r2.ebuild: + use cmucl and not cmucl-bin (now masked) + + 21 Sep 2003; Matthew Kennedy <mkennedy@gentoo.org> maxima-5.9.0-r1.ebuild: + depend on virtual/emacs, not app-editors/emacs + + 31 Aug 2003; George Shapovalov <george@gentoo.org> 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 <george@gentoo.org> 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 <george@gentoo.org> 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 <sourav@sourav.net> diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest new file mode 100644 index 000000000..2472e9a06 --- /dev/null +++ b/sci-mathematics/maxima/Manifest @@ -0,0 +1,9 @@ +MD5 7513c5eb7f5dcc73acb15dc334fec660 ChangeLog 6547 +MD5 e0bc896bcdab824eb06e84e2f03a19ad files/50maxima-gentoo.el 626 +MD5 b0b6f0a0adb8e2b019e9a3d9decbcf14 files/digest-maxima-5.9.3 241 +MD5 ac0c8d5019ce779963eb865a3fae115f files/digest-maxima-5.9.3-r1 65 +MD5 19f868e092b9726a4d0371521ebce6ff files/maxima-5.9.3-default-browser.patch 498 +MD5 71f7028fab51b5e5378fd5021ffa1962 files/maxima-5.9.3-emaxima.patch 706 +MD5 55d928e715074355a442baf0934487de files/maxima-emacs.patch 826 +MD5 788cc3ea6d2303e6ddd1b4a1571c1799 maxima-5.9.3-r1.ebuild 3587 +MD5 4a35403530a153ffbf243f8f27d0bf0a metadata.xml 719 diff --git a/sci-mathematics/maxima/files/50maxima-gentoo.el b/sci-mathematics/maxima/files/50maxima-gentoo.el new file mode 100644 index 000000000..9b7151b17 --- /dev/null +++ b/sci-mathematics/maxima/files/50maxima-gentoo.el @@ -0,0 +1,13 @@ +;; maxima mode +(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)) +(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.9.3-r1 b/sci-mathematics/maxima/files/digest-maxima-5.9.3-r1 new file mode 100644 index 000000000..0f253f842 --- /dev/null +++ b/sci-mathematics/maxima/files/digest-maxima-5.9.3-r1 @@ -0,0 +1 @@ +MD5 e6388632d91722bb0607914bdabc72f6 maxima-5.9.3.tar.gz 8629022 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 new file mode 100644 index 000000000..161273889 --- /dev/null +++ b/sci-mathematics/maxima/files/maxima-5.9.3-default-browser.patch @@ -0,0 +1,14 @@ +--- 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 new file mode 100644 index 000000000..992d0b1af --- /dev/null +++ b/sci-mathematics/maxima/files/maxima-5.9.3-emaxima.patch @@ -0,0 +1,13 @@ +--- 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/files/maxima-emacs.patch b/sci-mathematics/maxima/files/maxima-emacs.patch new file mode 100644 index 000000000..1775d82dc --- /dev/null +++ b/sci-mathematics/maxima/files/maxima-emacs.patch @@ -0,0 +1,20 @@ +--- maxima.el~ 2004-07-20 19:18:05.000000000 +0200 ++++ maxima.el 2004-08-03 18:17:47.559653376 +0200 +@@ -50,7 +50,7 @@ + ;; Some variables that may have to be set in order to use the maxima help: + ;; maxima-info-dir + ;; This should be the directory where the maxima info files are kept. +-;; By default, it is "/usr/local/info/" ++;; By default, it is "/usr/share/info/" + ;; maxima-info-index-file + ;; This should be the name of the maxima info file that contains + ;; the index, by default, it is "maxima.info-15" +@@ -213,7 +213,7 @@ + (defvar maxima-newline-style nil + "For compatability.") + +-(defcustom maxima-info-dir "/usr/local/info/" ++(defcustom maxima-info-dir "/usr/share/info/" + "*The directory where the maxima info files are kept." + :group 'maxima + :type '(directory)) diff --git a/sci-mathematics/maxima/maxima-5.9.3-r1.ebuild b/sci-mathematics/maxima/maxima-5.9.3-r1.ebuild new file mode 100644 index 000000000..6550f1fb0 --- /dev/null +++ b/sci-mathematics/maxima/maxima-5.9.3-r1.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2006 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 auctex tcltk 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 ) + tcltk? ( >=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}/${P}-emaxima.patch + # patch to select firefox as def. browswer and add opera as choices + epatch ${FILESDIR}/${P}-default-browser.patch + # replace ugly ghostview with gv + for psfile in $(grep -rl ghostview ${P}/*); 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 tcltk; 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 tcltk && 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 +} diff --git a/sci-mathematics/maxima/metadata.xml b/sci-mathematics/maxima/metadata.xml new file mode 100644 index 000000000..8c2233954 --- /dev/null +++ b/sci-mathematics/maxima/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</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> |