* [gentoo-commits] gentoo-x86 commit in app-laptop/batti/files: batti-0.3.8-upower-0.99.patch
@ 2014-05-31 18:06 Pacho Ramos (pacho)
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos (pacho) @ 2014-05-31 18:06 UTC (permalink / raw
To: gentoo-commits
pacho 14/05/31 18:06:22
Added: batti-0.3.8-upower-0.99.patch
Log:
Use patch from ArchLinux to support upower-0.99 (x11-misc/cbatticon is another alternative to this package that has dead upstream since 2011)
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Revision Changes Path
1.1 app-laptop/batti/files/batti-0.3.8-upower-0.99.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/files/batti-0.3.8-upower-0.99.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/files/batti-0.3.8-upower-0.99.patch?rev=1.1&content-type=text/plain
Index: batti-0.3.8-upower-0.99.patch
===================================================================
diff -Naur batti-0.3.8.orig/src/PowerBackend.py batti-0.3.8/src/PowerBackend.py
--- batti-0.3.8.orig/src/PowerBackend.py 2014-04-15 19:30:34.123260000 +0200
+++ batti-0.3.8/src/PowerBackend.py 2014-04-15 19:32:11.859168509 +0200
@@ -180,17 +180,6 @@
properties = dbus.Interface(iface, 'org.freedesktop.DBus.Properties')
- if properties.Get(self.dbus_interface, 'CanSuspend'):
- self.__can_suspend = True
- else:
- self.__can_suspend = False
-
- if properties.Get(self.dbus_interface, 'CanHibernate'):
- self.__can_hibernate = True
- else:
- self.__can_hibernate = False
-
-
def __get_interface(self):
dkit_obj = self.__bus.get_object(self.dbus_service, self.dbus_object)
return dbus.Interface(dkit_obj, self.dbus_interface)
@@ -201,12 +190,6 @@
self.__mc_action(widget, event, data)
- def can_suspend(self):
- return self.__can_suspend and self.__get_interface().SuspendAllowed()
-
- def can_hibernate(self):
- return self.__can_hibernate and self.__get_interface().HibernateAllowed()
-
def suspend(self):
self.__get_interface().Suspend()
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-laptop/batti/files: batti-0.3.8-upower-0.99.patch
@ 2014-05-31 18:19 Pacho Ramos (pacho)
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos (pacho) @ 2014-05-31 18:19 UTC (permalink / raw
To: gentoo-commits
pacho 14/05/31 18:19:55
Removed: batti-0.3.8-upower-0.99.patch
Log:
Revert as ssuominen reported breakage with upower-pm-utils. This is only compatible with old upower then
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-laptop/batti/files: batti-0.3.8-upower-0.99.patch
@ 2014-05-31 18:22 Pacho Ramos (pacho)
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos (pacho) @ 2014-05-31 18:22 UTC (permalink / raw
To: gentoo-commits
pacho 14/05/31 18:22:41
Added: batti-0.3.8-upower-0.99.patch
Log:
Add it back as I just got another mail from him telling it wasn't really breaking it ;)
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Revision Changes Path
1.3 app-laptop/batti/files/batti-0.3.8-upower-0.99.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/files/batti-0.3.8-upower-0.99.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/files/batti-0.3.8-upower-0.99.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/files/batti-0.3.8-upower-0.99.patch?r1=1.2&r2=1.3
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-31 18:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-31 18:19 [gentoo-commits] gentoo-x86 commit in app-laptop/batti/files: batti-0.3.8-upower-0.99.patch Pacho Ramos (pacho)
-- strict thread matches above, loose matches on Subject: below --
2014-05-31 18:22 Pacho Ramos (pacho)
2014-05-31 18:06 Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox