GIMP currently depends on sys-apps/hal when the dbus USE flag is enabled due to the configure script not having an option to disable HAL support (see bug #176900). I've patched the configure script to add a --with(out)-hal option (of course, it's still dependent on dbus) and edited the ebuild for 2.4.2 to use it.
Created attachment 140224 [details, diff] configure script/configure.in patch
Created attachment 140226 [details] modified ebuild
You can't have HAL without DBUS; if you dislike the current configure stuff, then complain upstream. Thanks.
I'm not looking for HAL without dbus -- just dbus without HAL.
.
(In reply to comment #4) > I'm not looking for HAL without dbus -- just dbus without HAL. Not too bad a suggestion, I'd say.
I agree this is a valid issue. It seems Gimp abuses global USE flags in its current state. The dbus USE flag should not pull in HAL, as there is a hal USE flag for that. The addition of the hal flag seems like a good idea to me.
--without-hal has now been added to svn trunk upstream. http://bugzilla.gnome.org/show_bug.cgi?id=507595
I've splittet up useflags dbus and hal, but according to the current situation this will make automagic deps if hal is installed and the flag disabled. This has been fixed in trunk, but using that patch on 2.4.4 doesn't work for me, so it'll stay that way till upstream makes it's trunk to a new version (or someone thinks it's important enough and provides me a working patch against 2.4.4).