summaryrefslogtreecommitdiff
path: root/packages/libopieobex
diff options
context:
space:
mode:
authorPaul Eggleton <bluelightning@bluelightning.org>2008-04-04 12:44:10 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-04-04 12:44:10 +0000
commit2c8723416fca09853aba1c86525330d5d1fca781 (patch)
treeb324f758e3587af9e72f4af791a2c152e6d39ca8 /packages/libopieobex
parent57176e59583d0f5d6a1b132d3047be85223da9eb (diff)
libopieobex: disable bluetooth detection. Fixes 3173.
Diffstat (limited to 'packages/libopieobex')
-rw-r--r--packages/libopieobex/files/.mtn2git_empty0
-rw-r--r--packages/libopieobex/files/disable-bt-check.patch19
-rw-r--r--packages/libopieobex/libopieobex0_1.2.3.bb5
-rw-r--r--packages/libopieobex/libopieobex0_cvs.bb5
4 files changed, 25 insertions, 4 deletions
diff --git a/packages/libopieobex/files/.mtn2git_empty b/packages/libopieobex/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libopieobex/files/.mtn2git_empty
diff --git a/packages/libopieobex/files/disable-bt-check.patch b/packages/libopieobex/files/disable-bt-check.patch
new file mode 100644
index 0000000000..067af145f7
--- /dev/null
+++ b/packages/libopieobex/files/disable-bt-check.patch
@@ -0,0 +1,19 @@
+--- obex/obex.pro 2007-07-20 23:44:06.000000000 +1200
++++ obex/obex.pro 2007-10-18 17:57:15.000000000 +1300
+@@ -13,12 +13,12 @@
+ include( $(OPIEDIR)/include.pro )
+ target.path = $$prefix/plugins/applets
+
+-#FIXME: These parameters are used if bluetooth is used
+-CONFTEST = $$system( echo $CONFIG_LIBOPIETOOTH )
+-contains( CONFTEST, y ){
++#FIXME: This test does not work under OE. Instead, just always enable bluetooth.
++#CONFTEST = $$system( echo $CONFIG_LIBOPIETOOTH )
++#contains( CONFTEST, y ){
+ HEADERS += btobex.h
+ SOURCES += btobex.cpp
+ INCLUDEPATH += $(OPIEDIR)/noncore/net/opietooth/lib
+ LIBS += -lopietooth1 -lbluetooth
+ DEFINES += BLUETOOTH
+-}
++#}
diff --git a/packages/libopieobex/libopieobex0_1.2.3.bb b/packages/libopieobex/libopieobex0_1.2.3.bb
index eeaeb7bb70..047dcee6e6 100644
--- a/packages/libopieobex/libopieobex0_1.2.3.bb
+++ b/packages/libopieobex/libopieobex0_1.2.3.bb
@@ -1,5 +1,6 @@
require libopieobex0.inc
-
+PR = "r1"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/obex \
- ${HANDHELDS_CVS};tag=${TAG};module=opie/pics "
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
+ file://disable-bt-check.patch;patch=1"
diff --git a/packages/libopieobex/libopieobex0_cvs.bb b/packages/libopieobex/libopieobex0_cvs.bb
index 1dcce8b68c..50c36686a9 100644
--- a/packages/libopieobex/libopieobex0_cvs.bb
+++ b/packages/libopieobex/libopieobex0_cvs.bb
@@ -1,6 +1,7 @@
require libopieobex0.inc
PV = "${OPIE_CVS_PV}"
-PR = "r6"
+PR = "r7"
SRC_URI = "${HANDHELDS_CVS};module=opie/core/obex \
- ${HANDHELDS_CVS};module=opie/pics"
+ ${HANDHELDS_CVS};module=opie/pics \
+ file://disable-bt-check.patch;patch=1"