Skip to contentSkip to conversation

package: Add hid-replay package

PATCH New Andy Shevchenko 2 participants 2 messages Jul 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package: Add hid-replay package

Package provides a tool to record HID events and replay them.

---
 package/Config.in                |  1 +
 package/hid-replay/Config.in     |  6 ++++++
 package/hid-replay/hid-replay.mk | 12 ++++++++++++
 3 files changed, 19 insertions(+)
 create mode 100644 package/hid-replay/Config.in
 create mode 100644 package/hid-replay/hid-replay.mk
package/Config.in +1 -0
index 9d668bf..5d0114d 100644
@@ -80,6 +80,7 @@ menu "Debugging, profiling and benchmark"
 	source "package/fio/Config.in"
 	source "package/gdb/Config.in"
 	source "package/google-breakpad/Config.in"
+	source "package/hid-replay/Config.in"
 	source "package/iozone/Config.in"
 	source "package/kexec/Config.in"
 	source "package/kexec-lite/Config.in"
package/hid-replay/Config.in new file +6 -0
new file mode 100644
index 0000000..512a626
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HID_REPLAY
+	bool "hid-replay"
+	help
+	  HID recorder for Linux
+
+	  http://bentiss.github.io/hid-replay-docs/
package/hid-replay/hid-replay.mk new file +12 -0
new file mode 100644
index 0000000..0e021de
@@ -0,0 +1,12 @@
+################################################################################
+#
+# hid-replay
+#
+################################################################################
+
+HID_REPLAY_VERSION = master
+HID_REPLAY_SITE = https://github.com/bentiss/hid-replay.git
+HID_REPLAY_SITE_METHOD = git
+HID_REPLAY_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 package: Add hid-replay package

Hello,

package/hid-replay/hid-replay.mk line 7

Quoted 13 lines · Andy Shevchenko
package/hid-replay/hid-replay.mk new file +7 -0
new file mode 100644
index 0000000..0e021de
@@ -0,0 +1,12 @@
+################################################################################
+#
+# hid-replay
+#
+################################################################################
+
+HID_REPLAY_VERSION = master

This is not good as it leads to non-reproducible builds: depending on when a user starts the build, he will get a different result because master might have evolved. Please use either a tag, or a full commit id.

package/hid-replay/hid-replay.mk line 8

Quoted 1 line
package/hid-replay/hid-replay.mk new file +1 -0
+HID_REPLAY_SITE = https://github.com/bentiss/hid-replay.git

Please use the github macro.

Also, please add a hash file, since the tarballs provided by github, and used by our github macro.

Could you take those comments into account and send an updated version?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com