summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2012-05-06 20:51:24 +0000
committerwiz <wiz>2012-05-06 20:51:24 +0000
commitca2b173f15fce3a635bac91897bc207d80ac9547 (patch)
tree81e21e2a2169d026422b83f010bb5be374e4daf6
parentba1ce9c6d2c18dc81116dd0f45f50d725571f0e0 (diff)
downloadpkgsrc-ca2b173f15fce3a635bac91897bc207d80ac9547.tar.gz
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
-rw-r--r--x11/xf86-input-mouse/Makefile5
-rw-r--r--x11/xf86-input-mouse/distinfo11
-rw-r--r--x11/xf86-input-mouse/patches/patch-aa21
-rw-r--r--x11/xf86-input-mouse/patches/patch-src_mouse.h (renamed from x11/xf86-input-mouse/patches/patch-ad)12
4 files changed, 13 insertions, 36 deletions
diff --git a/x11/xf86-input-mouse/Makefile b/x11/xf86-input-mouse/Makefile
index 43004e84f20..daebcb91d3e 100644
--- a/x11/xf86-input-mouse/Makefile
+++ b/x11/xf86-input-mouse/Makefile
@@ -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 --git a/x11/xf86-input-mouse/distinfo b/x11/xf86-input-mouse/distinfo
index 6ecb8ad1316..fedda3fc75f 100644
--- a/x11/xf86-input-mouse/distinfo
+++ b/x11/xf86-input-mouse/distinfo
@@ -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 --git a/x11/xf86-input-mouse/patches/patch-aa b/x11/xf86-input-mouse/patches/patch-aa
deleted file mode 100644
index 9af27db486b..00000000000
--- a/x11/xf86-input-mouse/patches/patch-aa
+++ /dev/null
@@ -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 --git a/x11/xf86-input-mouse/patches/patch-ad b/x11/xf86-input-mouse/patches/patch-src_mouse.h
index 2b2c4a37b5d..2e870f52efa 100644
--- a/x11/xf86-input-mouse/patches/patch-ad
+++ b/x11/xf86-input-mouse/patches/patch-src_mouse.h
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.1 2009/05/22 19:05:57 tnn Exp $
+$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
@@ -10,9 +10,9 @@ 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
+--- 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);
@@ -20,7 +20,7 @@ SetupMouse.
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 {
+@@ -108,6 +109,7 @@ typedef struct {
BuiltinPreInitProc PreInit;
DefaultProtocolProc DefaultProtocol;
SetupAutoProc SetupAuto;
@@ -28,7 +28,7 @@ SetupMouse.
SetResProc SetPS2Res;
SetResProc SetBMRes;
SetResProc SetMiscRes;
-@@ -141,6 +143,8 @@ typedef struct {
+@@ -150,6 +152,8 @@ typedef struct {
*
* SetBMRes: Set the resolution and sample rate for MSE_BM protocol types.
*