The distccmon-gnome app uses a GTK2 based GUI but the ebuild checks for 'use gtk' instead of 'use gtk2' and also got 'gtk' in its RDEPEND. Here is a patch for 2.10-r2: --- distcc-2.10-r2.ebuild 2003-08-16 01:06:33.000000000 +0200 +++ distcc-2.10-r2.ebuild.new 2003-09-03 12:43:19.000000000 +0200 @@ -18,7 +18,7 @@ >=sys-devel/gcc-config-1.3.1 sys-apps/shadow" -RDEPEND="gtk? ( >=x11-libs/gtk+-2.2.1 ) +RDEPEND="gtk2? ( >=x11-libs/gtk+-2.2.1 ) selinux? ( sec-policy/selinux-distcc )" @@ -26,7 +26,7 @@ local myconf="--with-included-popt " #Here we use the built in parse-options package. It saves a dependancy - use gtk && myconf="--enable-gnome" + use gtk2 && myconf="--enable-gnome" econf ${myconf} || die "econf ${myconf} failed" emake || die "emake failed"
This is not a bug. gtk2 is ONLY to discriminate when you want gtk version 2 over gtk version 1 in an application that supports _BOTH_ gtk v1 and gtk v2.
And why do applications like Gkrellm handle it in the following way? DEPEND=">=sys-apps/sed-4 gtk? ( >=x11-libs/gtk+-2.0.5 ) gtk2? ( >=x11-libs/gtk+-2.0.5 )" (from gkrellm-2.1.16.ebuild) My understanding is that use gtk = install gtk1 use gtk2 = install gtk2 And as distccmon-gnome uses gtk2, it should take this use flag.
http://www.gentoo.org/dyn/use-index.xml says: gtk: Adds support for x11-libs/gtk+ (The GIMP Toolkit) gtk2: Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both. Beware that gtk+-2 support can be bad.