Hello community,
here is the log from the commit of package xf86-input-wacom for
openSUSE:Factory checked in at 2020-08-28 21:15:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-input-wacom (Old)
and /work/SRC/openSUSE:Factory/.xf86-input-wacom.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-input-wacom"
Fri Aug 28 21:15:02 2020 rev:34 rq:829575 version:0.39.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-input-wacom/xf86-input-wacom.changes
2020-07-17 20:44:32.216519849 +0200
+++
/work/SRC/openSUSE:Factory/.xf86-input-wacom.new.3399/xf86-input-wacom.changes
2020-08-28 21:15:43.424160016 +0200
@@ -1,0 +2,35 @@
+Tue Aug 25 14:13:05 UTC 2020 - Stefan Dirsch <[email protected]>
+
+- reenabled
+ * %{?systemd_ordering}
+ * %{x11_abi_xinput_req}
+ which has mistakely been disabled by the previous update ...
+
+-------------------------------------------------------------------
+Tue Aug 25 11:03:18 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to version 0.39.0:
+ * Recognize new MobileStudio Pro PID
+ * Ignore ABS_MISC as a source of device type information for AES pens
+ * tools: Fix potential buffer overflow when reading from serial tablet
+ * Handle multitouch mode up at the very start wcmGestureFilter
+ * Perform a few cleanups in wcmTouchFilter.c
+ * Change default gesture mode: touchpad=on, touchscreen=off
+ * Support new MobileStudio Pro for older kernels
+ * Trigger scroll and zoom gestures immediately after they are detected
+ * Revert "Reset wcmGestureState to current device state upon gesture start"
+ * Do not start scroll gesture if fingers are moving opposite directions
+ * Minor cleanups for wcmFingerScroll and wcmFingerZoom
+ * Use wcmScrollDistance as scroll threshold; recognize scrolling more
consistently
+ * Overhaul calculation of default scroll, zoom, and spread distances
+ * Prevent spurious right-clicks at the end of very short scroll and zoom
gestures
+ * Do not wait wcmTapTime to enter scroll or zoom mode
+ * Use a proxout height of 30 for all stylus devices
+ * Allow CursorProximity to take effect even if distance == 0 on tablet
surface
+ * Allow use of proxout feature for any relative tablet tool (stylus, eraser,
cursor)
+ * Change wcmCursorProxoutDist from a common to a private property
+ * Add support for Surface Go and Nuvision Solo 10 Draw
+ * Fix panscroll when using non-default tablet area
+- remove U_Change-default-gesture-mode-touchpad-on-touchscreen-.patch
(upstream)
+
+-------------------------------------------------------------------
Old:
----
U_Change-default-gesture-mode-touchpad-on-touchscreen-.patch
xf86-input-wacom-0.37.0.tar.bz2
New:
----
xf86-input-wacom-0.39.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-input-wacom.spec ++++++
--- /var/tmp/diff_new_pack.FweOSh/_old 2020-08-28 21:15:47.488161989 +0200
+++ /var/tmp/diff_new_pack.FweOSh/_new 2020-08-28 21:15:47.492161991 +0200
@@ -17,7 +17,7 @@
Name: xf86-input-wacom
-Version: 0.37.0
+Version: 0.39.0
Release: 0
Summary: Wacom input driver for the Xorg X server
License: GPL-2.0-or-later
@@ -28,7 +28,6 @@
Patch8: n_02-Log-PROXIMITY-LOW-LEVEL-events.patch
Patch9: n_03-Log-PRESSURE-low-level-events.patch
Patch10: n_04-Log-BUTTON-HIGH-LEVEL-events.patch
-Patch11: U_Change-default-gesture-mode-touchpad-on-touchscreen-.patch
Patch12: n_disable-touchscreen.patch
# For directory ownership
BuildRequires: libtool
@@ -55,7 +54,6 @@
Obsoletes: x11-input-wacom < %{version}
Provides: x11-input-wacom-tools = %{version}
Obsoletes: x11-input-wacom-tools < %{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: s390 s390x
%{?systemd_ordering}
%{x11_abi_xinput_req}
@@ -79,7 +77,6 @@
%patch8 -p1
%patch9 -p1
%patch10 -p1
-%patch11 -p1
%patch12 -p1
%build
++++++ n_01-Add-option-to-enable-logging.patch ++++++
--- /var/tmp/diff_new_pack.FweOSh/_old 2020-08-28 21:15:47.524162006 +0200
+++ /var/tmp/diff_new_pack.FweOSh/_new 2020-08-28 21:15:47.524162006 +0200
@@ -29,10 +29,10 @@
tools/xsetwacom.c | 10 ++++++++++
11 files changed, 177 insertions(+), 3 deletions(-)
-Index: xf86-input-wacom-0.37.0/configure.ac
+Index: xf86-input-wacom-0.39.0/configure.ac
===================================================================
---- xf86-input-wacom-0.37.0.orig/configure.ac
-+++ xf86-input-wacom-0.37.0/configure.ac
+--- xf86-input-wacom-0.39.0.orig/configure.ac
++++ xf86-input-wacom-0.39.0/configure.ac
@@ -88,6 +88,17 @@ if test "x$DEBUGGING" = xyes; then
AC_DEFINE(DEBUG, 1, [Enable debugging code])
fi
@@ -51,10 +51,10 @@
# Define a configure option for an alternate input module directory
AC_ARG_WITH(xorg-module-dir,
AS_HELP_STRING([--with-xorg-module-dir=DIR],
-Index: xf86-input-wacom-0.37.0/include/wacom-properties.h
+Index: xf86-input-wacom-0.39.0/include/wacom-properties.h
===================================================================
---- xf86-input-wacom-0.37.0.orig/include/wacom-properties.h
-+++ xf86-input-wacom-0.37.0/include/wacom-properties.h
+--- xf86-input-wacom-0.39.0.orig/include/wacom-properties.h
++++ xf86-input-wacom-0.39.0/include/wacom-properties.h
@@ -114,6 +114,15 @@
/* 32 bit, 1 values */
#define WACOM_PROP_PANSCROLL_THRESHOLD "Wacom Panscroll Threshold"
@@ -71,11 +71,11 @@
/* The following are tool types used by the driver in WACOM_PROP_TOOL_TYPE
* or in the 'type' field for XI1 clients. Clients may check for one of
* these types to identify tool types.
-Index: xf86-input-wacom-0.37.0/man/wacom.man
+Index: xf86-input-wacom-0.39.0/man/wacom.man
===================================================================
---- xf86-input-wacom-0.37.0.orig/man/wacom.man
-+++ xf86-input-wacom-0.37.0/man/wacom.man
-@@ -278,6 +278,24 @@ good pen. If the consecutive pressure re
+--- xf86-input-wacom-0.39.0.orig/man/wacom.man
++++ xf86-input-wacom-0.39.0/man/wacom.man
+@@ -279,6 +279,24 @@ good pen. If the consecutive pressure re
the initial pressure by a threshold no button event will be generated.
This option allows to disable the recalibration.
.TP 4
@@ -100,11 +100,11 @@
.B Option \fI"PanScrollThreshold"\fP \fI"number"\fP
Specifies the distance the pen must move (in tablet units) before a
scroll event is generated when using the "pan" action. Smaller values
-Index: xf86-input-wacom-0.37.0/man/xsetwacom.man
+Index: xf86-input-wacom-0.39.0/man/xsetwacom.man
===================================================================
---- xf86-input-wacom-0.37.0.orig/man/xsetwacom.man
-+++ xf86-input-wacom-0.37.0/man/xsetwacom.man
-@@ -282,6 +282,24 @@ good pen. If the consecutive pressure re
+--- xf86-input-wacom-0.39.0.orig/man/xsetwacom.man
++++ xf86-input-wacom-0.39.0/man/xsetwacom.man
+@@ -283,6 +283,24 @@ good pen. If the consecutive pressure re
the initial pressure by a threshold no button event will be generated.
This option allows to disable the recalibration. Default: on
.TP
@@ -129,10 +129,10 @@
\fBPanScrollThreshold\fR distance
This specifies the distance the pen must move (in tablet units) before
a scroll event is generated when using the "pan" action. Smaller values
-Index: xf86-input-wacom-0.37.0/src/wcmCommon.c
+Index: xf86-input-wacom-0.39.0/src/wcmCommon.c
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/wcmCommon.c
-+++ xf86-input-wacom-0.37.0/src/wcmCommon.c
+--- xf86-input-wacom-0.39.0.orig/src/wcmCommon.c
++++ xf86-input-wacom-0.39.0/src/wcmCommon.c
@@ -27,6 +27,9 @@
#include "wcmTouchFilter.h"
#include <xkbsrv.h>
@@ -143,7 +143,7 @@
struct _WacomDriverRec WACOM_DRIVER = {
-@@ -132,6 +135,35 @@ static void wcmPanscroll(WacomDevicePtr
+@@ -142,6 +145,35 @@ static void wcmPanscroll(InputInfoPtr pI
*accumulated_y = wcmButtonPerNotch(priv, *accumulated_y, threshold, 4,
5);
}
@@ -179,7 +179,7 @@
/*****************************************************************************
* wcmSendButtons --
* Send button events by comparing the current button mask with the
-@@ -1552,6 +1584,9 @@ WacomCommonPtr wcmNewCommon(void)
+@@ -1563,6 +1595,9 @@ WacomCommonPtr wcmNewCommon(void)
/* number of raw data to be used to for filtering */
common->wcmPanscrollThreshold = 0;
common->wcmPressureRecalibration = 1;
@@ -189,10 +189,10 @@
return common;
}
-Index: xf86-input-wacom-0.37.0/src/wcmConfig.c
+Index: xf86-input-wacom-0.39.0/src/wcmConfig.c
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/wcmConfig.c
-+++ xf86-input-wacom-0.37.0/src/wcmConfig.c
+--- xf86-input-wacom-0.39.0.orig/src/wcmConfig.c
++++ xf86-input-wacom-0.39.0/src/wcmConfig.c
@@ -653,6 +653,10 @@ static int wcmPreInit(InputDriverPtr drv
common->debugLevel = xf86SetIntOption(pInfo->options,
@@ -204,11 +204,11 @@
oldname = strdup(pInfo->name);
if (wcmIsHotpluggedDevice(pInfo))
-Index: xf86-input-wacom-0.37.0/src/wcmUSB.c
+Index: xf86-input-wacom-0.39.0/src/wcmUSB.c
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/wcmUSB.c
-+++ xf86-input-wacom-0.37.0/src/wcmUSB.c
-@@ -1182,6 +1182,31 @@ static int usbIdToType(int id)
+--- xf86-input-wacom-0.39.0.orig/src/wcmUSB.c
++++ xf86-input-wacom-0.39.0/src/wcmUSB.c
+@@ -1230,6 +1230,31 @@ static int usbIdToType(WacomCommonPtr co
return type;
}
@@ -240,10 +240,10 @@
/**
* Find the tool type (STYLUS_ID, etc.) based on the device_id.
*
-Index: xf86-input-wacom-0.37.0/src/wcmXCommand.c
+Index: xf86-input-wacom-0.39.0/src/wcmXCommand.c
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/wcmXCommand.c
-+++ xf86-input-wacom-0.37.0/src/wcmXCommand.c
+--- xf86-input-wacom-0.39.0.orig/src/wcmXCommand.c
++++ xf86-input-wacom-0.39.0/src/wcmXCommand.c
@@ -99,6 +99,9 @@ static Atom prop_tooltype;
static Atom prop_btnactions;
static Atom prop_product_id;
@@ -287,10 +287,10 @@
} else if (property == prop_btnactions)
{
int nbuttons = priv->nbuttons < 4 ? priv->nbuttons :
priv->nbuttons + 4;
-Index: xf86-input-wacom-0.37.0/src/xf86Wacom.h
+Index: xf86-input-wacom-0.39.0/src/xf86Wacom.h
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/xf86Wacom.h
-+++ xf86-input-wacom-0.37.0/src/xf86Wacom.h
+--- xf86-input-wacom-0.39.0.orig/src/xf86Wacom.h
++++ xf86-input-wacom-0.39.0/src/xf86Wacom.h
@@ -69,6 +69,28 @@
#define DBG(lvl, priv, ...)
#endif
@@ -320,11 +320,11 @@
/******************************************************************************
* WacomModule - all globals are packed in a single structure to keep the
* global namespaces as clean as possible.
-Index: xf86-input-wacom-0.37.0/src/xf86WacomDefs.h
+Index: xf86-input-wacom-0.39.0/src/xf86WacomDefs.h
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/xf86WacomDefs.h
-+++ xf86-input-wacom-0.37.0/src/xf86WacomDefs.h
-@@ -469,6 +469,9 @@ struct _WacomCommonRec
+--- xf86-input-wacom-0.39.0.orig/src/xf86WacomDefs.h
++++ xf86-input-wacom-0.39.0/src/xf86WacomDefs.h
+@@ -468,6 +468,9 @@ struct _WacomCommonRec
int wcmRawSample; /* Number of raw data used to filter an
event */
int wcmPressureRecalibration; /* Determine if pressure recalibration of
worn pens should be performed */
@@ -334,10 +334,10 @@
int wcmPanscrollThreshold; /* distance pen must move to send a
panscroll event */
int bufpos; /* position with buffer */
-Index: xf86-input-wacom-0.37.0/tools/xsetwacom.c
+Index: xf86-input-wacom-0.39.0/tools/xsetwacom.c
===================================================================
---- xf86-input-wacom-0.37.0.orig/tools/xsetwacom.c
-+++ xf86-input-wacom-0.37.0/tools/xsetwacom.c
+--- xf86-input-wacom-0.39.0.orig/tools/xsetwacom.c
++++ xf86-input-wacom-0.39.0/tools/xsetwacom.c
@@ -159,6 +159,16 @@ static param_t parameters[] =
.arg_count = 1,
},
++++++ n_02-Log-PROXIMITY-LOW-LEVEL-events.patch ++++++
--- /var/tmp/diff_new_pack.FweOSh/_old 2020-08-28 21:15:47.536162012 +0200
+++ /var/tmp/diff_new_pack.FweOSh/_new 2020-08-28 21:15:47.536162012 +0200
@@ -12,11 +12,11 @@
src/wcmUSB.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
-Index: xf86-input-wacom-0.37.0/src/wcmUSB.c
+Index: xf86-input-wacom-0.39.0/src/wcmUSB.c
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/wcmUSB.c
-+++ xf86-input-wacom-0.37.0/src/wcmUSB.c
-@@ -544,6 +544,8 @@ static void usbWcmInitPadState(InputInfo
+--- xf86-input-wacom-0.39.0.orig/src/wcmUSB.c
++++ xf86-input-wacom-0.39.0/src/wcmUSB.c
+@@ -565,6 +565,8 @@ static void usbWcmInitPadState(InputInfo
ds->device_type = PAD_ID;
ds->device_id = PAD_DEVICE_ID;
ds->serial_num = channel;
@@ -25,7 +25,7 @@
}
int usbWcmGetRanges(InputInfoPtr pInfo)
-@@ -1821,6 +1823,7 @@ static void usbDispatchEvents(InputInfoP
+@@ -1870,6 +1872,7 @@ static void usbDispatchEvents(InputInfoP
int channel;
wcmUSBData* private = common->private;
WacomDeviceState dslast =
common->wcmChannel[private->lastChannel].valid.state;
@@ -33,7 +33,7 @@
DBG(6, common, "%d events received\n", private->wcmEventCnt);
-@@ -1857,6 +1860,7 @@ static void usbDispatchEvents(InputInfoP
+@@ -1906,6 +1909,7 @@ static void usbDispatchEvents(InputInfoP
ds = &common->wcmChannel[channel].work;
dslast = common->wcmChannel[channel].valid.state;
@@ -41,7 +41,7 @@
if (ds->device_type && ds->device_type != private->wcmDeviceType)
LogMessageVerbSigSafe(X_ERROR, 0,
-@@ -1871,10 +1875,16 @@ static void usbDispatchEvents(InputInfoP
+@@ -1920,10 +1924,16 @@ static void usbDispatchEvents(InputInfoP
/* all USB data operates from previous context except relative values*/
ds->relwheel = 0;
ds->serial_num = private->wcmLastToolSerial;
@@ -58,7 +58,7 @@
event = private->wcmEvents + i;
DBG(11, common,
"event[%d]->type=%d code=%d value=%d\n",
-@@ -1928,6 +1938,12 @@ static void usbDispatchEvents(InputInfoP
+@@ -1977,6 +1987,12 @@ static void usbDispatchEvents(InputInfoP
usbParseKeyEvent(common, event, channel);
usbParseBTNEvent(common, event, btn_channel);
}
++++++ n_03-Log-PRESSURE-low-level-events.patch ++++++
--- /var/tmp/diff_new_pack.FweOSh/_old 2020-08-28 21:15:47.556162022 +0200
+++ /var/tmp/diff_new_pack.FweOSh/_new 2020-08-28 21:15:47.560162024 +0200
@@ -13,13 +13,13 @@
src/wcmUSB.c | 4 ++++
2 files changed, 10 insertions(+), 2 deletions(-)
-Index: xf86-input-wacom-0.37.0/src/wcmCommon.c
+Index: xf86-input-wacom-0.39.0/src/wcmCommon.c
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/wcmCommon.c
-+++ xf86-input-wacom-0.37.0/src/wcmCommon.c
-@@ -1240,9 +1240,13 @@ static void detectPressureIssue(WacomDev
+--- xf86-input-wacom-0.39.0.orig/src/wcmCommon.c
++++ xf86-input-wacom-0.39.0/src/wcmCommon.c
+@@ -1250,9 +1250,13 @@ static void detectPressureIssue(WacomDev
"\tThis indicates a worn out pen, it is time to
change your tool. Also see:\n"
-
"\thttp://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Pen_Wear.\n",
+
"\thttps://github.com/linuxwacom/xf86-input-wacom/wiki/Pen-Wear.\n",
priv->pInfo->name, priv->serial,
priv->minPressure, LIMIT_LOW_PRESSURE, common->wcmMaxZ);
- } else if (!priv->oldState.proximity)
+ } else if (!priv->oldState.proximity) {
@@ -33,11 +33,11 @@
priv->oldMinPressure = priv->minPressure;
priv->eventCnt++;
}
-Index: xf86-input-wacom-0.37.0/src/wcmUSB.c
+Index: xf86-input-wacom-0.39.0/src/wcmUSB.c
===================================================================
---- xf86-input-wacom-0.37.0.orig/src/wcmUSB.c
-+++ xf86-input-wacom-0.37.0/src/wcmUSB.c
-@@ -1273,6 +1273,8 @@ static int usbParseGenericAbsEvent(Wacom
+--- xf86-input-wacom-0.39.0.orig/src/wcmUSB.c
++++ xf86-input-wacom-0.39.0/src/wcmUSB.c
+@@ -1322,6 +1322,8 @@ static int usbParseGenericAbsEvent(Wacom
break;
case ABS_PRESSURE:
ds->pressure = event->value;
@@ -46,7 +46,7 @@
break;
case ABS_DISTANCE:
ds->distance = event->value;
-@@ -1428,6 +1430,8 @@ static void usbParseAbsMTEvent(WacomComm
+@@ -1477,6 +1479,8 @@ static void usbParseAbsMTEvent(WacomComm
case ABS_MT_PRESSURE:
ds->pressure = event->value;
++++++ xf86-input-wacom-0.37.0.tar.bz2 -> xf86-input-wacom-0.39.0.tar.bz2 ++++++
++++ 7980 lines of diff (skipped)