FS#36859 - [lxpolkit] missing optional 'required by'
Attached to Project:
Community Packages
Opened by Kevin (pancakes) - Tuesday, 10 September 2013, 17:54 GMT
Last edited by Balló György (City-busz) - Saturday, 11 January 2014, 20:57 GMT
Opened by Kevin (pancakes) - Tuesday, 10 September 2013, 17:54 GMT
Last edited by Balló György (City-busz) - Saturday, 11 January 2014, 20:57 GMT
|
Details
Background: Since a recent version of polkit-gnome stopped
being autostarted by default, I noticed that I should have
been using lxpolkit anyway (on xfce).
reference: https://projects.archlinux.org/svntogit/community.git/commit/trunk?h=packages/polkit-gnome&id=68cc1a006a3af6fd6e11421ce6e2072a1d98cacf Description: https://www.archlinux.org/packages/community/x86_64/polkit-gnome/ lists a bunch of optional 'required by', whereas lxpolkit doesn't. This makes it less straightforward for people looking at pacman -Qi input for these packages to notice that they can use lxpolkit (or vice versa). I'm not sure if one can add required-by in this package instead of adding an optional dependency for each of the relevant packages instead, in which case would I have to make a bug report for each of the relevant packages? I only tested thunar and gparted, both of which worked with lxpolkit with no additional config. Additional info: Let me know if I'm supposed to do the bug report for thunar/gparted/etc instead. It would be great if someone can clarify or refer me to docs explaining how the relation between "required-by" and "dependencies" gets synchronized accross the packages. Also, maybe it's better to have a dummy package that they both (lxpolkit and gnome-polkit, and maybe others) provide and the relevant packages would optionally depend on that instead. |
This task depends upon
Closed by Balló György (City-busz)
Saturday, 11 January 2014, 20:57 GMT
Reason for closing: Fixed
Additional comments about closing: Follow up: FS#38468 ,
FS#38466 ,
FS#38465
Saturday, 11 January 2014, 20:57 GMT
Reason for closing: Fixed
Additional comments about closing: Follow up:
Of course, the current situation is not perfect, so we should remove 'polkit-gnome' optional dependency from packages, and maybe replace it with 'polkit-authentication-agent', and add provides=('polkit-authentication-agent') to all polkit-agents.
A three option is remove that polkit-gnome or lxpolkit and add a optdep to polkit that recommend any of those two for a graphical polkit login.
In any case a TODO need to by done, right??
FS#38468- [polkit] Add a post-install note about GUI agentsFS#38466- [gparted] Replace polkit-gnome with polkit in optdependsFS#38465- [thunar] Remove polkit-gnome from optdependsIf you have any more ideas, then post it there.
I'll remove polkit-gnome optional dependency from all remaining packages. Adding lxpolkit to optdeps alongside polkit-gnome goes nowhere, since we also have mate-polkit and polkit-kde and so on. Polkit users should read this section of the wiki page:
https://wiki.archlinux.org/index.php/Polkit#Authentication_agents