diff options
author | Mustafa Yuecel <yuecelm@ee.ethz.ch> | 2005-09-05 22:36:10 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-05 22:36:10 +0000 |
commit | fb3b9727d6e690ad7ad1c694ffaf932b0b5b27bd (patch) | |
tree | 9d7f291a85a71cdaece906b5a36ae213fabec15c /packages/avetanabt | |
parent | 13cfcd0e491da7c59833856a4a9ebf9d14a01c07 (diff) |
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
Diffstat (limited to 'packages/avetanabt')
-rw-r--r-- | packages/avetanabt/avetanabt_svn.bb | 12 | ||||
-rw-r--r-- | packages/avetanabt/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/avetanabt/files/avetanalocaldevice.patch | 11 |
3 files changed, 20 insertions, 3 deletions
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 value=\"${PR}\" date=\"${CVSDATE}\"/>" >> 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 --- /dev/null +++ b/packages/avetanabt/files/.mtn2git_empty 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";
+
|