Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454406 - x11-libs/cairo-1.12.10-r1[-doc] installs gtk-doc documentation outside /usr/share/doc/$PF
Summary: x11-libs/cairo-1.12.10-r1[-doc] installs gtk-doc documentation outside /usr/s...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 10:18 UTC by Bertrand Jacquin
Modified: 2013-01-29 06:45 UTC (History)
2 users (show)

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 Bertrand Jacquin 2013-01-28 10:18:48 UTC
Installing for exemple x11-libs/cairo-1.12.10-r1 on a nodoc FEATURES host remove /usr/share/doc from this package but not /usr/share/gtk-doc.

Need to manually add /usr/share/gtk-doc to INSTALL_MASK

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-28 12:35:59 UTC
FEATURES=nodoc is about everything in /usr/share/doc/$PF, and doesn't concern itself with anything outside it.
Comment 2 Rafał Mużyło 2013-01-28 13:06:04 UTC
As with other things using gtk-doc, installing it in a place different than /usr/share/gtk-doc/${PN} would i.e. break devhelp.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-01-28 13:13:57 UTC
We could make gtk-doc installation dependent on USE=doc
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2013-01-28 15:33:19 UTC
(In reply to comment #3)
> We could make gtk-doc installation dependent on USE=doc

That seems to be the right thing to do.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-01-28 20:00:48 UTC
(In reply to comment #3)
> We could make gtk-doc installation dependent on USE=doc

Please don't do that. We (gnome team) just spent a lot of effort removing useless doc flags from our ebuilds; it's sad to see cairo go the other way.

See http://wiki.gentoo.org/wiki/Gnome_Team_Policies for the reasoning.

If you don't want gtk-docs installed, just use INSTALL_MASK, like you would to prevent man pages or header files from being installed.
Comment 6 Bertrand Jacquin 2013-01-28 20:16:59 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > We could make gtk-doc installation dependent on USE=doc
> 
> Please don't do that. We (gnome team) just spent a lot of effort removing
> useless doc flags from our ebuilds; it's sad to see cairo go the other way.

Here it's not a only cairo request, but a generic one.

$ find /usr/share/gtk-doc/ -type f | xargs qfile -v | awk '{print $1}' | sort -u
app-emulation/libvirt-0.10.2.1
app-i18n/enca-1.13-r3
app-text/evince-2.32.0-r4
app-text/gtkspell-2.0.16
dev-lang/orc-0.4.16-r1
dev-libs/atk-2.4.0
dev-libs/glib-2.32.4-r1
dev-libs/gobject-introspection-1.32.1
dev-libs/libcroco-0.6.5
dev-libs/libunique-1.1.6-r1
dev-python/pygobject-2.28.6-r52
dev-python/pygtk-2.24.0-r2
dev-util/gtk-doc-1.18-r1
gnome-base/gconf-3.2.5
gnome-base/libglade-2.6.4
gnome-base/librsvg-2.36.1
gnome-extra/libgsf-1.14.23
media-gfx/gimp-2.6.12-r5
media-libs/gst-plugins-base-0.10.35
media-libs/gstreamer-0.10.35
net-libs/farstream-0.1.2-r1
net-libs/libnice-0.1.2
net-libs/libsoup-2.38.1
net-libs/loudmouth-1.4.3-r2
net-libs/telepathy-glib-0.18.1
net-libs/webkit-gtk-1.8.3-r300
x11-libs/cairo-1.10.2-r3
x11-libs/gdk-pixbuf-2.26.4
x11-libs/goffice-0.8.17-r1
x11-libs/goocanvas-0.14
x11-libs/gtk+-2.24.12
x11-libs/gtk+-3.4.4
x11-libs/gtkglext-1.2.0
x11-libs/gtksourceview-2.10.5-r2
x11-libs/libnotify-0.7.5
x11-libs/libwnck-2.31.0
x11-libs/pango-1.30.1
x11-libs/vte-0.28.2-r204

> See http://wiki.gentoo.org/wiki/Gnome_Team_Policies for the reasoning.
> 
> If you don't want gtk-docs installed, just use INSTALL_MASK, like you would
> to prevent man pages or header files from being installed.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-01-28 20:49:40 UTC
(In reply to comment #5)
> Please don't do that. We (gnome team) just spent a lot of effort removing
> useless doc flags from our ebuilds; it's sad to see cairo go the other way.

That brings us back to the age old question whether USE=doc should control building or installing of documentation beyond what the user would normally expect.

I have no strong opinion either way. However:
> See http://wiki.gentoo.org/wiki/Gnome_Team_Policies for the reasoning.
"for developer audience"
I can understand why a user would not want that installed on his system.
Comment 8 Pacho Ramos gentoo-dev 2013-01-28 21:06:17 UTC
Some weeks ago, while discussing this between us on gnome team, we thought on splitting "doc" USE flag to provide a new "api-docs" one that would allow people don't wanting to install that kind of docs to drop them... but this change would have need discussion in mailing list as would affect more packages.
Comment 9 Ben de Groot (RETIRED) gentoo-dev 2013-01-29 06:45:13 UTC
Let's follow the Gnome team's policy on this. If anyone wants this changed, they need to bring it up on the gentoo-dev mailing list.