Date: Monday, October 15, 2018 @ 19:40:36
  Author: arojas
Revision: 394294

archrelease: copy trunk to community-x86_64

Added:
  maxima-ecl/repos/community-x86_64/PKGBUILD
    (from rev 394293, maxima-ecl/trunk/PKGBUILD)
  maxima-ecl/repos/community-x86_64/build-fasl.patch
    (from rev 394293, maxima-ecl/trunk/build-fasl.patch)
  maxima-ecl/repos/community-x86_64/matrixexp.patch
    (from rev 394293, maxima-ecl/trunk/matrixexp.patch)
Deleted:
  maxima-ecl/repos/community-x86_64/PKGBUILD
  maxima-ecl/repos/community-x86_64/build-fasl.patch
  maxima-ecl/repos/community-x86_64/matrixexp.patch

------------------+
 PKGBUILD         |  108 +++++++++++++++++++++++++----------------------------
 build-fasl.patch |   46 +++++++++++-----------
 matrixexp.patch  |   26 ++++++------
 3 files changed, 87 insertions(+), 93 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-10-15 19:40:09 UTC (rev 394293)
+++ PKGBUILD    2018-10-15 19:40:36 UTC (rev 394294)
@@ -1,57 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <[email protected]>
-# Modified to compile against ecl by: maribu
-
-pkgname=maxima-ecl
-_pkgname=maxima
-pkgver=5.42.0
-_eclver=16.1.2
-pkgrel=1
-pkgdesc="A sophisticated computer algebra system (compiled against ecl)"
-arch=(x86_64)
-license=(GPL)
-url="https://maxima.sourceforge.net";
-depends=(ecl-16.1.2 texinfo shared-mime-info)
-makedepends=(python emacs patch)
-optdepends=('gnuplot: plotting capabilities' 'rlwrap: readline support via 
/usr/bin/rmaxima' 'tk: graphical xmaxima interface')
-conflicts=(maxima)
-provides=(maxima)
-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')
-sha256sums=('d65fea937d99d251808e48e23130edd090af1fc6456312493e8b2fb6616cb734'
-            '90ced3b33361fa24c2b417e0aeba8956892f0965b4a22d57d0c04115f2a3274b'
-            'ef1bc6a15fc982ff8c6aa1800bbbd3284d9e060ca27abf9d8c1266632c0c2619')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-# set correct python executable to create docs
-  sed -i "s|${PYTHONBIN:-python}|python2|" doc/info/extract_categories.sh
-
-# build maxima ecl library
-  patch -p1 -i ../build-fasl.patch
-# fix matrix exponentiation
-  patch -p1 -i ../matrixexp.patch
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  # set correct python executable to create docs
-  sed -i "s|${PYTHONBIN:-python}|python2|" doc/info/extract_categories.sh
-
-  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
-       --libexecdir=/usr/lib --enable-ecl --with-default-lisp=ecl
-  make -j1
-}
-
-package() {
-  cd $_pkgname-$pkgver
-  make DESTDIR="$pkgdir" emacsdir=/usr/share/emacs/site-lisp/maxima install
-
-  _ecldir="/usr/lib/ecl-$_eclver"
-  mkdir -p "$pkgdir/$_ecldir"
-  install src/binary-ecl/maxima.fas "$pkgdir/$_ecldir"
-}

Copied: maxima-ecl/repos/community-x86_64/PKGBUILD (from rev 394293, 
maxima-ecl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-10-15 19:40:36 UTC (rev 394294)
@@ -0,0 +1,51 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <[email protected]>
+# Modified to compile against ecl by: maribu
+
+pkgname=maxima-ecl
+_pkgname=maxima
+pkgver=5.42.1
+_eclver=16.1.2
+pkgrel=1
+pkgdesc="A sophisticated computer algebra system (compiled against ecl)"
+arch=(x86_64)
+license=(GPL)
+url="https://maxima.sourceforge.net";
+depends=(ecl-16.1.2 texinfo shared-mime-info)
+makedepends=(python emacs patch)
+optdepends=('gnuplot: plotting capabilities' 'rlwrap: readline support via 
/usr/bin/rmaxima' 'tk: graphical xmaxima interface')
+conflicts=(maxima)
+provides=(maxima)
+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')
+sha256sums=('8f555aec33bc61b5a3ee0fe2e9d6c1179db67a2ff7e0eceb6bb614058eeb40cd'
+            '90ced3b33361fa24c2b417e0aeba8956892f0965b4a22d57d0c04115f2a3274b'
+            'ef1bc6a15fc982ff8c6aa1800bbbd3284d9e060ca27abf9d8c1266632c0c2619')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+# build maxima ecl library
+  patch -p1 -i ../build-fasl.patch
+# fix matrix exponentiation
+  patch -p1 -i ../matrixexp.patch
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
+       --libexecdir=/usr/lib --enable-ecl --with-default-lisp=ecl
+  make
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  make DESTDIR="$pkgdir" emacsdir=/usr/share/emacs/site-lisp/maxima install
+
+  _ecldir="/usr/lib/ecl-$_eclver"
+  mkdir -p "$pkgdir/$_ecldir"
+  install src/binary-ecl/maxima.fas "$pkgdir/$_ecldir"
+}

Deleted: build-fasl.patch
===================================================================
--- build-fasl.patch    2018-10-15 19:40:09 UTC (rev 394293)
+++ build-fasl.patch    2018-10-15 19:40:36 UTC (rev 394294)
@@ -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-ecl/repos/community-x86_64/build-fasl.patch (from rev 394293, 
maxima-ecl/trunk/build-fasl.patch)
===================================================================
--- build-fasl.patch                            (rev 0)
+++ build-fasl.patch    2018-10-15 19:40:36 UTC (rev 394294)
@@ -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     2018-10-15 19:40:09 UTC (rev 394293)
+++ matrixexp.patch     2018-10-15 19:40:36 UTC (rev 394294)
@@ -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-ecl/repos/community-x86_64/matrixexp.patch (from rev 394293, 
maxima-ecl/trunk/matrixexp.patch)
===================================================================
--- matrixexp.patch                             (rev 0)
+++ matrixexp.patch     2018-10-15 19:40:36 UTC (rev 394294)
@@ -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))

Reply via email to