diff options
author | bapt <bapt@FreeBSD.org> | 2017-01-14 07:22:22 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2017-01-14 07:22:22 +0800 |
commit | 452e66c876758f4f529781cbeca0d10aff566973 (patch) | |
tree | f02dd0774dce285698f413a38c63c6b7d2b63206 | |
parent | 0f918a42e4080f0f231c1eef86cdd299fe2a2713 (diff) | |
download | freebsd-ports-gnome-452e66c876758f4f529781cbeca0d10aff566973.tar.gz freebsd-ports-gnome-452e66c876758f4f529781cbeca0d10aff566973.tar.zst freebsd-ports-gnome-452e66c876758f4f529781cbeca0d10aff566973.zip |
Update to 1.9.2
PR: 214713
Submitted by: matthew@reztek.cz
7 files changed, 37 insertions, 24 deletions
diff --git a/x11-drivers/xf86-input-mouse/Makefile b/x11-drivers/xf86-input-mouse/Makefile index c883d3a0bc7e..aa0bb9b4b854 100644 --- a/x11-drivers/xf86-input-mouse/Makefile +++ b/x11-drivers/xf86-input-mouse/Makefile @@ -1,14 +1,17 @@ # $FreeBSD$ PORTNAME= xf86-input-mouse -PORTVERSION= 1.9.1 -PORTREVISION= 1 +PORTVERSION= 1.9.2 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org mouse input driver +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + XORG_CAT= driver USES= pathfix +INSTALL_TARGET= install-strip .include <bsd.port.mk> diff --git a/x11-drivers/xf86-input-mouse/distinfo b/x11-drivers/xf86-input-mouse/distinfo index 900699e0397d..06655a5e93da 100644 --- a/x11-drivers/xf86-input-mouse/distinfo +++ b/x11-drivers/xf86-input-mouse/distinfo @@ -1,2 +1,3 @@ -SHA256 (xorg/driver/xf86-input-mouse-1.9.1.tar.bz2) = 3485d375779c08406f0789feedde15933dc703158a086ddac638598f479fc5ce -SIZE (xorg/driver/xf86-input-mouse-1.9.1.tar.bz2) = 348244 +TIMESTAMP = 1479392438 +SHA256 (xorg/driver/xf86-input-mouse-1.9.2.tar.bz2) = f425d5b05c6ab412a27e0a1106bb83f9e2662b307210abbe48270892387f4b2f +SIZE (xorg/driver/xf86-input-mouse-1.9.2.tar.bz2) = 377685 diff --git a/x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c b/x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c index f4d39fabf24b..997661eeb160 100644 --- a/x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c +++ b/x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c @@ -1,4 +1,4 @@ ---- src/bsd_mouse.c.orig 2014-08-12 06:36:34 UTC +--- src/bsd_mouse.c.orig 2015-04-20 01:07:33 UTC +++ src/bsd_mouse.c @@ -26,6 +26,24 @@ * authorization from the copyright holder(s) and author(s). @@ -476,12 +476,21 @@ + xf86FlushInput(pInfo->fd); + if (!xf86InstallSIGIOHandler (pInfo->fd, usbSigioReadInput, + pInfo)) -+ AddEnabledDevice(pInfo->fd); ++ xf86AddEnabledDevice(pInfo); + } + } } pMse->lastButtons = 0; pMse->lastMappedButtons = 0; +@@ -560,7 +737,7 @@ usbMouseProc(DeviceIntPtr pPointer, int + case DEVICE_OFF: + case DEVICE_CLOSE: + if (pInfo->fd != -1) { +- RemoveEnabledDevice(pInfo->fd); ++ xf86RemoveEnabledDevice(pInfo); + if (pUsbMse->packetSize > 8 && pUsbMse->buffer) { + free(pUsbMse->buffer); + } @@ -571,6 +748,7 @@ usbMouseProc(DeviceIntPtr pPointer, int xf86CloseSerial(pInfo->fd); pInfo->fd = -1; diff --git a/x11-drivers/xf86-input-mouse/files/patch-src_Makefile.in b/x11-drivers/xf86-input-mouse/files/patch-src_Makefile.in index ba7c09e4fe00..68ee4657fb9e 100644 --- a/x11-drivers/xf86-input-mouse/files/patch-src_Makefile.in +++ b/x11-drivers/xf86-input-mouse/files/patch-src_Makefile.in @@ -1,6 +1,6 @@ ---- src/Makefile.in.orig 2015-03-03 05:17:45 UTC +--- src/Makefile.in.orig 2016-11-22 04:55:36 UTC +++ src/Makefile.in -@@ -344,7 +344,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $( +@@ -357,7 +357,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $( # _ladir passes a dummy rpath to libtool so the thing will actually link # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. @DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la diff --git a/x11-drivers/xf86-input-mouse/files/patch-src_mouse.c b/x11-drivers/xf86-input-mouse/files/patch-src_mouse.c index d4884b7ad585..14e1f75ca959 100644 --- a/x11-drivers/xf86-input-mouse/files/patch-src_mouse.c +++ b/x11-drivers/xf86-input-mouse/files/patch-src_mouse.c @@ -1,6 +1,6 @@ ---- src/mouse.c.orig 2014-08-12 06:36:34 UTC +--- src/mouse.c.orig 2016-09-06 03:53:31 UTC +++ src/mouse.c -@@ -293,13 +293,39 @@ MouseCommonOptions(InputInfoPtr pInfo) +@@ -304,13 +304,39 @@ MouseCommonOptions(InputInfoPtr pInfo) pMse = pInfo->private; @@ -41,7 +41,7 @@ pMse->emulate3Buttons = xf86SetBoolOption(pInfo->options, "Emulate3Buttons", FALSE); if (!xf86FindOptionValue(pInfo->options,"Emulate3Buttons")) { -@@ -311,6 +337,8 @@ MouseCommonOptions(InputInfoPtr pInfo) +@@ -322,6 +348,8 @@ MouseCommonOptions(InputInfoPtr pInfo) "Emulate3Timeout", 50); if (pMse->emulate3Buttons || pMse->emulate3ButtonsSoft) { MessageType from = X_CONFIG; @@ -50,7 +50,7 @@ if (pMse->emulate3ButtonsSoft) from = X_DEFAULT; xf86Msg(from, "%s: Emulate3Buttons, Emulate3Timeout: %d\n", -@@ -318,6 +346,8 @@ MouseCommonOptions(InputInfoPtr pInfo) +@@ -329,6 +357,8 @@ MouseCommonOptions(InputInfoPtr pInfo) } pMse->chordMiddle = xf86SetBoolOption(pInfo->options, "ChordMiddle", FALSE); @@ -59,7 +59,7 @@ pMse->flipXY = xf86SetBoolOption(pInfo->options, "FlipXY", FALSE); if (xf86SetBoolOption(pInfo->options, "InvX", FALSE)) { pMse->invX = -1; -@@ -328,7 +358,7 @@ MouseCommonOptions(InputInfoPtr pInfo) +@@ -339,7 +369,7 @@ MouseCommonOptions(InputInfoPtr pInfo) } else pMse->invY = 1; pMse->angleOffset = xf86SetIntOption(pInfo->options, "AngleOffset", 0); @@ -68,7 +68,7 @@ if (pMse->pDragLock) free(pMse->pDragLock); -@@ -438,14 +468,17 @@ MouseCommonOptions(InputInfoPtr pInfo) +@@ -449,14 +479,17 @@ MouseCommonOptions(InputInfoPtr pInfo) free(s); } @@ -88,7 +88,7 @@ pMse->negativeZ = pMse->positiveZ = MSE_MAPTOX; msg = xstrdup("X axis"); } else if (!xf86NameCmp(s, "y")) { -@@ -594,29 +627,6 @@ MouseCommonOptions(InputInfoPtr pInfo) +@@ -605,29 +638,6 @@ MouseCommonOptions(InputInfoPtr pInfo) pInfo->name, wheelButton, pMse->wheelInertia, pMse->wheelButtonTimeout); } @@ -118,7 +118,7 @@ if (origButtons != pMse->buttons) buttons_from = X_CONFIG; xf86Msg(buttons_from, "%s: Buttons: %d\n", pInfo->name, pMse->buttons); -@@ -698,7 +708,6 @@ MouseHWOptions(InputInfoPtr pInfo) +@@ -709,7 +719,6 @@ MouseHWOptions(InputInfoPtr pInfo) } pMse->sampleRate = xf86SetIntOption(pInfo->options, "SampleRate", 0); pMse->resolution = xf86SetIntOption(pInfo->options, "Resolution", 0); @@ -126,7 +126,7 @@ } static void -@@ -986,6 +995,8 @@ MousePreInit(InputDriverPtr drv, InputIn +@@ -997,6 +1006,8 @@ MousePreInit(InputDriverPtr drv, InputIn /* Default Mapping: 1 2 3 8 9 10 11 ... */ for (i = 0; i < MSE_MAXBUTTONS; i++) pMse->buttonMap[i] = 1 << (i > 2 && i < MSE_MAXBUTTONS-4 ? i+4 : i); @@ -135,7 +135,7 @@ protocol = MousePickProtocol(pInfo, device, protocol, &protocolID); -@@ -2181,7 +2192,7 @@ MouseDoPostEvent(InputInfoPtr pInfo, int +@@ -2198,7 +2209,7 @@ MouseDoPostEvent(InputInfoPtr pInfo, int if (pMse->emulateWheel) { /* Emulate wheel button handling */ @@ -144,7 +144,7 @@ wheelButtonMask = 0; else wheelButtonMask = 1 << (pMse->wheelButton - 1); -@@ -2271,6 +2282,9 @@ MouseDoPostEvent(InputInfoPtr pInfo, int +@@ -2288,6 +2299,9 @@ MouseDoPostEvent(InputInfoPtr pInfo, int } } } @@ -154,7 +154,7 @@ } /* Absorb the mouse movement while the wheel button is pressed. */ -@@ -2288,7 +2302,7 @@ MouseDoPostEvent(InputInfoPtr pInfo, int +@@ -2305,7 +2319,7 @@ MouseDoPostEvent(InputInfoPtr pInfo, int if (pMse->emulate3ButtonsSoft && pMse->emulate3Pending && (dx || dy)) buttonTimer(pInfo); @@ -163,7 +163,7 @@ xf86PostMotionEvent(pInfo->dev, 0, 0, 2, dx, dy); if (change) { -@@ -2401,12 +2415,10 @@ MousePostEvent(InputInfoPtr pInfo, int t +@@ -2418,12 +2432,10 @@ MousePostEvent(InputInfoPtr pInfo, int t int dx, int dy, int dz, int dw) { MouseDevPtr pMse; @@ -176,7 +176,7 @@ if (pMse->protocolID == PROT_MMHIT) b = reverseBits(hitachMap, truebuttons); -@@ -2499,11 +2511,11 @@ MousePostEvent(InputInfoPtr pInfo, int t +@@ -2516,11 +2528,11 @@ MousePostEvent(InputInfoPtr pInfo, int t /* Accumulate the scaled dx, dy in the private variables fracdx,fracdy and return the integer number part */ diff --git a/x11-drivers/xf86-input-mouse/files/patch-src_mouse.h b/x11-drivers/xf86-input-mouse/files/patch-src_mouse.h index 2001c5b43698..7bd620564018 100644 --- a/x11-drivers/xf86-input-mouse/files/patch-src_mouse.h +++ b/x11-drivers/xf86-input-mouse/files/patch-src_mouse.h @@ -1,4 +1,4 @@ ---- src/mouse.h.orig 2014-08-12 06:36:34 UTC +--- src/mouse.h.orig 2012-10-08 01:40:07 UTC +++ src/mouse.h @@ -220,10 +220,13 @@ typedef struct _MouseDevRec { Bool emulate3ButtonsSoft; diff --git a/x11-drivers/xf86-input-mouse/files/patch-src_mousePriv.h b/x11-drivers/xf86-input-mouse/files/patch-src_mousePriv.h index d53173133fa7..91e92858dbec 100644 --- a/x11-drivers/xf86-input-mouse/files/patch-src_mousePriv.h +++ b/x11-drivers/xf86-input-mouse/files/patch-src_mousePriv.h @@ -1,4 +1,4 @@ ---- src/mousePriv.h.orig 2014-08-12 06:36:34 UTC +--- src/mousePriv.h.orig 2012-05-28 00:01:45 UTC +++ src/mousePriv.h @@ -63,8 +63,6 @@ typedef struct { int acc; |