diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2015-10-08 15:02:55 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2015-10-08 15:10:29 +0200 |
commit | fb9cbe7e486b3a1d3ffc1c6e0ac4eff041fc329d (patch) | |
tree | 6a826d17492037f0c01709388530d6492389ab53 /sys-power/acpid/files | |
parent | sci-physics/lammps: Version bump. (diff) | |
download | gentoo-fb9cbe7e486b3a1d3ffc1c6e0ac4eff041fc329d.tar.gz gentoo-fb9cbe7e486b3a1d3ffc1c6e0ac4eff041fc329d.tar.bz2 gentoo-fb9cbe7e486b3a1d3ffc1c6e0ac4eff041fc329d.zip |
sys-power/acpid: Bump to version 2.0.25 (bug #558294).
Fixed kde4 power management detection (bug #515088).
Added mate power manager support (bug #538590).
Fixed documentation URL (bug #534514).
Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-power/acpid/files')
-rw-r--r-- | sys-power/acpid/files/acpid-2.0.25-add_mate-power-manager.patch | 13 | ||||
-rw-r--r-- | sys-power/acpid/files/acpid-2.0.25-kde4.patch | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/sys-power/acpid/files/acpid-2.0.25-add_mate-power-manager.patch b/sys-power/acpid/files/acpid-2.0.25-add_mate-power-manager.patch new file mode 100644 index 000000000000..7061744ed57e --- /dev/null +++ b/sys-power/acpid/files/acpid-2.0.25-add_mate-power-manager.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/538590 + +--- acpid-2.0.25/samples/powerbtn/powerbtn.sh ++++ acpid-2.0.25/samples/powerbtn/powerbtn.sh +@@ -51,7 +51,7 @@ + getXconsole + + # A list of power management system process names. +-PMS="gnome-power-manager kpowersave xfce4-power-manager" ++PMS="gnome-power-manager kpowersave xfce4-power-manager mate-power-manager" + PMS="$PMS guidance-power-manager.py dalston-power-applet" + + # If one of those is running or any of several others, diff --git a/sys-power/acpid/files/acpid-2.0.25-kde4.patch b/sys-power/acpid/files/acpid-2.0.25-kde4.patch new file mode 100644 index 000000000000..1a91bb945246 --- /dev/null +++ b/sys-power/acpid/files/acpid-2.0.25-kde4.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/515088 + +--- acpid-2.0.25/samples/powerbtn/powerbtn.sh ++++ acpid-2.0.25/samples/powerbtn/powerbtn.sh +@@ -57,7 +57,7 @@ + # If one of those is running or any of several others, + if pidof x $PMS > /dev/null || + ( test "$XUSER" != "" && pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop --user $XUSER kded kded loadedModules | grep -q klaptopdaemon) || +- ( test "$XUSER" != "" && test -x /usr/bin/qdbus && test -r /proc/$(pidof kded4)/environ && su - $XUSER -c "eval $(echo -n 'export '; cat /proc/$(pidof kded4)/environ |tr '\0' '\n'|grep DBUS_SESSION_BUS_ADDRESS); qdbus org.kde.kded" | grep -q powerdevil) ; then ++ ( test "$XUSER" != "" && test -x /usr/bin/qdbus && test -r /proc/$(pgrep -n kded4)/environ && su - $XUSER -c "eval $(echo -n 'export '; cat /proc/$(pgrep -n kded4)/environ |tr '\0' '\n'|grep DBUS_SESSION_BUS_ADDRESS); qdbus org.kde.kded" | grep -q powerdevil) ; then + # Get out as the power manager that is running will take care of things. + exit + fi |