# ChangeLog for sci-mathematics/maxima
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.21 2006/07/12 15:34:43 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.22 2006/10/31 11:24:06 je_fro Exp $
+
+*maxima-5.10.0 (31 Oct 2006)
+
+ 31 Oct 2006; Jeff Gardner <je_fro@gentoo.org> +maxima-5.10.0.ebuild:
+ New version for bug #136289
12 Jul 2006; Danny van Dyk <kugelfang@gentoo.org> maxima-5.9.3.ebuild:
QA: Corrected typo: tcktk vs tcltk.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 50maxima-gentoo.el 625 RMD160 f82dced83cb2f6361ba15992bbaf982006bac9a5 SHA1 63c2e91229e6acbbd3c37fd939a30b260778d274 SHA256 f384d9bfe98f24b40acc32f6abbc6c4180865690f1cf80944ec6028f5cfaef5a
MD5 b97aaf31b888a90139f3e81e504b63ce files/50maxima-gentoo.el 625
RMD160 f82dced83cb2f6361ba15992bbaf982006bac9a5 files/50maxima-gentoo.el 625
MD5 55d928e715074355a442baf0934487de files/maxima-emacs.patch 826
RMD160 e6030b78934ace0c31b1cddf108e3e885cee7abf files/maxima-emacs.patch 826
SHA256 eb28871fb0019c92961a96f27380400379798eac7b884943a3c75ba9832acce4 files/maxima-emacs.patch 826
+DIST maxima-5.10.0.tar.gz 9957907 RMD160 6ec60429f3720c9d8dca5d628e49d2eb01e24fc1 SHA1 b600e565cb97e572e66417c962d26e5276b5c33c SHA256 b59e3af8a771b92158410bed6327f18a6a69bccd4e776d83a3952a67bd388c49
DIST maxima-5.9.1.tar.gz 8093534
-DIST maxima-5.9.3.tar.gz 8629022 RMD160 4b00da6406bab222f4a7069c4e8820a9437277f9 SHA256 1807e46e12b5968ac70643eee32a3479fc06035613086d85366610440842abb9
+DIST maxima-5.9.3.tar.gz 8629022 RMD160 4b00da6406bab222f4a7069c4e8820a9437277f9 SHA1 b602dc1145c0521939b9a3b69d8e82a9606e689e SHA256 1807e46e12b5968ac70643eee32a3479fc06035613086d85366610440842abb9
+EBUILD maxima-5.10.0.ebuild 3357 RMD160 590b4d546b9a74e685f7e689ff91db78fb243ca8 SHA1 998a54a885f8905e151a9d11436b3896eead2fc3 SHA256 6b063137ed6739921e2b2d098c8d3ffa1255872ca23d5c0c56dcf641c7d0fecd
+MD5 1f64a324683dd020af4d7854d90536a7 maxima-5.10.0.ebuild 3357
+RMD160 590b4d546b9a74e685f7e689ff91db78fb243ca8 maxima-5.10.0.ebuild 3357
+SHA256 6b063137ed6739921e2b2d098c8d3ffa1255872ca23d5c0c56dcf641c7d0fecd maxima-5.10.0.ebuild 3357
EBUILD maxima-5.9.1-r5.ebuild 2571 RMD160 ebac3868f73122da2777fa53b86d2eef0aebe7ab SHA1 34464fbf90699a11b730ba15375a3eddd79d5439 SHA256 9aee8bf82b4b47a1f3d04992de623cb2173862451591510cd49fc227b1f08db0
MD5 f653050981b2fed1501454602f59ad11 maxima-5.9.1-r5.ebuild 2571
RMD160 ebac3868f73122da2777fa53b86d2eef0aebe7ab maxima-5.9.1-r5.ebuild 2571
MD5 011ac815579bb74f333da6c63bf30dc4 maxima-5.9.3.ebuild 3697
RMD160 17f6dd2ae0383e0cf325bcd176f87d2418f42f02 maxima-5.9.3.ebuild 3697
SHA256 bae587b50e697b26d1d72f4d7e92f7d69b32cfa419135265a9fb8b58590252cc maxima-5.9.3.ebuild 3697
-MISC ChangeLog 6499 RMD160 a192c7bac2ec637f38f16bbabe39d068b71a9f17 SHA1 8d36a1668e5a9228f25f4eb96858273eaad96ce8 SHA256 827b9358b11c23e18fd77d46f68cf5ee72cc693cc88cf6bd6f51dab60033a649
-MD5 faa8266af953dc2d2288656de83a8afc ChangeLog 6499
-RMD160 a192c7bac2ec637f38f16bbabe39d068b71a9f17 ChangeLog 6499
-SHA256 827b9358b11c23e18fd77d46f68cf5ee72cc693cc88cf6bd6f51dab60033a649 ChangeLog 6499
+MISC ChangeLog 6628 RMD160 9d63920b8bb4dab5b316b6f254622ff964e1ea06 SHA1 53781fafa80d70df641a19c6190faa81ef2424b2 SHA256 21af3bfdcd48dcc9198bb9e1df1a5359b6e7446a6e5bfe9a2956796220859684
+MD5 4560ecae5e1d784905007dcced1a742e ChangeLog 6628
+RMD160 9d63920b8bb4dab5b316b6f254622ff964e1ea06 ChangeLog 6628
+SHA256 21af3bfdcd48dcc9198bb9e1df1a5359b6e7446a6e5bfe9a2956796220859684 ChangeLog 6628
MISC metadata.xml 168 RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 SHA1 95c9e4f7368f82053d631bbcd469612c92ca13cb SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9
MD5 30bc69a424d7634aae9c1e4203365d3d metadata.xml 168
RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 metadata.xml 168
SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9 metadata.xml 168
+MD5 f3995d297ee8593cbed9c29aef36f8fa files/digest-maxima-5.10.0 244
+RMD160 bf7bc2399707d0bae2d33a0689ce61afd43e4de5 files/digest-maxima-5.10.0 244
+SHA256 ab33482322ef3a77e32e2a7a9f34d4d34793c28ad21dbb0178ebf94473d0469f files/digest-maxima-5.10.0 244
MD5 6f3becd603f999b2bb7488753ec07518 files/digest-maxima-5.9.1 65
RMD160 cc408ee71151e1e8454f62c4f6c69b2c44121527 files/digest-maxima-5.9.1 65
SHA256 253b31f30fec4f3e453a6f76975b902c40062750169e2d0d58644d388bf19465 files/digest-maxima-5.9.1 65
MD5 b0b6f0a0adb8e2b019e9a3d9decbcf14 files/digest-maxima-5.9.3 241
RMD160 3954badfebef02d3ae2280deb98c9ee77f8e7f29 files/digest-maxima-5.9.3 241
SHA256 e91682eae89570d2bb81449c39338148defb3bdda14cd1c815b2c26ca8c92927 files/digest-maxima-5.9.3 241
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.4 (GNU/Linux)
-
-iD8DBQFEzjIawUpWvClEHQoRAhVTAJ9W0qSrffLjk6OgBFwNXcbBAWCPWwCfZzFu
-KRSfeKuwrXCDxyDjzEBmneE=
-=z2BF
------END PGP SIGNATURE-----
--- /dev/null
+MD5 1e7f5ecabf990f350c5f662f106d83b7 maxima-5.10.0.tar.gz 9957907
+RMD160 6ec60429f3720c9d8dca5d628e49d2eb01e24fc1 maxima-5.10.0.tar.gz 9957907
+SHA256 b59e3af8a771b92158410bed6327f18a6a69bccd4e776d83a3952a67bd388c49 maxima-5.10.0.tar.gz 9957907
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.10.0.ebuild,v 1.1 2006/10/31 11:24:06 je_fro Exp $
+
+inherit eutils elisp-common autotools
+
+DESCRIPTION="Free computer algebra environment, based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 AECA"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="cmucl clisp sbcl gcl tetex emacs auctex tk nls unicode"
+
+RDEPEND=">=sci-visualization/gnuplot-4.0
+ app-text/gv
+ tetex? ( virtual/tetex )
+ emacs? ( virtual/emacs )
+ auctex? ( app-emacs/auctex )
+ clisp? ( >=dev-lisp/clisp-2.33.2-r1 )
+ gcl? ( >=dev-lisp/gcl-2.6.7 )
+ sbcl? ( >=dev-lisp/sbcl-0.9.4 app-misc/rlwrap )
+ cmucl? ( >=dev-lisp/cmucl-19a app-misc/rlwrap )
+ !clisp? ( !sbcl? ( !cmucl? ( >=dev-lisp/gcl-2.6.7 ) ) )
+ tk? ( >=dev-lang/tk-8.3.3 )"
+DEPEND="${RDEPEND} >=sys-apps/texinfo-4.3"
+
+for lang in es pt; do
+ IUSE="${IUSE} linguas_${lang}"
+done
+
+# chosen apps are hardcoded in maxima source:
+# - ghostview for postscript (changed to gv)
+# - acroread for pdf
+# - xdvi for dvi. this could change, with pain.
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${P}.patch"
+}
+
+src_compile() {
+
+# automake version mismatch otherwise (sbcl only)
+ use sbcl && eautoreconf
+
+# remove rmaxima if neither cmucl nor sbcl
+ if ! use sbcl && ! use cmucl ; then
+ sed -i -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' src/Makefile.in
+ fi
+
+# remove xmaxima if no tk in USE
+ local myconf=""
+ if use tk; then
+ myconf="${myconf} --with-wish=wish"
+ else
+ myconf="${myconf} --with-wish=none"
+ sed -i -e '/^SUBDIRS/s/xmaxima//' interfaces/Makefile.in
+ fi
+
+# enable gcl if no other lisp is selected
+ if use gcl || (! use cmucl && ! use clisp && ! use sbcl ); then
+ if ! built_with_use dev-lisp/gcl ansi; then
+ eerror "GCL must be installed with ANSI."
+ eerror "Try USE=\"ansi\" emerge gcl"
+ die "This package needs gcl with USE=ansi"
+ fi
+ myconf="${myconf} --enable-gcl"
+ fi
+
+# use existing translated docs
+ if use nls; then
+ for lang in es pt; do
+ if use linguas_${lang}; then
+ myconf="${myconf} --enable-lang-${lang}"
+ use unicode && myconf="${myconf} --enable-lang-${lang}-utf8"
+ fi
+ done
+ fi
+
+ econf \
+ $(use_enable cmucl) \
+ $(use_enable clisp) \
+ $(use_enable sbcl) \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ use tk && make_desktop_entry xmaxima xmaxima \
+ /usr/share/${PN}/${PV}/xmaxima/maxima-new.png
+
+ if use emacs; then
+ sed -e "s/PV/${PV}/" "${FILESDIR}"/50maxima-gentoo.el > 50maxima-gentoo.el
+ elisp-site-file-install 50maxima-gentoo.el
+ fi
+
+ if use tetex; then
+ insinto /usr/share/texmf/tex/latex/emaxima
+ doins interfaces/emacs/emaxima/emaxima.sty
+ fi
+
+ insinto /usr/share/${PN}/${PV}/doc
+ doins AUTHORS ChangeLog COPYING NEWS README*
+ dodir /usr/share/doc
+ dosym /usr/share/${PN}/${PV}/doc /usr/share/doc/${PF}
+}
+
+pkg_preinst() {
+# some lisp do not gunzip info files on the fly
+
+ if use cmucl || use clisp || use sbcl; then
+ for infofile in $(ls ${D}/usr/share/info/*.gz); do
+ gunzip ${infofile}
+ done
+ fi
+}
+
+pkg_postinst() {
+
+ use emacs && elisp-site-regen
+ use tetex && mktexlsr
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}