RPM Packaging: update tdepowersave

pull/3/head
François Andriot 11 years ago
parent 86dd28fd7a
commit a39950451d

@ -1,11 +0,0 @@
--- trinity-tdepowersave/src/hardware.cpp.ORI 2013-07-24 12:19:52.432706499 +0200
+++ trinity-tdepowersave/src/hardware.cpp 2013-07-24 12:20:01.956723548 +0200
@@ -546,7 +546,7 @@
}
if ((*it) == TDESystemPowerState::Hibernate) {
suspend_states.suspend2disk = true;
- suspend_states.suspend2disk_allowed = rdevice->canSuspend();
+ suspend_states.suspend2disk_allowed = rdevice->canHibernate();
suspend_states.suspend2disk_can = suspend_states.suspend2disk_allowed & suspend_states.suspend2disk;
}
if ((*it) == TDESystemPowerState::PowerOff) {

@ -41,8 +41,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: tdepowersave-14.0.0-fix_hibernate.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version} BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
@ -89,7 +87,6 @@ settings for:
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .hibernate
%build %build

Loading…
Cancel
Save