guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#56729] [RFC PATCH v2 09/29] gnu: maxima: Update to 5.46.0.


From: vicvbcun
Subject: [bug#56729] [RFC PATCH v2 09/29] gnu: maxima: Update to 5.46.0.
Date: Mon, 8 Aug 2022 17:45:44 +0200

* gnu/packages/maths.scm (maxima): Update to 5.46.0.
[install]: install maxima.fas.
---
 gnu/packages/maths.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 6a84f47468..7020123565 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4259,7 +4259,7 @@ (define-public gsegrafix
 (define-public maxima
   (package
     (name "maxima")
-    (version "5.45.1")
+    (version "5.46.0")
     (source
      (origin
        (method url-fetch)
@@ -4267,11 +4267,12 @@ (define-public maxima
                            version "-source/" name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1p77nk5sz1qfkn5zr97szpbi8ib4b22k8i52l4ag5gkhd4kid47y"))
+         "01wbm8jj43p7gpdj4h55aij0b44bjydn4bwb7q1wjrfs91mz143k"))
        (patches (search-patches "maxima-defsystem-mkdir.patch"))))
     (build-system gnu-build-system)
     (inputs
      `(("bash" ,bash-minimal)
+       ("ecl" ,ecl)
        ("gnuplot" ,gnuplot)                       ;for plots
        ("sbcl" ,sbcl)
        ("sed" ,sed)
@@ -4280,7 +4281,8 @@ (define-public maxima
      (list texinfo perl python))
     (arguments
      `(#:configure-flags
-       ,#~(list "--enable-sbcl"
+       ,#~(list "--enable-sbcl" "--enable-ecl"
+                (string-append "--with-ecl=" #$ecl "/bin/ecl")
                 (string-append "--with-sbcl=" #$sbcl "/bin/sbcl")
                 (string-append "--with-posix-shell=" #$bash-minimal "/bin/sh")
                 (string-append "--with-wish=" #$tk "/bin/wish"
@@ -4324,6 +4326,10 @@ (define-public maxima
                       "--lisp=sbcl "
                       "--batch-string=\"run_testsuite();\" "
                       "| grep -q \"No unexpected errors found\""))))
+         (add-after 'install 'install-fas
+           (lambda* (#:key outputs #:allow-other-keys)
+             (copy-recursively "src/binary-ecl/maxima.fas"
+                               (string-append (assoc-ref outputs "out") 
"/lib/maxima/" ,version "/binary-ecl/maxima.fas"))))
          ;; Make sure the doc and emacs files are found in the
          ;; standard location.  Also configure maxima to find gnuplot
          ;; without having it on the PATH.
-- 
2.37.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]