Compiling and Patching Snowglobe (Linux)

From Second Life Wiki
Revision as of 12:03, 8 December 2009 by Zai Lynch (talk | contribs) (→‎Prepare / configure: appearently wrong folder. trunk/linden/ is empty. but trunk/indra/ exists with content)
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

./trunk/scripts/public_fetch_tarballs.py

Prepare / configure

cd trunk/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.