[arch-commits] Commit in maxima-ecl/repos (16 files)

Antonio Rojas arojas at archlinux.org
Sun May 15 20:10:38 UTC 2016


    Date: Sunday, May 15, 2016 @ 22:10:38
  Author: arojas
Revision: 175424

archrelease: copy trunk to community-i686, community-x86_64

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

-----------------------------------+
 /PKGBUILD                         |  136 ++++++++++++++++++++++++++++++++++++
 /build-fasl.patch                 |   46 ++++++++++++
 /matrixexp.patch                  |   26 ++++++
 /maxima.desktop                   |   22 +++++
 community-i686/PKGBUILD           |   68 ------------------
 community-i686/build-fasl.patch   |   23 ------
 community-i686/matrixexp.patch    |   13 ---
 community-i686/maxima.desktop     |   11 --
 community-x86_64/PKGBUILD         |   68 ------------------
 community-x86_64/build-fasl.patch |   23 ------
 community-x86_64/matrixexp.patch  |   13 ---
 community-x86_64/maxima.desktop   |   11 --
 12 files changed, 230 insertions(+), 230 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-05-15 20:08:06 UTC (rev 175423)
+++ community-i686/PKGBUILD	2016-05-15 20:10:38 UTC (rev 175424)
@@ -1,68 +0,0 @@
-# $Id: PKGBUILD 150832 2012-02-23 12:01:17Z juergen $
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <damir at archlinux.org>
-# Modified to compile against ecl by: maribu
-
-pkgname=maxima-ecl
-_pkgname=maxima
-pkgver=5.38.0
-_eclver=16.0.0
-pkgrel=2
-pkgdesc="A sophisticated computer algebra system (compiled against ecl)"
-arch=(i686 x86_64)
-license=(GPL)
-url="http://maxima.sourceforge.net"
-depends=(ecl=$_eclver texinfo shared-mime-info)
-makedepends=(python2 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=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
-        "${_pkgname}.desktop" 'build-fasl.patch' 'matrixexp.patch')
-md5sums=('31036638fa60b5019bade619eec27496'
-         '24aa81126fbb8b726854e5a80d4c2415'
-         'eb33481ea06afb97743af06ff52c099b'
-         '0a1fb7bb0cfdede965252b75decc2c0d')
-
-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
-
-  # install some freedesktop.org compatibility
-  install -Dm644 ${srcdir}/${_pkgname}.desktop \
-  	$pkgdir/usr/share/applications/${_pkgname}.desktop
-
-  # make sure, we have a nice icon for the desktop file at the right place
-  install -d $pkgdir/usr/share/pixmaps/
-  ln -s /usr/share/maxima/${pkgver}/xmaxima/maxima-new.png \
-	$pkgdir/usr/share/pixmaps/${_pkgname}.png
-
-  _ecldir="/usr/lib/ecl-$_eclver"
-  mkdir -p "$pkgdir/$_ecldir"
-  install src/binary-ecl/maxima.fas "$pkgdir/$_ecldir"
-}

Copied: maxima-ecl/repos/community-i686/PKGBUILD (from rev 175423, maxima-ecl/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-05-15 20:10:38 UTC (rev 175424)
@@ -0,0 +1,68 @@
+# $Id: PKGBUILD 150832 2012-02-23 12:01:17Z juergen $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir at archlinux.org>
+# Modified to compile against ecl by: maribu
+
+pkgname=maxima-ecl
+_pkgname=maxima
+pkgver=5.38.1
+_eclver=16.0.0
+pkgrel=1
+pkgdesc="A sophisticated computer algebra system (compiled against ecl)"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://maxima.sourceforge.net"
+depends=(ecl=$_eclver texinfo shared-mime-info)
+makedepends=(python2 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=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
+        "${_pkgname}.desktop" 'build-fasl.patch' 'matrixexp.patch')
+md5sums=('bc21a56e0e413c24a31408ee5900cb59'
+         '24aa81126fbb8b726854e5a80d4c2415'
+         'eb33481ea06afb97743af06ff52c099b'
+         '0a1fb7bb0cfdede965252b75decc2c0d')
+
+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
+
+  # install some freedesktop.org compatibility
+  install -Dm644 ${srcdir}/${_pkgname}.desktop \
+  	$pkgdir/usr/share/applications/${_pkgname}.desktop
+
+  # make sure, we have a nice icon for the desktop file at the right place
+  install -d $pkgdir/usr/share/pixmaps/
+  ln -s /usr/share/maxima/${pkgver}/xmaxima/maxima-new.png \
+	$pkgdir/usr/share/pixmaps/${_pkgname}.png
+
+  _ecldir="/usr/lib/ecl-$_eclver"
+  mkdir -p "$pkgdir/$_ecldir"
+  install src/binary-ecl/maxima.fas "$pkgdir/$_ecldir"
+}

