Re: [gentoo-dev] Openstack Summit MeetUp

2018-05-14 Thread Nicolas Bock

On Sun, May 13, 2018 at 01:11:30PM -0700, Jack Morgan wrote:

Gentoo,

I will be attending the Openstack Summit in Vancouver, BC. The
conference is May 21-24th. I would like to organize a Gentoo meetup for
those attending or living in the area. I personally will be there from
May 20th - 26th.

Please reply if you are interested in meeting and which day(s)/time(s)
you are available. I'm looking forward to it!


Hi Jack,

Great idea! I'll be in Vancouver from May 20th - 24th. I am available anytime 
except during a workshop on Wednesday morning from 9:00 to 10:30.

Thanks!

Nick


Thanks,
--
Jack Morgan
Pub 4096R/761D8E0A 2010-09-13 Jack Morgan <jmor...@gentoo.org>
Fingerprint = DD42 EA48 D701 D520 C2CD 55BE BF53 C69B 761D 8E0A



--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] Re: vanilla-sources broken

2018-01-16 Thread Nicolas Bock

On Tue, Jan 16, 2018 at 03:38:42PM +0100, Holger Hoffstätte wrote:

On 01/05/18 15:08, Nicolas Bock wrote:

currently vanilla-sources are broken, but there is an upstream patch
that fixes it (appended at the end). I know that vanilla-sources are
supposed to be vanilla, but it would help if we added this patch
until upstream backports it. Any thoughts?


This is now fixed in 4.15-rc8 (with the patch you cited) and will be
in stable 4.14.15 (the one after the upcoming release).


Hi Holger,

thanks for the information!

Best,

Nick


cheers,
Holger



--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] vanilla-sources broken

2018-01-05 Thread Nicolas Bock

On Fri, Jan 05, 2018 at 11:47:51PM +0900, Alice Ferrazzi wrote:

On Fri, Jan 5, 2018 at 11:08 PM, Nicolas Bock <nicolasb...@gentoo.org> wrote:

Hi,

currently vanilla-sources are broken, but there is an upstream patch that
fixes it (appended at the end). I know that vanilla-sources are supposed to
be vanilla, but it would help if we added this patch until upstream
backports it. Any thoughts?



Thanks Alice,

I'll try my luck upstream :)

Nick


Hello Nicolas,

vanilla-sources, unfortunately, are given same as the kernel upstream,
Gentoo is not supporting or adding patches to vanilla-sources.
If you have any problem with vanilla-sources please report it to the Kernel
upstream not to Gentoo.
If you want kernel support from Gentoo kernel team, please switch to
gentoo-sources.

--
Thanks,
Alice Ferrazzi

Gentoo Kernel Project Leader
Gentoo Foundation Board Member
Mail: Alice Ferrazzi <ali...@gentoo.org>
PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A



--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] last rites: app-office/hamster-time-tracker

2017-12-07 Thread Nicolas Bock

On Thu, Dec 07, 2017 at 09:20:43AM +0100, Geaaru wrote:

Hi,
I'm not sure that is correct to reply to this thread, sorry if not.

I currently use hamster and yes master tree is unmaintained but scenario is
difficult for this package. From old tree are been created different fork:
* one that split module in different modules (hamster-lib, hamster-gtk,
hamster-dbus,etc)
* one that rebuild module on ruby
* if I remember correctly one that continue python implementation

But, it isn't so clear at least for me, what is the best fork or stable (I
currently use old implememtation).
So, I think that could be a choice try to identify a more stable fork and
move ebuild to this new implementation (maybe with a rename of the package)
and move ebuild to proxy-maintainer group.

I will try to investigate on it in the christmas holidays and see if I can
take care of ebuild maintenance.


Hi Geaaru,

yes, you raise good points here and I found what's going on upstream pretty 
confusing too :) I really appreciate you wanting to investigate this further. 
We can help you or work with you to create a new package in case you need it.

Thanks,

Nick


My cent

Thanks
G.

On Dec 6, 2017 11:42 PM, "Nicolas Bock" <nicolasb...@gentoo.org> wrote:


# Nicolas Bock <nicolasb...@gentoo.org> (6 Dec 2017)
# Development has ceased, the last commit to the upstream repository was
# on 16 July 2016 with a note stating that its status is unmaintained [1].
# See also Bug 640034.
#
# [1] https://github.com/projecthamster/hamster/commit/c3e5fb761c8
8fdecfd1566cac8b6836228a27cce

--
Nicolas Bock <nicolasb...@gentoo.org>



--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


[gentoo-dev] last rites: app-office/hamster-time-tracker

2017-12-06 Thread Nicolas Bock

# Nicolas Bock <nicolasb...@gentoo.org> (6 Dec 2017)
# Development has ceased, the last commit to the upstream repository was
# on 16 July 2016 with a note stating that its status is unmaintained [1].
# See also Bug 640034.
#
# [1] 
https://github.com/projecthamster/hamster/commit/c3e5fb761c88fdecfd1566cac8b6836228a27cce

--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] New package neomutt

2017-10-03 Thread Nicolas Bock

On Tue, Oct 03, 2017 at 08:09:25PM +, Marty E. Plummer wrote:

On Tue, Oct 03, 2017 at 12:36:11PM +, Nicolas Bock wrote:

On Mon, Sep 18, 2017 at 06:08:05AM -0600, Nicolas Bock 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.
>
> This is the third edition. Please have another look. Thanks!
>

Hi,

I have pushed the neomutt ebuild to tree.

Thanks for all of the great feedback!

Nick

