Gentoo Archives: gentoo-dev

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] man pages: build or copy?
Date: Sun, 10 Jul 2016 14:40:39
Message-Id: 20160710154021.306e3a4a@digimed.co.uk
In Reply to: Re: [gentoo-dev] man pages: build or copy? by "Michał Górny"
1 On Sun, 10 Jul 2016 08:37:57 +0200, Michał Górny wrote:
2
3 > > I've created an ebuild for net-misc/zerotier [1]. This has a BDEP on
4 > > app-text/ronn, the build system uses it to create the man pages. The
5 > > trouble is that ronn is a Ruby program and pulls in a shedload of
6 > > dependencies, just to install man pages.
7 > >
8 > > It seems to me to make more sense to put pre-built man pages in
9 > > ${FILESDIR}/${PV} and copy them with doman. Is this considered the
10 > > correct or acceptable way to deal with this?
11 > >
12 > > 1) https://bugs.gentoo.org/show_bug.cgi?id=588324
13 >
14 > If they are quite static (i.e. don't have important content that
15 > depends on USE flags etc.), generate them, put in a tarball somewhere
16 > (you can ask a proxy committer to host it for you), then fetch them via
17 > SRC_URI.
18
19 Thanks for that suggestion. I've done it that way with a tarball on
20 Github.
21
22
23 --
24 Neil Bothwick