Deleted: community-i686/build-fasl.patch
===================================================================
--- community-i686/build-fasl.patch	2016-05-15 20:08:06 UTC (rev 175423)
+++ community-i686/build-fasl.patch	2016-05-15 20:10:38 UTC (rev 175424)
@@ -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-i686/build-fasl.patch (from rev 175423, maxima-ecl/trunk/build-fasl.patch)
===================================================================
--- community-i686/build-fasl.patch	                        (rev 0)
+++ community-i686/build-fasl.patch	2016-05-15 20:10:38 UTC (rev 175424)
@@ -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: community-i686/matrixexp.patch
===================================================================
--- community-i686/matrixexp.patch	2016-05-15 20:08:06 UTC (rev 175423)
+++ community-i686/matrixexp.patch	2016-05-15 20:10:38 UTC (rev 175424)
@@ -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-i686/matrixexp.patch (from rev 175423, maxima-ecl/trunk/matrixexp.patch)
===================================================================
--- community-i686/matrixexp.patch	                        (rev 0)
+++ community-i686/matrixexp.patch	2016-05-15 20:10:38 UTC (rev 175424)
@@ -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: community-i686/maxima.desktop
===================================================================
--- community-i686/maxima.desktop	2016-05-15 20:08:06 UTC (rev 175423)
+++ community-i686/maxima.desktop	2016-05-15 20:10:38 UTC (rev 175424)
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=XMaxima
-GenericName=A computer algebra system
-GenericName[de]=Computeralgebra System
-GenericName[it]=algebra a livello avanzato
-Comment=A sophisticated computer algebra system
-Exec=xmaxima
-Icon=maxima
-Terminal=true
-Type=Application
-Categories=Science;Math;

Copied: maxima-ecl/repos/community-i686/maxima.desktop (from rev 175423, maxima-ecl/trunk/maxima.desktop)
===================================================================
--- community-i686/maxima.desktop	                        (rev 0)
+++ community-i686/maxima.desktop	2016-05-15 20:10:38 UTC (rev 175424)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=XMaxima
+GenericName=A computer algebra system
+GenericName[de]=Computeralgebra System
+GenericName[it]=algebra a livello avanzato
+Comment=A sophisticated computer algebra system
+Exec=xmaxima
+Icon=maxima
+Terminal=true
+Type=Application
+Categories=Science;Math;

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-05-15 20:08:06 UTC (rev 175423)
+++ community-x86_64/PKGBUILD	2016-05-15 20:10:38 UTC (rev 175424)
@@ -1,68 +0,0 @@
-# $Id: PKGBUILD 150832 2012-02-23 12:01:17Z juergen $
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <damir at archlinux.org>
-# Modified to compile against ecl by: maribu
-
-pkgname=maxima-ecl
-_pkgname=maxima
-pkgver=5.38.0
-_eclver=16.0.0
-pkgrel=2
-pkgdesc="A sophisticated computer algebra system (compiled against ecl)"
-arch=(i686 x86_64)
-license=(GPL)
-url="http://maxima.sourceforge.net"
-depends=(ecl=$_eclver texinfo shared-mime-info)
-makedepends=(python2 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=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
-        "${_pkgname}.desktop" 'build-fasl.patch' 'matrixexp.patch')
-md5sums=('31036638fa60b5019bade619eec27496'
-         '24aa81126fbb8b726854e5a80d4c2415'
-         'eb33481ea06afb97743af06ff52c099b'
-         '0a1fb7bb0cfdede965252b75decc2c0d')
-
-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
-
-  # install some freedesktop.org compatibility
-  install -Dm644 ${srcdir}/${_pkgname}.desktop \
-  	$pkgdir/usr/share/applications/${_pkgname}.desktop
-
-  # make sure, we have a nice icon for the desktop file at the right place
-  install -d $pkgdir/usr/share/pixmaps/
-  ln -s /usr/share/maxima/${pkgver}/xmaxima/maxima-new.png \
-	$pkgdir/usr/share/pixmaps/${_pkgname}.png
-
-  _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 175423, maxima-ecl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-05-15 20:10:38 UTC (rev 175424)
@@ -0,0 +1,68 @@
+# $Id: PKGBUILD 150832 2012-02-23 12:01:17Z juergen $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir at archlinux.org>
+# Modified to compile against ecl by: maribu
+
+pkgname=maxima-ecl
+_pkgname=maxima
+pkgver=5.38.1
+_eclver=16.0.0
+pkgrel=1
+pkgdesc="A sophisticated computer algebra system (compiled against ecl)"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://maxima.sourceforge.net"
+depends=(ecl=$_eclver texinfo shared-mime-info)
+makedepends=(python2 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=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
+        "${_pkgname}.desktop" 'build-fasl.patch' 'matrixexp.patch')
+md5sums=('bc21a56e0e413c24a31408ee5900cb59'
+         '24aa81126fbb8b726854e5a80d4c2415'
+         'eb33481ea06afb97743af06ff52c099b'
+         '0a1fb7bb0cfdede965252b75decc2c0d')
+
+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
+
+  # install some freedesktop.org compatibility
+  install -Dm644 ${srcdir}/${_pkgname}.desktop \
+  	$pkgdir/usr/share/applications/${_pkgname}.desktop
+
+  # make sure, we have a nice icon for the desktop file at the right place
+  install -d $pkgdir/usr/share/pixmaps/
+  ln -s /usr/share/maxima/${pkgver}/xmaxima/maxima-new.png \
+	$pkgdir/usr/share/pixmaps/${_pkgname}.png
+
+  _ecldir="/usr/lib/ecl-$_eclver"
+  mkdir -p "$pkgdir/$_ecldir"
+  install src/binary-ecl/maxima.fas "$pkgdir/$_ecldir"
+}

