pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-input-mouse Update to 1.7.2, provided by Fran...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b7ad7c893ed
branches:  trunk
changeset: 603494:0b7ad7c893ed
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 06 20:51:24 2012 +0000

description:
Update to 1.7.2, provided by Francois Tigeot in private mail.

1.7.2

Return proper default for unknown values in pInfo->device_control
No need to merge NULL options list with existing options
sun_mouse.c: Ensure vuidMouse setup routines are called for protocol "Auto"
Fix wrong read Protocol and Device from xorg.conf
Avoid NULL pointer dereference in autoProbeMouse if proto == PROT_UNSUP
Mark symtab_t.name in pnp.c as const to fix gcc -Wwrite-strings warnings
sun_mouse.c: remove unused variables

1.7.1:

Fix OSMouse OS-defined protocol support
Fix Hurd mouse driver with XInput ABI before 12
Fix Solaris issues with new ABI12 init process

1.7.0:

Fix BSD issues with new ABI12 init process

1.6.99.901:

Replace libc wrappers to xcalloc and friends with libc calls
Remove unused declaration of MouseUnInit
Remove out-of-date comment
XI86_POINTER_CAPABLE is gone from the server
Replace LocalDevicePtr with InputInfoPtr
Don't try to call conversion_proc anymore
Remove refcnt field from InputDriverRec
Assume ABI_XINPUT_VERSION 4 or higher
Remove unused define NEED_X86_TYPES
Remove includes for protocol headers
Remove if 0'd out model
Remove a bunch of unnecessary log prints
Remove unused branch from if 1 condition
De-duplicate Option "Device" handling
Use single exit path for PreInit
Move protocol ID detection into a separate function
Remove convoluted do { } while loop
Move a statement down to have all allocations close together
Remove a bunch of unused fields from the MouseRec
Rename xf86OSmouse.h to mouse.h
Remove random History comment
Rename xf86OSMouseInit to OSMouseInit
Remove write-only field mouseFlags
Use pInfo->options instead of conf-idev
ABI 12 requires per-valuator modes
Adjust to new Input ABI 12
Add ABI checks around XI86_CONFIGURED uses in OS-specific PreInits
Various manpage fixes

1.6.0:

Several driver modules do not have a ChangeLog target in Makefile.am #23814
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Plug minor memory leak
Silence sed substitutions in make output
configure.ac: remove unused sdkdir=$(pkg-config...) statement
Update Sun license notices to current X.Org standard form
config: remove unused -I$(top_srcdir)/src directive
Solaris: Handle ENODEV & other errors from VUID protocol mice
Bug 10866 - serial Genius NetScroll+ autodetection
README: fix linuxdoc content
README: update text content from sgml content
Remove unused SCO driver files
Various config fixes
config: Upgrade X.Org macros to 1.4 for INSTALL file copying
config: update AC_PREREQ statement to 2.60
README: keep the text version of README, discard the sgml version
config: upgrade to util-macros 1.8 for additional man page support
Purge macro NEED_EVENTS
xf86-input-mouse: Update sun_mouse devPrivates code #29049
Do not return the address of a local buffer
Check for NULL currentMode in vuidMouseSendScreenSize()
Sun's copyrights belong to Oracle now
MouseCtrl doesn't need to save values we never use
Fix mouse data buffering
Fix build warning
Bring README a little closer to the current state of reality

1.5.0:

Fix crashes due to MouseBlockHandler/MouseWakeupHandler with invalid devices
Require macros 1.3 for XORG_DEFAULT_OPTIONS

1.4.99.1:

