The man2html program is provided by the sys-apps/man package, but not by sys-apps/man-db. There is one package (net-misc/x2goserver[doc]) that depends on sys-apps/man to build its documentation, because it uses the man2html program to do so. It would be handy to have an app-text/man2html package (there used to be one) and a virtual/man2html package. Then packages that require man2html can depend on virtual/man2html. virtual/man2html would depend on sys-apps/man || app-text/man2html app-text/man2html would depend on !sys-apps/man sys-apps/man would depend on !sys-apps/man-db && !app-text/man2html sys-apps/man-db would depend on !sys-apps/man An initial step could be to create a virtual/man2html package that depends on sys-apps/man alone without app-text/man2html as an alternative. Some other distros (e.g. Debian) split out man2html into a separate package, built from the man-1.6g sources. Reproducible: Always Feel free to close this bug if it seems too ridiculous!
I forgot to mention that a man2html package would be useful in its own right (particularly the web CGI aspects) for those of us who have sys-apps/man-db installed and might be missing this functionality.
if only one package wants `man2html`, then a virtual is not warranted there's also a dedicated perl script: http://www.nongnu.org/man2html/ but it doesn't look terribly viable either
(In reply to SpanKY from comment #2) > if only one package wants `man2html`, then a virtual is not warranted TBH, the one package that does want `man2html` (net-misc/x2goserver) probably doesn't need it anyway (see bug #519424). > > there's also a dedicated perl script: > http://www.nongnu.org/man2html/ > > but it doesn't look terribly viable either Yes, the project doesn't look very lively, and all the config options are set in the CGI script itself.
Indeed net-misc/x2goserver does not need it anymore (for current versions in tree), I just cleaned the dependency
(In reply to Bernard Cafarelli from comment #4) thanks, let's just sit on this for now then
(In reply to Ian Abbott from comment #1) > I forgot to mention that a man2html package would be useful in its own right > (particularly the web CGI aspects) for those of us who have sys-apps/man-db > installed and might be missing this functionality. With or without virtual, it would be nice if this could be factored out into its own package. Otherwise, the blocker between man and man-db will prevent installation of man2html when man-db is installed. For example, man2html is needed for converting the eclass manpages which are included in the devmanual, see bug 536654.
okie dokie: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f548467ce4c0b0d471b8a8e04c5bde56fcf7d29