>
> # Copyright 1999-2017 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
>
> EAPI=6
>
> inherit autotools eutils flag-o-matic
>
> SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz;
> KEYWORDS="~amd64 ~x86"
>
> DESCRIPTION="A small but very powerful text-based mail client"
> HOMEPAGE="https://www.neomutt.org/;
>
> LICENSE="GPL-2"
> SLOT="0"
> IUSE="berkdb crypt debug doc gdbm gnutls gpg idn kerberos kyotocabinet
>libressl lmdb nls notmuch qdbm sasl selinux slang smime ssl +symlink
>tokyocabinet"
>
> CDEPEND="
>app-misc/mime-types
>berkdb? ( >=sys-libs/db-4:= )
>gdbm? ( sys-libs/gdbm )
>kyotocabinet? ( dev-db/kyotocabinet )
>lmdb? ( dev-db/lmdb )
>nls? ( virtual/libintl )
>qdbm? ( dev-db/qdbm )
>tokyocabinet? ( dev-db/tokyocabinet )
>gnutls? ( >=net-libs/gnutls-1.0.17 )
>gpg? ( >=app-crypt/gpgme-0.9.0 )
>idn? ( net-dns/libidn )
>kerberos? ( virtual/krb5 )
>notmuch? ( net-mail/notmuch )
>sasl? ( >=dev-libs/cyrus-sasl-2 )
>!slang? ( sys-libs/ncurses:0 )
>slang? ( sys-libs/slang )
>ssl? (
>!libressl? ( >=dev-libs/openssl-0.9.6:0 )
>libressl? ( dev-libs/libressl )
>)
> "
> DEPEND="${CDEPEND}
>net-mail/mailbase
>doc? (
>dev-libs/libxml2
>dev-libs/libxslt
>app-text/docbook-xsl-stylesheets
>|| ( www-client/lynx www-client/w3m www-client/elinks )
>)"
> RDEPEND="${CDEPEND}
>selinux? ( sec-policy/selinux-mutt )
> "
>
> S="${WORKDIR}/${PN}-${P}"
>
> src_prepare() {
>eapply "${FILESDIR}/0001-Rename-mutt-to-neomutt.patch"
>eapply_user
>AT_M4DIR="m4" eautoreconf
> }
>

PATCHES=(
   "${FILESDIR}/0001-Rename-mutt-to-neomutt.patch"
)
src_prepare() {
   default
   AT_M4DIR="m4" eautoreconf
}


Thanks!


> src_configure() {
>local myconf=(
>"$(use_enable crypt pgp)"
>"$(use_enable debug)"
>"$(use_enable doc)"
>"$(use_enable gpg gpgme)"
>"$(use_enable nls)"
>"$(use_enable smime)"
>"$(use_enable notmuch)"
>"$(use_with idn)"
>"$(use_with kerberos gss)"
>"$(use_with sasl)"
>"$(use_with tokyocabinet)"
>"$(use_with kyotocabinet)"
>"$(use_with qdbm)"
>"$(use_with gdbm)"
>"$(use_with berkdb bdb)"
>"$(use_with lmdb)"
>"--with-$(usex slang slang curses)"
>"--sysconfdir=${EPREFIX}/etc/${PN}"
>"--with-docdir=${EPREFIX}/usr/share/doc/${PF}"
>)
>
>if [[ ${CHOST} == *-solaris* ]] ; then
># arrows in index view do not show when using wchar_t
>myconf+=( "--without-wc-funcs" )
>fi
>
>if use gnutls; then
>myconf+=( "--with-gnutls" )
>elif use ssl; then
>myconf+=( "--with-ssl" )
>fi
>
>econf "${myconf[@]}"
> }
>
> src_install() {
>emake DESTDIR="${D}" install
>
># A newer file is provided by app-misc/mime-types. So we link it.
>rm "${ED}"/etc/${PN}/mime.types || die
>    dosym "${EPREFIX}/etc/mime.types" /etc/${PN}/mime.types
>
>## A man-page is always handy, so fake one
>if use !doc; then
>emake -C doc muttrc.man
># make the fake slightly better, bug #413405
>sed -e 's#@docdir@/manual.txt#http://www.neomutt.org/guide#' \
>-e 's#in @docdir@,#at http://www.neomutt.org/,#' \
>-e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \
>-e "s#@bindir@#${EPREFIX}/usr/bin#" \
>doc/mutt.man > neomutt.1 || die
>cp doc/muttrc.man neomuttrc.5 || die
>doman neomutt.1 neomuttrc.5
>fi
>
>dodoc COPYRIGHT ChangeLog* OPS* README*
> }
>
> --
> Nicolas Bock <nicolasb...@gentoo.org>



--
Nicolas Bock <nicolasb...@gentoo.org>






--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] New package neomutt

2017-10-03 Thread Nicolas Bock

On Mon, Sep 18, 2017 at 06:08:05AM -0600, Nicolas Bock 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.


This is the third edition. Please have another look. Thanks!



Hi,

I have pushed the neomutt ebuild to tree.

Thanks for all of the great feedback!

Nick



# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit autotools eutils flag-o-matic

SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz;
KEYWORDS="~amd64 ~x86"

DESCRIPTION="A small but very powerful text-based mail client"
HOMEPAGE="https://www.neomutt.org/;

LICENSE="GPL-2"
SLOT="0"
IUSE="berkdb crypt debug doc gdbm gnutls gpg idn kerberos kyotocabinet
libressl lmdb nls notmuch qdbm sasl selinux slang smime ssl +symlink
tokyocabinet"

CDEPEND="
app-misc/mime-types
berkdb? ( >=sys-libs/db-4:= )
gdbm? ( sys-libs/gdbm )
kyotocabinet? ( dev-db/kyotocabinet )
lmdb? ( dev-db/lmdb )
nls? ( virtual/libintl )
qdbm? ( dev-db/qdbm )
tokyocabinet? ( dev-db/tokyocabinet )
gnutls? ( >=net-libs/gnutls-1.0.17 )
gpg? ( >=app-crypt/gpgme-0.9.0 )
idn? ( net-dns/libidn )
kerberos? ( virtual/krb5 )
notmuch? ( net-mail/notmuch )
sasl? ( >=dev-libs/cyrus-sasl-2 )
!slang? ( sys-libs/ncurses:0 )
slang? ( sys-libs/slang )
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.6:0 )
libressl? ( dev-libs/libressl )
)
"
DEPEND="${CDEPEND}
net-mail/mailbase
doc? (
dev-libs/libxml2
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
|| ( www-client/lynx www-client/w3m www-client/elinks )
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-mutt )
"

