Add evemu and libevdev.
v2 cover Add evemu and libevdev.
Hi,
Yann and Thomas, thanks for the input.
I hope I have adressed all issues in this version. The AUTORECONFIG is needed because the packages come without Makefile.in and configure. They do have a autogen.sh script, which I doubt works for proper crosscompiling. I have also verified the packages compile without problems with arm-basic and arm-full-nothread toolchains, thus no toolchain dependency is necessary. Myself I use a linaro tc from 2012.04.
regards,
Andreas
Changes in v2:
- Added licence information
- removed obsolete _SOURCE definition
- alphabetical order in Config.in
- remove staging for evemu
Andreas Naumann (2):
libevdev: new package
evemu: new package
package/Config.in | 2 ++ package/evemu/Config.in | 7 +++++++ package/evemu/evemu.mk | 17 +++++++++++++++++ package/libevdev/Config.in | 6 ++++++ package/libevdev/libevdev.mk | 18 ++++++++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 package/evemu/Config.in create mode 100644 package/evemu/evemu.mk create mode 100644 package/libevdev/Config.in create mode 100644 package/libevdev/libevdev.mk
Signature · 1 line
1.8.4.1
PATCH v2 1/2 libevdev: new package
--- package/Config.in | 1 + package/libevdev/Config.in | 6 ++++++ package/libevdev/libevdev.mk | 18 ++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 package/libevdev/Config.in create mode 100644 package/libevdev/libevdev.mk
package/Config.in +1 -0
@@ -706,6 +706,7 @@ source "package/libdaemon/Config.in" source "package/libelf/Config.in" source "package/libev/Config.in" source "package/libevent/Config.in" +source "package/libevdev/Config.in" source "package/libffi/Config.in" source "package/libglib2/Config.in" source "package/libical/Config.in"
package/libevdev/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBEVDEV + bool "libevdev" + help + libevdev is a wrapper library for evdev devices + + http://freedesktop.org/wiki/Software/libevdev/
package/libevdev/libevdev.mk new file +18 -0
@@ -0,0 +1,18 @@ +################################################################################ +# +# libevdev +# +################################################################################ + +LIBEVDEV_VERSION = 0.5 +LIBEVDEV_SITE = http://cgit.freedesktop.org/libevdev/snapshot +LIBEVDEV_LICENSE = GPLv2 +LIBEVDEV_LICENSE_FILES = COPYING + +# Uses PKG_CHECK_MODULES() in configure.ac +LIBEVDEV_DEPENDENCIES = host-pkgconf +# the package provides a autogen.sh, but we'd rather run buildroots autoreconf +LIBEVDEV_AUTORECONF = YES +LIBEVDEV_INSTALL_STAGING = YES + +$(eval $(autotools-package))
Signature · 1 line
1.8.4.1
PATCH v2 1/2 libevdev: new package
Dear Andreas Naumann,
Quoted 1 line · Andreas Naumann
+LIBEVDEV_LICENSE = GPLv2
Are you sure? The license looks like an MIT license.
package/libevdev/libevdev.mk line 14
Quoted 5 lines
package/libevdev/libevdev.mk new file +5
-0+LIBEVDEV_LICENSE_FILES = COPYING + +# Uses PKG_CHECK_MODULES() in configure.ac +LIBEVDEV_DEPENDENCIES = host-pkgconf +# the package provides a autogen.sh, but we'd rather run buildroots autoreconf
That's not the correct reason. The real reason is the one you gave in your cover letter:
# Package coming from Git, which doesn't provide the generated
# configure and Makefile.in files
package/libevdev/libevdev.mk line 18
Quoted 4 lines
package/libevdev/libevdev.mk new file +4
-0+LIBEVDEV_AUTORECONF = YES +LIBEVDEV_INSTALL_STAGING = YES + +$(eval $(autotools-package))
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Thomas Petazzoni
AppliedPATCH v2 1/2 libevdev: new package
In reply to Andreas NaumannDear Andreas Naumann,
Quoted 8 lines · Andreas Naumann
Signed-off-by Andreas Naumann <[email protected]>--- package/Config.in | 1 + package/libevdev/Config.in | 6 ++++++ package/libevdev/libevdev.mk | 18 ++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 package/libevdev/Config.in create mode 100644 package/libevdev/libevdev.mk
Thanks, applied, after fixing the license information and the autoreconf comment.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 2/2 evemu: new package
In reply to Andreas Naumann--- package/Config.in | 1 + package/evemu/Config.in | 7 +++++++ package/evemu/evemu.mk | 17 +++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 package/evemu/Config.in create mode 100644 package/evemu/evemu.mk
package/Config.in +1 -0
@@ -271,6 +271,7 @@ source "package/dmraid/Config.in" source "package/dvb-apps/Config.in" source "package/dvbsnoop/Config.in" source "package/eeprog/Config.in" +source "package/evemu/Config.in" source "package/evtest/Config.in" source "package/fan-ctrl/Config.in" source "package/fconfig/Config.in"
package/evemu/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_EVEMU + bool "evemu" + select BR2_PACKAGE_LIBEVDEV + help + evemu records and replays device descriptions and events + + http://www.freedesktop.org/wiki/Evemu/
package/evemu/evemu.mk new file +17 -0
@@ -0,0 +1,17 @@ +################################################################################ +# +# evemu +# +################################################################################ + +EVEMU_VERSION = 1.0.10 +EVEMU_SITE = http://cgit.freedesktop.org/evemu/snapshot +EVEMU_LICENSE = LGPLv3 +EVEMU_LICENSE_FILES = COPYING + +# Uses PKG_CHECK_MODULES() in configure.ac +EVEMU_DEPENDENCIES = host-pkgconf libevdev +# the package provides a autogen.sh, but we'd rather run buildroots autoreconf +EVEMU_AUTORECONF = YES + +$(eval $(autotools-package))
Signature · 1 line
1.8.4.1
PATCH v2 2/2 evemu: new package
Dear Andreas Naumann,
package/evemu/evemu.mk line 10
Quoted 4 lines · Andreas Naumann
package/evemu/evemu.mk new file +4
-0+EVEMU_VERSION = 1.0.10 +EVEMU_SITE = http://cgit.freedesktop.org/evemu/snapshot +EVEMU_LICENSE = LGPLv3 +EVEMU_LICENSE_FILES = COPYING
No, that's not correct. It should probably be something like:
EVEMU_LICENSE = LGPLv3 (library), GPLv3 (tools)EVEMU_LICENSE_FILES = COPYING COPYING.GPL3
package/evemu/evemu.mk line 14
Quoted 3 lines
package/evemu/evemu.mk new file +3
-0+# Uses PKG_CHECK_MODULES() in configure.ac +EVEMU_DEPENDENCIES = host-pkgconf libevdev +# the package provides a autogen.sh, but we'd rather run buildroots autoreconf
Same comment as for PATCH 1/2.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com