Created attachment 917506 [details, diff] Patch adds man USE flag to glib Currently man pages are built unconditionally. Unfortunately building man pages requires additional 6 packages on a docker image I use: * dev-python/docutils * dev-python/pillow * dev-python/olefile * dev-python/pygments * media-libs/libjpeg-turbo * dev-lang/nasm In a container that uses 'noman' FEATURE flag anyway, this unnecessarily enlarges image. I'm attaching patch with necessary changes against glib-2.80.5-r1.ebuild
As a note, you can depclean build-only deps if need to reduce size. e.g. emerge --depclean --with-bdeps=n Will wastefully re-emerge them when you update the package though. That aside, (always) installing man pages without a USE often been debated as a policy and many developers are against making them optional, and if they have annoying dependencies then providing prebuilt ones is an alternative (but that increases maintenance burden if upstream does not provide them) -- not that it became an actual policy, so it's up to maintainers (which is not me for glib).