Changes between Version 254 and Version 255 of BuildInstructions


Ignore:
Timestamp:
Oct 15, 2014, 6:03:16 AM (10 years ago)
Author:
historic_bruno
Comment:

Updates for new miniupnpc requirement as sytem lib; removes confusing and broken rebuild.sh

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v254 v255  
    114114 * libxcursor
    115115 * libxml2
     116 * miniupnpc
    116117 * OpenAL
    117118 * OpenGL
     
    125126 * [https://developer.mozilla.org/docs/SpiderMonkey/24 SpiderMonkey 24] (`--with-system-mozjs24`)
    126127 * [http://code.google.com/p/nvidia-texture-tools NVTT] (`--with-system-nvtt`)
    127  * [http://miniupnp.free.fr/ MiniUPnP client] (`--with-system-miniupnpc`)
    128128For a list of all options to `update-workspaces.sh` see [wiki:premake premake].
    129129
     
    139139}}}
    140140  * With these dependencies you have to run:
    141    * `./update-workspaces.sh --with-system-miniupnpc --with-system-nvtt --with-system-mozjs24`
     141   * `./update-workspaces.sh --with-system-nvtt --with-system-mozjs24`
    142142  * To avoid useless warnings when using system mozjs24 you could fix mozjs24 headers with:
    143143{{{
     
    168168    libcurl-devel enet-devel libjpeg-devel libpng-devel libvorbis-devel     \
    169169    libxml2-devel openal-soft-devel pkgconfig SDL-devel wxGTK-devel         \
    170     gloox-devel libicu-devel'
     170    gloox-devel libicu-devel miniupnpc-devel'
    171171}}}
    172172
     
    179179    libcurl-devel libenet-devel libjpeg-devel libpng-devel libvorbis-devel  \
    180180    libxml2-devel openal-soft-devel pkg-config wxGTK-devel libSDL-devel     \
    181     gloox-devel libicu-devel
     181    gloox-devel libicu-devel miniupnpc-devel
    182182}}}
    183183
     
    187187{{{
    188188#!sh
    189 pacman -S libgl boost cmake gcc curl enet gloox libogg libpng libvorbis libxcursor libxml2 patch sdl subversion zip zlib icu
     189pacman -S libgl boost cmake gcc curl enet gloox libogg libpng libvorbis libxcursor libxml2 miniupnpc patch sdl subversion zip zlib icu
    190190
    191191}}}
     
    247247
    248248=== Keeping up to date ===
    249 If you already checked out the code and only want to update and rebuild it, you may find it helpful to save the lines below to a script called e.g. `rebuild.sh`, place it in your 0ad directory, make it executable and run it.
    250 
    251 {{{
    252 #!sh
    253 #!/bin/sh
    254 set -e
    255 svn up
    256 cd build/workspaces
    257 ./clean-workspaces.sh
    258 ./update-workspaces.sh
    259 cd gcc
    260 make clean
    261 make -j3
    262 }}}
    263 
    264 If you just edited one source code file and want to rebuild, you can usually get away with:
    265 
    266 {{{
    267 make -j3
    268 }}}
    269 
    270249If you want to rebuild quickly after updating from SVN, you can usually get away with:
    271250