summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdepowersave
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-08-01 14:33:47 +0200
committerFrançois Andriot <[email protected]>2013-08-01 14:33:47 +0200
commita39950451da2ea0bee65ead0083d14c323ef3324 (patch)
treead9e55adc4ed716a20f0669322d6a136ef55c3bf /redhat/applications/tdepowersave
parent86dd28fd7a021d04d58094d7a58621119ac44a6e (diff)
downloadtde-packaging-a39950451da2ea0bee65ead0083d14c323ef3324.tar.gz
tde-packaging-a39950451da2ea0bee65ead0083d14c323ef3324.zip
RPM Packaging: update tdepowersave
Diffstat (limited to 'redhat/applications/tdepowersave')
-rw-r--r--redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch11
-rw-r--r--redhat/applications/tdepowersave/tdepowersave-14.0.0.spec3
2 files changed, 0 insertions, 14 deletions
diff --git a/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch b/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch
deleted file mode 100644
index 08492a890..000000000
--- a/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch
+++ /dev/null
@@ -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) {
diff --git a/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec b/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
index 4e20bd204..027da7e4d 100644
--- a/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
+++ b/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
@@ -41,8 +41,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch1: tdepowersave-14.0.0-fix_hibernate.patch
-
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
@@ -89,7 +87,6 @@ settings for:
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%patch1 -p1 -b .hibernate
%build