Changes between Version 213 and Version 214 of AndroidPort


Ignore:
Timestamp:
Feb 7, 2012, 11:36:14 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v213 v214  
    179179$ sudo apt-get install default-jdk
    180180}}}
    181 Finally, make sure [http://ant.apache.org/ Ant] and [http://subversion.tigris.org/ Subversion] is installed:
    182 
    183 {{{
    184 $ sudo apt-get install ant subversion
     181Make sure [http://ant.apache.org/ Ant], [http://subversion.tigris.org/ Subversion] and Autoconf 2.13 is installed:
     182
     183{{{
     184$ sudo apt-get install ant subversion autoconf2.13
    185185}}}
    186186On 64-bit Ubuntu you may need to install some 32-bit libraries:
     
    189189$ sudo apt-get install ia32-libs
    190190}}}
     191Finally, download the game sources from SVN, e.g.:
     192
     193{{{
     194$ svn co http://svn.wildfiregames.com/public/ps/trunk/ ~/android/0ad-game
     195}}}
     196
     197
    191198=== Installing dependencies ===
    192199The game has a range of external dependencies. Each of these has to be compiled for the target device's processor architecture and installed in the compiler toolchain's sysroot, so we can link against them when building the game itself.
     
    213220$ cp -r build/* ~/android/toolchain/sysroot/usr/
    214221}}}
    215 Spidermonkey is designed to build against an older version of the NDK than that of our main compiler toolchain. Download [http://ftp.mozilla.org/pub/mozilla.org/mobile/source/android-ndk-r4c-0moz3.tar.bz2 Mozilla's own toolchain] to the working directory and then unpack it there, e.g.:
     222Spidermonkey is designed to build against an older version of the NDK than that of our main compiler toolchain. Download [http://ftp.mozilla.org/pub/mozilla.org/mobile/source/android-ndk-r4c-0moz3.tar.bz2 Mozilla's own toolchain] to the working directory and then unpack it there, e.g.:
    216223
    217224Get js-1.8.5.
    218225
    219 Apply [https://gist.github.com/1754817 this patch] somehow.
     226Apply [https://gist.github.com/1754817 this patch] somehow.
    220227
    221228Now regenerate configure in the js dir:
     
    392399The native library (i.e. the actual game) is built using the standard Premake build system as follows.
    393400
    394 ''(Note: You currently need to reset your environment if it is still set up for cross-compiling from the previous section. Close any open terminal windows and open a new one.) ''
    395 
    396 Download the game from SVN to any location, e.g.:
    397 
    398 {{{
    399 $ svn co http://svn.wildfiregames.com/public/ps/trunk/ ~/android/0ad-game
    400 }}}
     401''(Note: You currently need to reset your environment if it is still set up for cross-compiling from the previous section. Close any open terminal windows and open a new one.)''
     402
    401403Build the game as normal, but with:
    402404