It looks like x11-misc/notification-daemon-xfce misses dependency on libnotify: configure.in: XDT_CHECK_OPTIONAL_PACKAGE([LIBNOTIFY], [libnotify], [0.4.0], [settings-preview], [libnotify], [yes]) localhost notification-daemon-xfce-0.3.7 # grep -r notify.h . ./src/settings/main.c:#include <libnotify/notify.h> [snip] It's optional but anyway automatic dependencies are bad so either USE flag or just DEPEND should fix that. Since I don't see why libnotify depends on x11-misc/notification-daemon-xfce (bug 253334) I think it's simpler just to add DEPEND.
well, if we add the dependency to notification-daemon-xfce, we'll get a loop, if we remove the notification-daemon-xfce dependency from libnotify, we'll pull in notification-daemon when depending on libnotify which means nobody will ever use notification-daemon-xfce. if we change dependencies for USE=libnotify, we'd have to change it to || ( libnotify notification-daemon-xfce ) for every ebuild using that USE flag, which seems... overkill. we could also pass --disable-settings-preview to econf to remove that dependency. considering that you actually do need libnotify to use notification-daemon-xfce, I'd say this automagic dependency doesn't hurt. I'm not sure if the notification daemons are needed for building for libnotify, if not we could move them to PDEPEND
Christoph, any dependencies on notification daemons were removed from libnotify. So, please, add this dependency now.
+ 18 Jan 2009; Christoph Mende <angelos@gentoo.org> + notification-daemon-xfce-0.3.7.ebuild: + Added libnotify dependency, bug 253335