S="${WORKDIR}/${PN}-${P}"

src_prepare() {
eapply "${FILESDIR}/0001-Rename-mutt-to-neomutt.patch"
eapply_user
AT_M4DIR="m4" eautoreconf
}

src_configure() {
local myconf=(
"$(use_enable crypt pgp)"
"$(use_enable debug)"
"$(use_enable doc)"
"$(use_enable gpg gpgme)"
"$(use_enable nls)"
"$(use_enable smime)"
"$(use_enable notmuch)"
"$(use_with idn)"
"$(use_with kerberos gss)"
"$(use_with sasl)"
"$(use_with tokyocabinet)"
"$(use_with kyotocabinet)"
"$(use_with qdbm)"
"$(use_with gdbm)"
"$(use_with berkdb bdb)"
"$(use_with lmdb)"
"--with-$(usex slang slang curses)"
"--sysconfdir=${EPREFIX}/etc/${PN}"
"--with-docdir=${EPREFIX}/usr/share/doc/${PF}"
)

if [[ ${CHOST} == *-solaris* ]] ; then
# arrows in index view do not show when using wchar_t
myconf+=( "--without-wc-funcs" )
fi

if use gnutls; then
myconf+=( "--with-gnutls" )
elif use ssl; then
myconf+=( "--with-ssl" )
fi

econf "${myconf[@]}"
}

src_install() {
emake DESTDIR="${D}" install

# A newer file is provided by app-misc/mime-types. So we link it.
rm "${ED}"/etc/${PN}/mime.types || die
dosym "${EPREFIX}/etc/mime.types" /etc/${PN}/mime.types

## A man-page is always handy, so fake one
if use !doc; then
emake -C doc muttrc.man
# make the fake slightly better, bug #413405
sed -e 's#@docdir@/manual.txt#http://www.neomutt.org/guide#' \
-e 's#in @docdir@,#at http://www.neomutt.org/,#' \
    -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \
-e "s#@bindir@#${EPREFIX}/usr/bin#" \
doc/mutt.man > neomutt.1 || die
cp doc/muttrc.man neomuttrc.5 || die
doman neomutt.1 neomuttrc.5
fi

dodoc COPYRIGHT ChangeLog* OPS* README*
}

--
Nicolas Bock <nicolasb...@gentoo.org>




--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] New package neomutt

2017-09-18 Thread Nicolas Bock

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.


This is the third edition. Please have another look. Thanks!



# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit autotools eutils flag-o-matic

SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz;
KEYWORDS="~amd64 ~x86"

DESCRIPTION="A small but very powerful text-based mail client"
HOMEPAGE="https://www.neomutt.org/;

LICENSE="GPL-2"
SLOT="0"
IUSE="berkdb crypt debug doc gdbm gnutls gpg idn kerberos kyotocabinet
libressl lmdb nls notmuch qdbm sasl selinux slang smime ssl +symlink
tokyocabinet"

CDEPEND="
app-misc/mime-types
berkdb? ( >=sys-libs/db-4:= )
gdbm? ( sys-libs/gdbm )
kyotocabinet? ( dev-db/kyotocabinet )
lmdb? ( dev-db/lmdb )
nls? ( virtual/libintl )
qdbm? ( dev-db/qdbm )
tokyocabinet? ( dev-db/tokyocabinet )
gnutls? ( >=net-libs/gnutls-1.0.17 )
gpg? ( >=app-crypt/gpgme-0.9.0 )
idn? ( net-dns/libidn )
kerberos? ( virtual/krb5 )
notmuch? ( net-mail/notmuch )
sasl? ( >=dev-libs/cyrus-sasl-2 )
!slang? ( sys-libs/ncurses:0 )
slang? ( sys-libs/slang )
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.6:0 )
libressl? ( dev-libs/libressl )
)
"
DEPEND="${CDEPEND}
net-mail/mailbase
doc? (
dev-libs/libxml2
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
|| ( www-client/lynx www-client/w3m www-client/elinks )
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-mutt )
"

S="${WORKDIR}/${PN}-${P}"

src_prepare() {
eapply "${FILESDIR}/0001-Rename-mutt-to-neomutt.patch"
eapply_user
AT_M4DIR="m4" eautoreconf
}

src_configure() {
local myconf=(
"$(use_enable crypt pgp)"
"$(use_enable debug)"
"$(use_enable doc)"
"$(use_enable gpg gpgme)"
"$(use_enable nls)"
"$(use_enable smime)"
"$(use_enable notmuch)"
"$(use_with idn)"
"$(use_with kerberos gss)"
"$(use_with sasl)"
"$(use_with tokyocabinet)"
"$(use_with kyotocabinet)"
"$(use_with qdbm)"
"$(use_with gdbm)"
"$(use_with berkdb bdb)"
"$(use_with lmdb)"
"--with-$(usex slang slang curses)"
"--sysconfdir=${EPREFIX}/etc/${PN}"
"--with-docdir=${EPREFIX}/usr/share/doc/${PF}"
)

if [[ ${CHOST} == *-solaris* ]] ; then
# arrows in index view do not show when using wchar_t
myconf+=( "--without-wc-funcs" )
fi

if use gnutls; then
myconf+=( "--with-gnutls" )
elif use ssl; then
myconf+=( "--with-ssl" )
fi

econf "${myconf[@]}"
}

