On 07/09/2016 09:54 AM, Neil Bothwick wrote:
> I've created an ebuild for net-misc/zerotier [1]. This has a BDEP on
> app-text/ronn, the build system uses it to create the man pages. The
> trouble is that ronn is a Ruby program and pulls in a shedload of
> dependencies, just to install man pages.

Ruby packages (besides dev-lang/ruby itself) install quickly, like perl
packages, so this isn't a *huge* deal. They can also be removed
afterwards with a depclean.


> It seems to me to make more sense to put pre-built man pages in
> ${FILESDIR}/${PV} and copy them with doman. Is this considered the
> correct or acceptable way to deal with this?

It's up to you. If they release a new version every day, it's going to
get real annoying to regenerate the man pages each time. Also keep an
eye on the size of the man pages. We have a soft limit of "a few
kilobytes" for things in FILESDIR, which may mean you'd have to upload
the man pages somewhere else and include that in SRC_URI. Doing so makes
the regeneration process even more annoying.

Nevertheless, I've had to pre-build man pages for a few packages myself.


Reply via email to