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

From Second Life Wiki
Jump to navigation Jump to search
(→‎Get current libraries and artwork: let's use the easy, snowlgobey way (using Rob's script))
(→‎Prepare / configure: appearently wrong folder. trunk/linden/ is empty. but trunk/indra/ exists with content)
Line 17: Line 17:
== Prepare / configure ==
== Prepare / configure ==


  cd trunk/linden/indra/
  cd trunk/indra/
  ./develop.py configure
  ./develop.py configure



Revision as of 13:03, 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 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.