Require xorg-server 1.5.99.901 or higher
Remove xf86-misc extension related code
Remove ModuleInfoRec and associated bits
Protect against ABI_XINPUT_VERSION 7
Conditionally declare some variables that are only used conditionally
Allow 0 as wheel emulation button for unconditional scrolling (#20529)
Restrict wheel emulation to a single axis at a time
sun_mouse: Check if streams module is already on the stack before pushing it
Remove check for OS/2
sun_mouse: Don't try calling ioctls if mouse fd wasn't opened
signed/unsigned fixes for delta x,y movement

diffstat:

 x11/xf86-input-mouse/Makefile                  |   5 +--
 x11/xf86-input-mouse/distinfo                  |  11 +++----
 x11/xf86-input-mouse/patches/patch-aa          |  21 --------------
 x11/xf86-input-mouse/patches/patch-ad          |  39 --------------------------
 x11/xf86-input-mouse/patches/patch-src_mouse.h |  39 ++++++++++++++++++++++++++
 5 files changed, 46 insertions(+), 69 deletions(-)

diffs (142 lines):

diff -r 0d82a40475f9 -r 0b7ad7c893ed x11/xf86-input-mouse/Makefile
--- a/x11/xf86-input-mouse/Makefile     Sun May 06 20:47:32 2012 +0000
+++ b/x11/xf86-input-mouse/Makefile     Sun May 06 20:51:24 2012 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2010/09/14 11:03:11 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2012/05/06 20:51:24 wiz Exp $
 
-DISTNAME=      xf86-input-mouse-1.4.0
-PKGREVISION=   2
+DISTNAME=      xf86-input-mouse-1.7.2
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_XORG:=driver/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 0d82a40475f9 -r 0b7ad7c893ed x11/xf86-input-mouse/distinfo
--- a/x11/xf86-input-mouse/distinfo     Sun May 06 20:47:32 2012 +0000
+++ b/x11/xf86-input-mouse/distinfo     Sun May 06 20:51:24 2012 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.8 2009/05/22 19:05:57 tnn Exp $
+$NetBSD: distinfo,v 1.9 2012/05/06 20:51:24 wiz Exp $
 
-SHA1 (xf86-input-mouse-1.4.0.tar.bz2) = d16c09580a0a5deb1675874e914f616548859747
-RMD160 (xf86-input-mouse-1.4.0.tar.bz2) = 17985f0493711a25ffa8fdeae4d741d7f602ca4e
-Size (xf86-input-mouse-1.4.0.tar.bz2) = 292626 bytes
-SHA1 (patch-aa) = baf529a3ae260e98fb068cb9549f749705d8213b
+SHA1 (xf86-input-mouse-1.7.2.tar.bz2) = 0da6390c6f3d7d636110a52f08193739929ae4ae
+RMD160 (xf86-input-mouse-1.7.2.tar.bz2) = 467870d6b65decc832fadf66896d613456f217cd
+Size (xf86-input-mouse-1.7.2.tar.bz2) = 341378 bytes
 SHA1 (patch-ab) = 632ec0e3908ccd16678a480b5ffa00dba7db640f
 SHA1 (patch-ac) = d32bbb082c0898e6eb6bf9dadb2af401b1e79312
-SHA1 (patch-ad) = 8301f21624cecdb19b2f705d546b6bd37d105dc3
+SHA1 (patch-src_mouse.h) = 7df93c8f7ef6e054ffd252246480051490c79d7b
diff -r 0d82a40475f9 -r 0b7ad7c893ed x11/xf86-input-mouse/patches/patch-aa
--- a/x11/xf86-input-mouse/patches/patch-aa     Sun May 06 20:47:32 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2007/08/15 14:56:24 joerg Exp $
-
---- configure.orig     2007-08-15 16:53:26.000000000 +0200
-+++ configure
-@@ -21361,16 +21361,8 @@ echo $ECHO_N "checking for $XORG_SGML_PA
- if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
--  test "$cross_compiling" = yes &&
--  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
--echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
--   { (exit 1); exit 1; }; }
--if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
--  eval "$as_ac_File=yes"
--else
-   eval "$as_ac_File=no"
- fi
--fi
- ac_res=`eval echo '${'$as_ac_File'}'`
-              { echo "$as_me:$LINENO: result: $ac_res" >&5
- echo "${ECHO_T}$ac_res" >&6; }
diff -r 0d82a40475f9 -r 0b7ad7c893ed x11/xf86-input-mouse/patches/patch-ad
--- a/x11/xf86-input-mouse/patches/patch-ad     Sun May 06 20:47:32 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2009/05/22 19:05:57 tnn Exp $
-
-Changes from NetBSD xsrc/external/mit/xorg-server/dist/\
-hw/xfree86/os-support/xf86OSmouse.h
-
-----------------------------
-revision 1.2
-date: 2009/02/02 03:06:37;  author: christos;  state: Exp;  lines: +4 -0
-add a SetupMouse proc to condition the fd. Convert NetBSD's SetupAuto to
-SetupMouse.
-----------------------------
-
---- ./src/xf86OSmouse.h.orig   2009-05-19 15:15:31 +0300
-+++ ./src/xf86OSmouse.h        2009-05-19 15:18:54 +0300
-@@ -82,6 +82,7 @@ typedef Bool (*BuiltinPreInitProc)(Input
-                                  int flags);
- typedef const char *(*DefaultProtocolProc)(void);
- typedef const char *(*SetupAutoProc)(InputInfoPtr pInfo, int *protoPara);
-+typedef Bool (*SetupMouseProc)(InputInfoPtr pInfo);
- typedef void (*SetResProc)(InputInfoPtr pInfo, const char* protocol, int rate,
-                          int res);
- typedef const char *(*FindDeviceProc)(InputInfoPtr pInfo, const char *protocol,
-@@ -99,6 +100,7 @@ typedef struct {
-       BuiltinPreInitProc      PreInit;
-       DefaultProtocolProc     DefaultProtocol;
-       SetupAutoProc           SetupAuto;
-+      SetupMouseProc          SetupMouse;
-       SetResProc              SetPS2Res;
-       SetResProc              SetBMRes;
-       SetResProc              SetMiscRes;
-@@ -141,6 +143,8 @@ typedef struct {
-  *
-  * SetBMRes:  Set the resolution and sample rate for MSE_BM protocol types.
-  *
-+ * SetupMouse:        Called once after open to condition the file descriptor.
-+ *
-  * SetMiscRes:        Set the resolution and sample rate for MSE_MISC protocol types.
-  *
-  * FindDevice:        This function gets called when no Device has been specified
diff -r 0d82a40475f9 -r 0b7ad7c893ed x11/xf86-input-mouse/patches/patch-src_mouse.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-input-mouse/patches/patch-src_mouse.h    Sun May 06 20:51:24 2012 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-src_mouse.h,v 1.1 2012/05/06 20:51:24 wiz Exp $
+
+Changes from NetBSD xsrc/external/mit/xorg-server/dist/\
+hw/xfree86/os-support/xf86OSmouse.h
+
+----------------------------
+revision 1.2
+date: 2009/02/02 03:06:37;  author: christos;  state: Exp;  lines: +4 -0
+add a SetupMouse proc to condition the fd. Convert NetBSD's SetupAuto to
+SetupMouse.
+----------------------------
+
+--- src/mouse.h.orig   2012-05-05 07:22:19.910022000 +0000
++++ src/mouse.h
+@@ -91,6 +91,7 @@ typedef Bool (*BuiltinPreInitProc)(Input
+                                  int flags);
+ typedef const char *(*DefaultProtocolProc)(void);
+ typedef const char *(*SetupAutoProc)(InputInfoPtr pInfo, int *protoPara);
++typedef Bool (*SetupMouseProc)(InputInfoPtr pInfo);
+ typedef void (*SetResProc)(InputInfoPtr pInfo, const char* protocol, int rate,
+                          int res);
+ typedef const char *(*FindDeviceProc)(InputInfoPtr pInfo, const char *protocol,
+@@ -108,6 +109,7 @@ typedef struct {
+       BuiltinPreInitProc      PreInit;
+       DefaultProtocolProc     DefaultProtocol;
+       SetupAutoProc           SetupAuto;
++      SetupMouseProc          SetupMouse;
+       SetResProc              SetPS2Res;
+       SetResProc              SetBMRes;
+       SetResProc              SetMiscRes;
+@@ -150,6 +152,8 @@ typedef struct {
+  *
+  * SetBMRes:  Set the resolution and sample rate for MSE_BM protocol types.
+  *
++ * SetupMouse:        Called once after open to condition the file descriptor.
++ *
+  * SetMiscRes:        Set the resolution and sample rate for MSE_MISC protocol types.
+  *
+  * FindDevice:        This function gets called when no Device has been specified



Home | Main Index | Thread Index | Old Index