* [Buildroot] [PATCH v2 0/2] Add evemu and libevdev.
@ 2013-12-20 15:05 Andreas Naumann
2013-12-20 15:05 ` [Buildroot] [PATCH v2 1/2] libevdev: new package Andreas Naumann
2013-12-20 15:05 ` [Buildroot] [PATCH v2 2/2] evemu: " Andreas Naumann
0 siblings, 2 replies; 6+ messages in thread
From: Andreas Naumann @ 2013-12-20 15:05 UTC (permalink / raw)
To: buildroot
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
--
1.8.4.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 1/2] libevdev: new package
2013-12-20 15:05 [Buildroot] [PATCH v2 0/2] Add evemu and libevdev Andreas Naumann
@ 2013-12-20 15:05 ` Andreas Naumann
2013-12-20 16:00 ` Thomas Petazzoni
2013-12-26 22:29 ` Thomas Petazzoni
2013-12-20 15:05 ` [Buildroot] [PATCH v2 2/2] evemu: " Andreas Naumann
1 sibling, 2 replies; 6+ messages in thread
From: Andreas Naumann @ 2013-12-20 15:05 UTC (permalink / raw)
To: buildroot
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
---
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
diff --git a/package/Config.in b/package/Config.in
index 3685807..8675856 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/libevdev/Config.in b/package/libevdev/Config.in
new file mode 100644
index 0000000..91dd9db
--- /dev/null
+++ b/package/libevdev/Config.in
@@ -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/
diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk
new file mode 100644
index 0000000..8a4bb1a
--- /dev/null
+++ b/package/libevdev/libevdev.mk
@@ -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))
--
1.8.4.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 1/2] libevdev: new package
2013-12-20 15:05 ` [Buildroot] [PATCH v2 1/2] libevdev: new package Andreas Naumann
@ 2013-12-20 16:00 ` Thomas Petazzoni
2013-12-26 22:29 ` Thomas Petazzoni
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-12-20 16:00 UTC (permalink / raw)
To: buildroot
Dear Andreas Naumann,
On Fri, 20 Dec 2013 16:05:23 +0100, Andreas Naumann wrote:
> +LIBEVDEV_LICENSE = GPLv2
Are you sure? The license looks like an MIT license.
> +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
> +LIBEVDEV_AUTORECONF = YES
> +LIBEVDEV_INSTALL_STAGING = YES
> +
> +$(eval $(autotools-package))
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 1/2] libevdev: new package
2013-12-20 15:05 ` [Buildroot] [PATCH v2 1/2] libevdev: new package Andreas Naumann
2013-12-20 16:00 ` Thomas Petazzoni
@ 2013-12-26 22:29 ` Thomas Petazzoni
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-12-26 22:29 UTC (permalink / raw)
To: buildroot
Dear Andreas Naumann,
On Fri, 20 Dec 2013 16:05:23 +0100, Andreas Naumann wrote:
> Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
> ---
> 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 2/2] evemu: new package
2013-12-20 15:05 [Buildroot] [PATCH v2 0/2] Add evemu and libevdev Andreas Naumann
2013-12-20 15:05 ` [Buildroot] [PATCH v2 1/2] libevdev: new package Andreas Naumann
@ 2013-12-20 15:05 ` Andreas Naumann
2013-12-20 16:02 ` Thomas Petazzoni
1 sibling, 1 reply; 6+ messages in thread
From: Andreas Naumann @ 2013-12-20 15:05 UTC (permalink / raw)
To: buildroot
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
---
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
diff --git a/package/Config.in b/package/Config.in
index 8675856..a4c8354 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/evemu/Config.in b/package/evemu/Config.in
new file mode 100644
index 0000000..07b7174
--- /dev/null
+++ b/package/evemu/Config.in
@@ -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/
diff --git a/package/evemu/evemu.mk b/package/evemu/evemu.mk
new file mode 100644
index 0000000..e230ee2
--- /dev/null
+++ b/package/evemu/evemu.mk
@@ -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))
--
1.8.4.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 2/2] evemu: new package
2013-12-20 15:05 ` [Buildroot] [PATCH v2 2/2] evemu: " Andreas Naumann
@ 2013-12-20 16:02 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-12-20 16:02 UTC (permalink / raw)
To: buildroot
Dear Andreas Naumann,
On Fri, 20 Dec 2013 16:05:24 +0100, Andreas Naumann wrote:
> +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
> +# 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-12-26 22:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 15:05 [Buildroot] [PATCH v2 0/2] Add evemu and libevdev Andreas Naumann
2013-12-20 15:05 ` [Buildroot] [PATCH v2 1/2] libevdev: new package Andreas Naumann
2013-12-20 16:00 ` Thomas Petazzoni
2013-12-26 22:29 ` Thomas Petazzoni
2013-12-20 15:05 ` [Buildroot] [PATCH v2 2/2] evemu: " Andreas Naumann
2013-12-20 16:02 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox