From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 242ACECAAD3 for ; Sat, 17 Sep 2022 14:30:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id AE4C2415F9; Sat, 17 Sep 2022 14:30:53 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org AE4C2415F9 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QBgGlAqQD6ZL; Sat, 17 Sep 2022 14:30:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id BE06340C59; Sat, 17 Sep 2022 14:30:51 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org BE06340C59 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id F34B61BF575 for ; Sat, 17 Sep 2022 14:30:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DC15E40C59 for ; Sat, 17 Sep 2022 14:30:44 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org DC15E40C59 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LzQbro3HGmWL for ; Sat, 17 Sep 2022 14:30:44 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp2.osuosl.org (Postfix) with ESMTP id 0CE1C4049C for ; Sat, 17 Sep 2022 14:30:43 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 0CE1C4049C Received: by busybox.osuosl.org (Postfix, from userid 4021) id EFD40843AE; Sat, 17 Sep 2022 14:30:43 +0000 (UTC) From: Peter Korsgaard To: buildroot@buildroot.org Date: Sat, 17 Sep 2022 16:29:02 +0200 X-Git-Refname: refs/heads/2022.02.x X-Git-Oldrev: 3d53681c552c3c7c7a4151b113cbf19577a60420 X-Git-Newrev: 815a4d66ea52326d4bbd9c70f9345f8f906a07fc X-Patchwork-Hint: ignore Message-Id: <20220917143043.EFD40843AE@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/2022.02.x] package/libinput: remove python tools scripts X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=815a4d66ea52326d4bbd9c70f9345f8f906a07fc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x Some libinput tools are actually python scripts and requires at least tree python modules: libevdev, pyudev and pyyaml: libinput]$ file * libinput-analyze: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped libinput-analyze-per-slot-delta: Python script, UTF-8 Unicode text executable libinput-analyze-recording: Python script, UTF-8 Unicode text executable libinput-analyze-touch-down-state: Python script, UTF-8 Unicode text executable libinput-debug-events: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped libinput-debug-tablet: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped libinput-list-devices: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped libinput-measure: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped libinput-measure-fuzz: Python script, UTF-8 Unicode text executable libinput-measure-touchpad-pressure: Python script, UTF-8 Unicode text executable libinput-measure-touchpad-size: Python script, UTF-8 Unicode text executable libinput-measure-touchpad-tap: Python script, UTF-8 Unicode text executable libinput-measure-touch-size: Python script, UTF-8 Unicode text executable libinput-quirks: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped libinput-record: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped libinput-replay: Python script, UTF-8 Unicode text executable Since for now we do not have a python-libevdev package, this commit unconditionally removes Python scripts. Signed-off-by: Romain Naour Cc: Yann E. MORIN Signed-off-by: Thomas Petazzoni (cherry picked from commit bf85b8e267b5fbbf817408d93435504ab458c01e) Signed-off-by: Peter Korsgaard --- package/libinput/libinput.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk index a66b0afde5..1529411355 100644 --- a/package/libinput/libinput.mk +++ b/package/libinput/libinput.mk @@ -30,4 +30,21 @@ else LIBINPUT_CONF_OPTS += -Ddebug-gui=false endif +LIBINPUT_PYTHON_TOOLS = libinput-analyze-per-slot-delta \ + libinput-analyze-recording \ + libinput-analyze-touch-down-state \ + libinput-measure-fuzz \ + libinput-measure-touchpad-pressure \ + libinput-measure-touchpad-size \ + libinput-measure-touchpad-tap \ + libinput-measure-touch-size \ + libinput-replay + +define LIBINPUT_REMOVE_UNNEEDED_FILES + $(foreach f,$(LIBINPUT_PYTHON_TOOLS), \ + rm -f $(TARGET_DIR)/usr/libexec/libinput/$(f) + ) +endef +LIBINPUT_POST_INSTALL_TARGET_HOOKS += LIBINPUT_REMOVE_UNNEEDED_FILES + $(eval $(meson-package)) _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot