1 |
Hi Nicolas, |
2 |
|
3 |
below just some remarks from me. |
4 |
|
5 |
On Mo, 31 Jul 09:23:51 +0200 |
6 |
Nicolas Bock <nicolasbock@g.o> wrote: |
7 |
>On Mon, Jul 31, 2017 at 09:11:19AM +0200, Nicolas Bock wrote: |
8 |
>>Hi, |
9 |
>> |
10 |
>>I would like to add neomutt to the tree. This new package is meant |
11 |
>>as an alternative and not a replacement of the existing mutt |
12 |
>>package. |
13 |
|
14 |
+1 Very nice idea, I appreciate that. |
15 |
|
16 |
>From 63f5d569aec514d67645b1c2e891e51810bb7ab5 Mon Sep 17 00:00:00 2001 |
17 |
>From: Nicolas Bock <nicolasbock@g.o> |
18 |
>Date: Mon, 31 Jul 2017 09:06:07 +0200 |
19 |
>Subject: [PATCH] mail-client/neomutt: New package mail-client/neomutt-20170714 |
20 |
> |
21 |
>Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
22 |
>--- |
23 |
>mail-client/neomutt/Manifest | 1 + |
24 |
>mail-client/neomutt/metadata.xml | 24 +++++ |
25 |
>mail-client/neomutt/neomutt-20170714.ebuild | 161 ++++++++++++++++++++++++++++ |
26 |
>3 files changed, 186 insertions(+) |
27 |
>create mode 100644 mail-client/neomutt/Manifest |
28 |
>create mode 100644 mail-client/neomutt/metadata.xml |
29 |
>create mode 100644 mail-client/neomutt/neomutt-20170714.ebuild |
30 |
> |
31 |
>diff --git a/mail-client/neomutt/Manifest b/mail-client/neomutt/Manifest |
32 |
|
33 |
[…] |
34 |
|
35 |
>diff --git a/mail-client/neomutt/metadata.xml b/mail-client/neomutt/metadata.xml |
36 |
|
37 |
[…] |
38 |
|
39 |
>diff --git a/mail-client/neomutt/neomutt-20170714.ebuild b/mail-client/neomutt/neomutt-20170714.ebuild |
40 |
>new file mode 100644 |
41 |
>index 00000000000..9bcf72e7479 |
42 |
>--- /dev/null |
43 |
>+++ b/mail-client/neomutt/neomutt-20170714.ebuild |
44 |
>@@ -0,0 +1,161 @@ |
45 |
>+# Copyright 1999-2017 Gentoo Foundation |
46 |
>+# Distributed under the terms of the GNU General Public License v2 |
47 |
>+# $Id$ |
48 |
|
49 |
Drop $Id$ per council decision in bug #611234. |
50 |
|
51 |
[1] <https://bugs.gentoo.org/show_bug.cgi?id=611234> |
52 |
|
53 |
>+ |
54 |
>+EAPI=6 |
55 |
>+ |
56 |
>+inherit autotools eutils flag-o-matic |
57 |
>+ |
58 |
>+DESCRIPTION="A small but very powerful text-based mail client" |
59 |
|
60 |
Why not assimilate upstream (NeoMutt) motto? Mutt upstream has no objects on |
61 |
this, see [2]. |
62 |
|
63 |
[2] <https://github.com/neomutt/neomutt/issues?utf8=%E2%9C%93&q=motto> |
64 |
|
65 |
>+HOMEPAGE="https://www.neomutt.org/" |
66 |
>+SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz" |
67 |
>+ |
68 |
>+LICENSE="GPL-2" |
69 |
>+SLOT="0" |
70 |
>+KEYWORDS="~amd64 ~x86" |
71 |
>+IUSE="berkdb crypt debug doc gdbm gnutls gpg idn kerberos libressl mbox nls |
72 |
>+ notmuch qdbm sasl selinux slang smime ssl tokyocabinet vanilla" |
73 |
>+ |
74 |
|
75 |
[…] |
76 |
|
77 |
>+ |
78 |
>+src_install() { |
79 |
>+ emake DESTDIR="${D}" install || die "install failed" |
80 |
>+ if use mbox; then |
81 |
>+ insinto /etc/neomutt |
82 |
>+ newins "${FILESDIR}"/Muttrc.mbox Muttrc |
83 |
>+ else |
84 |
>+ insinto /etc/neomutt |
85 |
>+ doins "${FILESDIR}"/Muttrc |
86 |
>+ fi |
87 |
>+ |
88 |
>+ # A newer file is provided by app-misc/mime-types. So we link it. |
89 |
>+ rm "${ED}"/etc/${PN}/mime.types |
90 |
>+ dosym /etc/mime.types /etc/${PN}/mime.types |
91 |
>+ |
92 |
>+ # A man-page is always handy, so fake one |
93 |
>+ if use !doc; then |
94 |
>+ emake -C doc DESTDIR="${D}" muttrc.man || die |
95 |
>+ # make the fake slightly better, bug #413405 |
96 |
>+ sed -e 's#@docdir@/manual.txt#http://www.mutt.org/doc/devel/manual.html#' \ |
97 |
>+ -e 's#in @docdir@,#at http://www.mutt.org/,#' \ |
98 |
>+ -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \ |
99 |
>+ -e "s#@bindir@#${EPREFIX}/usr/bin#" \ |
100 |
>+ doc/mutt.man > mutt.1 |
101 |
>+ cp doc/muttrc.man muttrc.5 |
102 |
>+ doman mutt.1 muttrc.5 |
103 |
>+ else |
104 |
>+ # nuke manpages that should be provided by an MTA, bug #177605 |
105 |
>+ rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \ |
106 |
>+ || ewarn "failed to remove files, please file a bug" |
107 |
>+ fi |
108 |
The *devel* manual is located here [3] and release manual here [4]. |
109 |
|
110 |
[3] <https://dev.mutt.org/doc/manual.html> |
111 |
[4] <http://www.mutt.org/doc/manual/> |
112 |
|
113 |
>+ |
114 |
>+ dodoc COPYRIGHT ChangeLog.md OPS* README* |
115 |
>+} |
116 |
>-- |
117 |
>2.13.0 |
118 |
> |
119 |
> |
120 |
>-- |
121 |
>Nicolas Bock <nicolasbock@g.o> |
122 |
|
123 |
In the end it would be nice if Lua would also be integrated. |
124 |
|
125 |
In the case you haven’t noticed that, have a look at [5]. But note the link [6] |
126 |
for the faked manual page is dead if you consider to use this one. Also it |
127 |
seems the documentation will be restructured in the future [7][8]. |
128 |
|
129 |
[5] <https://github.com/neomutt/gentoo-neomutt/tree/master/mail-client/neomutt> |
130 |
[6] <http://www.neomutt.org/doc/devel/manual.html> |
131 |
[7] <http://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/2017-June/000438.html> |
132 |
[8] <http://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/2017-June/000467.html> |
133 |
|
134 |
-- |
135 |
Regards, |
136 |
floyd |