Compiling and Patching Snowglobe (Linux)

From Second Life Wiki
Revision as of 12:48, 8 December 2009 by Boroondas Gupte (talk | contribs) (Undo revision 682513 by Boroondas Gupte (Talk))
Jump to navigation Jump to search

Snowglobe is where open development is most active right now. Follow these instructions to compile (and patch) Snowglobe sources on Linux using SVN.

This page is meant to be a quick, step-to-step, easy-to-mantain reference. See Compiling_the_viewer_(Linux) and links provided there for more details and information on dependencies, errors, etc.


Get last Snowglobe Trunk sources

svn co http://svn.secondlife.com/svn/linden/projects/2009/snowglobe/trunk

Get current libraries and artwork

In this case: http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/doc/asset_urls.txt

wget http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/slviewer-linux-libs-oss-viewer-1.23.4.139024.tar.gz 
wget http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/slviewer-artwork-oss-viewer-1.23.4.139024.zip
ln -s trunk/ linden
unzip slviewer-artwork-oss-viewer-1.23.4.139024.zip 
tar xzf slviewer-linux-libs-oss-viewer-1.23.4.139024.tar.gz    

Prepare / configure

cd linden/indra/
./develop.py configure

PATCH

Learn how and where to apply a patch.

(PLEASE CONFIRM/DENY): If you need to apply patch, you will usually have to do it inside linden/ directory.

cd ../
cp (...)/your-patch.txt .
patch -p1 < your-patch.txt

Compile

  • cd indra/viewer-linux-i686-relwithdebinfo
  • make

After compilation you get (...)/linden/indra/viewer-linux-i686-relwithdebinfo/newview/Snowglobe-something.tar.bz2 - copy it somewhere, extract it and do as usual.