Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699270 - =media-video/mpv-0.30.0 recommendation to handle man page differently
Summary: =media-video/mpv-0.30.0 recommendation to handle man page differently
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-04 01:37 UTC by Ionen Wolkens
Modified: 2020-01-05 18:37 UTC (History)
5 users (show)

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


Attachments
Install manpages unconditonally like it once was. (0001-media-video-mpv-0.31.0-Install-manpages-unconditiona.patch,1.14 KB, patch)
2020-01-05 15:43 UTC, Piotr Karbowski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ionen Wolkens gentoo-dev 2019-11-04 01:37:27 UTC
It's my understanding that the "doc" USE flag is "usually" not for man pages but for other docs (otherwise, it's a default flag like for nftables since users expect man page to be present). mpv-0.29 used to have dev-python/docutils (for rst2man.py) in DEPEND and enable man-page build by default. Right now we have:

        $(use_enable doc html-build)
        $(use_enable doc pdf-build)
        $(use_enable doc manpage-build)

I also suggest removing the rst2pdf dependency and disabling pdf-build (it's the reason I did not want to specify "doc" USE), mpv is the only package in all of gentoo main repos that has a dependency on this old python2-only package (with many dependencies of its own), and I'm not sure who wants a pdf of mpv docs.

By removing rst2pdf dependency, making "doc" a default flag would probably be fine but people who just want the man page may not want the html docs (can always just mask those though). I personally think reverting to 0.29 behavior would be best unless really want to make docutils optional.
Comment 1 Enne Eziarc 2019-11-25 00:23:44 UTC
This -dev ML thread may be relevant?

https://archives.gentoo.org/gentoo-dev/message/a6a8e840773da77ee6008ac23b4f89e1
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2020-01-05 15:43:41 UTC
Created attachment 602598 [details, diff]
Install manpages unconditonally like it once was.