Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351172 - introduce man-pages USE flag and remove man-pages from system set.
Summary: introduce man-pages USE flag and remove man-pages from system set.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 02:51 UTC by C. Wijtmans
Modified: 2011-01-12 19:03 UTC (History)
0 users

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 C. Wijtmans 2011-01-09 02:51:57 UTC
The noman FEATURE does not work well.
When packages are emerged with man FEATURE, and you change it to noman FEATURE, you have to reemerge all packages, portage doesnt know which packages exactly wthat need to be reemerged and which one not.
Also the man-pages does not go away from the system set. When packages are emerged with man they can add dependency man-pages.
Also this way the help2man package will be optional when man-pages FLAG is not set.

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-10 21:09:17 UTC
I don't think this is really going to work. As suggested before, use FEATURES=noman. You can lookup environment.bz2 in vardb to see if a package was built with FEATURES=noman or not.

Manpage building dependencies are mostly small and hard to disable. I don't really think devs are going to hack upstream code just to avoid installing 15K script. If you really hate it, feel free to use package.provided.

If you're going to insist on your idea, feel free to reopen and post to gentoo-dev about it but I am almost sure most of the devs will agree with me.
Comment 2 C. Wijtmans 2011-01-11 17:21:26 UTC
Hi,

Is it not as simple as:

RDEPEND="man ? ( man-pages )"

src_install() {
    if use man; then
               doman ...
    fi
}
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-01-12 19:03:39 UTC
(In reply to comment #2)
> Is it not as simple as:
No because mans are not installed solely via portage helpers, use "noman" as Michał suggested.