Gentoo Archives: gentoo-dev

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-dev@l.g.o
Cc: gentoo-desktop@l.g.o
Subject: Re: [gentoo-dev] [RFC] virtual/polkit-agent virtual pkg
Date: Fri, 09 Sep 2011 05:53:31
Message-Id: CADqQcK5M9m=fbnxZzRKvcoxT9Pk26ie+E789_qwHUPPHb8-6sA@mail.gmail.com
In Reply to: [gentoo-dev] [RFC] virtual/polkit-agent virtual pkg by Fabio Erculiani
1 On Tue, Sep 6, 2011 at 9:50 PM, Fabio Erculiani <lxnay@g.o> wrote:
2 > We have actually 3 polkit agent implementations in Portage:
3 >
4 > gnome-extra/polkit-gnome
5 > lxde-base/lxpolkit
6 > sys-auth/polkit-kde-agent
7 >
8
9 There's one more: gnome-base/gnome-shell
10
11 GNOME Shell has its own polkit-agent implementation, which means that
12 neither of these three should be running when GNOME Shell is running,
13 otherwise they'll prevent the shell from showing well-integrated
14 dialogs.
15
16 The fallback mode still needs a separate polkit agent, though.
17
18 > I guess a virtual is required.
19 > Just a simple example, gnome-extra/nm-applet requires a polkit auth
20 > agent (not present in RDEPEND atm -- bug!) in order to handle wifi
21 > passwords, etc.
22 > But the same applet can be used in both GNOME and LXDE, making
23 > lxpolkit a better choice over polkit-gnome for the latter.
24 >
25
26 Actually, polkit-gnome is more like polkit-gtk. It has the same deps
27 as lxpolkit (afaict), and is more widely used than lxpolkit.
28
29 In addition, Davidz has stopped maintaining polkit-gnome, so we can
30 stop worrying about him doing silly things to it.
31
32 > My proposal is to create a virtual pkg listing all the polkit auth
33 > agent implementations and make pkgs depend on it.
34 >
35
36 I'm ambivalent about this. I think I agree with what Samuli already said.
37
38 --
39 ~Nirbheek Chauhan
40
41 Gentoo GNOME+Mozilla Team