Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559926 - app-text/mandoc-1.13.4: New Package
Summary: app-text/mandoc-1.13.4: New Package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://mdocml.bsd.lv/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2015-09-08 02:28 UTC by Albert Ou
Modified: 2017-01-28 06:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-apps/mdocml/mdocml-1.13.3.ebuild (mdocml-1.13.3.ebuild,983 bytes, text/plain)
2015-09-08 02:28 UTC, Albert Ou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Ou 2015-09-08 02:28:14 UTC
Created attachment 411312 [details]
sys-apps/mdocml/mdocml-1.13.3.ebuild

Per the official description: "mandoc [a.k.a. mdocml] is a suite of tools compiling mdoc, the roff macro language of choice for BSD manual pages, and man, the predominant historical language for UNIX manuals.  It is small, ISO C, ISC-licensed, and quite fast.  The main component of the toolset is the mandoc utility program, based on the libmandoc validating compiler, to format output for UNIX terminals (with support for wide-character locales), XHTML, HTML, PostScript, and PDF."

Installation of this package does not conflict with sys-apps/groff or sys-apps/man.  Note that I am not suggesting mandoc as a replacement for either, although it has recently been gaining traction among the *BSD projects for that purpose.

Thanks.
Comment 1 Aric Belsito 2016-12-08 23:30:24 UTC
I'm interested in picking this package up as a replacement for sys-apps/man and sys-apps/man-db

I'm noticing a couple of caveats, though: 

1. mdocml only supports reading uncompressed manpages, or manpages compressed with gzip, so the default PORTAGE_COMPRESS value will not work.
2. mdocml has interesting handling of the MANPATH environment variable, and I'm not 100% sure that it is respecting it. It does support the `manpath` executable, but that is provided by man-db -- we could ship a shell script that has the same functionality fairly easily, however.
Comment 2 SpanKY gentoo-dev 2017-01-28 06:51:16 UTC
i've updated it and merged it now.  thanks!

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a7512865782207325e9a5ab22b5170e9c95745