Difference between revisions of "Compiling and Patching Snowglobe (Linux)"

From Second Life Wiki
Jump to navigation Jump to search
(Page Created with quick, step-by-step, up-to-date instructions)
 
(→‎Get current libraries and artwork: let's use the easy, snowlgobey way ()
Line 13: Line 13:
== Get current libraries and artwork ==
== Get current libraries and artwork ==


In this case: http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/doc/asset_urls.txt
./trunk/scripts/public_fetch_tarballs.py
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 ==
== Prepare / configure ==

Revision as of 11:46, 8 December 2009

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 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.