Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] virtual/notification-daemon circular dependency?
Date: Thu, 15 Jan 2015 15:49:43
Message-Id: 54B7E160.7000303@gmail.com
In Reply to: Re: [gentoo-user] virtual/notification-daemon circular dependency? by Raffaele BELARDI
1 On 15/01/2015 11:10, Raffaele BELARDI wrote:
2 > Alan McKinnon wrote:
3 >> On 14/01/2015 15:39, Raffaele BELARDI wrote:
4 >>> # equery d virtual/notification-daemon-0
5 >>> * These packages depend on virtual/notification-daemon-0:
6 >>> x11-libs/libnotify-0.7.6-r1 (virtual/notification-daemon)
7 >>>
8 >>> # equery d x11-libs/libnotify
9 >>> * These packages depend on x11-libs/libnotify:
10 >>> media-sound/ario-1.5.1 (libnotify ? x11-libs/libnotify)
11 >>> x11-misc/notification-daemon-3.14.1 (>=x11-libs/libnotify-0.7)
12 >>>
13 >>> # equery d x11-misc/notification-daemon
14 >>> * These packages depend on x11-misc/notification-daemon:
15 >>> virtual/notification-daemon-0 (gnome ? x11-misc/notification-daemon)
16 >>> (!gnome ? x11-misc/notification-daemon)
17 >>>
18 >>> So it seems virtual/notification-daemon-0 is pulled in by
19 >>> x11-misc/notification-daemon, which is pulled in by
20 >>> virtual/notification-daemon-0. Where is my misunderstanding?
21 >>>
22 >>> thanks,
23 >>>
24 >>> raffaele
25 >>>
26 >>
27 >>
28 >> Are you sure your second command above is correct? I get different results:
29 >>
30 >> khamul ~ # equery d virtual/notification-daemon-0
31 >> * These packages depend on virtual/notification-daemon-0:
32 >> x11-libs/libnotify-0.7.6-r1 (virtual/notification-daemon)
33 >>
34 >>
35 >> khamul ~ # equery d x11-libs/libnotify
36 >> * These packages depend on x11-libs/libnotify:
37 >> app-admin/system-config-printer-gnome-1.4.3-r1
38 >> (x11-libs/libnotify[introspection])
39 >> app-emulation/emul-linux-x86-gtklibs-20140508-r6 (abi_x86_32 ?
40 >>> =x11-libs/libnotify-0.7.6-r1[abi_x86_32(-)])
41 >> media-video/handbrake-0.9.9-r1 (gtk ? x11-libs/libnotify)
42 >> media-video/vlc-2.1.5 (libnotify ? x11-libs/libnotify:0)
43 >> www-client/midori-0.5.8-r1 (>=x11-libs/libnotify-0.7)
44 >>
45 >>
46 >> khamul ~ # equery d x11-misc/notification-daemon
47 >> * These packages depend on x11-misc/notification-daemon:
48 >> virtual/notification-daemon-0 (gnome ? x11-misc/notification-daemon)
49 >> (!gnome ? x11-misc/notification-daemon)
50 >>
51 >
52 > Yes:
53 >
54 > # grep libnotify
55 > /usr/portage/x11-misc/notification-daemon/notification-daemon-3.14.1.ebuild
56 > >=x11-libs/libnotify-0.7
57 >
58 > The problem seems to me in the x11-libs/libnotify-0.7.6-r1 ebuild, why
59 > should a library depend on the application that uses it?
60 >
61 > # grep notification-daemon
62 > /usr/portage/x11-libs/libnotify/libnotify-0.7.6-r1.ebuild
63 > PDEPEND="virtual/notification-daemon"
64 >
65 > raffaele
66 >
67
68
69
70 Some interesting background on how this all works:
71
72 https://bugs.gentoo.org/show_bug.cgi?id=488690
73
74
75 It's not *really* a circular dep, as there are many things out there
76 that satisfy the virtual, x11-misc/notification-daemon is quite likely
77 the one used least
78
79
80
81 --
82 Alan McKinnon
83 alan.mckinnon@×××××.com