rpms/fnfx/FC-5 fnfx-sleep.patch,NONE,1.1 fnfx.spec,1.4,1.5
Andreas Bierfert (awjb)
fedora-extras-commits at redhat.com
Thu Mar 23 08:05:39 UTC 2006
- Previous message (by thread): rpms/apt/devel fedora-core.list, NONE, 1.1 fedora-extras.list, NONE, 1.1 fedora-updates.list, NONE, 1.1 .cvsignore, 1.5, 1.6 apt.spec, 1.20, 1.21 default.conf, 1.7, 1.8 sources, 1.5, 1.6 gpg-pubkey-1ac70ce6-41bebeef, 1.1, NONE gpg-pubkey-4f2a6fd2-3f9d9d3b, 1.1, NONE gpg-pubkey-db42a60e-37ea5438, 1.1, NONE
- Next message (by thread): rpms/fnfx/devel fnfx-sleep.patch,NONE,1.1 fnfx.spec,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: awjb
Update of /cvs/extras/rpms/fnfx/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31030/FC-5
Modified Files:
fnfx.spec
Added Files:
fnfx-sleep.patch
Log Message:
- add patch from Radek BÃba to allow fnfx to work again
fnfx-sleep.patch:
--- NEW FILE fnfx-sleep.patch ---
--- fnfx-0.3/src/fnfxd_cmds.c.syspowerstate 2006-03-22 20:23:33.000000000 +0100
+++ fnfx-0.3/src/fnfxd_cmds.c 2006-03-22 20:25:38.000000000 +0100
@@ -362,9 +362,9 @@
}
else {
if (state == 3)
- fprintf(f, "%d", state);
+ fprintf(f, "mem");
else if (state == 4)
- fprintf(f, "%d", state);
+ fprintf(f, "disk");
else {
debug("suspend() - Not supported sleep state.");
return 1;
--- fnfx-0.3/src/fnfx.h.syspowerstate 2006-03-22 20:23:10.000000000 +0100
+++ fnfx-0.3/src/fnfx.h 2006-03-22 20:24:21.000000000 +0100
@@ -50,7 +50,7 @@
#define ACPI_LCD "/proc/acpi/toshiba/lcd"
#define ACPI_VERSION "/proc/acpi/toshiba/version"
#define ACPI_VIDEO "/proc/acpi/toshiba/video"
-#define ACPI_SLEEP "/proc/acpi/sleep"
+#define ACPI_SLEEP "/sys/power/state"
#define ACPI_CPU "/proc/acpi/processor/CPU0/limit"
#define ACPI_BLUETOOTH "/proc/acpi/toshiba/bluetooth"
Index: fnfx.spec
===================================================================
RCS file: /cvs/extras/rpms/fnfx/FC-5/fnfx.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fnfx.spec 14 Feb 2006 08:57:24 -0000 1.4
+++ fnfx.spec 23 Mar 2006 08:05:37 -0000 1.5
@@ -1,6 +1,6 @@
Name: fnfx
Version: 0.3
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Hotkey functions for Toshiba laptops
Group: System Environment/Daemons
@@ -8,6 +8,7 @@
URL: http://fnfx.sourceforge.net
Source0: http://dl.sf.net/fnfx/fnfx-%{version}.tar.gz
Source1: fnfx-fnfxd
+Patch0: fnfx-sleep.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/chkconfig
@@ -24,6 +25,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%configure
@@ -63,6 +65,10 @@
%exclude %{_sysconfdir}/fnfx/fnfxrc_example
%changelog
+* Thu Mar 23 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.3-7
+- add patch from Radek BÃba to allow fnfx to work again
+
* Tue Feb 14 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.3-6
- Rebuild for Fedora Extras 5
- Previous message (by thread): rpms/apt/devel fedora-core.list, NONE, 1.1 fedora-extras.list, NONE, 1.1 fedora-updates.list, NONE, 1.1 .cvsignore, 1.5, 1.6 apt.spec, 1.20, 1.21 default.conf, 1.7, 1.8 sources, 1.5, 1.6 gpg-pubkey-1ac70ce6-41bebeef, 1.1, NONE gpg-pubkey-4f2a6fd2-3f9d9d3b, 1.1, NONE gpg-pubkey-db42a60e-37ea5438, 1.1, NONE
- Next message (by thread): rpms/fnfx/devel fnfx-sleep.patch,NONE,1.1 fnfx.spec,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list