libinput 1.9.2
This commit is contained in:
parent
0bb4f2fd9a
commit
5bdc7cbd58
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@
|
||||
/libinput-1.8.902.tar.xz
|
||||
/libinput-1.9.0.tar.xz
|
||||
/libinput-1.9.1.tar.xz
|
||||
/libinput-1.9.2.tar.xz
|
||||
|
@ -1,31 +0,0 @@
|
||||
From 48fd22def7ae1a8d67d1f6f2e0d6e6f98c7a9361 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Fri, 3 Nov 2017 23:01:23 +0100
|
||||
Subject: [PATCH libinput] tools: Handle LIBINPUT_SWITCH_TABLET_MODE
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
tools/libinput-debug-events.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/tools/libinput-debug-events.c b/tools/libinput-debug-events.c
|
||||
index 87b7b803..fb8d84d8 100644
|
||||
--- a/tools/libinput-debug-events.c
|
||||
+++ b/tools/libinput-debug-events.c
|
||||
@@ -747,6 +747,9 @@ print_switch_event(struct libinput_event *ev)
|
||||
case LIBINPUT_SWITCH_LID:
|
||||
which = "lid";
|
||||
break;
|
||||
+ case LIBINPUT_SWITCH_TABLET_MODE:
|
||||
+ which = "tablet-mode";
|
||||
+ break;
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
--
|
||||
2.13.6
|
||||
|
@ -1,46 +0,0 @@
|
||||
From 92aa1d14183bd88a8080be96672682a2e5696477 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Thu, 9 Nov 2017 15:17:37 +1000
|
||||
Subject: [PATCH libinput] tools: when the command isn't installed, print that
|
||||
|
||||
Makes it more user-friendly to be able to split the tools into multiple
|
||||
packages
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
tools/shared.c | 19 ++++++++++++++-----
|
||||
1 file changed, 14 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/tools/shared.c b/tools/shared.c
|
||||
index ae3287ba..962159e1 100644
|
||||
--- a/tools/shared.c
|
||||
+++ b/tools/shared.c
|
||||
@@ -510,11 +510,20 @@ tools_exec_command(const char *prefix, int real_argc, char **real_argv)
|
||||
setup_path();
|
||||
|
||||
rc = execvp(executable, argv);
|
||||
- if (rc)
|
||||
- fprintf(stderr,
|
||||
- "Failed to execute '%s' (%s)\n",
|
||||
- command,
|
||||
- strerror(errno));
|
||||
+ if (rc) {
|
||||
+ if (errno == ENOENT) {
|
||||
+ fprintf(stderr,
|
||||
+ "libinput: %s is not a libinput command or not installed. "
|
||||
+ "See 'libinput --help'\n",
|
||||
+ command);
|
||||
+
|
||||
+ } else {
|
||||
+ fprintf(stderr,
|
||||
+ "Failed to execute '%s' (%s)\n",
|
||||
+ command,
|
||||
+ strerror(errno));
|
||||
+ }
|
||||
+ }
|
||||
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
--
|
||||
2.13.6
|
||||
|
@ -4,8 +4,8 @@
|
||||
%global gitversion 58abea394
|
||||
|
||||
Name: libinput
|
||||
Version: 1.9.1
|
||||
Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
Version: 1.9.2
|
||||
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
Summary: Input device library
|
||||
|
||||
License: MIT
|
||||
@ -18,8 +18,6 @@ Source2: commitid
|
||||
Source0: http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
|
||||
%endif
|
||||
|
||||
Patch01: 0001-tools-when-the-command-isn-t-installed-print-that.patch
|
||||
Patch02: 0001-tools-Handle-LIBINPUT_SWITCH_TABLET_MODE.patch
|
||||
Patch03: 0001-udev-add-integration-flag-for-the-Lenovo-Compact-Key.patch
|
||||
|
||||
BuildRequires: git-core
|
||||
@ -123,6 +121,9 @@ git am -p1 %{patches} < /dev/null
|
||||
%{_mandir}/man1/libinput-measure-trackpoint-range.1*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 15 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.9.2-1
|
||||
- libinput 1.9.2
|
||||
|
||||
* Wed Nov 15 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.9.1-4
|
||||
- Mark the Lenovo Compact Keyboard as external (#1510814)
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libinput-1.9.1.tar.xz) = e60c401cdec6b862c6c7186e636bba285e229b82998d9f86940659806bb64c295ec1060b5e8065345668e4b3ff95457bd01327351520d9f6cf8cbc98b9b95da0
|
||||
SHA512 (libinput-1.9.2.tar.xz) = 99719ab26be8ed35937ce91307459fa8c4aa7c383a555f1012a058ba98ca1d1c5df0d9b5e6a45046341c6dbae496dc29512b487ac7873b6ec67cab1176ee04ac
|
||||
|
Loading…
Reference in New Issue
Block a user