libinput: upgrade to version 1.10.0
PATCH 1/1 libinput: upgrade to version 1.10.0
1. Set RDEPENDS to python3
2. Fix a QA error related to python3 path:
a) 0001-libinput-measure-touchpad-tap-fix-python-script-QA-e.patch
---
...asure-touchpad-tap-fix-python-script-QA-e.patch | 32 ++++++++++++++++++++++
.../{libinput_1.9.4.bb => libinput_1.10.0.bb} | 6 ++--
2 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-graphics/wayland/libinput/0001-libinput-measure-touchpad-tap-fix-python-script-QA-e.patch
rename meta/recipes-graphics/wayland/{libinput_1.9.4.bb => libinput_1.10.0.bb} (78%)meta/recipes-graphics/wayland/libinput/0001-libinput-measure-touchpad-tap-fix-python-script-QA-e.patch new file +32 -0
@@ -0,0 +1,32 @@ +From f595219dd3564a5fbf61646f2054f04f2e22238a Mon Sep 17 00:00:00 2001 +From: "Maxin B. John" <[email protected]> +Date: Mon, 19 Feb 2018 11:21:37 +0200 +Subject: [PATCH] libinput-measure-touchpad-tap: fix python script QA error + +Tweak this python scripts to use '/usr/bin/env python3', Otherwise, +it generate a QA error: + +QA Issue: /usr/libexec/libinput/libinput-measure-touchpad-tap contained +in package libinput requires /usr/bin/python3, but no providers found +in RDEPENDS_libinput? [file-rdeps] + +Upstream-Status: Accepted [https://cgit.freedesktop.org/wayland/libinput/commit/?id=920debffd7ee591bbc1014ee0961c75473429651] + +Signed-off-by: Maxin B. John <[email protected]> +--- + tools/libinput-measure-touchpad-tap | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/libinput-measure-touchpad-tap b/tools/libinput-measure-touchpad-tap +index 3037232..6f4f399 100755 +--- a/tools/libinput-measure-touchpad-tap ++++ b/tools/libinput-measure-touchpad-tap +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + # vim: set expandtab shiftwidth=4: + # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ + # +-- +2.4.0 +
meta/recipes-graphics/wayland/libinput_1.10.0.bb renamed from meta/recipes-graphics/wayland/libinput_1.9.4.bb +4 -2
@@ -6,11 +6,13 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=2184aef38ff137ed33ce9a63b9d1eb8f" DEPENDS = "libevdev udev mtdev" +RDEPENDS_${PN} = "python3" SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \ + file://0001-libinput-measure-touchpad-tap-fix-python-script-QA-e.patch \ " -SRC_URI[md5sum] = "8b43d07d1698fb207a0492fc67554d4f" -SRC_URI[sha256sum] = "0bcdbd4c4e3c2a2db322fbdf2ef3284f2e6d6fb7be3af80e6d8de7783f675190" +SRC_URI[md5sum] = "dac92f0b094392c03ab1320d06173afd" +SRC_URI[sha256sum] = "c2c72c2e0c63498b34d887c28ea84b8570b50fef7ffe489179a1253280d33f57" UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" inherit meson pkgconfig lib_package
Signature · 1 line
2.4.0
Quoted 3 lines · Maxin B. John
+RDEPENDS_${PN} = "python3"
Ouch. Can we split this bit into a separate package? Pulling in all of Python for a touchpad helper seems a bit overkill if the machine doesn't have a touchpad...
Ross
Hi Ross,
Quoted 11 lines
From: Burton, Ross [mailto:[email protected]]
Sent: Wednesday, February 21, 2018 4:58 PM
To: John, Maxin <[email protected]>
Cc: OE-core <[email protected]>
Subject: Re: [OE-core] [PATCH] libinput: upgrade to version 1.10.0Quoted 4 lines · Maxin B. John
+RDEPENDS_${PN} = "python3"
Ouch. Can we split this bit into a separate package? Pulling in all of Python for a touchpad helper seems a bit overkill if the machine doesn't have a touchpad...
Ok, that makes sense. Will put those scripts/binaries into "libinput-tools" and send the updated one.
Quoted 1 line
Ross
Best Regards,
Maxin