[arch-commits] Commit in maxima/repos/extra-x86_64 (8 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Apr 2 06:01:28 UTC 2022
Date: Saturday, April 2, 2022 @ 06:01:28
Author: arojas
Revision: 441227
archrelease: copy trunk to extra-x86_64
Added:
maxima/repos/extra-x86_64/PKGBUILD
(from rev 441226, maxima/trunk/PKGBUILD)
maxima/repos/extra-x86_64/build-fasl.patch
(from rev 441226, maxima/trunk/build-fasl.patch)
maxima/repos/extra-x86_64/matrixexp.patch
(from rev 441226, maxima/trunk/matrixexp.patch)
maxima/repos/extra-x86_64/maxima-sbcl-gmp.patch
(from rev 441226, maxima/trunk/maxima-sbcl-gmp.patch)
Deleted:
maxima/repos/extra-x86_64/PKGBUILD
maxima/repos/extra-x86_64/build-fasl.patch
maxima/repos/extra-x86_64/matrixexp.patch
maxima/repos/extra-x86_64/maxima-sbcl-gmp.patch
-----------------------+
PKGBUILD | 182 ++++++++++++++++++++++++------------------------
build-fasl.patch | 46 ++++++------
matrixexp.patch | 26 +++---
maxima-sbcl-gmp.patch | 38 +++++-----
4 files changed, 146 insertions(+), 146 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-02 06:01:09 UTC (rev 441226)
+++ PKGBUILD 2022-04-02 06:01:28 UTC (rev 441227)
@@ -1,91 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <damir at archlinux.org>
-
-pkgbase=maxima
-pkgname=($pkgbase{,-sbcl,-ecl,-fas})
-pkgver=5.45.1
-_sbclver=2.2.2
-_eclver=21.2.1
-pkgrel=11
-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
- build-fasl.patch
- matrixexp.patch
- maxima-sbcl-gmp.patch)
-sha256sums=('fe9016276970bef214a1a244348558644514d7fdfaa4fc8b9d0e87afcbb4e7dc'
- '90ced3b33361fa24c2b417e0aeba8956892f0965b4a22d57d0c04115f2a3274b'
- 'ef1bc6a15fc982ff8c6aa1800bbbd3284d9e060ca27abf9d8c1266632c0c2619'
- '7e85da0b6672b096d7aefac861573a57323dfe805e08d033781448f7ca6ed856')
-
-prepare() {
- patch -d $pkgname-$pkgver -p1 < build-fasl.patch # build maxima ecl library
- 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)
- 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 441226, maxima/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-02 06:01:28 UTC (rev 441227)
@@ -0,0 +1,91 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir at archlinux.org>
+
+pkgbase=maxima
+pkgname=($pkgbase{,-sbcl,-ecl,-fas})
+pkgver=5.45.1
+_sbclver=2.2.2
+_eclver=21.2.1
+pkgrel=12
+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
+ build-fasl.patch
+ matrixexp.patch
+ maxima-sbcl-gmp.patch)
+sha256sums=('fe9016276970bef214a1a244348558644514d7fdfaa4fc8b9d0e87afcbb4e7dc'
+ '90ced3b33361fa24c2b417e0aeba8956892f0965b4a22d57d0c04115f2a3274b'
+ 'ef1bc6a15fc982ff8c6aa1800bbbd3284d9e060ca27abf9d8c1266632c0c2619'
+ '7e85da0b6672b096d7aefac861573a57323dfe805e08d033781448f7ca6ed856')
+
+prepare() {
+ patch -d $pkgname-$pkgver -p1 < build-fasl.patch # build maxima ecl library
+ 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: build-fasl.patch
===================================================================
--- build-fasl.patch 2022-04-02 06:01:09 UTC (rev 441226)
+++ build-fasl.patch 2022-04-02 06:01:28 UTC (rev 441227)
@@ -1,23 +0,0 @@
-Build a fasl library for ecl in addition to an executable program.
-
-References:
-* http://trac.sagemath.org/ticket/16178
-* https://github.com/cschwan/sage-on-gentoo/issues/226
-* https://bugs.gentoo.org/show_bug.cgi?id=499634
-
-Index: maxima-5.29.1/src/maxima.system
-===================================================================
---- maxima-5.29.1.orig/src/maxima.system
-+++ maxima-5.29.1/src/maxima.system
-@@ -75,6 +75,11 @@
- ;; Convert dir/foo.fas to dir/foo.o
- (make-pathname :type "o" :defaults p))
- files)))
-+ (c::build-fasl "binary-ecl/maxima" :lisp-files obj
-+ :ld-flags
-+ (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"
-+ (find-package "MAXIMA")))))
-+ (if (and x (not (string= x ""))) (list x))))
- (c::build-program "binary-ecl/maxima" :lisp-files obj
- :ld-flags
- (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"
Copied: maxima/repos/extra-x86_64/build-fasl.patch (from rev 441226, maxima/trunk/build-fasl.patch)
===================================================================
--- build-fasl.patch (rev 0)
+++ build-fasl.patch 2022-04-02 06:01:28 UTC (rev 441227)
@@ -0,0 +1,23 @@
+Build a fasl library for ecl in addition to an executable program.
+
+References:
+* http://trac.sagemath.org/ticket/16178
+* https://github.com/cschwan/sage-on-gentoo/issues/226
+* https://bugs.gentoo.org/show_bug.cgi?id=499634
+
+Index: maxima-5.29.1/src/maxima.system
+===================================================================
+--- maxima-5.29.1.orig/src/maxima.system
++++ maxima-5.29.1/src/maxima.system
+@@ -75,6 +75,11 @@
+ ;; Convert dir/foo.fas to dir/foo.o
+ (make-pathname :type "o" :defaults p))
+ files)))
++ (c::build-fasl "binary-ecl/maxima" :lisp-files obj
++ :ld-flags
++ (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"
++ (find-package "MAXIMA")))))
++ (if (and x (not (string= x ""))) (list x))))
+ (c::build-program "binary-ecl/maxima" :lisp-files obj
+ :ld-flags
+ (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"
Deleted: matrixexp.patch
===================================================================
--- matrixexp.patch 2022-04-02 06:01:09 UTC (rev 441226)
+++ matrixexp.patch 2022-04-02 06:01:28 UTC (rev 441227)
@@ -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 441226, maxima/trunk/matrixexp.patch)
===================================================================
--- matrixexp.patch (rev 0)
+++ matrixexp.patch 2022-04-02 06:01:28 UTC (rev 441227)
@@ -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-04-02 06:01:09 UTC (rev 441226)
+++ maxima-sbcl-gmp.patch 2022-04-02 06:01:28 UTC (rev 441227)
@@ -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 441226, maxima/trunk/maxima-sbcl-gmp.patch)
===================================================================
--- maxima-sbcl-gmp.patch (rev 0)
+++ maxima-sbcl-gmp.patch 2022-04-02 06:01:28 UTC (rev 441227)
@@ -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*)
More information about the arch-commits
mailing list