diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-14 01:00:04 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-14 01:00:04 +0000 |
commit | be0f30028b6eb7779283ffd20fb67c06d1b441ef (patch) | |
tree | c7b535a185bc960009c160581aae596ff412147b /sci-mathematics | |
parent | Stable for HPPA (bug #289342). (diff) | |
download | gentoo-2-be0f30028b6eb7779283ffd20fb67c06d1b441ef.tar.gz gentoo-2-be0f30028b6eb7779283ffd20fb67c06d1b441ef.tar.bz2 gentoo-2-be0f30028b6eb7779283ffd20fb67c06d1b441ef.zip |
AECA license removed, bug #300885
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/maxima/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.14.0.ebuild | 213 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.17.1-r1.ebuild | 189 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.18.1.ebuild | 6 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.19.2.ebuild | 6 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.20.1.ebuild | 6 |
6 files changed, 16 insertions, 413 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog index 1169874fc836..5d3e0a3206d5 100644 --- a/sci-mathematics/maxima/ChangeLog +++ b/sci-mathematics/maxima/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/maxima -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.74 2009/12/26 16:05:56 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.75 2010/01/14 01:00:04 bicatali Exp $ + + 14 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> + -maxima-5.14.0.ebuild, -maxima-5.17.1-r1.ebuild, maxima-5.18.1.ebuild, + maxima-5.19.2.ebuild, maxima-5.20.1.ebuild: + AECA license removed, bug #300885 26 Dec 2009; Raúl Porcel <armin76@gentoo.org> maxima-5.18.1.ebuild: sparc stable wrt #264649 diff --git a/sci-mathematics/maxima/maxima-5.14.0.ebuild b/sci-mathematics/maxima/maxima-5.14.0.ebuild deleted file mode 100644 index 3a000ad09b8f..000000000000 --- a/sci-mathematics/maxima/maxima-5.14.0.ebuild +++ /dev/null @@ -1,213 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.14.0.ebuild,v 1.9 2009/06/21 18:40:32 graaff 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" - -# Supported lisps with readline -SUPP_RL="gcl clisp" -# Supported lisps without readline -SUPP_NORL="cmucl sbcl" -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 - tk? ( dev-lang/tk ) ) - latex? ( virtual/latex-base ) - emacs? ( virtual/emacs latex? ( app-emacs/auctex ) ) - xemacs? ( app-editors/xemacs latex? ( app-xemacs/auctex ) )" - -# create lisp dependencies -for LISP in ${SUPP_LISPS}; do - RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP} )" - 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" - -pkg_setup() { - LISPS="" - - for LISP in ${SUPP_LISPS}; do - use ${LISP} && LISPS="${LISPS} ${LISP}" - done - - if [ -z "${LISPS}" ]; then - ewarn "No lisp specified in USE flags, choosing ${DEF_LISP} as default" - LISPS="${DEF_LISP}" - fi - - RL="" - - for LISP in ${SUPP_NORL}; do - use ${LISP} && RL="yes" - done - - if use gcl; then - if ! built_with_use dev-lisp/gcl ansi; then - eerror "gcl must be emerged with the USE flag ansi" - die "This package needs gcl with USE=ansi" - fi - fi - - # Calculating MAXIMA_TEXMFDIR - if use latex; 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 use X && ! built_with_use sci-visualization/gnuplot gd; then - elog "To benefit full plotting capability of maxima," - elog "enable the gd USE flag for sci-visualization/gnuplot" - elog "Then re-emerge maxima" - epause 5 - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - # use xdg-open to view ps, pdf - epatch "${FILESDIR}"/${PN}-xdg-utils.patch - epatch "${FILESDIR}"/${PN}-no-init-files.patch - # remove rmaxima if neither cmucl nor sbcl - if [ -z "${RL}" ]; then - sed -i \ - -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' \ - "${S}"/src/Makefile.in \ - || die "sed for rmaxima failed" - fi -} - -src_compile() { - 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} || die "econf failed" - emake || die "emake failed" -} - -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" - - use emacs && \ - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el - - if use latex; 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 README README.lisps || die - 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 latex && mktexlsr -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-mathematics/maxima/maxima-5.17.1-r1.ebuild b/sci-mathematics/maxima/maxima-5.17.1-r1.ebuild deleted file mode 100644 index 06075f0f7b71..000000000000 --- a/sci-mathematics/maxima/maxima-5.17.1-r1.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.17.1-r1.ebuild,v 1.4 2009/06/21 18:40:32 graaff 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" - -# Supported lisps with readline -SUPP_RL="gcl clisp" -# Supported lisps without readline -SUPP_NORL="cmucl sbcl" -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 - 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 - RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP} )" - 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 - -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 - - if use gcl; then - if ! built_with_use dev-lisp/gcl ansi; then - eerror "gcl must be emerged with the USE flag ansi" - die "This package needs gcl with USE=ansi" - fi - # gcl in the main tree is broken (bug #205803) - ewarn "Please use gcl from the lisp overlay" - fi - - if use X && ! built_with_use sci-visualization/gnuplot gd wxwindows; then - elog "To benefit full plotting capability of maxima," - elog "enable the gd USE flag for sci-visualization/gnuplot" - elog "And if you are planning to use wxmaxima, you want to" - elog "also add the wxwindows flag to gnuplot." - epause 5 - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - # use xdg-open to view ps, pdf - epatch "${FILESDIR}"/${PN}-xdg-utils.patch - epatch "${FILESDIR}"/${PN}-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_compile() { - 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} - emake || die "emake failed" -} - -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.18.1.ebuild b/sci-mathematics/maxima/maxima-5.18.1.ebuild index f1bb15db44cd..86767b7746d4 100644 --- a/sci-mathematics/maxima/maxima-5.18.1.ebuild +++ b/sci-mathematics/maxima/maxima-5.18.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.18.1.ebuild,v 1.7 2009/12/26 16:05:56 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.18.1.ebuild,v 1.8 2010/01/14 01:00:04 bicatali Exp $ EAPI=2 inherit eutils elisp-common @@ -8,7 +8,7 @@ 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" +LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc sparc x86" diff --git a/sci-mathematics/maxima/maxima-5.19.2.ebuild b/sci-mathematics/maxima/maxima-5.19.2.ebuild index 59ecb3635659..4e8a3790b6da 100644 --- a/sci-mathematics/maxima/maxima-5.19.2.ebuild +++ b/sci-mathematics/maxima/maxima-5.19.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.1 2009/08/31 14:42:03 grozin Exp $ +# $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 @@ -8,7 +8,7 @@ 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" +LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" diff --git a/sci-mathematics/maxima/maxima-5.20.1.ebuild b/sci-mathematics/maxima/maxima-5.20.1.ebuild index 10c69568f8a7..9f9b23df5842 100644 --- a/sci-mathematics/maxima/maxima-5.20.1.ebuild +++ b/sci-mathematics/maxima/maxima-5.20.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.ebuild,v 1.2 2009/12/24 14:13:42 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.20.1.ebuild,v 1.3 2010/01/14 01:00:04 bicatali Exp $ EAPI=2 inherit eutils elisp-common @@ -8,7 +8,7 @@ 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" +LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" |