[Pidgin] GSoC2012/Android/compiling modified

Pidgin trac at pidgin.im
Tue May 22 06:31:55 EDT 2012


Changed page "GSoC2012/Android/compiling" by michaelz from 88.66.28.100*
Page URL: <http://developer.pidgin.im/wiki/GSoC2012/Android/compiling>
Diff URL: <http://developer.pidgin.im/wiki/GSoC2012/Android/compiling?action=diff&version=2>
Revision 2
Comment: Added instructions on how to install ant contrib

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: GSoC2012/Android/compiling
=========================================================================
--- GSoC2012/Android/compiling (version: 1)
+++ GSoC2012/Android/compiling (version: 2)
@@ -10,22 +10,30 @@
 
 Make sure you have the following things installed (the list may or may not be complete ;-)): a current JDK, patch, autoconf, pkg-config, gtk-doc-tools, GNU make and xzip
 
-=== get the workspace ===
+=== get the source ===
 
-Check out the Android branch into a new working directory.
+Check out the Android branch im.pidgin.soc.2012.android into a new working directory.
 
 === Eclipse ===
 
 You need Eclipse IDE with C and Java Support. For this, I recommend you download Eclipse Classic or Eclipse IDE for Java developers. Files can be found at http://www.eclipse.org/downloads/. Eclipse does not need an installation, just extract the archive somewhere.
 
-Start it:
+Start it: [[BR]]
 The executeable is in the Eclipse directory you just downloaded.
-It will prompt you for a workspace. Select the android/workspace subdirectory in the Android branch.
-There are errors in the projects, because you first need to install the Android plugin.
+It will prompt you for a workspace. You can android/workspace subdirectory in the Android branch, or any other directory you like. The worksapce appears to be empty because eclipse does not know that there are already projects in it.
+There may be errors in the projects, because you first need to install the Android plugin.
 
-Install C: 
+Install C: [[BR]]
 Go to Help → Install new Software. Select the update site for your Eclipse version. Then install "Programming languages" → "C/C++ Development tools"
 
+Install Ant contrib [[BR]]
+[http://sourceforge.net/projects/ant-contrib/ Download ant-contrib], extract the archive somewhere.
+Go to Window → preferences → Ant → Runtime. In the Classpath tab, select Global Entries from the list and click on "Add external JARs". Select the ant-contrib-*.jar you just downloaded.
+
+Now go to the properties tab. Add a property named "ndk.root" which has the value "${ndk.root}", and one named "ndk.host" with the value "${ndk.host}"
+
+Add the projects: [[BR]]
+To tell eclipse that the projects exist, add them to eclipse: File → Import... → Existing projects into Workspace. Selest the android/workspace directory and all projects eclipse automatically finds.
 
 
 == Android Tools ==
@@ -66,7 +74,9 @@
  build/tools/make-standalone-toolchain.sh --platform=android-9 --install-dir=<some-new-dir>
  }}}
 
-Enter the install directory in eclipse in Preferences → String Substitution as ndk.root TODO: How exactly
+Enter the install directory in eclipse in Preferences → String Substitution as ndk.root and add a new substitution "ndk.host" with the value arm-linux-androideabi
+
+Currently, only arm is supported.
 
 == Build it ==
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
Pidgin <http://pidgin.im>
Pidgin

This is an automated message. Someone at http://pidgin.im added your email
address to be notified of changes on GSoC2012/Android/compiling. If it was not you, please
report to .


More information about the Wikiedit mailing list