upower: 0.99.3 -> 0.99.4 removed dep polkit, new dep gobject-introspection
This commit is contained in:
parent
0aea1ad8a4
commit
95c08601e0
@ -15,6 +15,7 @@ drwxr-xr-x root/root usr/etc/dbus-1/system.d/
|
||||
-rw-r--r-- root/root usr/etc/dbus-1/system.d/org.freedesktop.UPower.conf
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/libupower-glib/
|
||||
-rw-r--r-- root/root usr/include/libupower-glib/up-autocleanups.h
|
||||
-rw-r--r-- root/root usr/include/libupower-glib/up-client.h
|
||||
-rw-r--r-- root/root usr/include/libupower-glib/up-device.h
|
||||
-rw-r--r-- root/root usr/include/libupower-glib/up-history-item.h
|
||||
|
@ -1 +1,2 @@
|
||||
a9c95d0545bc23d784642c11e157cfbf upower-0.99.3.tar.xz
|
||||
15ae9162959c6221c6d8c72c486e1299 fix-critical-action.patch
|
||||
78800e1ac7f92b24aabdf433e38f75d2 upower-0.99.4.tar.xz
|
||||
|
@ -2,16 +2,19 @@
|
||||
# URL: http://upower.freedesktop.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
|
||||
# Depends on: dbus-glib gudev intltool libusb polkit
|
||||
# Depends on: dbus-glib gobject-introspection intltool libgudev libusb
|
||||
|
||||
name=upower
|
||||
version=0.99.3
|
||||
version=0.99.4
|
||||
release=1
|
||||
source=(http://$name.freedesktop.org/releases/$name-$version.tar.xz)
|
||||
source=(http://$name.freedesktop.org/releases/$name-$version.tar.xz
|
||||
fix-critical-action.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -p 1 -i $SRC/fix-critical-action.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/usr/etc \
|
||||
|
28
upower/fix-critical-action.patch
Normal file
28
upower/fix-critical-action.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From 28cee8e2845b094488c337c4ecfa84ada0b6be60 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Pitt <martin.pitt@ubuntu.com>
|
||||
Date: Tue, 23 Feb 2016 09:51:07 +0100
|
||||
Subject: daemon: fix get_critical_action()
|
||||
|
||||
Fix copy&paste error from e7e9156f that called the wrong _complete_ function
|
||||
for up_daemon_get_critical_action().
|
||||
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=94262
|
||||
|
||||
diff --git a/src/up-daemon.c b/src/up-daemon.c
|
||||
index be14cbe..e95f904 100644
|
||||
--- a/src/up-daemon.c
|
||||
+++ b/src/up-daemon.c
|
||||
@@ -435,8 +435,8 @@ up_daemon_get_critical_action (UpExportedDaemon *skeleton,
|
||||
GDBusMethodInvocation *invocation,
|
||||
UpDaemon *daemon)
|
||||
{
|
||||
- up_exported_daemon_complete_get_display_device (skeleton, invocation,
|
||||
- up_backend_get_critical_action (daemon->priv->backend));
|
||||
+ up_exported_daemon_complete_get_critical_action (skeleton, invocation,
|
||||
+ up_backend_get_critical_action (daemon->priv->backend));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user