src_install() {
emake DESTDIR="${D}" install

# A newer file is provided by app-misc/mime-types. So we link it.
rm "${ED}"/etc/${PN}/mime.types || die
dosym "${EPREFIX}/etc/mime.types" /etc/${PN}/mime.types

## A man-page is always handy, so fake one
if use !doc; then
emake -C doc muttrc.man
# make the fake slightly better, bug #413405
sed -e 's#@docdir@/manual.txt#http://www.neomutt.org/guide#' \
-e 's#in @docdir@,#at http://www.neomutt.org/,#' \
-e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \
-e "s#@bindir@#${EPREFIX}/usr/bin#" \
doc/mutt.man > neomutt.1 || die
cp doc/muttrc.man neomuttrc.5 || die
doman neomutt.1 neomuttrc.5
fi

dodoc COPYRIGHT ChangeLog* OPS* README*
}

--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] New package neomutt

2017-09-18 Thread Nicolas Bock

On Thu, Aug 10, 2017 at 09:40:30AM +0200, Michał Górny wrote:

On czw, 2017-08-10 at 06:58 +0200, Nicolas Bock 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.


Thanks for all of the great suggestions and feedback!

This is round two. I have update the ebuild with all your
suggestions. I have also added support for eselecting between mutt
and neomutt. Before the eselect ebuild can land though, we need to
rename the mutt binary so that the managed link can be called
mutt.


What for? How many people are exactly in the dire need of having both
installed simultaneously and switching between them? If you really can't
learn to type the new command, add IUSE=symlink blocking original mutt
and be done with it. Don't add more unowned files to /usr by another
poorly written eselect module.


I changed the ebuild such that it can be installed together with 
mutt without having to use symlinks or eselet.



# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit autotools eutils flag-o-matic

if [[ ${PV} ==  ]] ; then
# live ebuild
inherit git-r3
EGIT_REPO_URI="https://github.com/neomutt/neomutt.git;
EGIT_CHECKOUT_DIR="${WORKDIR}/neomutt-${P}"
KEYWORDS=""


This is going to confuse the hell out of ekeyword.


I split the ebuild into two so that this conditional is unnecessary.


else
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz;
KEYWORDS="~amd64 ~x86"
fi

DESCRIPTION="Teaching an Old Dog New Tricks"


This doesn't tell anybody who doesn't know mutt what this is.


Fixed, I reverted that change.


HOMEPAGE="https://www.neomutt.org/;

LICENSE="GPL-2"
SLOT="0"
IUSE="berkdb crypt debug doc gdbm gnutls gpg idn kerberos libressl mbox
nls notmuch qdbm sasl selinux slang smime ssl tokyocabinet kyotocabinet
lmdb"


Sort lexically.


Fixed.



CDEPEND="
app-eselect/eselect-mutt
app-misc/mime-types
nls? ( virtual/libintl )
tokyocabinet?  ( dev-db/tokyocabinet )
qdbm?  ( dev-db/qdbm )
gdbm?  ( sys-libs/gdbm )
berkdb? ( >=sys-libs/db-4:= )
kyotocabinet? ( dev-db/kyotocabinet )
lmdb? ( dev-db/lmdb )
gnutls?  ( >=net-libs/gnutls-1.0.17 )
!gnutls? (
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.6:0 )
libressl? ( dev-libs/libressl )
)
)


This is not a correct use of 'ssl' flag:

 global:ssl: Add support for Secure Socket Layer connections

It's supposed to go top-level, above any implementation flags.


sasl?( >=dev-libs/cyrus-sasl-2 )
kerberos? ( virtual/krb5 )
idn? ( net-dns/libidn )
gpg? ( >=app-crypt/gpgme-0.9.0 ) 
smime?   (
!libressl? ( >=dev-libs/openssl-0.9.6:0 )
libressl? ( dev-libs/libressl )


What is the point of preferring gnutls when USE=smime pulls openssl
anyway?


)
notmuch? ( net-mail/notmuch )
slang? ( sys-libs/slang )
!slang? ( >=sys-libs/ncurses-5.2:0 )


Why not = slotop? ncurses definitely changed ABI in the past. It's
something you are supposed to use when needed, not when repoman
complains about it and you didn't accidentally workaround the check.


The current version of ncurses works, so I removed the version on it. I
also sorted the dependencies.


Sorting this would also help reviews.


"
DEPEND="${CDEPEND}
net-mail/mailbase
doc? (
dev-libs/libxml2
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
|| ( www-client/lynx www-client/w3m www-client/elinks )
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-mutt )
"

S="${WORKDIR}/${PN}-${P}"

src_prepare() {
eapply "${FILESDIR}/0001-Rename-mutt-to-neomutt.patch"
eapply_user
AT_M4DIR="m4" eautoreconf
}

