- align sleeps to tick boundary, should reduce cpu wakeups on laptops,

fixes #205064
- disable gpm altogether in runlevel 5, it is probably not worth the
    overhead considering it is barely used at all
This commit is contained in:
prockai 2006-10-10 18:33:49 +00:00
parent 4e9de1e65f
commit 468a0ae166
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
#
# chkconfig: 2345 85 15
# chkconfig: 234 85 15
# description: GPM adds mouse support to text-based Linux applications such \
# as the Midnight Commander. It also allows mouse-based console \
# cut-and-paste operations, and includes support for pop-up \

View File

@ -1,7 +1,7 @@
Summary: A mouse server for the Linux console.
Name: gpm
Version: 1.20.1
Release: 75
Release: 76
License: GPL
Group: System Environment/Daemons
Source: http://ftp.linux.it/pub/People/rubini/gpm/%{name}-%{version}.tar.gz
@ -20,6 +20,7 @@ Patch19: gpm-1.20.1-multilib.patch
Patch20: gpm-1.20.1-no-console-error.patch
Patch21: gpm-1.20.1-lib-silent.patch
Patch22: gpm-1.20.1-close-fds.patch
Patch23: gpm-1.20.1-aligned-sleep.patch
Prereq: /sbin/chkconfig /sbin/ldconfig /sbin/install-info
Requires: bash >= 2.0
@ -64,6 +65,7 @@ mouse button.
%patch20 -p1 -b .no-console-error
%patch21 -p1 -b .lib-silent
%patch22 -p1 -b .close-fds
%patch23 -p1 -b .aligned-sleep
%build
autoconf
@ -180,6 +182,12 @@ fi
%{_libdir}/libgpm.so
%changelog
* Tue Oct 10 2006 Petr Rockai <prockai@redhat.com> - 1.20-1-76
- align sleeps to tick boundary, should reduce cpu wakeups
on laptops, fixes #205064
- disable gpm altogether in runlevel 5, it is probably not
worth the overhead considering it is barely used at all
* Fri Sep 22 2006 Petr Rockai <prockai@redhat.com> - 1.20.1-75
- fix a bug where gpm daemon kept stdin/out/err open after
detaching from terminal, causing eg. pipes from initscript