rpms/xorg-x11-drv-mouse/devel mouse-1.2.3-sleep-less.patch, NONE, 1.1 xorg-x11-drv-mouse.spec, 1.22, 1.23

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Fri Nov 9 21:18:54 UTC 2007


Author: ajax

Update of /cvs/pkgs/rpms/xorg-x11-drv-mouse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8600

Modified Files:
	xorg-x11-drv-mouse.spec 
Added Files:
	mouse-1.2.3-sleep-less.patch 
Log Message:
* Fri Nov 09 2007 Adam Jackson <ajax at redhat.com> 1.2.3-2
- mouse-1.2.3-sleep-less.patch: Don't usleep(300000) at exit.


mouse-1.2.3-sleep-less.patch:

--- NEW FILE mouse-1.2.3-sleep-less.patch ---
diff -up xf86-input-mouse-1.2.3/src/mouse.c.jx xf86-input-mouse-1.2.3/src/mouse.c
--- xf86-input-mouse-1.2.3/src/mouse.c.jx	2007-09-19 17:17:25.000000000 -0400
+++ xf86-input-mouse-1.2.3/src/mouse.c	2007-11-09 16:02:14.000000000 -0500
@@ -1825,7 +1825,6 @@ MouseProc(DeviceIntPtr device, int what)
 	    }
 	}
 	device->public.on = FALSE;
-	usleep(300000);
 	break;
     }
     return Success;


Index: xorg-x11-drv-mouse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-mouse/devel/xorg-x11-drv-mouse.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- xorg-x11-drv-mouse.spec	17 Oct 2007 14:07:03 -0000	1.22
+++ xorg-x11-drv-mouse.spec	9 Nov 2007 21:18:17 -0000	1.23
@@ -5,13 +5,14 @@
 Summary:   Xorg X11 mouse input driver
 Name:      xorg-x11-drv-mouse
 Version:   1.2.3
-Release:   1%{?dist}
+Release:   2%{?dist}
 URL:       http://www.x.org
 License:   MIT
 Group:     User Interface/X Hardware Support
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Source0:   ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
+Patch0: mouse-1.2.3-sleep-less.patch
 
 ExcludeArch: s390 s390x
 
@@ -24,6 +25,7 @@
 
 %prep
 %setup -q -n %{tarball}-%{version}
+%patch -p1 -b .no-sleeping
 
 %build
 %configure --disable-static
@@ -46,6 +48,9 @@
 %{_mandir}/man4/mousedrv.4*
 
 %changelog
+* Fri Nov 09 2007 Adam Jackson <ajax at redhat.com> 1.2.3-2
+- mouse-1.2.3-sleep-less.patch: Don't usleep(300000) at exit.
+
 * Wed Oct 17 2007 Adam Jackson <ajax at redhat.com> 1.2.3-1
 - xf86-input-mouse 1.2.3
 




More information about the fedora-extras-commits mailing list