From fee76fce88db1f3ce5815aeebbc065b9219fbc01 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Sun, 3 Oct 2010 12:38:47 +0200 Subject: bluez : moved unused files to obsolete dir Signed-off-by: Frans Meulenbroeks --- recipes/bluez/bluez-utils-dbus/dbus-2.24.patch | 53 -------------------- recipes/bluez/bluez-utils-dbus/dbus.patch | 58 ---------------------- .../bluez-utils-dbus/hcid-alignment-fix.patch | 42 ---------------- recipes/bluez/bluez-utils-dbus/smash.patch | 11 ---- .../bluez/bluez-utils/ppoll-uclibc-arm-r0.patch | 14 ------ recipes/bluez/bluez-utils/uclibc-fix.patch | 46 ----------------- recipes/bluez/files/base.patch | 33 ------------ recipes/bluez/files/blueboxes.patch | 18 ------- recipes/bluez/files/hciattach_devlength.patch | 11 ---- recipes/bluez/files/no-user-include.patch | 18 ------- 10 files changed, 304 deletions(-) delete mode 100644 recipes/bluez/bluez-utils-dbus/dbus-2.24.patch delete mode 100644 recipes/bluez/bluez-utils-dbus/dbus.patch delete mode 100644 recipes/bluez/bluez-utils-dbus/hcid-alignment-fix.patch delete mode 100644 recipes/bluez/bluez-utils-dbus/smash.patch delete mode 100644 recipes/bluez/bluez-utils/ppoll-uclibc-arm-r0.patch delete mode 100644 recipes/bluez/bluez-utils/uclibc-fix.patch delete mode 100644 recipes/bluez/files/base.patch delete mode 100644 recipes/bluez/files/blueboxes.patch delete mode 100644 recipes/bluez/files/hciattach_devlength.patch delete mode 100644 recipes/bluez/files/no-user-include.patch (limited to 'recipes/bluez') diff --git a/recipes/bluez/bluez-utils-dbus/dbus-2.24.patch b/recipes/bluez/bluez-utils-dbus/dbus-2.24.patch deleted file mode 100644 index d8ec946a0b..0000000000 --- a/recipes/bluez/bluez-utils-dbus/dbus-2.24.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- bluez-utils-2.24/acinclude.m4.orig 2006-01-12 08:21:38.000000000 +0100 -+++ bluez-utils-2.24/acinclude.m4 2006-01-12 08:23:18.000000000 +0100 -@@ -131,46 +131,15 @@ - ]) - - AC_DEFUN([AC_PATH_DBUS], [ -- dbus_prefix=${prefix} -- -- AC_ARG_WITH(dbus, AC_HELP_STRING([--with-dbus=DIR], [D-BUS library is installed in DIR]), [ -- if (test "${withval}" != "yes"); then -- dbus_prefix=${withval} -- fi -- ]) -- -- ac_save_CPPFLAGS=$CPPFLAGS -- ac_save_LDFLAGS=$LDFLAGS -- -- DBUS_CFLAGS="-DDBUS_API_SUBJECT_TO_CHANGE" -- test -d "${dbus_prefix}/include/dbus-1.0" && DBUS_CFLAGS="$DBUS_CFLAGS -I${dbus_prefix}/include/dbus-1.0" -- if (test "${prefix}" = "${bluez_prefix}"); then -- test -d "${libdir}/dbus-1.0/include" && DBUS_CFLAGS="$DBUS_CFLAGS -I${libdir}/dbus-1.0/include" -- else -- test -d "${dbus_prefix}/lib64/dbus-1.0/include" && DBUS_CFLAGS="$DBUS_CFLAGS -I${dbus_prefix}/lib64/dbus-1.0/include" -- test -d "${dbus_prefix}/lib/dbus-1.0/include" && DBUS_CFLAGS="$DBUS_CFLAGS -I${dbus_prefix}/lib/dbus-1.0/include" -- fi -+ if pkg-config --exists dbus-1; then -+ dbus_found=yes ; DBUS_CFLAGS="`pkg-config --cflags dbus-1` -DDBUS_API_SUBJECT_TO_CHANGE" -+ DBUS_LIBS="`pkg-config --libs dbus-1`" - - CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS" -- AC_CHECK_HEADER(dbus/dbus.h, dbus_found=yes, dbus_found=no) -- -- DBUS_LIBS="" -- if (test "${prefix}" = "${dbus_prefix}"); then -- test -d "${libdir}" && DBUS_LIBS="$DBUS_LIBS -L${libdir}" -- else -- test -d "${dbus_prefix}/lib64" && DBUS_LIBS="$DBUS_LIBS -L${dbus_prefix}/lib64" -- test -d "${dbus_prefix}/lib" && DBUS_LIBS="$DBUS_LIBS -L${dbus_prefix}/lib" -- fi -- - LDFLAGS="$LDFLAGS $DBUS_LIBS" -- AC_CHECK_LIB(dbus-1, dbus_error_init, DBUS_LIBS="$DBUS_LIBS -ldbus-1", dbus_found=no) -- AC_CHECK_LIB(dbus-1, dbus_message_iter_get_basic, dummy=yes, dbus_found=no) -- -- CPPFLAGS=$ac_save_CPPFLAGS -- LDFLAGS=$ac_save_LDFLAGS -- - AC_SUBST(DBUS_CFLAGS) - AC_SUBST(DBUS_LIBS) -+ fi - ]) - - AC_DEFUN([AC_PATH_FUSE], [ diff --git a/recipes/bluez/bluez-utils-dbus/dbus.patch b/recipes/bluez/bluez-utils-dbus/dbus.patch deleted file mode 100644 index c5ab129469..0000000000 --- a/recipes/bluez/bluez-utils-dbus/dbus.patch +++ /dev/null @@ -1,58 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- bluez-utils-2.20/acinclude.m4~dbus.patch -+++ bluez-utils-2.20/acinclude.m4 -@@ -211,46 +211,15 @@ - ]) - - AC_DEFUN([AC_PATH_DBUS], [ -- dbus_prefix=${prefix} -- -- AC_ARG_WITH(dbus, AC_HELP_STRING([--with-dbus=DIR], [D-BUS library is installed in DIR]), [ -- if (test "${withval}" != "yes"); then -- dbus_prefix=${withval} -- fi -- ]) -- -- ac_save_CPPFLAGS=$CPPFLAGS -- ac_save_LDFLAGS=$LDFLAGS -- -- DBUS_CFLAGS="-DDBUS_API_SUBJECT_TO_CHANGE" -- test -d "${dbus_prefix}/include/dbus-1.0" && DBUS_CFLAGS="$DBUS_CFLAGS -I${dbus_prefix}/include/dbus-1.0" -- if (test "${prefix}" = "${bluez_prefix}"); then -- test -d "${libdir}/dbus-1.0/include" && DBUS_CFLAGS="$DBUS_CFLAGS -I${libdir}/dbus-1.0/include" -- else -- test -d "${dbus_prefix}/lib64/dbus-1.0/include" && DBUS_CFLAGS="$DBUS_CFLAGS -I${dbus_prefix}/lib64/dbus-1.0/include" -- test -d "${dbus_prefix}/lib/dbus-1.0/include" && DBUS_CFLAGS="$DBUS_CFLAGS -I${dbus_prefix}/lib/dbus-1.0/include" -- fi -+ if pkg-config --exists dbus-1; then -+ dbus_found=yes ; DBUS_CFLAGS="`pkg-config --cflags dbus-1` -DDBUS_API_SUBJECT_TO_CHANGE" -+ DBUS_LIBS="`pkg-config --libs dbus-1`" - - CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS" -- AC_CHECK_HEADER(dbus/dbus.h, dbus_found=yes, dbus_found=no) -- -- DBUS_LIBS="" -- if (test "${prefix}" = "${dbus_prefix}"); then -- test -d "${libdir}" && DBUS_LIBS="$DBUS_LIBS -L${libdir}" -- else -- test -d "${dbus_prefix}/lib64" && DBUS_LIBS="$DBUS_LIBS -L${dbus_prefix}/lib64" -- test -d "${dbus_prefix}/lib" && DBUS_LIBS="$DBUS_LIBS -L${dbus_prefix}/lib" -- fi -- - LDFLAGS="$LDFLAGS $DBUS_LIBS" -- AC_CHECK_LIB(dbus-1, dbus_error_init, DBUS_LIBS="$DBUS_LIBS -ldbus-1", dbus_found=no) -- AC_CHECK_LIB(dbus-1, dbus_message_iter_get_basic, AC_DEFINE(HAVE_DBUS_MESSAGE_ITER_GET_BASIC, 1, [Define to 1 if you have the dbus_message_iter_get_basic() function.])) -- -- CPPFLAGS=$ac_save_CPPFLAGS -- LDFLAGS=$ac_save_LDFLAGS -- - AC_SUBST(DBUS_CFLAGS) - AC_SUBST(DBUS_LIBS) -+ fi - ]) - - AC_DEFUN([AC_ARG_BLUEZ], [ diff --git a/recipes/bluez/bluez-utils-dbus/hcid-alignment-fix.patch b/recipes/bluez/bluez-utils-dbus/hcid-alignment-fix.patch deleted file mode 100644 index 276281c14e..0000000000 --- a/recipes/bluez/bluez-utils-dbus/hcid-alignment-fix.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- bluez-utils-2.20/hcid/dbus.c.orig 2005-09-21 11:27:26 +0200 -+++ bluez-utils-2.20/hcid/dbus.c 2005-09-21 11:27:35 +0200 -@@ -120,6 +121,7 @@ - DBusMessage *message; - #ifdef HAVE_DBUS_MESSAGE_ITER_GET_BASIC - uint8_t *addr = (uint8_t *) &ci->bdaddr; -+ uint32_t ci_out = ci->out; - #else - DBusMessageIter iter; - #endif -@@ -138,7 +140,7 @@ - bacpy(&req->bda, &ci->bdaddr); - - #ifdef HAVE_DBUS_MESSAGE_ITER_GET_BASIC -- dbus_message_append_args(message, DBUS_TYPE_BOOLEAN, &ci->out, -+ dbus_message_append_args(message, DBUS_TYPE_BOOLEAN, &ci_out, - DBUS_TYPE_ARRAY, DBUS_TYPE_BYTE, - &addr, sizeof(bdaddr_t), DBUS_TYPE_INVALID); - #else -@@ -261,6 +263,8 @@ - DBusMessage *message; - #ifndef HAVE_DBUS_MESSAGE_ITER_GET_BASIC - DBusMessageIter iter; -+#else -+ int32_t tmp_rssi = rssi; - #endif - char *local_addr, *peer_addr; - bdaddr_t tmp; -@@ -276,11 +280,12 @@ - } - - #ifdef HAVE_DBUS_MESSAGE_ITER_GET_BASIC -+ - dbus_message_append_args(message, - DBUS_TYPE_STRING, &local_addr, - DBUS_TYPE_STRING, &peer_addr, - DBUS_TYPE_UINT32, &class, -- DBUS_TYPE_INT32, &rssi, -+ DBUS_TYPE_INT32, &tmp_rssi, - DBUS_TYPE_INVALID); - #else - dbus_message_append_iter_init(message, &iter); diff --git a/recipes/bluez/bluez-utils-dbus/smash.patch b/recipes/bluez/bluez-utils-dbus/smash.patch deleted file mode 100644 index 55cdbb7284..0000000000 --- a/recipes/bluez/bluez-utils-dbus/smash.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- bluez-utils-2.11/hcid/dbus.c.old 2004-12-31 16:35:12.000000000 +0000 -+++ bluez-utils-2.11/hcid/dbus.c 2004-12-31 16:39:58.000000000 +0000 -@@ -89,6 +89,8 @@ - - memset(&pr, 0, sizeof(pr)); - bacpy(&pr.bdaddr, &req->bda); -+ if (len > sizeof (pr.pin_code)) -+ goto error; - memcpy(pr.pin_code, pin, len); - pr.pin_len = len; - hci_send_cmd(req->dev, OGF_LINK_CTL, OCF_PIN_CODE_REPLY, diff --git a/recipes/bluez/bluez-utils/ppoll-uclibc-arm-r0.patch b/recipes/bluez/bluez-utils/ppoll-uclibc-arm-r0.patch deleted file mode 100644 index 391a7ae3de..0000000000 --- a/recipes/bluez/bluez-utils/ppoll-uclibc-arm-r0.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: bluez-utils-3.9/common/ppoll.h -=================================================================== ---- bluez-utils-3.9.orig/common/ppoll.h 2007-05-17 17:42:23.000000000 +0200 -+++ bluez-utils-3.9/common/ppoll.h 2007-05-17 17:43:18.000000000 +0200 -@@ -1,4 +1,8 @@ --static inline int ppoll(struct pollfd *fds, nfds_t nfds, -+#ifdef ppoll -+#undef ppoll -+#endif -+#define ppoll bluez_ppoll -+static inline int bluez_ppoll(struct pollfd *fds, nfds_t nfds, - const struct timespec *timeout, const sigset_t *sigmask) - { - return poll(fds, nfds, timeout ? timeout->tv_sec * 1000 : 500); diff --git a/recipes/bluez/bluez-utils/uclibc-fix.patch b/recipes/bluez/bluez-utils/uclibc-fix.patch deleted file mode 100644 index 6d4753c2e5..0000000000 --- a/recipes/bluez/bluez-utils/uclibc-fix.patch +++ /dev/null @@ -1,46 +0,0 @@ -Uclibc doesn't define or support speeds above 115200. So check the existence -of the defines before allowing them to actually be used. - -Index: bluez-utils-3.9/tools/hciattach.c -=================================================================== ---- bluez-utils-3.9.orig/tools/hciattach.c 2007-05-17 12:34:28.000000000 +1000 -+++ bluez-utils-3.9/tools/hciattach.c 2007-05-17 12:40:20.000000000 +1000 -@@ -105,22 +105,38 @@ - return B57600; - case 115200: - return B115200; -+#ifdef B230400 - case 230400: - return B230400; -+#endif -+#ifdef B460800 - case 460800: - return B460800; -+#endif -+#ifdef B500000 - case 500000: - return B500000; -+#endif -+#ifdef B576000 - case 576000: - return B576000; -+#endif -+#ifdef B921600 - case 921600: - return B921600; -+#endif -+#ifdef B1000000 - case 1000000: - return B1000000; -+#endif -+#ifdef B1152000 - case 1152000: - return B1152000; -+#endif -+#ifdef B1500000 - case 1500000: - return B1500000; -+#endif - default: - return B57600; - } diff --git a/recipes/bluez/files/base.patch b/recipes/bluez/files/base.patch deleted file mode 100644 index 337c9aa73e..0000000000 --- a/recipes/bluez/files/base.patch +++ /dev/null @@ -1,33 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- bluez-utils-2.17/pcmcia/bluetooth~base.patch -+++ bluez-utils-2.17/pcmcia/bluetooth -@@ -15,9 +15,16 @@ - - if [ -r ./shared ]; then . ./shared ; else . /etc/pcmcia/shared ; fi - -+# Give the port some time to complete initialization -+sleep 5 -+ - # Get device attributes - get_info $DEVICE - -+test "$DEVICE" = "ttyS7" && DEVICE="/dev/tts/7" -+test -z "$MANFID" && MANFID="bcsp" -+test "$MANFID" = "0000,0000" && MANFID="bcsp" -+ - # - # Serial devices - # -@@ -25,7 +32,7 @@ - IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'` - setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ - -- /usr/sbin/hciattach $DEVICE $MANFID -+ /sbin/hciattach $DEVICE $MANFID - } - stop_serial() { - do_fuser -k -HUP /dev/$DEVICE > /dev/null diff --git a/recipes/bluez/files/blueboxes.patch b/recipes/bluez/files/blueboxes.patch deleted file mode 100644 index c429b06c06..0000000000 --- a/recipes/bluez/files/blueboxes.patch +++ /dev/null @@ -1,18 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- bluez-utils-2.14/pcmcia/bluetooth.conf~base -+++ bluez-utils-2.14/pcmcia/bluetooth.conf -@@ -26,6 +26,10 @@ - version "Brain Boxes", "Bluetooth PC Card" - bind "serial_cs" class "bluetooth" - -+card "F+ Bluetooth_Card, BCSP" -+ manfid 0x0160, 0xaba0 -+ bind "serial_cs" class "bluetooth" -+ - card "IBM Bluetooth PC Card II" - version "IBM", "Bluetooth PC Card II" - bind "serial_cs" class "bluetooth" diff --git a/recipes/bluez/files/hciattach_devlength.patch b/recipes/bluez/files/hciattach_devlength.patch deleted file mode 100644 index 8d84cb1b00..0000000000 --- a/recipes/bluez/files/hciattach_devlength.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- bluez-utils-2.21/tools/hciattach.c.orig 2005-12-15 16:29:55.000000000 +0100 -+++ bluez-utils-2.21/tools/hciattach.c 2005-12-15 16:29:37.000000000 +0100 -@@ -973,7 +973,7 @@ - int send_break = 0; - pid_t pid; - struct sigaction sa; -- char dev[20]; -+ char dev[25]; - - detach = 1; - printpid = 0; diff --git a/recipes/bluez/files/no-user-include.patch b/recipes/bluez/files/no-user-include.patch deleted file mode 100644 index 8c1b1b6d6d..0000000000 --- a/recipes/bluez/files/no-user-include.patch +++ /dev/null @@ -1,18 +0,0 @@ -Do not add -I/usr/include to the compile line just because we will -install bluez-utils there says zecke... - -Index: bluez-utils-2.25/acinclude.m4 -=================================================================== ---- bluez-utils-2.25.orig/acinclude.m4 2006-05-18 12:39:57.473577920 +0200 -+++ bluez-utils-2.25/acinclude.m4 2006-05-19 00:58:52.694599848 +0200 -@@ -69,7 +69,9 @@ - ac_save_LDFLAGS=$LDFLAGS - - BLUEZ_CFLAGS="" -- test -d "${bluez_prefix}/include" && BLUEZ_CFLAGS="$BLUEZ_CFLAGS -I${bluez_prefix}/include" -+ if test "$cross_compiling" = no; then -+ test -d "${bluez_prefix}/include" && BLUEZ_CFLAGS="$BLUEZ_CFLAGS -I${bluez_prefix}/include" -+ fi - - CPPFLAGS="$CPPFLAGS $BLUEZ_CFLAGS" - AC_CHECK_HEADER(bluetooth/bluetooth.h, dummy=yes, AC_MSG_ERROR(Bluetooth header files not found)) -- cgit 1.2.3-korg