From fb3b9727d6e690ad7ad1c694ffaf932b0b5b27bd Mon Sep 17 00:00:00 2001 From: Mustafa Yuecel Date: Mon, 5 Sep 2005 22:36:10 +0000 Subject: avetanabt_cvs: add version.xml and patch\n - add version.xml to have version information about stack at runtime\n - add patch to set property bluetooth.connected.devices.max to 7 --- packages/avetanabt/avetanabt_svn.bb | 12 +++++++++--- packages/avetanabt/files/.mtn2git_empty | 0 packages/avetanabt/files/avetanalocaldevice.patch | 11 +++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 packages/avetanabt/files/.mtn2git_empty create mode 100644 packages/avetanabt/files/avetanalocaldevice.patch (limited to 'packages/avetanabt') diff --git a/packages/avetanabt/avetanabt_svn.bb b/packages/avetanabt/avetanabt_svn.bb index 08adcbbdfd..b4a61cb22d 100644 --- a/packages/avetanabt/avetanabt_svn.bb +++ b/packages/avetanabt/avetanabt_svn.bb @@ -8,9 +8,10 @@ LICENSE = "GPL" HOMEPAGE = "http://sourceforge.net/projects/avetanabt/" PV = "0.0cvs${CVSDATE}" -PR = "r0" +PR = "r1" -SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/avetanabt;module=avetanabt" +SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/avetanabt;module=avetanabt \ + file://avetanalocaldevice.patch;patch=1" S = "${WORKDIR}/avetanabt" @@ -28,9 +29,14 @@ do_compile() { ${STAGING_BINDIR}/find {de,javax,com} -iname *.java > file.list ${STAGING_BINDIR}/jikes -verbose --bootclasspath ${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d build @file.list + # create own version.xml + head -n 4 version.xml >> build/version.xml + echo " " >> build/version.xml + tail -n 3 version.xml >> build/version.xml + # jar -> fastjar cd build - ${STAGING_BINDIR}/fastjar -cf ../avetanaBT.jar de javax com + ${STAGING_BINDIR}/fastjar -cf ../avetanaBT.jar de javax com version.xml cd .. # JNI generated header file - de_avetana_bluetooth_stack_BlueZ.h diff --git a/packages/avetanabt/files/.mtn2git_empty b/packages/avetanabt/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/avetanabt/files/avetanalocaldevice.patch b/packages/avetanabt/files/avetanalocaldevice.patch new file mode 100644 index 0000000000..165a702c9c --- /dev/null +++ b/packages/avetanabt/files/avetanalocaldevice.patch @@ -0,0 +1,11 @@ +--- avetanabt/javax/bluetooth/LocalDevice.java.old 2005-08-29 03:00:53.000000000 +0200 ++++ avetanabt/javax/bluetooth/LocalDevice.java 2005-08-29 03:05:58.183734408 +0200 +@@ -227,7 +227,7 @@ + if (property.equals("bluetooth.api.version")) return "1.0"; + + else if (property.equals("bluetooth.connected.devices.max")) +- try {return ""+BlueZ.getMaxConnectedDevices();}catch(Exception ex) {return "1";} ++ try {return ""+BlueZ.getMaxConnectedDevices();}catch(Exception ex) {return "7";} + + else if (property.equals("bluetooth.sd.trans.max")) return "1"; + -- cgit v1.2.3