src_configure() {
local myconf=(
"$(use_enable crypt pgp)"
"$(use_enable debug)"
"$(use_enable doc)"
"$(use_enable gpg gpgme)"
"$(use_enable nls)"
"$(use_enable smime)"
"$(use_enable notmuch)"
"$(use_with idn)"
"$(use_with kerberos gss)"
"$(use_with sasl)"
"$(use_with tokyocabinet)"
"$(use_with kyotocabinet)"
"$(use_with qdbm)"

Re: [gentoo-dev] New package neomutt

2017-08-10 Thread Nicolas Bock

On Thu, Aug 10, 2017 at 10:10:04AM +0200, Michał Górny wrote:

On czw, 2017-08-10 at 09:54 +0200, Fabian Groffen wrote:

On 10-08-2017 09:40:30 +0200, Michał Górny wrote:
> On czw, 2017-08-10 at 06:58 +0200, Nicolas Bock 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.
> >
> > Thanks for all of the great suggestions and feedback!
> >
> > This is round two. I have update the ebuild with all your
> > suggestions. I have also added support for eselecting between mutt
> > and neomutt. Before the eselect ebuild can land though, we need to
> > rename the mutt binary so that the managed link can be called
> > mutt.
>
> What for? How many people are exactly in the dire need of having both
> installed simultaneously and switching between them? If you really can't
> learn to type the new command, add IUSE=symlink blocking original mutt
> and be done with it. Don't add more unowned files to /usr by another
> poorly written eselect module.

Be nice!  No need to be bitchy here (and in the rest of your review).
Nicolas is just trying.

Me, as maintainer of Mutt, thought it was a good idea, because it allows
people to easily have both installed at the same time, which in this
interesting time for both projects is not a weird thing to have.


I don't see how eselect helps that. People can just run neomutt by
typing... neomutt, right? It works without the symlink, right?


It does of course. What's appropriate here depends on whether we 
think somebody might want to have both mutt and neomutt installed 
at the same time. If we don't allow this use case, we don't have 
to worry about eselect and the neomutt binary will be called 
'mutt' (as it is called by upstream already). If we do allow this 
use case, being able to eselect makes sense because then the 
binary is still always called 'mutt'.



If there is a policy/move to get rid of eselect, then sorry, I am not
aware of that.  I can live with a symlink USE-flag.  It doesn't seem
very elegant to me, but it would work for this scenario.



The move is against orphaned files in /usr that are randomly changed by
runtime tools rather than the package manager.


I don't quite understand the problem. Doesn't the package manager 
take care of symlinks installed by the eselect package?



--
Best regards,
Michał Górny




--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] New package neomutt

2017-08-09 Thread Nicolas Bock

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.


Thanks for all of the great suggestions and feedback!

This is round two. I have update the ebuild with all your 
suggestions. I have also added support for eselecting between mutt 
and neomutt. Before the eselect ebuild can land though, we need to 
rename the mutt binary so that the managed link can be called 
mutt.



# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit autotools eutils flag-o-matic

if [[ ${PV} ==  ]] ; then
# live ebuild
inherit git-r3
EGIT_REPO_URI="https://github.com/neomutt/neomutt.git;
EGIT_CHECKOUT_DIR="${WORKDIR}/neomutt-${P}"
KEYWORDS=""
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz;
KEYWORDS="~amd64 ~x86"
fi

DESCRIPTION="Teaching an Old Dog New Tricks"
HOMEPAGE="https://www.neomutt.org/;

LICENSE="GPL-2"
SLOT="0"
IUSE="berkdb crypt debug doc gdbm gnutls gpg idn kerberos libressl mbox
nls notmuch qdbm sasl selinux slang smime ssl tokyocabinet kyotocabinet
lmdb"

CDEPEND="
app-eselect/eselect-mutt
app-misc/mime-types
nls? ( virtual/libintl )
tokyocabinet?  ( dev-db/tokyocabinet )
qdbm?  ( dev-db/qdbm )
gdbm?  ( sys-libs/gdbm )
berkdb? ( >=sys-libs/db-4:= )
kyotocabinet? ( dev-db/kyotocabinet )
lmdb? ( dev-db/lmdb )
gnutls?  ( >=net-libs/gnutls-1.0.17 )
!gnutls? (
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.6:0 )
libressl? ( dev-libs/libressl )
)
)
sasl?( >=dev-libs/cyrus-sasl-2 )
kerberos? ( virtual/krb5 )
idn? ( net-dns/libidn )
gpg? ( >=app-crypt/gpgme-0.9.0 )
smime?   (
!libressl? ( >=dev-libs/openssl-0.9.6:0 )
libressl? ( dev-libs/libressl )
)
notmuch? ( net-mail/notmuch )
slang? ( sys-libs/slang )
!slang? ( >=sys-libs/ncurses-5.2:0 )
"
DEPEND="${CDEPEND}
net-mail/mailbase
doc? (
dev-libs/libxml2
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
|| ( www-client/lynx www-client/w3m www-client/elinks )
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-mutt )
"

S="${WORKDIR}/${PN}-${P}"

src_prepare() {
eapply "${FILESDIR}/0001-Rename-mutt-to-neomutt.patch"
eapply_user
AT_M4DIR="m4" eautoreconf
}

src_configure() {
local myconf=(
"$(use_enable crypt pgp)"
"$(use_enable debug)"
"$(use_enable doc)"
"$(use_enable gpg gpgme)"
"$(use_enable nls)"
"$(use_enable smime)"
"$(use_enable notmuch)"
"$(use_with idn)"
"$(use_with kerberos gss)"
"$(use_with sasl)"
"$(use_with tokyocabinet)"
"$(use_with kyotocabinet)"
"$(use_with qdbm)"
"$(use_with gdbm)"
"$(use_with berkdb bdb)"
"$(use_with lmdb)"
"--with-$(use slang && echo slang || echo 
curses)=${EPREFIX}/usr"
"--sysconfdir=${EPREFIX}/etc/${PN}"
"--with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR}"
)

if [[ ${CHOST} == *-solaris* ]] ; then
# arrows in index view do not show when using wchar_t
myconf+=( "--without-wc-funcs" )
fi

# there's no need for gnutls, ssl or sasl without socket support
if use gnutls; then
myconf+=( "--with-gnutls" )
elif use ssl; then
myconf+=( "--with-ssl" )
fi

if use mbox; then
myconf+=( "--with-mailpath=${EPREFIX}/var/spool/mail" )
else
myconf+=( "--with-homespool=Maildir" )
fi

econf "${myconf[@]}"
}

