tech-pkg archive

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

Re: Fixing catman pages



On Fri, 06 Sep 2013 21:35:28 +0900, Jonathan Perkin 
<jperkin%joyent.com@localhost> 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:

    
https://github.com/joyent/pkgsrc/commit/1e43db1ed16b8d232001ec68f237a791afdff473

  Secondly, use mdocml for USE_TOOLS=nroff:

    
https://github.com/joyent/pkgsrc/commit/de6ecbe53c452369475e9058542666bee864c3f2

  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?

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index