rpms/kdeutils/devel kdeutils-3.5.4-suspend.patch, NONE, 1.1 kdeutils.spec, 1.69, 1.70

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 20 16:51:25 UTC 2006


Author: than

Update of /cvs/dist/rpms/kdeutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29501

Modified Files:
	kdeutils.spec 
Added Files:
	kdeutils-3.5.4-suspend.patch 
Log Message:
- fix acpi_help to use pm-utils


kdeutils-3.5.4-suspend.patch:
 acpi_helper.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE kdeutils-3.5.4-suspend.patch ---
--- kdeutils-3.5.4/klaptopdaemon/acpi_helper.cpp.orig	2006-09-20 14:57:34.000000000 +0200
+++ kdeutils-3.5.4/klaptopdaemon/acpi_helper.cpp	2006-09-20 14:59:01.000000000 +0200
@@ -139,7 +139,7 @@
 	for (i = 1; i < argc; i++)
 	if (strcmp(argv[i], "--suspend") == 0 || strcmp(argv[i], "-suspend") == 0) {
 		/* Returns only if suspend does not exist. */
-		run_program("/usr/sbin/suspend");
+		run_program("/usr/sbin/pm-suspend");
 		if (useSysPower)
 			write_to_power("mem");
 		else
@@ -158,7 +158,7 @@
 		exit(0);
 	} else
 	if (strcmp(argv[i], "--hibernate") == 0 || strcmp(argv[i], "-hibernate") == 0) {
-		run_program("/usr/sbin/hibernate");
+		run_program("/usr/sbin/pm-hibernate");
 		if (useSysPower)
 			write_to_power("disk");
 		else


Index: kdeutils.spec
===================================================================
RCS file: /cvs/dist/rpms/kdeutils/devel/kdeutils.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- kdeutils.spec	20 Sep 2006 13:05:01 -0000	1.69
+++ kdeutils.spec	20 Sep 2006 16:51:23 -0000	1.70
@@ -23,6 +23,7 @@
 
 Patch1: kdf-3.0.2-label.patch
 Patch2: kdeutils-3.5.4-bz#205553.patch
+Patch3: kdeutils-3.5.4-suspend.patch
 
 # upstream patches
 Patch100: kdeutils-3.5.4-kde#127341.patch
@@ -88,6 +89,7 @@
 %setup -q
 %patch1 -p1 -b .label
 %patch2 -p1 -b .bz#205553
+%patch3 -p1 -b .suspend
 
 #upstream patches
 %patch100 -p0 -b .kde#127341
@@ -188,6 +190,7 @@
 * Mon Sep 18 2006 Than Ngo <than at redhat.com> 6:3.5.4-4
 - apply upstream patches
    fix #134192, computes negative real raised 0 power equals nan
+- fix acpi_help to use pm-utils
 
 * Tue Sep 12 2006 Than Ngo <than at redhat.com> 6:3.5.4-3
 - fix #205553, Printing text with kedit always Bold




More information about the fedora-cvs-commits mailing list