diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-10-08 10:13:30 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-10-08 10:13:30 +0000 |
commit | 3a75b07ea423e9079a7cf5970fd2f6159ff26177 (patch) | |
tree | 44dee1f2f904fa93ee4541d6707bd72493b80dbd /sci-mathematics | |
parent | Stable on ppc64 (diff) | |
download | historical-3a75b07ea423e9079a7cf5970fd2f6159ff26177.tar.gz historical-3a75b07ea423e9079a7cf5970fd2f6159ff26177.tar.bz2 historical-3a75b07ea423e9079a7cf5970fd2f6159ff26177.zip |
Fixed emacs load path, thanks to ulm (bug #195043). Removed old versions.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/maxima/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/maxima/Manifest | 37 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/digest-maxima-5.11.0-r2 | 3 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/digest-maxima-5.13.0 | 3 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-5.11.0-diff_form.patch | 9 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/maxima-5.11.0-xdg-utils.patch | 49 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.11.0-r2.ebuild | 175 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.13.0.ebuild | 180 |
8 files changed, 14 insertions, 450 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog index 45c16572087e..ec7f6266f17a 100644 --- a/sci-mathematics/maxima/ChangeLog +++ b/sci-mathematics/maxima/ChangeLog @@ -1,6 +1,12 @@ # 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.37 2007/10/06 14:02:41 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.38 2007/10/08 10:13:29 bicatali Exp $ + + 08 Oct 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> + -files/maxima-5.11.0-diff_form.patch, + -files/maxima-5.11.0-xdg-utils.patch, -maxima-5.11.0-r2.ebuild, + -maxima-5.13.0.ebuild: + Fixed emacs load path, thanks to ulm (bug #195043). Removed old versions. *maxima-5.13.0-r1 (06 Oct 2007) diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index aabae663763f..87b49b324aa4 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -5,14 +5,6 @@ AUX 50maxima-gentoo.el 600 RMD160 c45cc012987d2a74670ad9aac2b019a1233bd151 SHA1 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 AUX maxima-5.13.0-xdg-utils.patch 1338 RMD160 17ef40d37ff6cc4e0073ef55b8df8c23d6990949 SHA1 660da49ca61fdc7b84339094985f70bb1e5f7001 SHA256 77bd288ebb496689b97955431317ba23d8dc67f6655330194974c0efbba087a0 MD5 8ca529e492f36715ca281a1a6df75849 files/maxima-5.13.0-xdg-utils.patch 1338 RMD160 17ef40d37ff6cc4e0073ef55b8df8c23d6990949 files/maxima-5.13.0-xdg-utils.patch 1338 @@ -21,39 +13,24 @@ 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.11.0.tar.gz 13924132 RMD160 8f7fb1b8bc7438ffdc393a0eb0f86b5efa79ef3e SHA1 e9bcdbefe4dc23b83e4d30d52833f597d9cd3340 SHA256 7a7259123bd81a7de3609c7e59b561d49e2710a8f7117c42f373afdd6a6786ac DIST maxima-5.13.0.tar.gz 19216173 RMD160 2ec91678f8c6a6f863d6ba448f299793e52c822a SHA1 caac53226fa251a22b577c2f76dc171913e71323 SHA256 9625e09785f88f738faf40ad64889acd17328e043c39ef5ad56f3172d76af187 DIST maxima-5.9.1.tar.gz 8093534 RMD160 26940d11d6cba4125319a3c83234964af81e4603 SHA1 87dcf337f3f628ae78ef6bfaed694e98ad26f207 SHA256 fd402f2d13f6e03ac30c59e333aeb6f4993fa43fbf44cb1b36deba447d5cb2a4 -EBUILD maxima-5.11.0-r2.ebuild 5224 RMD160 5c818c91d34191f46d0bf0132bff2caacf480f58 SHA1 eb5da7020a2b6c4c18724904190e6c84a853f43e SHA256 1013bdc9df10b895dbed820013e18f6d52636f39027224a7e17239fa277a41e5 -MD5 0b8dce2d4c1e5b477b07b0d439e09b04 maxima-5.11.0-r2.ebuild 5224 -RMD160 5c818c91d34191f46d0bf0132bff2caacf480f58 maxima-5.11.0-r2.ebuild 5224 -SHA256 1013bdc9df10b895dbed820013e18f6d52636f39027224a7e17239fa277a41e5 maxima-5.11.0-r2.ebuild 5224 EBUILD maxima-5.13.0-r1.ebuild 5364 RMD160 7525347afcb3ea1c528b9129f3010886b62df617 SHA1 0cc8ae86d5eccd01b6282e34f764e20b1d97d4b1 SHA256 01af755f74a489e4f73022fa924e018accf77b920d422d4ff0074cae8076f8e8 MD5 e2c2ec1783b4e38817382eb96828d1c6 maxima-5.13.0-r1.ebuild 5364 RMD160 7525347afcb3ea1c528b9129f3010886b62df617 maxima-5.13.0-r1.ebuild 5364 SHA256 01af755f74a489e4f73022fa924e018accf77b920d422d4ff0074cae8076f8e8 maxima-5.13.0-r1.ebuild 5364 -EBUILD maxima-5.13.0.ebuild 5443 RMD160 ab92f15fa9193a6caadfffae1e133abf5764c848 SHA1 2790d1cde54dc4c6dfa7bd73cc205d1d3078997f SHA256 68625a42225620740e9adfb4026962d4e236691a49fd5b6a11fd02e00bed8764 -MD5 f6613fa3236d4130d70dfb2099cdf2bb maxima-5.13.0.ebuild 5443 -RMD160 ab92f15fa9193a6caadfffae1e133abf5764c848 maxima-5.13.0.ebuild 5443 -SHA256 68625a42225620740e9adfb4026962d4e236691a49fd5b6a11fd02e00bed8764 maxima-5.13.0.ebuild 5443 EBUILD maxima-5.9.1.ebuild 2587 RMD160 2a0eb043f7a62a9c9f7fb88691df18cbf4cca663 SHA1 506a95b8edde59d80b820ec270e5a1332a8737f5 SHA256 06686d8d425575df0998727e59373215e10f732595452ab6a76af228925f5da5 MD5 c3060fe6f3d8e9936f7167f10ea35369 maxima-5.9.1.ebuild 2587 RMD160 2a0eb043f7a62a9c9f7fb88691df18cbf4cca663 maxima-5.9.1.ebuild 2587 SHA256 06686d8d425575df0998727e59373215e10f732595452ab6a76af228925f5da5 maxima-5.9.1.ebuild 2587 -MISC ChangeLog 10715 RMD160 0a8d2d6dbeeddadb6c004c03b1430a79dd72fda9 SHA1 951f46c1f677172ade3397e7b74234780c319054 SHA256 8215e91ce956320de7411ae372ebf43e699908115fd05ce08d8dbfca4fdd6b15 -MD5 894e0d7ab52546ef62be060f7dd1b7f6 ChangeLog 10715 -RMD160 0a8d2d6dbeeddadb6c004c03b1430a79dd72fda9 ChangeLog 10715 -SHA256 8215e91ce956320de7411ae372ebf43e699908115fd05ce08d8dbfca4fdd6b15 ChangeLog 10715 +MISC ChangeLog 10978 RMD160 74a670e79564f69524f1149610d84b1c7a46c3c3 SHA1 b973d4f6f61932bf334fce001ba4aeab5ea39d5e SHA256 775a47ed64c22b1f60571ec7d4cfa2e433f971fe378fbad148ba3d431423f754 +MD5 c8ba1d6b735e64d17507ce3ef07aee5e ChangeLog 10978 +RMD160 74a670e79564f69524f1149610d84b1c7a46c3c3 ChangeLog 10978 +SHA256 775a47ed64c22b1f60571ec7d4cfa2e433f971fe378fbad148ba3d431423f754 ChangeLog 10978 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 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 bf375c7552912ceecc1fc46f88666997 files/digest-maxima-5.13.0 247 -RMD160 0524fa00896c54a0665fda0a339f63d586c4f232 files/digest-maxima-5.13.0 247 -SHA256 028f67a7e79b0da58e6801c926a0fddfa674e4ed45300a1a7f9d2eda64c263be files/digest-maxima-5.13.0 247 MD5 bf375c7552912ceecc1fc46f88666997 files/digest-maxima-5.13.0-r1 247 RMD160 0524fa00896c54a0665fda0a339f63d586c4f232 files/digest-maxima-5.13.0-r1 247 SHA256 028f67a7e79b0da58e6801c926a0fddfa674e4ed45300a1a7f9d2eda64c263be files/digest-maxima-5.13.0-r1 247 @@ -63,7 +40,7 @@ SHA256 c9f64acc636ed728a8c03269f4e58f16cb6b335b25c49fc4f7e308d06629d687 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFHB5WL1ycZbhPLE2ARAguCAKCETsLYXuJc2hBSQL3QEM2bEJHL8gCdGSXM -YShqLT2oX375FwDpygMdTOY= -=z7NK +iD8DBQFHCgLQ1ycZbhPLE2ARAhnwAJ9Sl/C5NWqJOsdBr+QF5RN0TYxuGgCfQriJ +PXKgkxnJWGfB/djHd3BZIY0= +=6s/J -----END PGP SIGNATURE----- diff --git a/sci-mathematics/maxima/files/digest-maxima-5.11.0-r2 b/sci-mathematics/maxima/files/digest-maxima-5.11.0-r2 deleted file mode 100644 index 706606789654..000000000000 --- a/sci-mathematics/maxima/files/digest-maxima-5.11.0-r2 +++ /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/digest-maxima-5.13.0 b/sci-mathematics/maxima/files/digest-maxima-5.13.0 deleted file mode 100644 index a744fcabcc6f..000000000000 --- a/sci-mathematics/maxima/files/digest-maxima-5.13.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7317ba22fc485554b15aceb6bc22542b maxima-5.13.0.tar.gz 19216173 -RMD160 2ec91678f8c6a6f863d6ba448f299793e52c822a maxima-5.13.0.tar.gz 19216173 -SHA256 9625e09785f88f738faf40ad64889acd17328e043c39ef5ad56f3172d76af187 maxima-5.13.0.tar.gz 19216173 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 8bf1f5c8e239..000000000000 --- 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 eb0cb91ce007..000000000000 --- 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-r2.ebuild b/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild deleted file mode 100644 index c919f8b0163c..000000000000 --- a/sci-mathematics/maxima/maxima-5.11.0-r2.ebuild +++ /dev/null @@ -1,175 +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.11.0-r2.ebuild,v 1.4 2007/09/13 14:08:30 bicatali Exp $ - -inherit eutils elisp-common autotools fdo-mime - -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="strip" - -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 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 \ - "Science;Math;Education" - - 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 - fdo-mime_desktop_database_update -} - -pkg_postrm() { - use emacs && elisp-site-regen - fdo-mime_desktop_database_update -} diff --git a/sci-mathematics/maxima/maxima-5.13.0.ebuild b/sci-mathematics/maxima/maxima-5.13.0.ebuild deleted file mode 100644 index 794e4a616c82..000000000000 --- a/sci-mathematics/maxima/maxima-5.13.0.ebuild +++ /dev/null @@ -1,180 +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.13.0.ebuild,v 1.7 2007/09/23 11:46:13 bicatali Exp $ - -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 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? ( !sbcl? ( dev-lisp/clisp ) ) - gcl? ( !sbcl? ( !clisp? ( !cmucl? ( dev-lisp/gcl ) ) ) ) - sbcl? ( dev-lisp/sbcl app-misc/rlwrap ) - cmucl? ( !sbcl? ( !clisp? ( >=dev-lisp/cmucl-19a app-misc/rlwrap ) ) ) - !clisp? ( !gcl? ( !cmucl? ( dev-lisp/sbcl app-misc/rlwrap ) ) ) - tk? ( dev-lang/tk )" - -DEPEND="${RDEPEND} - sys-apps/texinfo" - -LANGS="es pt pt_BR" -for lang in ${LANGS}; do - IUSE="${IUSE} linguas_${lang}" -done - -RESTRICT="clisp? ( strip )" - -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 sci-visualization/gnuplot gd; then - elog "To benefit full plotting capability of maxima," - elog "enable the gd USE flag enabled for sci-visualization/gnuplot" - elog "Then re-emerge maxima" - epause 5 - fi - - # lisp priorities - MAXIMA_LISP="sbcl" - if use clisp && ! use sbcl; then - MAXIMA_LISP=clisp - elif use cmucl && ! use clisp && ! use sbcl; then - MAXIMA_LISP=cmucl - elif use gcl && ! use cmucl && ! use clisp && ! use sbcl; then - MAXIMA_LISP=gcl - fi - einfo "Selected lisp: ${MAXIMA_LISP}" - - if [[ ${MAXIMA_LISP} == gcl ]]; then - ewarn "Using gcl: if it breaks, recompile with another lisp or use default (sbcl)." - 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 - fi -} - -src_unpack() { - unpack ${A} - # use xdg-open to view ps, pdf - epatch "${FILESDIR}"/${P}-xdg-utils.patch - # remove rmaxima if neither cmucl nor sbcl - if [[ ${MAXIMA_LISP} != cmucl ]] || [[ ${MAXIMA_LISP} != sbcl ]]; then - sed -i \ - -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' \ - "${S}"/src/Makefile.in \ - || die "sed for rmaxima failed" - fi -} - -src_compile() { - local myconf="--enable-${MAXIMA_LISP}" - # 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} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - einstall || die "einstall failed" - - use tk && make_desktop_entry xmaxima xmaxima \ - /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \ - "Science;Math;Education" - - 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 - - # do not use dodoc because interfaces can't read compressed files - # read COPYING before attempt to remove it - insinto /usr/share/${PN}/${PV}/doc - doins AUTHORS COPYING ChangeLog-${PV} README README.lisps - dodir /usr/share/doc - dosym /usr/share/${PN}/${PV}/doc /usr/share/doc/${PF} -} - -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 tetex && mktexlsr -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |