From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] ussp-push: new package
Date: Sat, 9 Mar 2013 19:25:36 +0100 [thread overview]
Message-ID: <20130309192536.23eabcab@skate> (raw)
In-Reply-To: <1355094387-22886-3-git-send-email-s.martin49@gmail.com>
Dear Samuel Martin,
On Mon, 10 Dec 2012 00:06:23 +0100, Samuel Martin wrote:
> + select BR2_PACKAGE_OPENOBEX
> + select BR2_PACKAGE_BLUEZ_UTILS
bluez utils depends on mmu, wchar, threads and isn't available on
avr32. You should carry those dependencies as well.
> + help
> + ussp-push is an OBEX object pusher for Linux, using the BlueZ
> + BlueTooth stack.
> +
> + http://www.xmailserver.org/ussp-push.html
> diff --git a/package/ussp-push/ussp-push-fix-build-against-bluez-4.patch b/package/ussp-push/ussp-push-fix-build-against-bluez-4.patch
> new file mode 100644
> index 0000000..0694bfb
> --- /dev/null
> +++ b/package/ussp-push/ussp-push-fix-build-against-bluez-4.patch
> @@ -0,0 +1,15 @@
> +Fix build against bluez4.
> +
> +Signed-off-by: Samuel Martin <s.martin49@gmail.com>
> +
> +--- ussp-push-0.11.orig/src/obex_socket.c 2012-11-01 09:58:51.049538708 +0100
> ++++ ussp-push-0.11/src/obex_socket.c 2012-11-01 12:10:10.719506951 +0100
> +@@ -197,7 +197,7 @@ static int bt_sock_name2bth(int devid, c
> + for (i = 0; i < niinf; i++) {
> + char devname[128];
> +
> +- if (hci_remote_name(dd, &piinf[i].bdaddr, sizeof(devname) - 1,
> ++ if (hci_read_remote_name(dd, &piinf[i].bdaddr, sizeof(devname) - 1,
> + devname, 100000) >= 0) {
> + if (strcasecmp(devname, btname) == 0) {
> + *btaddr = piinf[i].bdaddr;
> diff --git a/package/ussp-push/ussp-push.mk b/package/ussp-push/ussp-push.mk
> new file mode 100644
> index 0000000..6f322ab
> --- /dev/null
> +++ b/package/ussp-push/ussp-push.mk
> @@ -0,0 +1,13 @@
> +#############################################################
> +#
> +# ussp-push
> +#
> +#############################################################
> +USSP_PUSH_VERSION = 0.11
> +USSP_PUSH_SITE = http://www.xmailserver.org
> +USSP_PUSH_LICENSE = GPLv2
License is apparently GPLv2+.
> +USSP_PUSH_LICENSE_FILES = COPYING
> +
> +USSP_PUSH_DEPENDENCIES = bluez_utils openobex
> +
> +$(eval $(autotools-package))
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-03-09 18:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-09 23:06 [Buildroot] [pull request] Pull request for branch for-2013.02/armadeus/new-pkgs Samuel Martin
2012-12-09 23:06 ` [Buildroot] [PATCH] openobex: new package Samuel Martin
2012-12-25 17:07 ` Eric Jarrige
2013-01-22 23:01 ` Samuel Martin
2013-03-09 17:26 ` Samuel Martin
2013-03-09 18:30 ` Thomas Petazzoni
2012-12-09 23:06 ` [Buildroot] [PATCH] ussp-push: " Samuel Martin
2012-12-25 17:08 ` Eric Jarrige
2013-01-22 23:01 ` Samuel Martin
2013-03-09 17:26 ` Samuel Martin
2013-03-09 18:25 ` Thomas Petazzoni [this message]
2012-12-09 23:06 ` [Buildroot] [PATCH] urg: " Samuel Martin
2012-12-09 23:06 ` [Buildroot] [PATCH] flite: " Samuel Martin
2012-12-25 13:50 ` Eric Jarrige
2013-01-22 23:01 ` Samuel Martin
2013-03-09 17:25 ` Samuel Martin
2012-12-09 23:06 ` [Buildroot] [PATCH] qwt: " Samuel Martin
2012-12-16 10:08 ` Peter Korsgaard
2012-12-17 6:55 ` Arnout Vandecappelle
2012-12-09 23:06 ` [Buildroot] [PATCH] libcanfestival: " Samuel Martin
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=20130309192536.23eabcab@skate \
--to=thomas.petazzoni@free-electrons.com \
--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 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.