Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] mtdev2tuio: new package
Date: Wed, 29 Aug 2012 00:57:32 +0200	[thread overview]
Message-ID: <503D4CDC.2060806@mind.be> (raw)
In-Reply-To: <503CD43F.6060802@relinux.de>

On 08/28/12 16:22, Stephan Hoffmann wrote:
> mtdev2tuio is a simple application for converting touch events
> to the standart TUIO 1.1 protocol.
>
> https://github.com/olivopaolo/mtdev2tuio
>
> Signed-off-by: Stephan Hoffmann<sho@relinux.de>
> ---
>   package/Config.in                                  |    2 +
>   package/mtdev2tuio/Config.in                       |    8 ++++++
>   ...ev2tuio-Use-gcc-instead-of-ld-for-linking.patch |   26
> ++++++++++++++++++++

  Thunderbird doesn't like to send patches - it wordwraps.  Use git send-email.

[snip]
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -291,6 +291,7 @@ source "package/libcdaudio/Config.in"
>  source "package/libcue/Config.in"
>  source "package/libcuefile/Config.in"
>  source "package/libid3tag/Config.in"
> +source "package/liblo/Config.in"

  This one doesn't belong here.

[snip]
> --- /dev/null
> +++ b/package/mtdev2tuio/mtdev2tuio-Use-gcc-instead-of-ld-for-linking.patch
> @@ -0,0 +1,26 @@
> +From 3594a424f9610f982cd98b56fffb3ba3f597bd6a Mon Sep 17 00:00:00 2001
> +From: Stephan Hoffmann<sho@relinux.de>
> +Date: Tue, 28 Aug 2012 11:53:14 +0200
> +Subject: [PATCH] Use gcc instead of ld for linking
> +
> +Signed-off-by: Stephan Hoffmann<sho@relinux.de>
> +---
> + Makefile |    2 +-
> + 1 files changed, 1 insertions(+), 1 deletions(-)
> +
> +diff --git a/Makefile b/Makefile
> +index 8ed320a..788d6ed 100644
> +--- a/Makefile
> ++++ b/Makefile
> +@@ -26,7 +26,7 @@ OBJS=${SRCS:.c=.o}
> + + # Link rule
> + $(TARGET): $(OBJS)
> +-	$(LD) $(LDFLAGS) $(OBJS) -o $@ $(LIBDIRS) $(LIBS)
> ++	$(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBDIRS) $(LIBS)

  Alternative is to run make with LD=$(TARGET_CC) instead of $(TARGET_LD).
Happens in a couple of places.

> + + # Compilation rule
> + %.o:%.c
> +-- +1.7.0.4
> +
> diff --git a/package/mtdev2tuio/mtdev2tuio.mk
> b/package/mtdev2tuio/mtdev2tuio.mk
> new file mode 100644
> index 0000000..418f21c
> --- /dev/null
> +++ b/package/mtdev2tuio/mtdev2tuio.mk
> @@ -0,0 +1,21 @@
> +#############################################################
> +#
> +# mtdev2tuio
> +#
> +#############################################################
> +MTDEV2TUIO_VERSION = e1e7378d86
> +MTDEV2TUIO_SITE = git://github.com/olivopaolo/mtdev2tuio.git
> +MTDEV2TUIO_DEPENDENCIES = mtdev
> +MTDEV2TUIO_LICENSE = GPLv3

  The only source file states GPLv3+

> +MTDEV2TUIO_LICENSE_FILES = COPYING
> +
> +define MTDEV2TUIO_BUILD_CMDS
> +$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) clean

  Is the clean really necessary?

> +$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) +endef
> +
> +define MTDEV2TUIO_INSTALL_TARGET_CMDS
> +$(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin
> +endef
> +
> +$(eval $(generic-package))

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

  reply	other threads:[~2012-08-28 22:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28 14:22 [Buildroot] [PATCH] mtdev2tuio: new package Stephan Hoffmann
2012-08-28 22:57 ` Arnout Vandecappelle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-28 14:13 Stephan Hoffmann
2012-08-28 14:25 ` Stephan Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503D4CDC.2060806@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox