gnu: mu: Update to 0.9.11.

* gnu/packages/mail.scm (mu): Update to 0.9.11.  Update source URI.  Add
  autoconf, automake, and libtool to native-inputs.  Add autoreconf phase.
This commit is contained in:
Paul van der Walt 2015-02-27 01:23:48 +01:00 committed by Mark H Weaver
parent e150917495
commit 922eaededc
1 changed files with 19 additions and 11 deletions

View File

@ -304,18 +304,22 @@ repository and Maildir/IMAP as LOCAL repository.")
(define-public mu (define-public mu
(package (package
(name "mu") (name "mu")
(version "0.9.9.5") (version "0.9.11")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://mu0.googlecode.com/files/mu-" (uri (string-append "https://github.com/djcb/mu/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append "mu-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1hwkliyb8fjrz5sw9fcisssig0jkdxzhccw0ld0l9a10q1l9mqhp")))) "01n1lzq4pfsm5pn932p948d1z55yqc7kkm1ifjxjchb3k8lr66fh"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("glib" ,glib "bin") ; for gtester ("glib" ,glib "bin") ; for gtester
("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("texinfo" ,texinfo))) ("texinfo" ,texinfo)))
;; TODO: Add webkit and gtk to build the mug GUI. ;; TODO: Add webkit and gtk to build the mug GUI.
(inputs (inputs
@ -326,14 +330,18 @@ repository and Maildir/IMAP as LOCAL repository.")
("gmime" ,gmime) ("gmime" ,gmime)
("tzdata" ,tzdata))) ;for mu/test/test-mu-query.c ("tzdata" ,tzdata))) ;for mu/test/test-mu-query.c
(arguments (arguments
'(#:phases (alist-cons-before '(#:phases (alist-cons-after
'check 'check-tz-setup 'unpack 'autoreconf
(lambda* (#:key inputs #:allow-other-keys) (lambda _
;; For mu/test/test-mu-query.c (zero? (system* "autoreconf" "-vi")))
(setenv "TZDIR" (alist-cons-before
(string-append (assoc-ref inputs "tzdata") 'check 'check-tz-setup
"/share/zoneinfo"))) (lambda* (#:key inputs #:allow-other-keys)
%standard-phases))) ;; For mu/test/test-mu-query.c
(setenv "TZDIR"
(string-append (assoc-ref inputs "tzdata")
"/share/zoneinfo")))
%standard-phases))))
(home-page "http://www.djcbsoftware.nl/code/mu/") (home-page "http://www.djcbsoftware.nl/code/mu/")
(synopsis "Quickly find emails") (synopsis "Quickly find emails")
(description (description