Deleted: community-x86_64/build-fasl.patch
===================================================================
--- community-x86_64/build-fasl.patch	2016-05-15 20:08:06 UTC (rev 175423)
+++ community-x86_64/build-fasl.patch	2016-05-15 20:10:38 UTC (rev 175424)
@@ -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 175423, maxima-ecl/trunk/build-fasl.patch)
===================================================================
--- community-x86_64/build-fasl.patch	                        (rev 0)
+++ community-x86_64/build-fasl.patch	2016-05-15 20:10:38 UTC (rev 175424)
@@ -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: community-x86_64/matrixexp.patch
===================================================================
--- community-x86_64/matrixexp.patch	2016-05-15 20:08:06 UTC (rev 175423)
+++ community-x86_64/matrixexp.patch	2016-05-15 20:10:38 UTC (rev 175424)
@@ -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 175423, maxima-ecl/trunk/matrixexp.patch)
===================================================================
--- community-x86_64/matrixexp.patch	                        (rev 0)
+++ community-x86_64/matrixexp.patch	2016-05-15 20:10:38 UTC (rev 175424)
@@ -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: community-x86_64/maxima.desktop
===================================================================
--- community-x86_64/maxima.desktop	2016-05-15 20:08:06 UTC (rev 175423)
+++ community-x86_64/maxima.desktop	2016-05-15 20:10:38 UTC (rev 175424)
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=XMaxima
-GenericName=A computer algebra system
-GenericName[de]=Computeralgebra System
-GenericName[it]=algebra a livello avanzato
-Comment=A sophisticated computer algebra system
-Exec=xmaxima
-Icon=maxima
-Terminal=true
-Type=Application
-Categories=Science;Math;

Copied: maxima-ecl/repos/community-x86_64/maxima.desktop (from rev 175423, maxima-ecl/trunk/maxima.desktop)
===================================================================
--- community-x86_64/maxima.desktop	                        (rev 0)
+++ community-x86_64/maxima.desktop	2016-05-15 20:10:38 UTC (rev 175424)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=XMaxima
+GenericName=A computer algebra system
+GenericName[de]=Computeralgebra System
+GenericName[it]=algebra a livello avanzato
+Comment=A sophisticated computer algebra system
+Exec=xmaxima
+Icon=maxima
+Terminal=true
+Type=Application
+Categories=Science;Math;



More information about the arch-commits mailing list