[Pidgin] GSoC2012/Android/compiling modified

Pidgin trac at pidgin.im
Thu May 2 05:26:27 EDT 2013


Page "GSoC2012/Android/compiling" was changed by michaelz
Diff URL: <https://developer.pidgin.im/wiki/GSoC2012/Android/compiling?action=diff&version=12>
Revision 12
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: GSoC2012/Android/compiling
=========================================================================
--- GSoC2012/Android/compiling (version: 11)
+++ GSoC2012/Android/compiling (version: 12)
@@ -12,11 +12,18 @@
 
 === get the source ===
 
-Check out the Android branch soc.2012.android from the [http://hg.pidgin.im/soc/2012/michael/android/ android repository] into a new working directory.
+Open the file ~/.hgrc and add the subrepository mapping:
+{{{
+[subpaths]
+(ssh|http)://hg.pidgin.im/soc/2012/michael/manuk/jpurple-build/build/pidgin = \1://hg.pidgin.im/soc/2012/michael/android/
+}}}
 
+Then, create a new, empty working directory where you want your workspace to be. Clone the [http://hg.pidgin.im/soc/2012/michael/manuk/ manuk-Repository] there:
 {{{
-hg clone http://hg.pidgin.im/soc/2012/michael/android --branch soc.2012.android
+hg clone http://hg.pidgin.im/soc/2012/michael/manuk/ .
 }}}
+
+This repository contains the java projects required to build the Android application and also contains the [http://hg.pidgin.im/soc/2012/michael/android/ repository containing libpurple] as subrepo.
 
 === Eclipse ===
 
@@ -24,7 +31,7 @@
 
 Start it: [[BR]]
 The executeable is in the Eclipse directory you just downloaded.
-It will prompt you for a workspace. You can choose 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.
+It will prompt you for a workspace. You can choose the directory you cloned the repository to, or any other directory you like. The workspace appears to be empty because eclipse does not know that there are already projects in it.
 
 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"
@@ -37,7 +44,7 @@
 In the same dialog (Window → preferences → Ant → Runtime), you 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. Select the android/workspace directory as root directory and then all projects Eclipse automatically finds.
+To tell Eclipse that the projects exist, add them to Eclipse: File → Import... → Existing projects into Workspace. Select the repository root directory as root directory and then all projects Eclipse automatically finds.
 There may be errors in the projects, because you first need to install the Android plugin.
 
 
@@ -121,5 +128,5 @@
 Headers/Files generated by build scripts are not marked as derived.
  This is not possible in Eclipse. See Eclipse bug [https://bugs.eclipse.org/bugs/show_bug.cgi?id=150578 150578] and [https://bugs.eclipse.org/bugs/show_bug.cgi?id=30440 30440]
 
-Build failed with "bad substitution" / Build uses normal gcc instead of the android one.
- Be sure to have ndk.root and ndk.host set.
+Build failed with "bad substitution" / Build uses normal gcc instead of the Android one.
+ Be sure to have ndk.root and ndk.host set to the right values.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://developer.pidgin.im/wiki/GSoC2012/Android/compiling>
Pidgin <http://pidgin.im>
Pidgin

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


More information about the Wikiedit mailing list