public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nicolas Bock <nicolasbock@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] New package neomutt
Date: Thu, 10 Aug 2017 06:34:46 +0200	[thread overview]
Message-ID: <20170810043446.d2bb5qz757dfqikz@rubberducky.suse.de> (raw)
In-Reply-To: <20170731121516.xfiwydkz3qegaar5@31c0.net>

[-- Attachment #1: Type: text/plain, Size: 4739 bytes --]

On Mon, Jul 31, 2017 at 02:15:16PM +0200, Floyd Anderson wrote:
>Hi Nicolas,
>
>below just some remarks from me.
>
>On Mo, 31 Jul 09:23:51 +0200
>Nicolas Bock <nicolasbock@gentoo.org> wrote:
>>On Mon, Jul 31, 2017 at 09:11:19AM +0200, Nicolas Bock wrote:
>>>Hi,
>>>
>>>I would like to add neomutt to the tree. This new package is meant 
>>>as an alternative and not a replacement of the existing mutt 
>>>package.
>
>+1 Very nice idea, I appreciate that.
>
>>From 63f5d569aec514d67645b1c2e891e51810bb7ab5 Mon Sep 17 00:00:00 2001
>>From: Nicolas Bock <nicolasbock@gentoo.org>
>>Date: Mon, 31 Jul 2017 09:06:07 +0200
>>Subject: [PATCH] mail-client/neomutt: New package mail-client/neomutt-20170714
>>
>>Package-Manager: Portage-2.3.6, Repoman-2.3.1
>>---
>>mail-client/neomutt/Manifest                |   1 +
>>mail-client/neomutt/metadata.xml            |  24 +++++
>>mail-client/neomutt/neomutt-20170714.ebuild | 161 ++++++++++++++++++++++++++++
>>3 files changed, 186 insertions(+)
>>create mode 100644 mail-client/neomutt/Manifest
>>create mode 100644 mail-client/neomutt/metadata.xml
>>create mode 100644 mail-client/neomutt/neomutt-20170714.ebuild
>>
>>diff --git a/mail-client/neomutt/Manifest b/mail-client/neomutt/Manifest
>
>[…]
>
>>diff --git a/mail-client/neomutt/metadata.xml b/mail-client/neomutt/metadata.xml
>
>[…]
>
>>diff --git a/mail-client/neomutt/neomutt-20170714.ebuild b/mail-client/neomutt/neomutt-20170714.ebuild
>>new file mode 100644
>>index 00000000000..9bcf72e7479
>>--- /dev/null
>>+++ b/mail-client/neomutt/neomutt-20170714.ebuild
>>@@ -0,0 +1,161 @@
>>+# Copyright 1999-2017 Gentoo Foundation
>>+# Distributed under the terms of the GNU General Public License v2
>>+# $Id$
>
>Drop $Id$ per council decision in bug #611234.
>
>[1] <https://bugs.gentoo.org/show_bug.cgi?id=611234>

Fixed.

>>+
>>+EAPI=6
>>+
>>+inherit autotools eutils flag-o-matic
>>+
>>+DESCRIPTION="A small but very powerful text-based mail client"
>
>Why not assimilate upstream (NeoMutt) motto? Mutt upstream has no objects on
>this, see [2].
>
>[2] <https://github.com/neomutt/neomutt/issues?utf8=%E2%9C%93&q=motto>

I'll change it. The new motto is pretty funny :)

>>+HOMEPAGE="https://www.neomutt.org/"
>>+SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
>>+
>>+LICENSE="GPL-2"
>>+SLOT="0"
>>+KEYWORDS="~amd64 ~x86"
>>+IUSE="berkdb crypt debug doc gdbm gnutls gpg idn kerberos libressl mbox nls
>>+	notmuch qdbm sasl selinux slang smime ssl tokyocabinet vanilla"
>>+
>
>[…]
>
>>+
>>+src_install() {
>>+	emake DESTDIR="${D}" install || die "install failed"
>>+	if use mbox; then
>>+		insinto /etc/neomutt
>>+		newins "${FILESDIR}"/Muttrc.mbox Muttrc
>>+	else
>>+		insinto /etc/neomutt
>>+		doins "${FILESDIR}"/Muttrc
>>+	fi
>>+
>>+	# A newer file is provided by app-misc/mime-types. So we link it.
>>+	rm "${ED}"/etc/${PN}/mime.types
>>+	dosym /etc/mime.types /etc/${PN}/mime.types
>>+
>>+	# A man-page is always handy, so fake one
>>+	if use !doc; then
>>+		emake -C doc DESTDIR="${D}" muttrc.man || die
>>+		# make the fake slightly better, bug #413405
>>+		sed -e 's#@docdir@/manual.txt#http://www.mutt.org/doc/devel/manual.html#' \
>>+			-e 's#in @docdir@,#at http://www.mutt.org/,#' \
>>+			-e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \
>>+			-e "s#@bindir@#${EPREFIX}/usr/bin#" \
>>+			doc/mutt.man > mutt.1
>>+		cp doc/muttrc.man muttrc.5
>>+		doman mutt.1 muttrc.5
>>+	else
>>+		# nuke manpages that should be provided by an MTA, bug #177605
>>+		rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \
>>+			|| ewarn "failed to remove files, please file a bug"
>>+	fi
>The *devel* manual is located here [3] and release manual here [4].
>
>[3] <https://dev.mutt.org/doc/manual.html>
>[4] <http://www.mutt.org/doc/manual/>

Fixed.

>>+
>>+	dodoc COPYRIGHT ChangeLog.md OPS* README*
>>+}
>>-- 
>>2.13.0
>>
>>
>>-- 
>>Nicolas Bock <nicolasbock@gentoo.org>
>
>In the end it would be nice if Lua would also be integrated.

I'll have a look at it.

>In the case you haven’t noticed that, have a look at [5]. But note the link [6]
>for the faked manual page is dead if you consider to use this one. Also it
>seems the documentation will be restructured in the future [7][8].

Thanks!

>[5] <https://github.com/neomutt/gentoo-neomutt/tree/master/mail-client/neomutt>
>[6] <http://www.neomutt.org/doc/devel/manual.html>
>[7] <http://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/2017-June/000438.html>
>[8] <http://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/2017-June/000467.html>
>
>-- 
>Regards,
>floyd
>
>

-- 
Nicolas Bock <nicolasbock@gentoo.org>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

  reply	other threads:[~2017-08-10  4:34 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-31  7:11 [gentoo-dev] New package neomutt Nicolas Bock
2017-07-31  7:23 ` Nicolas Bock
2017-07-31  8:34   ` Patrice Clement
2017-08-10  4:37     ` Nicolas Bock
2017-07-31 12:15   ` Floyd Anderson
2017-08-10  4:34     ` Nicolas Bock [this message]
2017-07-31  7:44 ` Michał Górny
2017-07-31  7:59   ` Nicolas Bock
2017-07-31  9:55 ` Matthew Thode
2017-07-31 10:52   ` Fabian Groffen
2017-08-05 20:13     ` Matthew Marchese
2017-08-10  4:58 ` Nicolas Bock
2017-08-10  7:40   ` Michał Górny
2017-08-10  7:54     ` Fabian Groffen
2017-08-10  8:10       ` Michał Górny
2017-08-10  9:35         ` Nicolas Bock
2017-08-10 12:13           ` Marc Schiffbauer
2017-08-10 12:16             ` Fabian Groffen
2017-08-10 14:09               ` Michał Górny
2017-08-10 14:32                 ` Fabian Groffen
2017-08-10 13:59           ` Michał Górny
2017-08-17  5:07         ` Daniel Campbell
2017-08-17  7:48           ` Michał Górny
2017-08-18  1:01             ` Daniel Campbell
2017-09-18 12:02     ` Nicolas Bock
2017-08-10 18:25   ` William Hubbs
2017-09-18 12:08 ` Nicolas Bock
2017-10-03 12:36   ` Nicolas Bock
2017-10-03 20:09     ` Marty E. Plummer
2017-10-03 20:33       ` Nicolas Bock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170810043446.d2bb5qz757dfqikz@rubberducky.suse.de \
    --to=nicolasbock@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox