From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] gnu: Add neomutt. Date: Tue, 26 Jul 2016 15:17:16 +0000 Message-ID: <877fc88m4j.fsf_-_@we.make.ritual.n0.is> References: <20160624155618.GA18611@shadowwalker> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS46n-0007fJ-4P for guix-devel@gnu.org; Tue, 26 Jul 2016 11:17:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS46l-0002YC-Ie for guix-devel@gnu.org; Tue, 26 Jul 2016 11:17:25 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:39115 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS46l-0002Xm-8k for guix-devel@gnu.org; Tue, 26 Jul 2016 11:17:23 -0400 In-Reply-To: (Ricardo Wurmus's message of "Mon, 27 Jun 2016 09:58:20 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Hi, Ricardo Wurmus writes: > ng0 writes: > >> In gnu/packages/mail.scm I created this package. >> It builds succesfully, but when I run it, it segfaults. A version bump fixed this. Fixed, if the problem was not getting into the application and exiting, this is now possible. >> Running it in gdb however makes it succeed and not >> segfault. How do I debug such a software? > > Have you tried running with “strace -f” to see what it appears to be > doing when the segfault occurs? > > ~~ Ricardo Email in general makes me angry at the moment and I'm looking for a fix to the many many messages I have, so I'm looking to use this again in combination with notmuch instead of Gnus to see if it makes me less angry and gets me faster down to almost zero inbox. Configure "--enable-notmuch" requires gmime fix as it depends on notmuch and then on emacs which in turn requires this fix, this is disabled now. neomutt has many features, the ones I enable are the most obvious ones to me. >From a530c2b70e8216d54dd48e1ca2ef5853c4b08f3f Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 26 Jul 2016 14:15:55 +0000 Subject: [PATCH] gnu: Add neomutt. * gnu/packages/mail.scm (neomutt): New variable. Signed-off-by: ng0 --- gnu/packages/mail.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 9214b73..24638a6 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2016 Lukas Gradl ;;; Copyright © 2016 Alex Kost ;;; Copyright © 2016 Troy Sankey +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -214,6 +215,55 @@ aliasing facilities to work just as they would on normal mail.") operating systems.") (license gpl2+))) +(define-public neomutt + (package + (inherit mutt) + (name "neomutt") + (version "20160723") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/" name "/" name + "/archive/" name "-" version ".tar.gz")) + (sha256 + (base32 + "038f7g3hwbb9cxmxq69gx01cw6ayxscbgsqblksrfsqf7fggxvnh")))) + (inputs + `(("cyrus-sasl" ,cyrus-sasl) + ("gdbm" ,gdbm) + ("gpgme" ,gpgme) + ("ncurses" ,ncurses) + ("openssl" ,openssl) + ("perl" ,perl) + ("libxslt" ,libxslt) + ("libidn" ,libidn))) + ;;("notmuch" ,notmuch))) ; enable once gmime is fixed + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (arguments + `(#:configure-flags + '("--enable-smtp" + "--enable-imap" + "--enable-pop" + "--enable-gpgme" + "--enable-hcache" ; for header caching + "--with-ssl" + "--with-sasl" + "--with-regex" + "--enable-smime" + ;;"--enable-notmuch" ; enable once gmime is fixed + "--with-idn" + ;; so that mutt does not check whether the path + ;; exists, which it does not in the chroot + "--with-mailpath=/var/mail") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda _ + (zero? (system* "sh" "autoreconf" "-vfi"))))))))) + (define-public gmime (package (name "gmime") -- 2.9.1 -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org