[oe-commits] org.oe.dev gpe-bluetooth-0.54: add BTS support to hciattach script

pH5 commit openembedded-commits at lists.openembedded.org
Thu Aug 24 18:07:23 UTC 2006


gpe-bluetooth-0.54: add BTS support to hciattach script

Author: pH5 at openembedded.org
Branch: org.openembedded.dev
Revision: 593627942ba1a6623af7a814fb51159b1de235c1
ViewMTN: http://monotone.openembedded.org/revision.psp?id=593627942ba1a6623af7a814fb51159b1de235c1
Files:
1
packages/gpe-bluetooth/files/hciattach-bts.patch
packages/gpe-bluetooth/gpe-bluetooth_0.54.bb
Diffs:

#
# mt diff -r74b1d902d1ca43b44f7b793c813ce4404f38f1e6 -r593627942ba1a6623af7a814fb51159b1de235c1
#
# 
# 
# add_file "packages/gpe-bluetooth/files/hciattach-bts.patch"
#  content [033d49a00616ac6d6f7a4f087ebc221b8057d52f]
# 
# patch "packages/gpe-bluetooth/gpe-bluetooth_0.54.bb"
#  from [31d6a681c89def0f96a66e427284e7ceafc69b98]
#    to [e4abb6abacf0b4ce5c73229a714d81c1bcc24a13]
# 
============================================================
--- packages/gpe-bluetooth/files/hciattach-bts.patch	033d49a00616ac6d6f7a4f087ebc221b8057d52f
+++ packages/gpe-bluetooth/files/hciattach-bts.patch	033d49a00616ac6d6f7a4f087ebc221b8057d52f
@@ -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
============================================================
--- packages/gpe-bluetooth/gpe-bluetooth_0.54.bb	31d6a681c89def0f96a66e427284e7ceafc69b98
+++ packages/gpe-bluetooth/gpe-bluetooth_0.54.bb	e4abb6abacf0b4ce5c73229a714d81c1bcc24a13
@@ -1,9 +1,9 @@ MAINTAINER  = "Florian Boor <florian.boo
 LICENSE     = "GPL"
 DESCRIPTION = "GPE bluetooth support user interface tool."
 SECTION     = "gpe"
 PRIORITY    = "optional"
 MAINTAINER  = "Florian Boor <florian.boor at kernelconcepts.de>"
-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 @@ inherit gpe autotools
 GPE_TARBALL_SUFFIX= "bz2"
 inherit gpe autotools
 
+SRC_URI += "file://hciattach-bts.patch;patch=1"
+
 FILES_${PN} += '${datadir}/bluez-pin'






More information about the Openembedded-commits mailing list