Re: [RFC] virtual/polkit-agent virtual pkg

Nirbheek Chauhan <[email protected]>
Newsgroups gmane.linux.gentoo.devel,gmane.linux.gentoo.desktop
Message-ID <CADqQcK5M9m=fbnxZzRKvcoxT9Pk26ie+E789_qwHUPPHb8-6sA@mail.gmail.com>
On Tue, Sep 6, 2011 at 9:50 PM, Fabio Erculiani <[email protected]> wrote:
> We have actually 3 polkit agent implementations in Portage:
>
> gnome-extra/polkit-gnome
> lxde-base/lxpolkit
> sys-auth/polkit-kde-agent
>

There's one more: gnome-base/gnome-shell

GNOME Shell has its own polkit-agent implementation, which means that
neither of these three should be running when GNOME Shell is running,
otherwise they'll prevent the shell from showing well-integrated
dialogs.

The fallback mode still needs a separate polkit agent, though.

> I guess a virtual is required.
> Just a simple example, gnome-extra/nm-applet requires a polkit auth
> agent (not present in RDEPEND atm -- bug!) in order to handle wifi
> passwords, etc.
> But the same applet can be used in both GNOME and LXDE, making
> lxpolkit a better choice over polkit-gnome for the latter.
>

Actually, polkit-gnome is more like polkit-gtk. It has the same deps
as lxpolkit (afaict), and is more widely used than lxpolkit.

In addition, Davidz has stopped maintaining polkit-gnome, so we can
stop worrying about him doing silly things to it.

> My proposal is to create a virtual pkg listing all the polkit auth
> agent implementations and make pkgs depend on it.
>

I'm ambivalent about this. I think I agree with what Samuli already said.

-- 
~Nirbheek Chauhan

Gentoo GNOME+Mozilla Team
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.