diff options
author | Samuel Martin <s.martin49@gmail.com> | 2013-03-11 18:58:40 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-03-14 00:05:34 +0100 |
commit | 87854c12d1c81bade3522405ce1ac42d45475263 (patch) | |
tree | 9795259cced08ef5c0a535118df1c1c7557b14fe /package/ussp-push | |
parent | 04092fa3570f0315042327148a0fe62854fc8722 (diff) | |
download | buildroot-87854c12d1c81bade3522405ce1ac42d45475263.tar.gz buildroot-87854c12d1c81bade3522405ce1ac42d45475263.zip |
ussp-push: new package
Cc: Eric Jarrige <eric.jarrige@armadeus.org>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ussp-push')
-rw-r--r-- | package/ussp-push/Config.in | 18 | ||||
-rw-r--r-- | package/ussp-push/ussp-push-fix-build-against-bluez-4.patch | 15 | ||||
-rw-r--r-- | package/ussp-push/ussp-push.mk | 14 |
3 files changed, 47 insertions, 0 deletions
diff --git a/package/ussp-push/Config.in b/package/ussp-push/Config.in new file mode 100644 index 0000000000..716ce34a88 --- /dev/null +++ b/package/ussp-push/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_USSP_PUSH + bool "ussp-push" + depends on BR2_INET_IPV6 + depends on !BR2_avr32 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib + depends on BR2_USE_MMU # dbus + select BR2_PACKAGE_OPENOBEX + select BR2_PACKAGE_OPENOBEX_BLUEZ + select BR2_PACKAGE_BLUEZ_UTILS + help + ussp-push is an OBEX object pusher for Linux, using the BlueZ + BlueTooth stack. + + http://www.xmailserver.org/ussp-push.html + +comment "ussp-push require a toolchain with WCHAR, IPV6 and thread support" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6 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 0000000000..0694bfbadd --- /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 0000000000..c1095542cb --- /dev/null +++ b/package/ussp-push/ussp-push.mk @@ -0,0 +1,14 @@ +############################################################# +# +# ussp-push +# +############################################################# + +USSP_PUSH_VERSION = 0.11 +USSP_PUSH_SITE = http://www.xmailserver.org +USSP_PUSH_LICENSE = GPLv2+ +USSP_PUSH_LICENSE_FILES = COPYING + +USSP_PUSH_DEPENDENCIES = bluez_utils openobex + +$(eval $(autotools-package)) |