Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365325 - dev-libs/glib (e.g. 2.26.1-r1) with USE="+doc" should not depend on dev-util/gtk-doc (e.g. ≥1.13)
Summary: dev-libs/glib (e.g. 2.26.1-r1) with USE="+doc" should not depend on dev-util...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-29 17:02 UTC by Navid Zamani
Modified: 2011-04-30 13:34 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 Navid Zamani 2011-04-29 17:02:21 UTC
Hello. I have a headless hardened server, and apparently, glib wants to install gtk-doc with all the GNOME stuff it depends on.
Obviously this is pointless, since this thing can’t display any graphical stuff. Yet I don’t want to miss out on the documentation.

Since this would be a new ebuild as of (the sync I did) today, I’m assuming this is new since a glib ebuild >2.11.3 too.

It would be nice to remove it again, so headless servers don’t get tainted with GUI/X packages.

Reproducible: Always
Comment 1 Navid Zamani 2011-04-29 17:03:05 UTC
*** This bug has been confirmed by popular vote. ***
Comment 2 Rafał Mużyło 2011-04-29 22:30:36 UTC
For Gnome packages and those as as strongly related as glib,
'doc' flag is used (among other) for '--enable-gtk-doc', which means 'rebuild docs', as html docs are installed anyway.
Comment 3 Navid Zamani 2011-04-29 22:38:18 UTC
Aaah, that clarifies it. Thanks. :)

But I thought that “doc” enables/disables installing docs at all.
So how come it installs them even with “-doc”? 
Shouldn’t there be separate “doc” (installs) and “builddoc” (actually builds them) flags?

Oh, and just by the way: How do I know which ones are strongly related to glib? Does “equery d glib” suffice?
Comment 4 Rafał Mużyło 2011-04-30 13:34:25 UTC
Actually, it varies.
Here I meant simply that packages, that mimic packaging scheme used by Gnome and use gtk-doc, tend to have html docs already generated in source tarball and in such case, they get installed.

'doc' useflag, while global, tends to be quite quirky in some of the cases.