The rationale is two-fold:
- It fixes a security issue.
Right now, a rogue app can killall kde-policykit-agent-1 and register a
new authentication agent. Next time a user gets asked for a password, they get
prompted by the rogue app.
If KSMServer quits or doesn't start, the plasma session quits or doesn't
start.
- It's a boot speed-up.
Registering a few things in KSMServer is a lot quicker and lighter than
spawning a whole extra QApplication binary.
PolicyKit agent has been imported with the usual:
git filter-branch to move into a subdir, then add as a remote of p-w,
then merge.
Though given it's literally only 3 classes, I'm not sure the mess is
worth it.
Messages.sh file moved with the translation context the same. So it
should be headache free for translators (hopefully!)
Files changed in policykit-agent are polkitkde.* and it no longer
installs a .desktop file into the autostart folder.