forked from guardianproject/ChatSecureAndroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
41 lines (27 loc) · 1.19 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
== Preparation
git submodule update --init
android update project --path external/ActionBarSherlock/library/ --target android-15 --name ActionBarSherlock
android update project --path external/MemorizingTrustManager --target android-15 --name MemorizingTrustManager
android update project --path external/OnionKit --target android-15 --name OnionKit
* setup external/asmack/local.properties to point to your android sdk *
(cd external/asmack && ./build.bash && cp build/asmack-android-4.jar ../../libs)
== Building with ant
Follow the steps from the prep section, then:
ant debug
== Eclipse
Add the following as Android projects, after following the steps in the prep section:
* external/ActionBarSherlock/library (use ActionBarSherlock as project name)
* external/OnionKit
* external/MemorizingTrustManager
* Gibberbot itself
== Old Stuff
Patching Smack library for Android [1]
$ svn co -r 10869 \
http://svn.igniterealtime.org/svn/repos/smack/trunk smack-android
$ cd smack-android/source
$ patch -p0 -i patches/smack/smack.diff
$ cd ../build
$ ant
$ cd ../target
[1] Thanks to: http://bjdodson.blogspot.com/2009/07/xmpp-on-android-using-smack.html)
l