Point users to the libinput-utils package for missing tools.
This commit is contained in:
parent
874bc0eb10
commit
aa4d46a793
@ -0,0 +1,28 @@
|
||||
From 579e58d5413c96e2e8499354273d5a6604a17627 Mon Sep 17 00:00:00 2001
|
||||
From: rpm-build <rpm-build>
|
||||
Date: Tue, 19 Nov 2019 09:38:18 +1000
|
||||
Subject: [PATCH] tools: point users to the libinput-utils package for missing
|
||||
commands
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
tools/shared.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/shared.c b/tools/shared.c
|
||||
index 02c09dd..1367a16 100644
|
||||
--- a/tools/shared.c
|
||||
+++ b/tools/shared.c
|
||||
@@ -542,7 +542,8 @@ tools_exec_command(const char *prefix, int real_argc, char **real_argv)
|
||||
if (errno == ENOENT) {
|
||||
fprintf(stderr,
|
||||
"libinput: %s is not a libinput command or not installed. "
|
||||
- "See 'libinput --help'\n",
|
||||
+ "See 'libinput --help'\n"
|
||||
+ "\nThis command may be provided by the libinput-utils package.\n",
|
||||
command);
|
||||
return EXIT_INVALID_USAGE;
|
||||
} else {
|
||||
--
|
||||
2.23.0
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
Name: libinput
|
||||
Version: 1.14.3
|
||||
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
Summary: Input device library
|
||||
|
||||
License: MIT
|
||||
@ -18,6 +18,8 @@ Source2: commitid
|
||||
Source0: http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
|
||||
%endif
|
||||
|
||||
Patch01: 0001-tools-point-users-to-the-libinput-utils-package-for-.patch
|
||||
|
||||
BuildRequires: git-core
|
||||
BuildRequires: gcc gcc-c++
|
||||
BuildRequires: meson
|
||||
@ -133,6 +135,9 @@ pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3')
|
||||
%{_mandir}/man1/libinput-test-suite.1*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 19 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.14.3-2
|
||||
- Point users to the libinput-utils package for missing tools.
|
||||
|
||||
* Mon Oct 28 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.14.3-1
|
||||
- libinput 1.14.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user