I just spent half an hour trying to figure out which package wanted to install libgtkhtml. This bothered me because libgtkhtml depends on a whole bunch of GNOME stuff that I don't want. At the moment, it requires libgtkhtml if the doc use flag is switched on. I think it should either use the gtkhtml use flag instead or as well as the doc use flag, if that's possible. I activated the doc use flag under the assumption that it would simply install extra text or HTML files. I don't want it to install a whole bunch of GNOME stuff that I don't need. I could get around it using package.use but this could be a minor annoyance for other people too.
Half an hour!? How about `equery d libgtkhtml`?
obz@azure obz $ grep doc /usr/portage/profiles/use.desc doc - Adds extra documentation (API, Javadoc, etc)
I didn't know about equery. I tried it and it nearly killed my machine. It died before producing any output and reduced this thing to a gibbering wreck. I did discover the -t option of emerge though and that would have told me straight away. It must be a new option, I don't remember seeing it before. Anyway this isn't simply adding extra documentation. It's allowing you to view the documentation directly through The GIMP itself. Thinking about this more, since the documentation is simply in HTML format, the doc use flag could be used to determine whether the HTML files are installed or not and the gtkhtml use flag could be used to determine whether you can view them directly through The GIMP or not. That's fair, isn't it?
Changed to gtkhtml? instead of doc? and fixed up USE="doc" to only install developer documentation. Fixes are in the masked -2.2.0 and backported the gtkhtml? change to 2.0.6. Thanks for your report and help here.
Mike, you forgot to change 'doc' to 'gtkhtml' in IUSE. The output of 'emerge -pv gimp' is incorrect... I know, this is just a detail :-) Cheers, Wouter