src_install() {
emake DESTDIR="${D}" install
if use mbox; then
insinto /etc/${PN}
newins "${FILESDIR}"/Muttrc.mbox Muttrc
else
insinto /etc/${PN}
doins "${FILESDIR}"/Muttrc
fi

# A newer file i

Re: [gentoo-dev] New package neomutt

2017-08-09 Thread Nicolas Bock

On Mon, Jul 31, 2017 at 10:34:53AM +0200, Patrice Clement wrote:

Hi Nicolas

See my comments inline.

Monday 31 Jul 2017 09:23:51, Nicolas Bock 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.

I should have inlined the patch. Sorry.



From 63f5d569aec514d67645b1c2e891e51810bb7ab5 Mon Sep 17 00:00:00 2001
From: Nicolas Bock <nicolasb...@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
new file mode 100644
index 000..2b38484e24d
--- /dev/null
+++ b/mail-client/neomutt/Manifest
@@ -0,0 +1 @@
+DIST neomutt-20170714.tar.gz 2509160 SHA256 
40d48920f95ca49ab96eb109b658f5cf6e1c222320c58bdd03769c1355d7a383 SHA512 
eb31d2f23b7211904cd66ba293c008f953778b37f13fd09d4db571d013f1c8e6449fccd827872f3ad0a2c8e62555f92b3f9591a1f0f4ac37ab362a4681abaaa0
 WHIRLPOOL 
455495501a2ab1989d5f3bfa75aa2370896956cdfd7d2e852e225c96aa23a1abdaf2dbb9d886d1d96486d19b2b38c225e8263f268ebafcef8cbd0024885189f3
diff --git a/mail-client/neomutt/metadata.xml b/mail-client/neomutt/metadata.xml
new file mode 100644
index 000..081f253b3a1
--- /dev/null
+++ b/mail-client/neomutt/metadata.xml
@@ -0,0 +1,24 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   nicolasb...@gentoo.org
+   Nicolas Bock
+   
+   
+   net-m...@gentoo.org
+   Net-Mail
+   
+   
+   Enable support for 
app-crypt/gpgme
+   Enable support for 
net-mail/notmuch
+   Enable support for S/MIME
+   Enable dev-db/tokyocabinet
+   database backend for header caching
+   
+   
+   
+   
+   neomutt/neomutt
+   
+
diff --git a/mail-client/neomutt/neomutt-20170714.ebuild 
b/mail-client/neomutt/neomutt-20170714.ebuild
new file mode 100644
index 000..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$
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="A small but very powerful text-based mail client"
+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"
+
+CDEPEND="
+   !mail-client/mutt
+   app-misc/mime-types
+   nls? ( virtual/libintl )
+   tokyocabinet?  ( dev-db/tokyocabinet )
+   !tokyocabinet? (
+   qdbm?  ( dev-db/qdbm )
+   !qdbm? (
+   gdbm?  ( sys-libs/gdbm )
+   !gdbm? ( berkdb? ( >=sys-libs/db-4:= ) )
+   )
+   )
+   gnutls?  ( >=net-libs/gnutls-1.0.17 )
+   !gnutls? (
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6:0 )
+   libressl? ( dev-libs/libressl )
+   )
+   )
+   sasl?( >=dev-libs/cyrus-sasl-2 )
+   kerberos? ( virtual/krb5 )
+   idn? ( net-dns/libidn )
+   gpg? ( >=app-crypt/gpgme-0.9.0 )
+   smime?   (
+   !libressl? ( >=dev-libs/openssl-0.9.6:0 )
+   libressl? ( dev-libs/libressl )
+   )
+   notmuch? ( net-mail/notmuch )
+   slang? ( sys-libs/slang )
+   !slang? ( >=sys-libs/ncurses-5.2:0 )
+"
+DEPEND="${CDEPEND}
+   net-mail/mailbase
+   doc? (
+   dev-libs/libxml2
+   dev-libs/libxslt
+   app-text/docbook-xsl-stylesheets
+   || ( www-client/lynx www-client/w3m www-client/elinks )
+   )"
+RDEPEND="${CDEPEND}
+   selinux? ( sec-policy/selinux-mutt )
+"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   "$(use_enable crypt pgp)"
+   "$(use_enable debug)"
+   "$(use_enable doc)"
+  

Re: [gentoo-dev] New package neomutt

2017-08-09 Thread Nicolas Bock

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 <nicolasb...@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 <nicolasb...@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 000..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=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 <nicolasb...@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 <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] New package neomutt

2017-07-31 Thread Nicolas Bock

On Mon, Jul 31, 2017 at 09:44:55AM +0200, Michał Górny wrote:

Dnia 31 lipca 2017 09:11:19 CEST, Nicolas Bock <nicolasb...@gentoo.org> 
napisał(a):

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.


Aren't you looking for gentoo-proxy-maint ml?


No, I was looking for comments on the package. I will maintain it 
once I add it to the tree. I should have stated that more clearly.


Best,

Nick

--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] New package neomutt

2017-07-31 Thread Nicolas Bock

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.


I should have inlined the patch. Sorry.



From 63f5d569aec514d67645b1c2e891e51810bb7ab5 Mon Sep 17 00:00:00 2001
From: Nicolas Bock <nicolasb...@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
new file mode 100644
index 000..2b38484e24d
--- /dev/null
+++ b/mail-client/neomutt/Manifest
@@ -0,0 +1 @@
+DIST neomutt-20170714.tar.gz 2509160 SHA256 
40d48920f95ca49ab96eb109b658f5cf6e1c222320c58bdd03769c1355d7a383 SHA512 
eb31d2f23b7211904cd66ba293c008f953778b37f13fd09d4db571d013f1c8e6449fccd827872f3ad0a2c8e62555f92b3f9591a1f0f4ac37ab362a4681abaaa0
 WHIRLPOOL 
