[packages/upower] - rel 6; Ping() and GetMachineId() fix

arekm arekm at pld-linux.org
Mon Apr 29 11:47:48 CEST 2013


commit 38a4c25017eb6e11002894d3f45fa342f7d3db1b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Apr 29 11:47:46 2013 +0200

    - rel 6; Ping() and GetMachineId() fix

 upower-fixes.patch | 21 +++++++++++++++++++++
 upower.spec        |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/upower.spec b/upower.spec
index c0670c9..64cb4f1 100644
--- a/upower.spec
+++ b/upower.spec
@@ -2,7 +2,7 @@ Summary:	Power management service
 Summary(pl.UTF-8):	Usługa zarządzania energią
 Name:		upower
 Version:	0.9.20
-Release:	5
+Release:	6
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
diff --git a/upower-fixes.patch b/upower-fixes.patch
index 90daf04..2adc0d9 100644
--- a/upower-fixes.patch
+++ b/upower-fixes.patch
@@ -692,3 +692,24 @@ index b476660..ffd55b2 100644
 +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52e", ENV{UPOWER_BATTERY_TYPE}="lg-wireless"
  ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52f", ENV{UPOWER_BATTERY_TYPE}="lg-wireless"
  LABEL="up_unifying_end"
+commit 181e7fa573bf6ba442ffd29d845c8fd10b62b3fe
+Author: Richard Hughes <richard at hughsie.com>
+Date:   Wed Apr 24 08:04:31 2013 +0100
+
+    Allow clients to call org.freedesktop.DBus.Peer
+    
+    This fixes Ping() and GetMachineId() which is needed by systemd.
+
+diff --git a/src/org.freedesktop.UPower.conf.in b/src/org.freedesktop.UPower.conf.in
+index a15ce93..fc2b604 100644
+--- a/src/org.freedesktop.UPower.conf.in
++++ b/src/org.freedesktop.UPower.conf.in
+@@ -14,6 +14,8 @@
+            send_interface="org.freedesktop.DBus.Introspectable"/>
+ 
+     <allow send_destination="org.freedesktop.UPower"
++           send_interface="org.freedesktop.DBus.Peer"/>
++    <allow send_destination="org.freedesktop.UPower"
+            send_interface="org.freedesktop.DBus.Properties"/>
+     <allow send_destination="org.freedesktop.UPower.Device"
+            send_interface="org.freedesktop.DBus.Properties"/>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/upower.git/commitdiff/38a4c25017eb6e11002894d3f45fa342f7d3db1b



More information about the pld-cvs-commit mailing list