I run ~amd64 USE=-doc, but gimp pulls in gtk-doc unconditionally. This should be corrected to have a doc use var. $ USE="-udev" emerge gimp -pv [ebuild NS ] app-text/docbook-xml-dtd-4.3-r1 [4.1.2-r6, 4.2-r2, 4.4-r2, 4.5-r1] 82 kB [ebuild N ] dev-util/gtk-doc-1.17 USE="-debug -doc -emacs -highlight -test -vim" 0 kB [ebuild U #] media-gfx/gimp-2.7.3 [2.6.11-r2] USE="alsa exif jpeg jpeg2k%* lcms mmx mng pdf png python smp sse svg tiff webkit wmf -aalib (-altivec) -curl -dbus -debug -doc -gnome -udev% -xpm%" 17,780 kB $ grep -B 4 -A 4 gtk-doc /usr/portage/media-gfx/gimp/gimp-2.7.3.ebuild DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.22 >=dev-util/intltool-0.40.1 >=sys-devel/gettext-0.17 >=dev-util/gtk-doc-1" Reproducible: Always
I actually changed this from 2.6.11 to 2.7.3: to my understanding the configure script checks for gtkdoc unconditionally. It will need a patch upstream.
Gimp is not maintained by the GNOME team.
(In reply to comment #1) > I actually changed this from 2.6.11 to 2.7.3: to my understanding the configure > script checks for gtkdoc unconditionally. It will need a patch upstream. That's probably a wrong understanding. If you eautoreconf, you probably just need gtk-doc-am, which just installs a perl script for cross-link fixing and the .m4 file you need for the eautoreconf to succeed. And then full gtk-doc only with USE=doc that gets a $(use_enable doc gtk-doc) through gnome2.eclass, as is the case with the old gimp-2.6 ebuilds - they just didn't need to eautoreconf and hence unconditionally need gtk-doc-am. Please check it that way in the light of this information.
leio, thanks for joining this thread. It seems to me that even with the lines epatch "${FILESDIR}"/${P}-glib-2.29.patch eautoreconf *removed*, (the original/shipped) configure checks for gtk-doc, see this: # USE=-doc ebuild gimp-2.7.3.ebuild manifest clean configure |& fgrep -i gtkdoc checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
Ok, but maybe that's fine as long as --enable-gtk-doc isn't passed? Just temporarily remove gtk-doc from your system and see what happens with USE=-doc ?
(In reply to comment #5) > Just temporarily remove gtk-doc from your system and see what happens with USE=-doc > ? Actually that seems to work. Fixed, closing. + 02 Sep 2011; Sebastian Pipping <sping@gentoo.org> gimp-2.7.3.ebuild, + gimp-9999.ebuild: + Fix dependencies (bug #381389) +