Add informations on how to build the asmack flavour for beem.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/asmack-beem/README.txt Fri Mar 05 03:26:13 2010 +0100
@@ -0,0 +1,43 @@
+INTRODUCTION
+------------
+asmack http://code.google.com/p/asmack/ is a portage of the Smack library for
+the Android platform. The project is mostly maintained by Rene Treffer and you
+can find the binaries at http://code.google.com/p/asmack/ and the sources at
+http://github.com/rtreffer/asmack
+
+The asmack project is based on the development version of the Smack library.
+This version is constantly moving but we want a fixed version for BEEM.
+We patched the asmack build process to use a fixed version of the Smack
+library.
+
+COMPILE
+-------
+
+First check out the last version of asmack
+> git clone git://github.com/rtreffer/asmack.git
+
+Then apply the asmack_beem.patch on the source.
+> cd asmack
+> patch -p1 < asmack_beem.patch
+>
+
+Add the beem flavour to the patch repository
+> cp -R beem_patches patch/beem
+>
+
+The 50-fix_chatmanager.patch is only necessary to fix a little bug in smack. The
+patch has been proposed to the Smack developers. See
+http://www.igniterealtime.org/issues/browse/SMACK-269 for progress.
+
+Edit your local.properties file to contains the path of the android SDK. See
+local.properties.example
+
+Build asmack
+> ./build.batch
+>
+
+The build directory will contains the files :
+ * asmack-android-$VERSION-beem.jar for asmack binaries for android $VERSION
+ * asmack-android-$VERSION-source-beem.zip for the asmack custom sources for
+ android $VERSION.
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/asmack-beem/beem_patches/50-fix-chatmanager.patch Fri Mar 05 03:26:13 2010 +0100
@@ -0,0 +1,13 @@
+--- ../../../src/smack/org/jivesoftware/smack/ChatManager.java 2010-02-23 19:27:26.000000000 +0100
++++ org/jivesoftware/smack/ChatManager.java 2010-02-23 19:37:47.000000000 +0100
+@@ -111,7 +111,9 @@
+ chat = getUserChat(message.getFrom());
+ }
+ }
+-
++ if (chat == null) {
++ chat = getUserChat(StringUtils.parseBareAddress(message.getFrom()));
++ }
+ if(chat == null) {
+ chat = createChat(message);
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/asmack-beem/beem_patches/README.txt Fri Mar 05 03:26:13 2010 +0100
@@ -0,0 +1,3 @@
+This directory contains different patch to apply on asmack sources. These patches will allow us to build a custom flavour of asmack for Beem.
+This directory must be copied in the patch directory of asmack in order to be used. Then build asmack the usual way.
+