Date: Sunday, May 1, 2022 @ 13:40:35 Author: juergen Revision: 444370
archrelease: copy trunk to extra-x86_64 Added: maxima/repos/extra-x86_64/PKGBUILD (from rev 444369, maxima/trunk/PKGBUILD) maxima/repos/extra-x86_64/matrixexp.patch (from rev 444369, maxima/trunk/matrixexp.patch) maxima/repos/extra-x86_64/maxima-sbcl-gmp.patch (from rev 444369, maxima/trunk/maxima-sbcl-gmp.patch) Deleted: maxima/repos/extra-x86_64/PKGBUILD maxima/repos/extra-x86_64/matrixexp.patch maxima/repos/extra-x86_64/maxima-sbcl-gmp.patch -----------------------+ PKGBUILD | 176 ++++++++++++++++++++++++------------------------ matrixexp.patch | 26 +++---- maxima-sbcl-gmp.patch | 38 +++++----- 3 files changed, 120 insertions(+), 120 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-01 13:38:53 UTC (rev 444369) +++ PKGBUILD 2022-05-01 13:40:35 UTC (rev 444370) @@ -1,88 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Ronald van Haren <ronald.archlinux.org> -# Contributor: Damir Perisa <da...@archlinux.org> - -pkgbase=maxima -pkgname=($pkgbase{,-sbcl,-ecl,-fas}) -pkgver=5.46.0 -_sbclver=2.2.2 -_eclver=21.2.1 -pkgrel=1 -pkgdesc='A sophisticated computer algebra system' -arch=(x86_64) -license=(GPL) -url='http://maxima.sourceforge.net' -depends=(texinfo shared-mime-info) -makedepends=(python emacs ecl sbcl) -# needs rebuild when bash changes version -# needs a rebuild when ecl or sbcl changes version -options=(!zipman) # don't zip info pages or they won't work inside maxima -source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz - matrixexp.patch - maxima-sbcl-gmp.patch) -sha256sums=('7390f06b48da65c9033e8b2f629b978b90056454a54022db7de70e2225aa8b07' - 'ef1bc6a15fc982ff8c6aa1800bbbd3284d9e060ca27abf9d8c1266632c0c2619' - '7e85da0b6672b096d7aefac861573a57323dfe805e08d033781448f7ca6ed856') - -prepare() { - patch -d $pkgname-$pkgver -p1 < matrixexp.patch # fix matrix exponentiation - patch -d $pkgname-$pkgver -p1 < maxima-sbcl-gmp.patch # Use GMP arithmetic with sbcl (Void Linux) -} - -build() { - cd $pkgbase-$pkgver - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --libexecdir=/usr/lib \ - --enable-sbcl \ - --enable-ecl \ - --with-default-lisp=sbcl - - # help avoid (re)running makeinfo/tex - touch doc/info/maxima.info - make -} - -#check() { # test 23&129 fail from rtest_taylor -# cd $pkgname-$pkgver -# make check -#} - -package_maxima() { - depends+=(maxima-backend) - replaces=('maxima-ecl<5.45.1-9') - optdepends=('gnuplot: plotting capabilities' - 'rlwrap: readline support via /usr/bin/rmaxima' - 'tk: graphical xmaxima interface') - - cd $pkgbase-$pkgver - make DESTDIR="$pkgdir" emacsdir=/usr/share/emacs/site-lisp/maxima install - -# Remove backends - rm -r "$pkgdir"/usr/lib/maxima/$pkgver/binary-* -} - -package_maxima-sbcl() { - pkgdesc='SBCL backend for Maxima' - depends=(gmp sbcl=$_sbclver) - provides=(maxima-backend) - - install -Dm755 $pkgbase-$pkgver/src/binary-sbcl/maxima.core -t "$pkgdir"/usr/lib/maxima/$pkgver/binary-sbcl -} - -package_maxima-ecl() { - pkgdesc='ECL backend for Maxima' - depends=(ecl=$_eclver) - provides=(maxima-backend) - - install -Dm755 $pkgbase-$pkgver/src/binary-ecl/maxima -t "$pkgdir"/usr/lib/maxima/$pkgver/binary-ecl -} - -package_maxima-fas() { - pkgdesc='Maxima FAS module for ECL' - depends=(ecl=$_eclver maxima) - - install -Dm644 $pkgbase-$pkgver/src/binary-ecl/maxima.fas -t "$pkgdir"/usr/lib/ecl-$_eclver -} Copied: maxima/repos/extra-x86_64/PKGBUILD (from rev 444369, maxima/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-01 13:40:35 UTC (rev 444370) @@ -0,0 +1,88 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Ronald van Haren <ronald.archlinux.org> +# Contributor: Damir Perisa <da...@archlinux.org> + +pkgbase=maxima +pkgname=($pkgbase{,-sbcl,-ecl,-fas}) +pkgver=5.46.0 +_sbclver=2.2.4 +_eclver=21.2.1 +pkgrel=2 +pkgdesc='A sophisticated computer algebra system' +arch=(x86_64) +license=(GPL) +url='http://maxima.sourceforge.net' +depends=(texinfo shared-mime-info) +makedepends=(python emacs ecl sbcl) +# needs rebuild when bash changes version +# needs a rebuild when ecl or sbcl changes version +options=(!zipman) # don't zip info pages or they won't work inside maxima +source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz + matrixexp.patch + maxima-sbcl-gmp.patch) +sha256sums=('7390f06b48da65c9033e8b2f629b978b90056454a54022db7de70e2225aa8b07' + 'ef1bc6a15fc982ff8c6aa1800bbbd3284d9e060ca27abf9d8c1266632c0c2619' + '7e85da0b6672b096d7aefac861573a57323dfe805e08d033781448f7ca6ed856') + +prepare() { + patch -d $pkgname-$pkgver -p1 < matrixexp.patch # fix matrix exponentiation + patch -d $pkgname-$pkgver -p1 < maxima-sbcl-gmp.patch # Use GMP arithmetic with sbcl (Void Linux) +} + +build() { + cd $pkgbase-$pkgver + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/lib \ + --enable-sbcl \ + --enable-ecl \ + --with-default-lisp=sbcl + + # help avoid (re)running makeinfo/tex + touch doc/info/maxima.info + make +} + +#check() { # test 23&129 fail from rtest_taylor +# cd $pkgname-$pkgver +# make check +#} + +package_maxima() { + depends+=(maxima-backend) + replaces=('maxima-ecl<5.45.1-9') + optdepends=('gnuplot: plotting capabilities' + 'rlwrap: readline support via /usr/bin/rmaxima' + 'tk: graphical xmaxima interface') + + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" emacsdir=/usr/share/emacs/site-lisp/maxima install + +# Remove backends + rm -r "$pkgdir"/usr/lib/maxima/$pkgver/binary-* +} + +package_maxima-sbcl() { + pkgdesc='SBCL backend for Maxima' + depends=(gmp sbcl=$_sbclver) + provides=(maxima-backend) + + install -Dm755 $pkgbase-$pkgver/src/binary-sbcl/maxima.core -t "$pkgdir"/usr/lib/maxima/$pkgver/binary-sbcl +} + +package_maxima-ecl() { + pkgdesc='ECL backend for Maxima' + depends=(ecl=$_eclver) + provides=(maxima-backend) + + install -Dm755 $pkgbase-$pkgver/src/binary-ecl/maxima -t "$pkgdir"/usr/lib/maxima/$pkgver/binary-ecl +} + +package_maxima-fas() { + pkgdesc='Maxima FAS module for ECL' + depends=(ecl=$_eclver maxima) + + install -Dm644 $pkgbase-$pkgver/src/binary-ecl/maxima.fas -t "$pkgdir"/usr/lib/ecl-$_eclver +} Deleted: matrixexp.patch =================================================================== --- matrixexp.patch 2022-05-01 13:38:53 UTC (rev 444369) +++ matrixexp.patch 2022-05-01 13:40:35 UTC (rev 444370) @@ -1,13 +0,0 @@ ---- a/share/linearalgebra/matrixexp.lisp -+++ b/share/linearalgebra/matrixexp.lisp -@@ -138,8 +138,8 @@ - (print `(ratvars = ,$ratvars gcd = '$gcd algebraic = ,$algebraic)) - (print `(ratfac = ,$ratfac)) - (merror "Unable to find the spectrum"))) -- -- (setq res ($fullratsimp (ncpower (sub (mult z ($ident n)) mat) -1) z)) -+ -+ (setq res ($fullratsimp ($invert_by_lu (sub (mult z ($ident n)) mat) '$crering) z)) - (setq m (length sp)) - (dotimes (i m) - (setq zi (nth i sp)) Copied: maxima/repos/extra-x86_64/matrixexp.patch (from rev 444369, maxima/trunk/matrixexp.patch) =================================================================== --- matrixexp.patch (rev 0) +++ matrixexp.patch 2022-05-01 13:40:35 UTC (rev 444370) @@ -0,0 +1,13 @@ +--- a/share/linearalgebra/matrixexp.lisp ++++ b/share/linearalgebra/matrixexp.lisp +@@ -138,8 +138,8 @@ + (print `(ratvars = ,$ratvars gcd = '$gcd algebraic = ,$algebraic)) + (print `(ratfac = ,$ratfac)) + (merror "Unable to find the spectrum"))) +- +- (setq res ($fullratsimp (ncpower (sub (mult z ($ident n)) mat) -1) z)) ++ ++ (setq res ($fullratsimp ($invert_by_lu (sub (mult z ($ident n)) mat) '$crering) z)) + (setq m (length sp)) + (dotimes (i m) + (setq zi (nth i sp)) Deleted: maxima-sbcl-gmp.patch =================================================================== --- maxima-sbcl-gmp.patch 2022-05-01 13:38:53 UTC (rev 444369) +++ maxima-sbcl-gmp.patch 2022-05-01 13:40:35 UTC (rev 444370) @@ -1,19 +0,0 @@ -Patch maxima initialization for sbcl so it uses gmp for arithmetic - - ---- a/src/init-cl.lisp 2021-05-15 20:20:53.000000000 -0300 -+++ b/src/init-cl.lisp 2022-01-04 17:45:03.838273626 -0300 -@@ -574,8 +574,13 @@ - (delete-file file))))) - *temp-files-list*)) - -+#+sbcl -+(eval-when (:compile-toplevel :load-toplevel :execute) -+ (require 'sb-gmp)) -+ - (defun cl-user::run () - "Run Maxima in its own package." -+ #+sbcl (sb-gmp:install-gmp-funs) - (in-package :maxima) - (initialize-runtime-globals) - (let ((input-stream *standard-input*) Copied: maxima/repos/extra-x86_64/maxima-sbcl-gmp.patch (from rev 444369, maxima/trunk/maxima-sbcl-gmp.patch) =================================================================== --- maxima-sbcl-gmp.patch (rev 0) +++ maxima-sbcl-gmp.patch 2022-05-01 13:40:35 UTC (rev 444370) @@ -0,0 +1,19 @@ +Patch maxima initialization for sbcl so it uses gmp for arithmetic + + +--- a/src/init-cl.lisp 2021-05-15 20:20:53.000000000 -0300 ++++ b/src/init-cl.lisp 2022-01-04 17:45:03.838273626 -0300 +@@ -574,8 +574,13 @@ + (delete-file file))))) + *temp-files-list*)) + ++#+sbcl ++(eval-when (:compile-toplevel :load-toplevel :execute) ++ (require 'sb-gmp)) ++ + (defun cl-user::run () + "Run Maxima in its own package." ++ #+sbcl (sb-gmp:install-gmp-funs) + (in-package :maxima) + (initialize-runtime-globals) + (let ((input-stream *standard-input*)