summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-02-17 17:37:56 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-02-17 17:37:56 +0000
commitc982b96bfbe7ff74ec036c52dd314d84e41f28e3 (patch)
tree45ec301cb5eec220b9a78650e000fa705599bc8d /sci-mathematics/maxima
parentmedia-libs/alsa-lib: Fix typo alsa-drivers to alsa-driver (bug #345009) (diff)
downloadgentoo-2-c982b96bfbe7ff74ec036c52dd314d84e41f28e3.tar.gz
gentoo-2-c982b96bfbe7ff74ec036c52dd314d84e41f28e3.tar.bz2
gentoo-2-c982b96bfbe7ff74ec036c52dd314d84e41f28e3.zip
Fix maintainer mode, thanks Francois Bissey, bug #343331. Remove old.
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/maxima')
-rw-r--r--sci-mathematics/maxima/ChangeLog11
-rw-r--r--sci-mathematics/maxima/files/maxima-5.20.1-ecl-10.4.1.patch80
-rw-r--r--sci-mathematics/maxima/files/maxima-5.20.1-emacs-version.patch12
-rw-r--r--sci-mathematics/maxima/files/maxima-5.21.1-emacs-version.patch12
-rw-r--r--sci-mathematics/maxima/files/maxima-5.21.1.patch38
-rw-r--r--sci-mathematics/maxima/files/maxima-5.22.1-emacs-version.patch12
-rw-r--r--sci-mathematics/maxima/files/maxima-5.22.1.patch32
-rw-r--r--sci-mathematics/maxima/files/maxima-clozurecl.patch8
-rw-r--r--sci-mathematics/maxima/maxima-5.19.2.ebuild180
-rw-r--r--sci-mathematics/maxima/maxima-5.20.1-r2.ebuild193
-rw-r--r--sci-mathematics/maxima/maxima-5.21.1-r1.ebuild193
-rw-r--r--sci-mathematics/maxima/maxima-5.22.1.ebuild185
-rw-r--r--sci-mathematics/maxima/maxima-5.23.2.ebuild5
13 files changed, 13 insertions, 948 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog
index a00300cd2fed..498e7c494bba 100644
--- a/sci-mathematics/maxima/ChangeLog
+++ b/sci-mathematics/maxima/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sci-mathematics/maxima
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.85 2011/01/17 18:05:03 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.86 2011/02/17 17:37:56 bicatali Exp $
+
+ 17 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> -maxima-5.19.2.ebuild,
+ -maxima-5.20.1-r2.ebuild, -files/maxima-5.20.1-ecl-10.4.1.patch,
+ -files/maxima-5.20.1-emacs-version.patch, -maxima-5.21.1-r1.ebuild,
+ -files/maxima-5.21.1-emacs-version.patch, -files/maxima-5.21.1.patch,
+ -maxima-5.22.1.ebuild, -files/maxima-5.22.1-emacs-version.patch,
+ -files/maxima-5.22.1.patch, maxima-5.23.2.ebuild,
+ -files/maxima-clozurecl.patch:
+ Fix maintainer mode, thanks Francois Bissey, bug #343331. Remove old.
*maxima-5.23.2 (17 Jan 2011)
diff --git a/sci-mathematics/maxima/files/maxima-5.20.1-ecl-10.4.1.patch b/sci-mathematics/maxima/files/maxima-5.20.1-ecl-10.4.1.patch
deleted file mode 100644
index 9f11b2614ad4..000000000000
--- a/sci-mathematics/maxima/files/maxima-5.20.1-ecl-10.4.1.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-diff -u -r maxima-5.20.1/lisp-utils/defsystem.lisp maxima-5.20.1-patched/lisp-utils/defsystem.lisp
---- maxima-5.20.1/lisp-utils/defsystem.lisp 2009-05-13 10:01:40.000000000 +0200
-+++ maxima-5.20.1-patched/lisp-utils/defsystem.lisp 2010-04-04 16:22:53.000000000 +0200
-@@ -871,6 +871,8 @@
- :cormanlisp
- :scl
- :abcl
-+ :ccl
-+ :ecl
- (and allegro-version>= (version>= 4 1)))
- (eval-when #-(or :lucid)
- (:compile-toplevel :load-toplevel :execute)
-@@ -993,10 +995,10 @@
-
- #+abcl (defpackage make (:use "COMMON-LISP") (:nicknames "MK"))
-
--#+(or clisp cormanlisp ecl (and gcl defpackage) sbcl)
-+#+(or clisp cormanlisp ecl (and gcl defpackage) sbcl ccl)
- (defpackage "MAKE" (:use "COMMON-LISP") (:nicknames "MK"))
-
--#-(or :sbcl :cltl2 :lispworks :ecl :scl :abcl)
-+#-(or :sbcl :cltl2 :lispworks :ecl :scl :abcl :ccl)
- (in-package :make :nicknames '("MK"))
-
- ;;; For CLtL2 compatible lisps...
-@@ -1052,7 +1054,7 @@
- (eval-when (compile load eval)
- (in-package :make))
-
--#+(or ecl abcl)
-+#+(or ecl abcl ccl)
- (in-package :make)
-
- ;;; *** Marco Antoniotti <marcoxa@icsi.berkeley.edu> 19970105
-@@ -4127,9 +4129,9 @@
- (unless *old-require*
- (setf *old-require*
- (symbol-function
-- #-(or (and :excl :allegro-v4.0) :mcl :sbcl :scl :lispworks :abcl) 'lisp:require
-+ #-(or (and :excl :allegro-v4.0) :ecl :mcl :sbcl :scl :lispworks :abcl :openmcl) 'lisp:require
- #+(and :excl :allegro-v4.0) 'cltl1:require
-- #+(or :sbcl :scl) 'cl:require
-+ #+(or :ecl :sbcl :scl) 'cl:require
- #+(or :lispworks3.1 :abcl) 'common-lisp::require
- #+(and :lispworks (not :lispworks3.1)) 'system::require
- #+:openmcl 'cl:require
-@@ -4139,9 +4141,9 @@
- (unless *dont-redefine-require*
- (let (#+(or :mcl (and :CCL (not :lispworks)))
- (ccl:*warn-if-redefine-kernel* nil))
-- #-(or (and allegro-version>= (version>= 4 1)) :lispworks)
-+ #-(or :ecl (and allegro-version>= (version>= 4 1)) :lispworks)
- (setf (symbol-function
-- #-(or (and :excl :allegro-v4.0) :mcl :sbcl :scl :lispworks :abcl) 'lisp:require
-+ #-(or (and :excl :allegro-v4.0) :mcl :sbcl :scl :lispworks :abcl :openmcl) 'lisp:require
- #+(and :excl :allegro-v4.0) 'cltl1:require
- #+(or :lispworks3.1 :abcl) 'common-lisp::require
- #+(or :sbcl :scl) 'cl:require
-@@ -4150,6 +4152,12 @@
- #+(and :mcl (not :openmcl)) 'ccl:require
- )
- (symbol-function 'new-require))
-+ #+:ecl
-+ (progn
-+ (ext:package-lock "CL" nil)
-+ (setf (symbol-function 'lisp:require)
-+ (symbol-function 'new-require))
-+ (ext:package-lock "CL" t))
- #+:lispworks
- (let ((warn-packs system::*packages-for-warn-on-redefinition*))
- (declare (special system::*packages-for-warn-on-redefinition*))
-diff -u -r maxima-5.20.1/src/ecl-port.lisp maxima-5.20.1-patched/src/ecl-port.lisp
---- maxima-5.20.1/src/ecl-port.lisp 2008-08-10 21:18:07.000000000 +0200
-+++ maxima-5.20.1-patched/src/ecl-port.lisp 2010-04-04 16:23:02.000000000 +0200
-@@ -21,3 +21,5 @@
-
- (si::trap-fpe 'floating-point-underflow nil)
-
-+(ext:package-lock "CL" nil)
-+
diff --git a/sci-mathematics/maxima/files/maxima-5.20.1-emacs-version.patch b/sci-mathematics/maxima/files/maxima-5.20.1-emacs-version.patch
deleted file mode 100644
index d0ab0a5e768d..000000000000
--- a/sci-mathematics/maxima/files/maxima-5.20.1-emacs-version.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-http://bugs.gentoo.org/307349
-
---- maxima-5.20.1-orig/interfaces/emacs/emaxima/maxima.el
-+++ maxima-5.20.1/interfaces/emacs/emaxima/maxima.el
-@@ -2109,6 +2109,7 @@
- ;;; The next functions are from comint.el in cvs emacs
- (if (and
- (not maxima-running-xemacs)
-+ (<= emacs-major-version 21)
- (or
- (< emacs-major-version 21)
- (< emacs-minor-version 3)))
diff --git a/sci-mathematics/maxima/files/maxima-5.21.1-emacs-version.patch b/sci-mathematics/maxima/files/maxima-5.21.1-emacs-version.patch
deleted file mode 100644
index d0ab0a5e768d..000000000000
--- a/sci-mathematics/maxima/files/maxima-5.21.1-emacs-version.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-http://bugs.gentoo.org/307349
-
---- maxima-5.20.1-orig/interfaces/emacs/emaxima/maxima.el
-+++ maxima-5.20.1/interfaces/emacs/emaxima/maxima.el
-@@ -2109,6 +2109,7 @@
- ;;; The next functions are from comint.el in cvs emacs
- (if (and
- (not maxima-running-xemacs)
-+ (<= emacs-major-version 21)
- (or
- (< emacs-major-version 21)
- (< emacs-minor-version 3)))
diff --git a/sci-mathematics/maxima/files/maxima-5.21.1.patch b/sci-mathematics/maxima/files/maxima-5.21.1.patch
deleted file mode 100644
index 189fbb97ae33..000000000000
--- a/sci-mathematics/maxima/files/maxima-5.21.1.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -r -U1 maxima-5.21.1.orig/configure maxima-5.21.1/configure
---- maxima-5.21.1.orig/configure 2010-04-24 18:34:21.000000000 +0200
-+++ maxima-5.21.1/configure 2010-04-27 03:37:50.000000000 +0200
-@@ -2560,3 +2560,3 @@
-
--openmcl_default_name=openmcl
-+openmcl_default_name=ccl
- # Check whether --enable-openmcl or --disable-openmcl was given.
-diff -r -U1 maxima-5.21.1.orig/src/maxima.in maxima-5.21.1/src/maxima.in
---- maxima-5.21.1.orig/src/maxima.in 2009-07-13 17:25:25.000000000 +0200
-+++ maxima-5.21.1/src/maxima.in 2010-04-27 03:36:24.000000000 +0200
-@@ -131,5 +131,5 @@
- if [ "$layout_autotools" = "true" ]; then
-- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- else
-- exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- fi
-@@ -137,5 +137,5 @@
- if [ "$layout_autotools" = "true" ]; then
-- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" $MAXIMA_LISP_OPTIONS -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- else
-- exec "@CMUCL_NAME@" $MAXIMA_LISP_OPTIONS -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "@CMUCL_NAME@" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- fi
-@@ -156,3 +156,3 @@
- # in the function get-application-args in command-line.lisp
-- exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS -e "(let\* ((\*read-default-float-format\* 'double-float)) (cl-user::run))" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- elif [ "$MAXIMA_LISP" = "ecl" ]; then
-@@ -160,3 +160,3 @@
- elif [ "$MAXIMA_LISP" = "sbcl" ]; then
-- exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- else
-ôÏÌØËÏ × maxima-5.21.1/src: maxima.in.orig
diff --git a/sci-mathematics/maxima/files/maxima-5.22.1-emacs-version.patch b/sci-mathematics/maxima/files/maxima-5.22.1-emacs-version.patch
deleted file mode 100644
index d0ab0a5e768d..000000000000
--- a/sci-mathematics/maxima/files/maxima-5.22.1-emacs-version.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-http://bugs.gentoo.org/307349
-
---- maxima-5.20.1-orig/interfaces/emacs/emaxima/maxima.el
-+++ maxima-5.20.1/interfaces/emacs/emaxima/maxima.el
-@@ -2109,6 +2109,7 @@
- ;;; The next functions are from comint.el in cvs emacs
- (if (and
- (not maxima-running-xemacs)
-+ (<= emacs-major-version 21)
- (or
- (< emacs-major-version 21)
- (< emacs-minor-version 3)))
diff --git a/sci-mathematics/maxima/files/maxima-5.22.1.patch b/sci-mathematics/maxima/files/maxima-5.22.1.patch
deleted file mode 100644
index 9f6920a0b3b7..000000000000
--- a/sci-mathematics/maxima/files/maxima-5.22.1.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -U1 -r maxima-5.22.1.orig//configure.in maxima-5.22.1//configure.in
---- maxima-5.22.1.orig//configure.in 2010-08-12 10:21:49.000000000 +0700
-+++ maxima-5.22.1//configure.in 2010-09-17 23:20:49.000000000 +0700
-@@ -276,3 +276,3 @@
- dnl n.b. openmcl_default_name is hardcoded in "with" message
--openmcl_default_name=openmcl
-+openmcl_default_name=ccl
- AC_ARG_ENABLE(openmcl,[ --enable-openmcl Use OpenMCL],
-diff -U1 -r maxima-5.22.1.orig//src/maxima.in maxima-5.22.1//src/maxima.in
---- maxima-5.22.1.orig//src/maxima.in 2010-08-01 23:58:57.000000000 +0700
-+++ maxima-5.22.1//src/maxima.in 2010-09-17 23:10:40.000000000 +0700
-@@ -137,5 +137,5 @@
- if [ "$layout_autotools" = "true" ]; then
-- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- else
-- exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- fi
-@@ -143,5 +143,5 @@
- if [ "$layout_autotools" = "true" ]; then
-- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" $MAXIMA_LISP_OPTIONS -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- else
-- exec "@CMUCL_NAME@" $MAXIMA_LISP_OPTIONS -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "@CMUCL_NAME@" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- fi
-@@ -166,3 +166,3 @@
- elif [ "$MAXIMA_LISP" = "sbcl" ]; then
-- exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+ exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- else
diff --git a/sci-mathematics/maxima/files/maxima-clozurecl.patch b/sci-mathematics/maxima/files/maxima-clozurecl.patch
deleted file mode 100644
index 79cdb7a82d33..000000000000
--- a/sci-mathematics/maxima/files/maxima-clozurecl.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff -r -U1 maxima-5.20.1.orig/configure maxima-5.20.1/configure
---- maxima-5.20.1.orig/configure 2009-12-14 09:20:43.000000000 +0600
-+++ maxima-5.20.1/configure 2009-12-17 23:00:13.000000000 +0600
-@@ -2560,3 +2560,3 @@
-
--openmcl_default_name=openmcl
-+openmcl_default_name=ccl
- # Check whether --enable-openmcl or --disable-openmcl was given.
diff --git a/sci-mathematics/maxima/maxima-5.19.2.ebuild b/sci-mathematics/maxima/maxima-5.19.2.ebuild
deleted file mode 100644
index 4e8a3790b6da..000000000000
--- a/sci-mathematics/maxima/maxima-5.19.2.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.19.2.ebuild,v 1.2 2010/01/14 01:00:04 bicatali Exp $
-EAPI=2
-inherit eutils elisp-common
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-
-# Supported lisps with readline
-SUPP_RL="gcl clisp"
-# Supported lisps without readline
-SUPP_NORL="cmucl sbcl ecl"
-SUPP_LISPS="${SUPP_RL} ${SUPP_NORL}"
-# Default lisp if none selected
-DEF_LISP="sbcl"
-
-IUSE="latex emacs tk nls unicode xemacs X ${SUPP_LISPS} ${IUSE}"
-
-# Languages
-LANGS="es pt pt_BR"
-for lang in ${LANGS}; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND="X? ( x11-misc/xdg-utils
- sci-visualization/gnuplot[gd]
- tk? ( dev-lang/tk ) )
- latex? ( virtual/latex-base )
- emacs? ( virtual/emacs
- latex? ( app-emacs/auctex ) )
- xemacs? ( app-editors/xemacs
- latex? ( app-emacs/auctex ) )"
-
-PDEPEND="emacs? ( app-emacs/imaxima )"
-
-# create lisp dependencies
-for LISP in ${SUPP_LISPS}; do
- if [ "${LISP}" = "gcl" ]
- then
- RDEPEND="${RDEPEND} gcl? ( >=dev-lisp/gcl-2.6.8_pre[ansi] )"
- else if [ "${LISP}" = "ecl" ]
- then
- RDEPEND="${RDEPEND} ecl? ( >=dev-lisp/ecls-9.8.3 )"
- else
- RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP} )"
- fi
- fi
- DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-DEF_DEP="${DEF_DEP} dev-lisp/${DEF_LISP}"
-for LISP in ${SUPP_NORL}; do
- RDEPEND="${RDEPEND} ${LISP}? ( app-misc/rlwrap )"
- [[ ${LISP} = ${DEF_LISP} ]] && \
- DEF_DEP="${DEF_DEP} app-misc/rlwrap"
-done
-for LISP in ${SUPP_LISPS}; do
- DEF_DEP="${DEF_DEP} )"
-done
-
-RDEPEND="${RDEPEND}
- ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
- sys-apps/texinfo"
-
-TEXMF=/usr/share/texmf-site
-NO_INIT_PATCH_PV="5.19.1"
-
-pkg_setup() {
- LISPS=""
-
- for LISP in ${SUPP_LISPS}; do
- use ${LISP} && LISPS="${LISPS} ${LISP}"
- done
-
- RL=""
-
- for LISP in ${SUPP_NORL}; do
- use ${LISP} && RL="yes"
- done
-
- if [ -z "${LISPS}" ]; then
- ewarn "No lisp specified in USE flags, choosing ${DEF_LISP} as default"
- LISPS="${DEF_LISP}"
- RL="yes"
- fi
-}
-
-src_prepare() {
- # use xdg-open to view ps, pdf
- epatch "${FILESDIR}"/${PN}-xdg-utils.patch
- epatch "${FILESDIR}"/${PN}-${NO_INIT_PATCH_PV}-no-init-files.patch
- # remove rmaxima if neither cmucl nor sbcl
- if [ -z "${RL}" ]; then
- sed -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' \
- -i "${S}"/src/Makefile.in \
- || die "sed for rmaxima failed"
- fi
- # don't install imaxima, since we have a separate package for it
- sed -i -e '/^SUBDIRS/s/imaxima//' interfaces/emacs/Makefile.in \
- || die "sed for imaxima failed"
-}
-
-src_configure() {
- local myconf=""
- for LISP in ${LISPS}; do
- myconf="${myconf} --enable-${LISP}"
- done
-
- # remove xmaxima if no tk
- if use tk; then
- myconf="${myconf} --with-wish=wish"
- else
- myconf="${myconf} --with-wish=none"
- sed -i \
- -e '/^SUBDIRS/s/xmaxima//' \
- interfaces/Makefile.in || die "sed for tk failed"
- fi
-
- # enable existing translated doc
- if use nls; then
- for lang in ${LANGS}; do
- if use "linguas_${lang}"; then
- myconf="${myconf} --enable-lang-${lang}"
- use unicode && myconf="${myconf} --enable-lang-${lang}-utf8"
- fi
- done
- fi
-
- econf ${myconf}
-}
-
-src_install() {
- einstall emacsdir="${D}${SITELISP}/${PN}" || die "einstall failed"
-
- use tk && make_desktop_entry xmaxima xmaxima \
- /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
- "Science;Math;Education"
-
- if use latex; then
- insinto ${TEXMF}/tex/latex/emaxima
- doins interfaces/emacs/emaxima/emaxima.sty
- fi
-
- # do not use dodoc because interfaces can't read compressed files
- # read COPYING before attempt to remove it from dodoc
- insinto /usr/share/${PN}/${PV}/doc
- doins AUTHORS COPYING README README.lisps || die
- dodir /usr/share/doc
- dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
-
- if use emacs; then
- elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
- fi
-}
-
-pkg_preinst() {
- # some lisps do not read compress info files (bug #176411)
- for infofile in "${D}"/usr/share/info/*.bz2 ; do
- bunzip2 "${infofile}"
- done
- for infofile in "${D}"/usr/share/info/*.gz ; do
- gunzip "${infofile}"
- done
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
- use latex && mktexlsr
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/sci-mathematics/maxima/maxima-5.20.1-r2.ebuild b/sci-mathematics/maxima/maxima-5.20.1-r2.ebuild
deleted file mode 100644
index 362c2e7d1f11..000000000000
--- a/sci-mathematics/maxima/maxima-5.20.1-r2.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.20.1-r2.ebuild,v 1.2 2010/10/31 19:17:41 grobian Exp $
-EAPI=3
-inherit eutils elisp-common
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps with readline
-SUPP_RL="gcl clisp"
-# Supported lisps without readline
-SUPP_NORL="cmucl sbcl ecl openmcl"
-SUPP_LISPS="${SUPP_RL} ${SUPP_NORL}"
-# Default lisp if none selected
-DEF_LISP="sbcl"
-
-IUSE="latex emacs tk nls unicode xemacs X ${SUPP_LISPS} ${IUSE}"
-
-# Languages
-LANGS="es pt pt_BR"
-for lang in ${LANGS}; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND="X? ( x11-misc/xdg-utils
- sci-visualization/gnuplot[gd]
- tk? ( dev-lang/tk ) )
- latex? ( virtual/latex-base )
- emacs? ( virtual/emacs
- latex? ( app-emacs/auctex ) )
- xemacs? ( app-editors/xemacs
- latex? ( app-emacs/auctex ) )"
-
-PDEPEND="emacs? ( app-emacs/imaxima )"
-
-# create lisp dependencies
-for LISP in ${SUPP_LISPS}; do
- if [ "${LISP}" = "gcl" ]
- then
- RDEPEND="${RDEPEND} gcl? ( >=dev-lisp/gcl-2.6.8_pre[ansi] )"
- else if [ "${LISP}" = "ecl" ]
- then
- RDEPEND="${RDEPEND} ecl? ( >=dev-lisp/ecls-10.4.1 )"
- else if [ "${LISP}" = "openmcl" ]
- then
- RDEPEND="${RDEPEND} openmcl? ( dev-lisp/clozurecl )"
- else
- RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP} )"
- fi
- fi
- fi
- DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-DEF_DEP="${DEF_DEP} dev-lisp/${DEF_LISP}"
-for LISP in ${SUPP_NORL}; do
- RDEPEND="${RDEPEND} ${LISP}? ( app-misc/rlwrap )"
- [[ ${LISP} = ${DEF_LISP} ]] && \
- DEF_DEP="${DEF_DEP} app-misc/rlwrap"
-done
-for LISP in ${SUPP_LISPS}; do
- DEF_DEP="${DEF_DEP} )"
-done
-
-RDEPEND="${RDEPEND}
- ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
- sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-NO_INIT_PATCH_PV="5.19.1"
-
-pkg_setup() {
- LISPS=""
-
- for LISP in ${SUPP_LISPS}; do
- use ${LISP} && LISPS="${LISPS} ${LISP}"
- done
-
- RL=""
-
- for LISP in ${SUPP_NORL}; do
- use ${LISP} && RL="yes"
- done
-
- if [ -z "${LISPS}" ]; then
- ewarn "No lisp specified in USE flags, choosing ${DEF_LISP} as default"
- LISPS="${DEF_LISP}"
- RL="yes"
- fi
-}
-
-src_prepare() {
- # use xdg-open to view ps, pdf
- epatch "${FILESDIR}"/${PN}-xdg-utils.patch
-
- epatch "${FILESDIR}"/${PN}-${NO_INIT_PATCH_PV}-no-init-files.patch
-
- # ClozureCL executable name is now ccl
- epatch "${FILESDIR}"/${PN}-clozurecl.patch
-
- # see http://osdir.com/ml/sage-devel/2010-04/msg00077.html
- epatch "${FILESDIR}"/${P}-ecl-10.4.1.patch
-
- epatch "${FILESDIR}"/${P}-emacs-version.patch
-
- # remove rmaxima if not needed
- if [ -z "${RL}" ]; then
- sed -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' \
- -i "${S}"/src/Makefile.in \
- || die "sed for rmaxima failed"
- fi
-
- # don't install imaxima, since we have a separate package for it
- sed -i -e '/^SUBDIRS/s/imaxima//' interfaces/emacs/Makefile.in \
- || die "sed for imaxima failed"
-}
-
-src_configure() {
- local myconf=""
- for LISP in ${LISPS}; do
- myconf="${myconf} --enable-${LISP}"
- done
-
- # remove xmaxima if no tk
- if use tk; then
- myconf="${myconf} --with-wish=wish"
- else
- myconf="${myconf} --with-wish=none"
- sed -i \
- -e '/^SUBDIRS/s/xmaxima//' \
- interfaces/Makefile.in || die "sed for tk failed"
- fi
-
- # enable existing translated doc
- if use nls; then
- for lang in ${LANGS}; do
- if use "linguas_${lang}"; then
- myconf="${myconf} --enable-lang-${lang}"
- use unicode && myconf="${myconf} --enable-lang-${lang}-utf8"
- fi
- done
- fi
-
- econf ${myconf} --with-lispdir="${SITELISP}/${PN}"
-}
-
-src_install() {
- einstall emacsdir="${ED}${SITELISP}/${PN}" || die "einstall failed"
-
- use tk && make_desktop_entry xmaxima xmaxima \
- /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
- "Science;Math;Education"
-
- if use latex; then
- insinto ${TEXMF}/tex/latex/emaxima
- doins interfaces/emacs/emaxima/emaxima.sty
- fi
-
- # do not use dodoc because interfaces can't read compressed files
- # read COPYING before attempt to remove it from dodoc
- insinto /usr/share/${PN}/${PV}/doc
- doins AUTHORS COPYING README README.lisps || die
- dodir /usr/share/doc
- dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
-
- if use emacs; then
- elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
- fi
-}
-
-pkg_preinst() {
- # some lisps do not read compress info files (bug #176411)
- for infofile in "${ED}"/usr/share/info/*.bz2 ; do
- bunzip2 "${infofile}"
- done
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
- use latex && mktexlsr
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- use latex && mktexlsr
-}
diff --git a/sci-mathematics/maxima/maxima-5.21.1-r1.ebuild b/sci-mathematics/maxima/maxima-5.21.1-r1.ebuild
deleted file mode 100644
index 3ef8dcfb9eff..000000000000
--- a/sci-mathematics/maxima/maxima-5.21.1-r1.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.21.1-r1.ebuild,v 1.3 2010/09/14 17:26:32 bicatali Exp $
-
-EAPI=3
-
-inherit eutils elisp-common
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps with readline
-SUPP_RL="gcl clisp"
-# Supported lisps without readline
-SUPP_NORL="cmucl sbcl ecl openmcl"
-SUPP_LISPS="${SUPP_RL} ${SUPP_NORL}"
-# Default lisp if none selected
-DEF_LISP="sbcl"
-
-IUSE="latex emacs tk nls unicode xemacs X ${SUPP_LISPS} ${IUSE}"
-
-# Languages
-LANGS="es pt pt_BR"
-for lang in ${LANGS}; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND="X? ( x11-misc/xdg-utils
- sci-visualization/gnuplot[gd]
- tk? ( dev-lang/tk ) )
- latex? ( virtual/latex-base )
- emacs? ( virtual/emacs
- latex? ( app-emacs/auctex ) )
- xemacs? ( app-editors/xemacs
- latex? ( app-emacs/auctex ) )"
-
-PDEPEND="emacs? ( app-emacs/imaxima )"
-
-# create lisp dependencies
-for LISP in ${SUPP_LISPS}; do
- if [ "${LISP}" = "gcl" ]
- then
- RDEPEND="${RDEPEND} gcl? ( >=dev-lisp/gcl-2.6.8_pre[ansi] )"
- else if [ "${LISP}" = "ecl" ]
- then
- RDEPEND="${RDEPEND} ecl? ( >=dev-lisp/ecls-10.4.1 )"
- else if [ "${LISP}" = "openmcl" ]
- then
- RDEPEND="${RDEPEND} openmcl? ( dev-lisp/clozurecl )"
- else
- RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP} )"
- fi
- fi
- fi
- DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-DEF_DEP="${DEF_DEP} dev-lisp/${DEF_LISP}"
-for LISP in ${SUPP_NORL}; do
- RDEPEND="${RDEPEND} ${LISP}? ( app-misc/rlwrap )"
- [[ ${LISP} = ${DEF_LISP} ]] && \
- DEF_DEP="${DEF_DEP} app-misc/rlwrap"
-done
-for LISP in ${SUPP_LISPS}; do
- DEF_DEP="${DEF_DEP} )"
-done
-
-RDEPEND="${RDEPEND}
- ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
- sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-NO_INIT_PATCH_PV="5.19.1"
-
-pkg_setup() {
- LISPS=""
-
- for LISP in ${SUPP_LISPS}; do
- use ${LISP} && LISPS="${LISPS} ${LISP}"
- done
-
- RL=""
-
- for LISP in ${SUPP_NORL}; do
- use ${LISP} && RL="yes"
- done
-
- if [ -z "${LISPS}" ]; then
- ewarn "No lisp specified in USE flags, choosing ${DEF_LISP} as default"
- LISPS="${DEF_LISP}"
- RL="yes"
- fi
-}
-
-src_prepare() {
- # use xdg-open to view ps, pdf
- epatch "${FILESDIR}"/${PN}-xdg-utils.patch
-
- # Don't use lisp init files
- # ClozureCL executable name is now ccl
- # *read-default-float-format* is now bound per-thread
- # and isn't saved in a heap image
- epatch "${FILESDIR}"/${P}.patch
-
- epatch "${FILESDIR}"/${P}-emacs-version.patch
-
- # remove rmaxima if not needed
- if [ -z "${RL}" ]; then
- sed -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' \
- -i "${S}"/src/Makefile.in \
- || die "sed for rmaxima failed"
- fi
-
- # don't install imaxima, since we have a separate package for it
- sed -i -e '/^SUBDIRS/s/imaxima//' interfaces/emacs/Makefile.in \
- || die "sed for imaxima failed"
-}
-
-src_configure() {
- local myconf=""
- for LISP in ${LISPS}; do
- myconf="${myconf} --enable-${LISP}"
- done
-
- # remove xmaxima if no tk
- if use tk; then
- myconf="${myconf} --with-wish=wish"
- else
- myconf="${myconf} --with-wish=none"
- sed -i \
- -e '/^SUBDIRS/s/xmaxima//' \
- interfaces/Makefile.in || die "sed for tk failed"
- fi
-
- # enable existing translated doc
- if use nls; then
- for lang in ${LANGS}; do
- if use "linguas_${lang}"; then
- myconf="${myconf} --enable-lang-${lang}"
- use unicode && myconf="${myconf} --enable-lang-${lang}-utf8"
- fi
- done
- fi
-
- econf ${myconf} --with-lispdir="${SITELISP}/${PN}"
-}
-
-src_install() {
- einstall emacsdir="${ED}${SITELISP}/${PN}" || die "einstall failed"
-
- use tk && make_desktop_entry xmaxima xmaxima \
- /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
- "Science;Math;Education"
-
- if use latex; then
- insinto ${TEXMF}/tex/latex/emaxima
- doins interfaces/emacs/emaxima/emaxima.sty
- fi
-
- # do not use dodoc because interfaces can't read compressed files
- # read COPYING before attempt to remove it from dodoc
- insinto /usr/share/${PN}/${PV}/doc
- doins AUTHORS COPYING README README.lisps || die
- dodir /usr/share/doc
- dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
-
- if use emacs; then
- elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
- fi
-}
-
-pkg_preinst() {
- # some lisps do not read compress info files (bug #176411)
- for infofile in "${ED}"/usr/share/info/*.bz2 ; do
- bunzip2 "${infofile}"
- done
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
- use latex && mktexlsr
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- use latex && mktexlsr
-}
diff --git a/sci-mathematics/maxima/maxima-5.22.1.ebuild b/sci-mathematics/maxima/maxima-5.22.1.ebuild
deleted file mode 100644
index a3b564aa36bc..000000000000
--- a/sci-mathematics/maxima/maxima-5.22.1.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.22.1.ebuild,v 1.1 2010/09/17 11:23:55 grozin Exp $
-
-EAPI=3
-
-inherit autotools elisp-common
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps (the first one is the default)
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-# . - just dev-lisp/<lisp>, <version> - >= dev-lisp/<lisp>-<version>
-MIN_VER=( . . 2.6.8_pre[ansi] 10 . . )
-# <lisp> supports readline: . - no, y - yes
-SUPP_RL=( . . y . . y )
-# . - just --enable-<lisp>, <flag> - --enable-<flag>
-CONF_FLAG=( . . . ecl ccl . )
-
-IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
-
-# Languages
-LANGS="es pt pt_BR"
-for lang in ${LANGS}; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND="X? ( x11-misc/xdg-utils
- sci-visualization/gnuplot[gd]
- tk? ( dev-lang/tk ) )
- latex? ( virtual/latex-base )
- emacs? ( virtual/emacs
- latex? ( app-emacs/auctex ) )
- xemacs? ( app-editors/xemacs
- latex? ( app-emacs/auctex ) )"
-
-PDEPEND="emacs? ( app-emacs/imaxima )"
-
-# generating lisp dependencies
-depends() {
- local LISP DEP
- LISP=${LISPS[$1]}
- DEP=${MIN_VER[$1]}
- if [ "${DEP}" = "." ]; then
- DEP="dev-lisp/${LISP}"
- else
- DEP=">=dev-lisp/${LISP}-${DEP}"
- fi
- if [ "${SUPP_RL[$1]}" = "." ]; then
- DEP="${DEP} app-misc/rlwrap"
- fi
- echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
- LISP=${LISPS[${n}]}
- RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
- if (( ${n} > 0 )); then
- DEF_DEP="${DEF_DEP} !${LISP}? ( "
- fi
-done
-
-DEF_DEP="${DEF_DEP} `depends 0`"
-
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
- DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
- ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
- sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
- local n=${#LISPS[*]}
-
- for ((n--; n >= 0; n--)); do
- use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
- done
-
- if [ -z "${NLISPS}" ]; then
- ewarn "No lisp specified in USE flags, choosing ${LISPS[0]} as default"
- NLISPS=0
- fi
-}
-
-src_prepare() {
- # use xdg-open to view ps, pdf
- epatch "${FILESDIR}"/${PN}-xdg-utils.patch
-
- # Don't use lisp init files
- # ClozureCL (former OpenMCL) executable name is ccl
- epatch "${FILESDIR}"/${P}.patch
-
- # make xmaxima conditional on tk (wish)
- epatch "${FILESDIR}"/${PN}-wish.patch
-
- # don't install imaxima, since we have a separate package for it
- epatch "${FILESDIR}"/${PN}-imaxima.patch
-
- # remove rmaxima if not needed
- epatch "${FILESDIR}/${PN}-rmaxima.patch"
-
- epatch "${FILESDIR}"/${P}-emacs-version.patch
-
- eautoreconf
-}
-
-src_configure() {
- local CONFS CONF n lang
- for n in ${NLISPS}; do
- CONF=${CONF_FLAG[${n}]}
- if [ ${CONF} = . ]; then
- CONF=${LISPS[${n}]}
- fi
- CONFS="${CONFS} --enable-${CONF}"
- done
-
- # enable existing translated doc
- if use nls; then
- for lang in ${LANGS}; do
- if use "linguas_${lang}"; then
- CONFS="${CONFS} --enable-lang-${lang}"
- use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8"
- fi
- done
- fi
-
- econf ${CONFS} $(use_with tk wish) --with-lispdir="${SITELISP}"/${PN}
-}
-
-src_install() {
- einstall emacsdir="${ED}${SITELISP}/${PN}" || die "einstall failed"
-
- use tk && make_desktop_entry xmaxima xmaxima \
- /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
- "Science;Math;Education"
-
- if use latex; then
- insinto ${TEXMF}/tex/latex/emaxima
- doins interfaces/emacs/emaxima/emaxima.sty
- fi
-
- # do not use dodoc because interfaces can't read compressed files
- # read COPYING before attempt to remove it from dodoc
- insinto /usr/share/${PN}/${PV}/doc
- doins AUTHORS COPYING README README.lisps || die
- dodir /usr/share/doc
- dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
-
- if use emacs; then
- elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
- fi
-}
-
-pkg_preinst() {
- # some lisps do not read compress info files (bug #176411)
- local infofile
- for infofile in "${ED}"/usr/share/info/*.bz2 ; do
- bunzip2 "${infofile}"
- done
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
- use latex && mktexlsr
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- use latex && mktexlsr
-}
diff --git a/sci-mathematics/maxima/maxima-5.23.2.ebuild b/sci-mathematics/maxima/maxima-5.23.2.ebuild
index 81825808c8bc..c7486ca365c1 100644
--- a/sci-mathematics/maxima/maxima-5.23.2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.23.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.23.2.ebuild,v 1.1 2011/01/17 18:05:03 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.23.2.ebuild,v 1.2 2011/02/17 17:37:56 bicatali Exp $
EAPI=3
@@ -115,7 +115,8 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-rmaxima.patch
epatch "${FILESDIR}"/${P}-emacs-version.patch
-
+ # bug #343331
+ rm share/Makefile.in || die
eautoreconf
}