sys-apps/dbus[-doc] should not build xml docs or require doc deps patch is tested and builds.
Created attachment 450778 [details, diff] dbus-1.10.12.ebuild.patch
Disabling "xml-docs" means disabling all man pages for this package. There's a big difference between basic man pages and doxygen docs, and controlling them both with the same USE flag does not make sense to me. If you have dbus installed, you are likely running a desktop or a systemd-based system, and chances are that xmlto and docbook-xml-dtd are going to get pulled in by some related package anyway. -1 from me.
This will be one of a series of patches to remove doc related dependencies. For my server that hasnt much disk space.
On that note packages its one of the packages pulling loads of document data so its not "just man pages". (Which i do not require plus man pages are docs)
If you want to kill man page dependencies, a somewhat preferable solution is to provide a tarball with prebuilt manpages. But if you have disk space problems, then you are either looking at cleaning build dependencies post build, or using binary packages.
both xmlto and docbookxml-dtd can be killed this way. (i already use nodoc noman noinfo).
Man pages are (basically) not optional in Gentoo, the fact the portage allows you to skip installing them is already a contradiction to that statement but that's what every new recruit is taught. Imho, if you have space problems that require you to skip installation of man pages, you are going in a direction that requires you to customize Gentoo to extents that will probably not make it back into the distribution. Most likely with extra tools stripping the system from unwanted files after build, generating compressed filesystems (squashfs & co), etc. Anyway if you don't want to go this far, feel free to explore the already mentioned INSTALL_MASK solution. There is even a tool to manage that it seems : app-portage/install-mask.
app-text/docbook-xml-dtd and xmlto and its dependencies have about 100MB of data not related to man pages.
(In reply to C.J. Wijtmans from comment #8) > app-text/docbook-xml-dtd and xmlto and its dependencies have about 100MB of > data not related to man pages. Its in /usr/share/sgml.
You can remove those files afterward. Or use binpkgs to eliminate build-time dependencies altogether. emerge --depclean --with-bdeps=n
No i cant they will come back.
(In reply to C.J. Wijtmans from comment #11) > No i cant they will come back. You keep saying these things when with a bit of knowledge you needn't go through all this fuss. Why are you so adversary to the intents of this distribution? :)
(In reply to Jeroen Roovers from comment #12) > (In reply to C.J. Wijtmans from comment #11) > > No i cant they will come back. > > You keep saying these things when with a bit of knowledge you needn't go > through all this fuss. Why are you so adversary to the intents of this > distribution? :) All the suggestions so far were "fuss" when it could have been as easy as editing a few lines :eyeroll:. Didnt know the distros intention was to use a lot of disk space witj files i will never use :(