]> git.pld-linux.org Git - packages/upower.git/commitdiff
- rel 6; Ping() and GetMachineId() fix auto/th/upower-0.9.20-6
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 29 Apr 2013 09:47:46 +0000 (11:47 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 29 Apr 2013 09:47:46 +0000 (11:47 +0200)
upower-fixes.patch
upower.spec

index 90daf042d9b55f39b4ae8e3ecf0977f5f5278b24..2adc0d9028683486309c5c71a12d30bbdeda8721 100644 (file)
@@ -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@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"/>
index c0670c9af8baeb9111e14ef04744dc8fb5a86349..64cb4f1d49b1435e0332e3265d521935adab8d68 100644 (file)
@@ -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
This page took 0.089765 seconds and 4 git commands to generate.