* [Buildroot] [git commit] package/libinput: remove python tools scripts
@ 2022-08-24 10:04 Thomas Petazzoni via buildroot
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-08-24 10:04 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=bf85b8e267b5fbbf817408d93435504ab458c01e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 <romain.naour@smile.fr>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [git commit] package/libinput: remove python tools scripts
2022-08-23 22:00 Thomas Petazzoni via buildroot
@ 2022-09-17 14:30 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-09-17 14:30 UTC (permalink / raw)
To: Thomas Petazzoni via buildroot; +Cc: Thomas Petazzoni
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> commit:
> https://git.buildroot.net/buildroot/commit/?id=15ab53968c5a92a99d5546d259057a87ace2e43c
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 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 <romain.naour@smile.fr>
> Cc: Yann E. MORIN <yann.morin.1998@free.fr>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Committed to 2022.05.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [git commit] package/libinput: remove python tools scripts
@ 2022-08-23 22:00 Thomas Petazzoni via buildroot
2022-09-17 14:30 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-08-23 22:00 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=15ab53968c5a92a99d5546d259057a87ace2e43c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 <romain.naour@smile.fr>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-17 14:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 10:04 [Buildroot] [git commit] package/libinput: remove python tools scripts Thomas Petazzoni via buildroot
-- strict thread matches above, loose matches on Subject: below --
2022-08-23 22:00 Thomas Petazzoni via buildroot
2022-09-17 14:30 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.