~ruther/guix-local

e62e975b1fadfbe8b6e8fbf1766c86fffa88d8db — Ricardo Wurmus 9 years ago e7b9da2
gnu: mu: Avoid bootstrapping.

* gnu/packages/mail.scm (mu)[arguments]: Rename "patch-configure.ac" to
"patch-configure" and only patch "configure" script; remove "autoreconf"
phase.
[native-inputs]: Remove "autoconf", "automake", "libtool", and
"texinfo".
1 files changed, 4 insertions(+), 11 deletions(-)

M gnu/packages/mail.scm
M gnu/packages/mail.scm => gnu/packages/mail.scm +4 -11
@@ 393,11 393,7 @@ repository and Maildir/IMAP as LOCAL repository.")
    (native-inputs
     `(("pkg-config" ,pkg-config)
       ("glib" ,glib "bin")             ; for gtester
       ("autoconf" ,autoconf)
       ("automake" ,automake)
       ("emacs" ,emacs-minimal)
       ("libtool" ,libtool)
       ("texinfo" ,texinfo)))
       ("emacs" ,emacs-minimal)))
    ;; TODO: Add webkit and gtk to build the mug GUI.
    (inputs
     `(("xapian" ,xapian)


@@ 413,18 409,15 @@ repository and Maildir/IMAP as LOCAL repository.")
                           (guix build emacs-utils))
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-configure.ac
         (add-after 'unpack 'patch-configure
           ;; By default, elisp code goes to "share/emacs/site-lisp/mu4e",
           ;; so our Emacs package can't find it.  Setting "--with-lispdir"
           ;; configure flag doesn't help because "mu4e" will be added to
           ;; the lispdir anyway, so we have to modify "configure.ac".
           (lambda _
             (substitute* "configure.ac"
               (("^ +lispdir=.*") ""))
             (substitute* "configure"
               (("^ +lispdir=\"\\$\\{lispdir\\}/mu4e/\".*") ""))
             #t))
         (add-after 'patch-configure.ac 'autoreconf
           (lambda _
             (zero? (system* "autoreconf" "-vi"))))
         (add-before 'check 'check-tz-setup
           (lambda* (#:key inputs #:allow-other-keys)
             ;; For mu/test/test-mu-query.c