tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fixing catman pages

On Sun, 08 Sep 2013 16:06:36 +0900, Jonathan Perkin 
<> wrote:

* On 2013-09-08 at 03:23 BST, OBATA Akio wrote:

On Sat, 07 Sep 2013 23:29:34 +0900, Jonathan Perkin 
<> wrote:

>* On 2013-09-07 at 12:43 BST, OBATA Akio wrote:
>>On Fri, 06 Sep 2013 21:35:28 +0900, Jonathan Perkin 
<> wrote:
>>> #1: Use mdocml as the tool replacement for nroff.
>>> =================================================
>>>  Some packages which generate catman pages ('pkgin', for example) add
>>>  a USE_TOOLS dependency on nroff, which currently will pull in groff.
>>>  Whilst this works, it is not ideal as groff has many dependencies,
>>>  and when adding catman support to e.g. devel/tradcpp we run into
>>>  circular dependency issues.
>>>  To fix this, two changesets are required.  First, allow mdocml and
>>>  groff to co-exist, so that 'USE_TOOLS= groff nroff' will work
>>>  correctly.  This involves renaming some of mdocml's files:
>>>  Secondly, use mdocml for USE_TOOLS=nroff:
>>>  This should have benefits regardless of catman issues, as mdocml is
>>>  much smaller than groff and is BSD licensed.
>>How about change to install nroff from groff as `gnroff' instead,
>>same as other GNU packages?
>What would be the benefit of that?  That would be out of scope for the
>changes I've proposed, so I'd rather see that discussed separately if
>there is a reason for doing so.

Because your change means that nroff from mdocml is the default nroff in pkgsrc,
so I feel that nroff from mdocml should be kept as `nroff' and nroff from groff
should be renamed instead.

There is no 'nroff' from mdocml.  The utility is called 'mandoc', and
the tools infrastructure creates an nroff symlink to that.

I misread your patch as renaming nroff command instead of man page...sorry for 
my mess...

`gnroff' is found in pkgsrc/mk/tools/, so isn't it so
specal naming?

That's just the GNU version present in some SunOS 5.11 distributions,
the 'nroff' on those systems is still the old SYSV one.

Yes, it is usual way to avoid conflict GNU version with other `nroff' commands.

OBATA Akio /

Home | Main Index | Thread Index | Old Index