unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Add: Neomutt.
@ 2017-01-19  3:23 contact.ng0
  2017-01-19  3:23 ` [PATCH] gnu: Add neomutt contact.ng0
  0 siblings, 1 reply; 3+ messages in thread
From: contact.ng0 @ 2017-01-19  3:23 UTC (permalink / raw)
  To: guix-devel

Sometimes you just wait and forget about a patch and suddenly it works.
This adds neomutt, a feature patch blend of mutt which upstreams regulary into mutt.
This is a prominent project which is often even integrated or replaces the original mutt on some systems.

I was able to start it, but I no longer use neomutt myself so it requires either me going to sleep and trying to test it tomorrow with my current more complicated setup and merge this into my old configs of neomutt OR someone who really wants to use neomutt to give feedback if it breaks. My prediction is that MOST if not all features I compiled work.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] gnu: Add neomutt.
  2017-01-19  3:23 Add: Neomutt contact.ng0
@ 2017-01-19  3:23 ` contact.ng0
  2017-02-01 22:23   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: contact.ng0 @ 2017-01-19  3:23 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@we.make.ritual.n0.is>

* gnu/packages/mail.scm (neomutt): New variable.
---
 gnu/packages/mail.scm | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index dbbe629bc..7a447636b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -86,6 +86,7 @@
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
+  #:use-module (gnu packages docbook)
   #:use-module ((guix licenses)
                 #:select (gpl2 gpl2+ gpl3 gpl3+ lgpl2.1 lgpl2.1+ lgpl3+
                            non-copyleft (expat . license:expat) bsd-3
@@ -247,6 +248,83 @@ aliasing facilities to work just as they would on normal mail.")
 operating systems.")
     (license gpl2+)))
 
+(define-public neomutt
+  (package
+    (inherit mutt)
+    (name "neomutt")
+    (version "20170113")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/" name "/" name
+                           "/archive/" name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0cqr77q263b5qcmdw6g0qixdpk6gmzgzpa03v226nr55v2ips9jg"))))
+    (inputs
+     `(("cyrus-sasl" ,cyrus-sasl)
+       ("gdbm" ,gdbm)
+       ("gpgme" ,gpgme)
+       ("ncurses" ,ncurses)
+       ("gnutls" ,gnutls)
+       ("openssl" ,openssl) ;For smime
+       ("perl" ,perl)
+       ("libxslt" ,libxslt)
+       ("libidn" ,libidn)
+       ("libxml2" ,libxml2)
+       ("docbook-xsl" ,docbook-xsl)
+       ("notmuch" ,notmuch)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
+    (arguments
+     `(#:configure-flags
+       (list "--enable-smtp"
+             "--enable-imap"
+             "--enable-pop"
+             "--enable-gpgme"
+
+             ;; database, implies header caching
+             "--without-tokyocabinet"
+             "--without-qdbm"
+             "--without-bdb"
+             "--without-lmdb"
+             "--with-gdbm"
+
+             "--with-gnutls"
+             "--without-ssl"
+             "--with-sasl"
+
+             "--with-regex"
+             "--enable-smime"
+             "--enable-notmuch"
+             "--with-idn"
+
+             ;; If we do not set this, neomutt wants to check
+             ;; whether the path exists, which it does not
+             ;; in the chroot. The workaround is this.
+             "--with-mailpath=/var/mail"
+
+             "--with-external-dotlock"
+             "--enable-nntp"
+             "--enable-compressed"
+
+             (string-append "--with-curses="
+                            (assoc-ref %build-inputs "ncurses")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'autoconf
+           (lambda _
+             (zero? (system* "sh" "autoreconf" "-vfi")))))))
+    (home-page "https://www.neomutt.org/")
+    (synopsis "Command-line mail reader based on Mutt")
+    (description
+     "NeoMutt is a command-line mail reader which is based on mutt.
+It adds a large amount of features to mutt, and they all find their way
+into mutt, so it is not a fork but a large set of feature patches.")))
+
 (define-public gmime
   (package
     (name "gmime")
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add neomutt.
  2017-01-19  3:23 ` [PATCH] gnu: Add neomutt contact.ng0
@ 2017-02-01 22:23   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-02-01 22:23 UTC (permalink / raw)
  To: contact.ng0; +Cc: guix-devel, ng0

contact.ng0@cryptolab.net skribis:

> From: ng0 <ng0@we.make.ritual.n0.is>
>
> * gnu/packages/mail.scm (neomutt): New variable.

Applied, thanks.

Ludo'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-01 22:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-19  3:23 Add: Neomutt contact.ng0
2017-01-19  3:23 ` [PATCH] gnu: Add neomutt contact.ng0
2017-02-01 22:23   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).