gnu: wxmaxima: Update to 17.05.1.

* gnu/packages/maths.scm (wxmaxima): Update to 17.05.1.
[arguments]: Put "autoconf" phase after the "unpack" phase. Fix
indentation.
This commit is contained in:
Kei Kebreau 2017-08-13 16:24:39 -04:00
parent 79d5ad20e8
commit ac2ddcc66f
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 26 additions and 27 deletions

View File

@ -2159,7 +2159,7 @@ point numbers.")
(define-public wxmaxima (define-public wxmaxima
(package (package
(name "wxmaxima") (name "wxmaxima")
(version "17.05.0") (version "17.05.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -2168,7 +2168,7 @@ point numbers.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1bsyd7r12xm2crpizb9iyyki3j0mbazzzwbsh871m06dv2wk97gq")))) "0dv0cy0cf46v0cbw32izscpkdmpxg1qhwq1f4cz46kkqd8k4yfbj"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
@ -2182,31 +2182,30 @@ point numbers.")
("gtk+" ,gtk+) ("gtk+" ,gtk+)
("shared-mime-info" ,shared-mime-info))) ("shared-mime-info" ,shared-mime-info)))
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases
(add-before (modify-phases %standard-phases
'configure 'autoconf (add-after 'unpack 'autoconf
(lambda _ (lambda _
(zero? (system* "./bootstrap")))) (zero? (system* "sh" "bootstrap"))))
(add-after (add-after 'install 'wrap-program
'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys)
(lambda* (#:key inputs outputs #:allow-other-keys) (wrap-program (string-append (assoc-ref outputs "out")
(wrap-program (string-append (assoc-ref outputs "out") "/bin/wxmaxima")
"/bin/wxmaxima") `("PATH" ":" prefix
`("PATH" ":" prefix (,(string-append (assoc-ref inputs "maxima")
(,(string-append (assoc-ref inputs "maxima") "/bin")))
"/bin"))) ;; For GtkFileChooserDialog.
;; For GtkFileChooserDialog. `("GSETTINGS_SCHEMA_DIR" =
`("GSETTINGS_SCHEMA_DIR" = (,(string-append (assoc-ref inputs "gtk+")
(,(string-append (assoc-ref inputs "gtk+") "/share/glib-2.0/schemas")))
"/share/glib-2.0/schemas"))) `("XDG_DATA_DIRS" ":" prefix
`("XDG_DATA_DIRS" ":" prefix (;; Needed by gdk-pixbuf to know supported icon formats.
(;; Needed by gdk-pixbuf to know supported icon formats. ,(string-append
,(string-append (assoc-ref inputs "shared-mime-info") "/share")
(assoc-ref inputs "shared-mime-info") "/share") ;; The default icon theme of GTK+.
;; The default icon theme of GTK+. ,(string-append
,(string-append (assoc-ref inputs "adwaita-icon-theme") "/share"))))
(assoc-ref inputs "adwaita-icon-theme") "/share")))) #t)))))
#t)))))
(home-page "https://andrejv.github.io/wxmaxima/") (home-page "https://andrejv.github.io/wxmaxima/")
(synopsis "Graphical user interface for the Maxima computer algebra system") (synopsis "Graphical user interface for the Maxima computer algebra system")
(description (description