455495501a2ab1989d5f3bfa75aa2370896956cdfd7d2e852e225c96aa23a1abdaf2dbb9d886d1d96486d19b2b38c225e8263f268ebafcef8cbd0024885189f3
diff --git a/mail-client/neomutt/metadata.xml b/mail-client/neomutt/metadata.xml
new file mode 100644
index 000..081f253b3a1
--- /dev/null
+++ b/mail-client/neomutt/metadata.xml
@@ -0,0 +1,24 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   nicolasb...@gentoo.org
+       Nicolas Bock
+   
+   
+   net-m...@gentoo.org
+   Net-Mail
+   
+   
+   Enable support for 
app-crypt/gpgme
+   Enable support for 
net-mail/notmuch
+   Enable support for S/MIME
+   Enable dev-db/tokyocabinet
+   database backend for header caching
+   
+   
+   
+   
+   neomutt/neomutt
+   
+
diff --git a/mail-client/neomutt/neomutt-20170714.ebuild 
b/mail-client/neomutt/neomutt-20170714.ebuild
new file mode 100644
index 000..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$
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="A small but very powerful text-based mail client"
+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"
+
+CDEPEND="
+   !mail-client/mutt
+   app-misc/mime-types
+   nls? ( virtual/libintl )
+   tokyocabinet?  ( dev-db/tokyocabinet )
+   !tokyocabinet? (
+   qdbm?  ( dev-db/qdbm )
+   !qdbm? (
+   gdbm?  ( sys-libs/gdbm )
+   !gdbm? ( berkdb? ( >=sys-libs/db-4:= ) )
+   )
+   )
+   gnutls?  ( >=net-libs/gnutls-1.0.17 )
+   !gnutls? (
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6:0 )
+   libressl? ( dev-libs/libressl )
+   )
+   )
+   sasl?( >=dev-libs/cyrus-sasl-2 )
+   kerberos? ( virtual/krb5 )
+   idn? ( net-dns/libidn )
+   gpg? ( >=app-crypt/gpgme-0.9.0 )
+   smime?   (
+   !libressl? ( >=dev-libs/openssl-0.9.6:0 )
+   libressl? ( dev-libs/libressl )
+   )
+   notmuch? ( net-mail/notmuch )
+   slang? ( sys-libs/slang )
+   !slang? ( >=sys-libs/ncurses-5.2:0 )
+"
+DEPEND="${CDEPEND}
+   net-mail/mailbase
+   doc? (
+   dev-libs/libxml2
+   dev-libs/libxslt
+   app-text/docbook-xsl-stylesheets
+   || ( www-client/lynx www-client/w3m www-client/elinks )
+   )"
+RDEPEND="${CDEPEND}
+   selinux? ( sec-policy/selinux-mutt )
+"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   "$(use_enable crypt pgp)"
+   "$(use_enable debug)"
+   "$(use_enable doc)"
+   "$(use_enable gpg gpgme)"
+   "$(use_enable nls)"
+   "$(use_enable smime)"
+   "$(use_enable notmuch)"
+   

[gentoo-dev] New package neomutt

2017-07-31 Thread Nicolas Bock

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.


Thanks,

Nick

--
Nicolas Bock <nicolasb...@gentoo.org>
From 63f5d569aec514d67645b1c2e891e51810bb7ab5 Mon Sep 17 00:00:00 2001
From: Nicolas Bock <nicolasb...@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
new file mode 100644
index 000..2b38484e24d
--- /dev/null
+++ b/mail-client/neomutt/Manifest
@@ -0,0 +1 @@
+DIST neomutt-20170714.tar.gz 2509160 SHA256 40d48920f95ca49ab96eb109b658f5cf6e1c222320c58bdd03769c1355d7a383 SHA512 eb31d2f23b7211904cd66ba293c008f953778b37f13fd09d4db571d013f1c8e6449fccd827872f3ad0a2c8e62555f92b3f9591a1f0f4ac37ab362a4681abaaa0 WHIRLPOOL 455495501a2ab1989d5f3bfa75aa2370896956cdfd7d2e852e225c96aa23a1abdaf2dbb9d886d1d96486d19b2b38c225e8263f268ebafcef8cbd0024885189f3
diff --git a/mail-client/neomutt/metadata.xml b/mail-client/neomutt/metadata.xml
new file mode 100644
index 000..081f253b3a1
--- /dev/null
+++ b/mail-client/neomutt/metadata.xml
@@ -0,0 +1,24 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+	
+		nicolasb...@gentoo.org
+		Nicolas Bock
+	
+	
+		net-m...@gentoo.org
+		Net-Mail
+	
+	
+		Enable support for app-crypt/gpgme
+		Enable support for net-mail/notmuch
+		Enable support for S/MIME
+		Enable dev-db/tokyocabinet
+			database backend for header caching
+	
+	
+	
+	
+		neomutt/neomutt
+	
+
diff --git a/mail-client/neomutt/neomutt-20170714.ebuild b/mail-client/neomutt/neomutt-20170714.ebuild
new file mode 100644
index 000..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$
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="A small but very powerful text-based mail client"
+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"
+
+CDEPEND="
+	!mail-client/mutt
+	app-misc/mime-types
+	nls? ( virtual/libintl )
+	tokyocabinet?  ( dev-db/tokyocabinet )
+	!tokyocabinet? (
+		qdbm?  ( dev-db/qdbm )
+		!qdbm? (
+			gdbm?  ( sys-libs/gdbm )
+			!gdbm? ( berkdb? ( >=sys-libs/db-4:= ) )
+		)
+	)
+	gnutls?  ( >=net-libs/gnutls-1.0.17 )
+	!gnutls? (
+		ssl? (
+			!libressl? ( >=dev-libs/openssl-0.9.6:0 )
+			libressl? ( dev-libs/libressl )
+		)
+	)
+	sasl?( >=dev-libs/cyrus-sasl-2 )
+	kerberos? ( virtual/krb5 )
+	idn? ( net-dns/libidn )
+	gpg? ( >=app-crypt/gpgme-0.9.0 )
+	smime?   (
+		!libressl? ( >=dev-libs/openssl-0.9.6:0 )
+		libressl? ( dev-libs/libressl )
+	)
+	notmuch? ( net-mail/notmuch )
+	slang? ( sys-libs/slang )
+	!slang? ( >=sys-libs/ncurses-5.2:0 )
+"
+DEPEND="${CDEPEND}
+	net-mail/mailbase
+	doc? (
+		dev-libs/libxml2
+		dev-libs/libxslt
+		app-text/docbook-xsl-stylesheets
+		|| ( www-client/lynx www-client/w3m www-client/elinks )
+	)"
+RDEPEND="${CDEPEND}
+	selinux? ( sec-policy/selinux-mutt )
+"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+	eapply_user
+	eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		"$(use_enable crypt pgp)"
+		"$(use_enable debug)"
+		"$(use_enable doc)"
+		"$(use_enable gpg gpgme)"
+		"$(use_enable nls)"
+		"$(use_enable smime)"
+		"$(use_enable notmuch)"
+		"$(use_with idn)"
+		"$(use_with kerberos gss)"
+		"--with-$(use slang && echo slang || echo curses)=${EPREFIX}/usr"
+		"--sysconfdir=${EPREFIX}/etc/${PN}"
+		"--with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR}"
+	)
+
+	if [[ ${CHOST} == *-solaris* ]] ; then
+		# arrows in index view do not show when using wchar_t
+		myconf+=( "--without-wc-funcs" )
+	fi
+
+	# mutt prioritizes gdbm over bdb, so we will too.
+	# hcache feature requires at least one database is in USE.
+	local hcaches=(
+		"tokyocabinet"
+		"qdbm"
+		"gdbm"
+		"berkdb:bdb"
+	)
+	local ucache hcache lcache
+	for hcache in "$

