summaryrefslogtreecommitdiff
path: root/source/x/libinput
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-08-24 20:48:03 +0000
committerEric Hameleers <alien@slackware.com>2020-08-25 17:59:56 +0200
commit855c3ceaa9f5e68508028608316d973e2068c924 (patch)
tree747e8f2e93aa7e29ad94d74c49cd6b360890f153 /source/x/libinput
parentaef1dd99c7a4d8a3da26619fcbfc4a6eb501d2e3 (diff)
downloadcurrent-855c3ceaa9f5e68508028608316d973e2068c924.tar.gz
Mon Aug 24 20:48:03 UTC 202020200824204803
ap/nano-5.2-x86_64-1.txz: Upgraded. d/doxygen-1.8.20-x86_64-1.txz: Upgraded. d/nasm-2.15.03-x86_64-1.txz: Upgraded. Reverted to previous nasm since the new version has problems with some of the assembly included in Firefox. d/parallel-20200822-noarch-1.txz: Upgraded. l/libcap-ng-0.7.11-x86_64-1.txz: Upgraded. n/libgpg-error-1.39-x86_64-1.txz: Upgraded. n/libqmi-1.26.4-x86_64-1.txz: Upgraded. xap/mozilla-firefox-78.2.0esr-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/78.2.0/releasenotes/ (* Security fix *) xap/sane-1.0.31-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/x/libinput')
-rwxr-xr-xsource/x/libinput/libinput.SlackBuild4
-rw-r--r--source/x/libinput/libinput.less.lag.complaining.diff20
2 files changed, 23 insertions, 1 deletions
diff --git a/source/x/libinput/libinput.SlackBuild b/source/x/libinput/libinput.SlackBuild
index f40a38d9..531de3ff 100755
--- a/source/x/libinput/libinput.SlackBuild
+++ b/source/x/libinput/libinput.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libinput
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -79,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+zcat $CWD/libinput.less.lag.complaining.diff.gz | patch -p1 --verbose || exit 1
+
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
mkdir build
diff --git a/source/x/libinput/libinput.less.lag.complaining.diff b/source/x/libinput/libinput.less.lag.complaining.diff
new file mode 100644
index 00000000..a8d8c489
--- /dev/null
+++ b/source/x/libinput/libinput.less.lag.complaining.diff
@@ -0,0 +1,20 @@
+--- ./src/evdev.c.orig 2020-08-12 22:50:03.612642300 -0500
++++ ./src/evdev.c 2020-08-20 17:26:17.663305924 -0500
+@@ -1027,7 +1027,7 @@
+
+ /* if we have a current libinput_dispatch() snapshot, compare our
+ * event time with the one from the snapshot. If we have more than
+- * 10ms delay, complain about it. This catches delays in processing
++ * 75ms delay, complain about it. This catches delays in processing
+ * where there is no steady event flow and thus SYN_DROPPED may not
+ * get hit by the kernel despite us being too slow.
+ */
+@@ -1035,7 +1035,7 @@
+ return;
+
+ tdelta = us2ms(libinput->dispatch_time - input_event_time(ev));
+- if (tdelta > 10) {
++ if (tdelta > 75) {
+ evdev_log_bug_client_ratelimit(device,
+ &device->delay_warning_limit,
+ "event processing lagging behind by %dms, your system is too slow\n",