Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253334 - x11-libs/libnotify redundant dependency on || notification-daemon{,-xfce}
Summary: x11-libs/libnotify redundant dependency on || notification-daemon{,-xfce}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 253332 253335
  Show dependency tree
 
Reported: 2009-01-01 09:14 UTC by Peter Volkov (RETIRED)
Modified: 2009-01-19 19:19 UTC (History)
7 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 Peter Volkov (RETIRED) gentoo-dev 2009-01-01 09:14:28 UTC
I've looked on x11-libs/libnotify package and noticed that it depends on  || notification-daemon{,-xfce}. It seems seems that this dependency is not required and it cause cyclic dependencies since both notification-daemons depend on libnotify (well notification-daemon-xfce misses this dependency, but I fill another bug about this now).
Comment 1 Keith R Biddlecomb 2009-01-02 18:51:20 UTC
I can confirm this problem on libnotify-0.4.5.
Comment 2 Michael Gorse 2009-01-10 07:47:00 UTC
I currently cannot build gnome without modifying my ebuilds because of this
and 253332.  Notification-daemon checks for libnotify in configure and doesn't
find it, and I can't build libnotify because it depends on notification-daemon.
Comment 3 Steven Parker 2009-01-11 23:15:08 UTC
I am also having the same problem while building. Fresh install on ~amd64 system.

checking for NOTIFICATION_CAPPLET... configure: error: Package requirements (glib-2.0 >= 2.10.0 gtk+-2.0 >= 2.10.0 libglade-2.0 gconf-2.0 libnotify dbus-1 dbus-glib-1) were not met:

No package 'libnotify' found
Comment 4 Steven Parker 2009-01-11 23:21:06 UTC
libnotify-0.4.5 builds just fine without the notification-daemon depend. I think the dependency should be the other way around (notification-daemon depending on libnotify, not libnotify depending on notification-daemon).
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2009-01-18 13:19:39 UTC
Ok, dependency is dropped.
Comment 6 Ing. Miroslav Duschek 2009-01-19 16:25:02 UTC
Libnotify builds fine but the popup in X not working without notification-daemon. I test it today. when i reemerge the notofication daemon, popups works fine.
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2009-01-19 18:30:40 UTC
(In reply to comment #6)
> Libnotify builds fine but the popup in X not working without
> notification-daemon. I test it today. when i reemerge the notofication daemon,
> popups works fine.

Please, could you describe steps you did. Have you emerged libnotify only. Or you updated libnotify and notification daemon stopped working (what's revdep-rebuild output in this case). Or how you get an error?
Comment 8 Christoph Mende (RETIRED) gentoo-dev 2009-01-19 18:41:49 UTC
this is his problem (or if not, a different problem caused by this change):
enable USE=libnotify in your make.conf, emerge some package with USE=libnotify, watch how the notification won't appear because nothing installed a notification-daemon
this happens on a fresh install or any system that ran depclean after this change
notify-send requires a notification-daemon, so the dependency wasn't redundant, it was required
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2009-01-19 19:19:29 UTC
(In reply to comment #8)
> enable USE=libnotify in your make.conf, emerge some package with
> USE=libnotify, watch how the notification won't appear because nothing
> installed a notification-daemon this happens on a fresh install or any system 
> that ran depclean after this change notify-send requires a 
> notification-daemon, so the dependency wasn't redundant, it was required

In such a case I've put them back into PDEPEND. Thank you guys for you help.