Re: [gentoo-dev] [RFC pre-GLEP] Gentoo Git Workflow

2017-07-25 Thread Nicolas Bock

On Tue, Jul 25, 2017 at 10:05:06AM +0200, Michał Górny wrote:

Hi, everyone.

There have been multiple attempts at grasping this but none so far
resulted in something official and indisputable. At the same time, we
end having to point our users at semi-official guides which change
in unpredictable ways.

Here's the current draft:
https://wiki.gentoo.org/wiki/User:MGorny/GLEP:Git

The basic idea is that the GLEP provides basic guidelines for using git,
and then we write a proper manual on top of it (right now, all the pages
about it end up as a mix of requirements and a partial git manual).

What do you think about it? Is there anything else that needs being
covered?


I like it. +1


Copy of the markup for inline comments follows.



--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


[gentoo-dev] test, please ignore

2017-07-17 Thread Nicolas Bock


--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


[gentoo-dev] test, please ignore

2017-07-17 Thread Nicolas Bock


--
Nicolas Bock <nicolasb...@gentoo.org>


signature.asc
Description: PGP signature


Re: [gentoo-dev] IRC cloak

2016-12-09 Thread Nicolas Bock
This is to prove my identity. My freenode nick is 'nicolasbock'.

Thanks,

Nick

On Fri, Dec 09, 2016 at 04:38:20PM +, Robin H. Johnson wrote:
> On Fri, Dec 09, 2016 at 08:17:06AM -0700, Nicolas Bock wrote:
> > I would like to use my developer IRC cloak but can't remember how 
> > to. Which got me to Google this question but so far I haven't come 
> > up with actual instructions for developers on how to do this sort 
> > of thing. Do we have any instructions? Could you point me to it? 
> > Or tell me how to use the cloak?
> It looks like your IRC handle wasn't used enough and your nickserv
> registration expired.
> 
> Re-register it, then talk to the freenode group contacts in
> #gentoo-groupcontacts.
> 
> -- 
> Robin Hugh Johnson
> Gentoo Linux: Dev, Infra Lead, Foundation Trustee & Treasurer
> E-Mail   : robb...@gentoo.org
> GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
> GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136




signature.asc
Description: PGP signature


[gentoo-dev] IRC cloak

2016-12-09 Thread Nicolas Bock
Hi,

I would like to use my developer IRC cloak but can't remember how 
to. Which got me to Google this question but so far I haven't come 
up with actual instructions for developers on how to do this sort 
of thing. Do we have any instructions? Could you point me to it? 
Or tell me how to use the cloak?

Thanks already,

Nick



Re: [gentoo-dev] JavaScript packages?

2016-07-04 Thread Nicolas Bock
On 07/04/2016 10:15 AM, Daniel Campbell wrote:
> On 07/04/2016 12:57 AM, Nicolas Bock wrote:
>> Hi,
>>
>> I would like to package a code that depends on JavaScript packages. The
>> suggested installation procedure from upstream involves running `npm
>> install ...`. How do we (or do we?) deal with JavaScript packages?
>>
>> Best,
>>
>> Nick
>>
> The better question to ask is "what does this program need in order to
> function?" If it installed through 'npm', that's going to point to Node.
> Whatever format Node uses for its packages, you should read it and find
> out if it requires anything else besides Node. If other Node packages
> are needed, they may be in the tree already.
> 
The program runs without JS. However, it can also run a server that
provides a UI through a browser. That's the part that requires the JS.



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] JavaScript packages?

2016-07-04 Thread Nicolas Bock
Hi,

I would like to package a code that depends on JavaScript packages. The
suggested installation procedure from upstream involves running `npm
install ...`. How do we (or do we?) deal with JavaScript packages?

Best,

Nick



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] Gentoo Overlays project needs you!

2016-05-17 Thread Nicolas Bock
On 05/17/2016 08:36 AM, Michał Górny wrote:
> Hello, everyone.
> 
> It seems that I'm the only person doing Overlays project work these days. 
> This is getting ridiculous to the point of users mailing me when I'm away and 
> requests are not handled, and dangerous to the point of me missing an email 
> meaning the request won't be handled.
> 
> For this reason, I would like to ask others to join the Overlays effort. The 
> work involves pretty much:
> 
> 1. updating repositories.xml,
> 
> 2. adding and removing repositories from gitolite,
> 
> 3. updating user SSH keys,
> 
> 4. handling bugs for problems with repos -- reassigning, possibly removing 
> from repos.xml for major problems,
> 
> 5. in the future, possibly using my script to semi-automatically file bugs 
> for QA issues detected with repo-mirror-ci (it boils down to reading the 
> prepared bug text, clicking the link to validate it and confirming it).
> 
> You don't have to have any prior knowledge, I will train you if necessary. I 
> will also figure out who to ask for confirmation since you will be given 
> partial gitolite admin access.
> 
> At the same time, I would like to ask the existing Overlays team members to 
> remove themselves from the team if they are not willing to do any work. There 
> is really no point in pretending there's more of us here.
> 
> Thanks in advance.k
> 
Hi Michal,

I'd be willing to help.

Nick