From ddae175d473eadf224d0514f40e5ae3a2d9f21d6 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Thu, 24 Aug 2006 18:02:25 +0000 Subject: gpe-bluetooth-0.54: add BTS support to hciattach script --- packages/gpe-bluetooth/files/hciattach-bts.patch | 16 ++++++++++++++++ packages/gpe-bluetooth/gpe-bluetooth_0.54.bb | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 packages/gpe-bluetooth/files/hciattach-bts.patch diff --git a/packages/gpe-bluetooth/files/hciattach-bts.patch b/packages/gpe-bluetooth/files/hciattach-bts.patch new file mode 100644 index 0000000000..aeff8b02b1 --- /dev/null +++ b/packages/gpe-bluetooth/files/hciattach-bts.patch @@ -0,0 +1,16 @@ +--- gpe-bluetooth-0.54/hciattach.sh.orig 2006-08-20 15:04:05.341384325 +0200 ++++ gpe-bluetooth-0.54/hciattach.sh 2006-08-20 15:05:04.629179674 +0200 +@@ -2,8 +2,12 @@ + + if [ -f /etc/sysconfig/bluetooth ]; then + . /etc/sysconfig/bluetooth ++ if [ -f "$BLUETOOTH_SCRIPT" ]; then ++ BTS="-S $BLUETOOTH_SCRIPT" ++ fi ++ ++ exec /sbin/hciattach -n $BLUETOOTH_PORT $BLUETOOTH_PROTOCOL $BLUETOOTH_SPEED $BTS + +- exec /sbin/hciattach -n $BLUETOOTH_PORT $BLUETOOTH_PROTOCOL $BLUETOOTH_SPEED + else + echo "Bluetooth not configured" + exit 1 diff --git a/packages/gpe-bluetooth/gpe-bluetooth_0.54.bb b/packages/gpe-bluetooth/gpe-bluetooth_0.54.bb index 1506bd4c8b..b02be325e6 100644 --- a/packages/gpe-bluetooth/gpe-bluetooth_0.54.bb +++ b/packages/gpe-bluetooth/gpe-bluetooth_0.54.bb @@ -3,7 +3,7 @@ DESCRIPTION = "GPE bluetooth support user interface tool." SECTION = "gpe" PRIORITY = "optional" MAINTAINER = "Florian Boor " -PR = "r0" +PR = "r1" DEPENDS = "gtk+ libcontactsdb libdisplaymigration libgpewidget openobex libgpevtype bluez-libs sqlite dbus-glib libglade blueprobe bluez-utils-dbus" RDEPENDS = "bluez-utils-dbus blueprobe" @@ -11,4 +11,6 @@ RDEPENDS = "bluez-utils-dbus blueprobe" GPE_TARBALL_SUFFIX= "bz2" inherit gpe autotools +SRC_URI += "file://hciattach-bts.patch;patch=1" + FILES_${PN} += '${datadir}/bluez-pin' -- cgit v1.2.3