Hello community, here is the log from the commit of package libinput for openSUSE:Factory checked in at 2019-01-15 13:13:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libinput (Old) and /work/SRC/openSUSE:Factory/.libinput.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libinput" Tue Jan 15 13:13:21 2019 rev:71 rq:663336 version:1.12.5 Changes: -------- --- /work/SRC/openSUSE:Factory/libinput/libinput.changes 2018-12-21 08:19:39.777668626 +0100 +++ /work/SRC/openSUSE:Factory/.libinput.new.28833/libinput.changes 2019-01-15 13:13:22.832498601 +0100 @@ -1,0 +2,8 @@ +Mon Jan 7 11:11:54 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 1.12.5 + * Fixes an issue with the Asus VivoBook Flip 14 TP412UA, the + tablet mode switch is "stuck", causing the keyboard and + touchpad to stop working. A quirk was added to rectify this. + +------------------------------------------------------------------- Old: ---- libinput-1.12.4.tar.xz libinput-1.12.4.tar.xz.sig New: ---- libinput-1.12.5.tar.xz libinput-1.12.5.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libinput.spec ++++++ --- /var/tmp/diff_new_pack.VDnhgo/_old 2019-01-15 13:13:23.304498233 +0100 +++ /var/tmp/diff_new_pack.VDnhgo/_new 2019-01-15 13:13:23.304498233 +0100 @@ -1,7 +1,7 @@ # # spec file for package libinput # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: libinput %define lname libinput10 -Version: 1.12.4 +Version: 1.12.5 Release: 0 Summary: Input device and event processing library License: MIT ++++++ libinput-1.12.4.tar.xz -> libinput-1.12.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libinput-1.12.4/README.md new/libinput-1.12.5/README.md --- old/libinput-1.12.4/README.md 2018-12-18 06:06:18.000000000 +0100 +++ new/libinput-1.12.5/README.md 2019-01-07 05:05:46.000000000 +0100 @@ -15,11 +15,11 @@ ------------------ Documentation explaining features available in libinput is available -[here](https://wayland.freedesktop.org/libinput/doc/latest/pages.html). +[here](https://wayland.freedesktop.org/libinput/doc/latest/features.html). -This includes the [FAQ](https://wayland.freedesktop.org/libinput/doc/latest/faq.html) +This includes the [FAQ](https://wayland.freedesktop.org/libinput/doc/latest/faqs.html) and the instructions on -[reporting bugs](https://wayland.freedesktop.org/libinput/doc/latest/reporting_bugs.html). +[reporting bugs](https://wayland.freedesktop.org/libinput/doc/latest/reporting-bugs.html). Source code @@ -32,7 +32,7 @@ https://www.freedesktop.org/wiki/Software/libinput/ Build instructions: -https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html +https://wayland.freedesktop.org/libinput/doc/latest/building.html Reporting Bugs -------------- @@ -49,11 +49,11 @@ Documentation ------------- -- Developer API documentation: https://wayland.freedesktop.org/libinput/doc/latest/modules.html +- Developer API documentation: https://wayland.freedesktop.org/libinput/doc/latest/development.html - High-level documentation about libinput's features: - https://wayland.freedesktop.org/libinput/doc/latest/pages.html + https://wayland.freedesktop.org/libinput/doc/latest/features.html - Build instructions: - https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html + https://wayland.freedesktop.org/libinput/doc/latest/building.html - Documentation for previous versions of libinput: https://wayland.freedesktop.org/libinput/doc/ Examples of how to use libinput are the debugging tools in the libinput diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libinput-1.12.4/meson.build new/libinput-1.12.5/meson.build --- old/libinput-1.12.4/meson.build 2018-12-18 06:06:18.000000000 +0100 +++ new/libinput-1.12.5/meson.build 2019-01-07 05:05:46.000000000 +0100 @@ -1,5 +1,5 @@ project('libinput', 'c', 'cpp', - version : '1.12.4', + version : '1.12.5', license : 'MIT/Expat', default_options : [ 'c_std=gnu99', 'warning_level=2' ], meson_version : '>= 0.41.0') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libinput-1.12.4/quirks/50-system-asus.quirks new/libinput-1.12.5/quirks/50-system-asus.quirks --- old/libinput-1.12.4/quirks/50-system-asus.quirks 2018-12-18 06:06:18.000000000 +0100 +++ new/libinput-1.12.5/quirks/50-system-asus.quirks 2019-01-07 05:05:46.000000000 +0100 @@ -17,3 +17,15 @@ MatchName=*ETPS/2 Elantech Touchpad* MatchDMIModalias=dmi:*svnASUSTeKCOMPUTERINC.:pnUX302LA:* AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; + +# Asus VivoBook Flip 14 TP412UA tablet switch seems misbehaving, always +# indicating tablet position +[Asus TP412UA Keyboard] +MatchName=AT Translated Set 2 keyboard +MatchDMIModalias=dmi:*svnASUSTeKCOMPUTERINC.:pnVivoBookFlip14_ASUSFlipTP412UA:* +ModelTabletModeNoSuspend=1 + +[Asus TP412UA Touchpad] +MatchName=*ELAN*Touchpad* +MatchDMIModalias=dmi:*svnASUSTeKCOMPUTERINC.:pnVivoBookFlip14_ASUSFlipTP412UA:* +ModelTabletModeNoSuspend=1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libinput-1.12.4/src/evdev-mt-touchpad.c new/libinput-1.12.5/src/evdev-mt-touchpad.c --- old/libinput-1.12.4/src/evdev-mt-touchpad.c 2018-12-18 06:06:18.000000000 +0100 +++ new/libinput-1.12.5/src/evdev-mt-touchpad.c 2019-01-07 05:05:46.000000000 +0100 @@ -2504,6 +2504,10 @@ if (touchpad->tags & EVDEV_TAG_EXTERNAL_TOUCHPAD) return; + if (evdev_device_has_model_quirk(touchpad, + QUIRK_MODEL_TABLET_MODE_NO_SUSPEND)) + return; + evdev_log_debug(touchpad, "tablet_mode_switch: activated for %s<->%s\n", touchpad->devname, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libinput-1.12.4/src/libinput.h new/libinput-1.12.5/src/libinput.h --- old/libinput-1.12.4/src/libinput.h 2018-12-18 06:06:18.000000000 +0100 +++ new/libinput-1.12.5/src/libinput.h 2019-01-07 05:05:46.000000000 +0100 @@ -3159,7 +3159,8 @@ * * @param libinput A previously initialized libinput context * @return The caller-specific data previously assigned in - * libinput_create_udev(). + * libinput_set_user_data(), libinput_path_create_context() or + * libinput_udev_create_context(). */ void * libinput_get_user_data(struct libinput *libinput); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libinput-1.12.4/tools/libinput-measure-fuzz.py new/libinput-1.12.5/tools/libinput-measure-fuzz.py --- old/libinput-1.12.4/tools/libinput-measure-fuzz.py 2018-12-18 06:06:18.000000000 +0100 +++ new/libinput-1.12.5/tools/libinput-measure-fuzz.py 2019-01-07 05:05:46.000000000 +0100 @@ -455,7 +455,7 @@ except PermissionError as e: print('Permission denied, please re-run as root') except InvalidConfigurationError as e: - print('Error: {}'.format(e.message)) + print('Error: {}'.format(e)) except KeyboardInterrupt as e: print('Exited on user request')
