Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519390 - app-text/man2html: resurrect since man-db doesn't provide it
Summary: app-text/man2html: resurrect since man-db doesn't provide it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-08 10:07 UTC by Ian Abbott
Modified: 2016-02-13 06:44 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Abbott 2014-08-08 10:07:21 UTC
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!
Comment 1 Ian Abbott 2014-08-08 10:11:42 UTC
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.
Comment 2 SpanKY gentoo-dev 2014-08-11 04:40:25 UTC
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
Comment 3 Ian Abbott 2014-08-12 10:50:45 UTC
(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.
Comment 4 Bernard Cafarelli gentoo-dev 2014-08-22 09:28:42 UTC
Indeed net-misc/x2goserver does not need it anymore (for current versions in tree), I just cleaned the dependency
Comment 5 SpanKY gentoo-dev 2014-09-11 07:31:51 UTC
(In reply to Bernard Cafarelli from comment #4)

thanks, let's just sit on this for now then
Comment 6 Ulrich Müller gentoo-dev 2016-02-06 11:05:30 UTC
(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.