FS#31349 - [upower] make pm-utils an optdep
Attached to Project:
Arch Linux
Opened by philomath (archadmirer) - Friday, 31 August 2012, 07:01 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 20 March 2013, 12:59 GMT
Opened by philomath (archadmirer) - Friday, 31 August 2012, 07:01 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 20 March 2013, 12:59 GMT
|
Details
Description:
It seems like systemd users have no need for pm-utils, as systemd has the required functionality. Additional info: * package version(s) upower 0.9.17-2 |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 20 March 2013, 12:59 GMT
Reason for closing: Won't implement
Additional comments about closing: As stated in commit message:
Enable deprecated interfaces. KDE still needs this, so we keep this enabled for a while. Drop patch already included in the release
Note: pm-utils is still a dependency and will not go away when removing deprecated interfaces.
Wednesday, 20 March 2013, 12:59 GMT
Reason for closing: Won't implement
Additional comments about closing: As stated in commit message:
Enable deprecated interfaces. KDE still needs this, so we keep this enabled for a while. Drop patch already included in the release
Note: pm-utils is still a dependency and will not go away when removing deprecated interfaces.
As for "only used if system is started with systemd": some day that will be the only supported. With the release of GNOME 3.6 we will already build polkit without ConsoleKit support, which basically forces desktop users to run systemd.
As jan noted, pm-utils is not the best piece of software around.
Anyway, I definitely support pm-utils becoming an optional dependency is possible, unfortunately in my testing it seems even the new upower still uses pm-utils for some things. If I pacman -Rdd pm-utils, suspending by calling upower does not work (and in addition all suspend/hibernate options disappear in gnome), but doing it via systemctl suspend works fine. I've verified that new upower is using systemd for suspend on my system too (If I suspend via upower it shows in my systemd-suspend.service log). My theory is that upower still utilizes the pm-is-supported function to check if the system supports suspend (with pm-utils removed the error I get when attempting to suspend via upower is that the kernel does not support it). It should probably not be made an optional dependency until suspending via upower actually works without having pm-utils.
Hopefully in the future UPower will not need pm-utils at all anymore, I'd love to get rid of it since it looks like there hasn't been active development for at least 2 years. Unfortunately I use gnome, which needs upower, which seems to still need pm-utils, so in the meantime I've set RunPowersaveCommand=false in my UPower.conf and masked all the pm-utils powersave scripts.
https://aur.archlinux.org/packages/upower-git-systemd/