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