Print This Page

debian slviewer SVN GIT

The code for the debian package is all contained within svn, if you wish to check out the svn the repository can be found at the following address :-

svn://slupdate.byteme.org.uk/slviewer/slviewer/trunk/

NEW The viewer source is now maintained in git

git.debian.org/git/pkg-games/slviewer.git git.debian.org/git/pkg-games/slviewer-artwork.git


Checkout

 

git-clone git.debian.org/git/pkg-games/slviewer.git
git-clone git.debian.org/git/pkg-games/slviewer-artwork.git 

This will checkout the latest sourcode into a directory named "slviewer" in the current directory

Build debian package

To build you need the svn-buildpackage tool installed, there are some additional tools that are also required and the following list should be a good starting point

  • git-buildpackage
  • git
  • pristine-tar
  • fakeroot
  • build-essential
  • g++
  • make
  • scons
  • dpatch


There are a *lot* of development header files required. The easiest way to install them all automaticly is to use apt-get, but this requires that you have already followed the FIRST part of the instructions at apt-get a secondlife, 32 and 64 bit packages of the debian slviewer for Debian and Ubuntu and added the extra lines to /etc/apt/source.lst (and run "apt-get update").

apt-get build-dep slviewer

Will install all the debian packages you need to complete the build of slviewer.

Inside the trunk folder :-

git-buildpackage --git-pristine-tar

Note if you do not have a gpg key and specificy it with the -k option you WILL get a warning at the end of the build, just ignore this and continute.

It is also recomended that you download the viewer source code and place this in a folder below the working slviewer folder called "tarballs". The file should be renamed or symlinked to be something like "slviewer_1.18.6.2_orig.tar.gz". If this file is NOT fond the build will produce a debian native package instead of a generic packge.

After build a folder below the working directory will have been produced called "build-area" this will contain your new .debs which you can install with "dpkg -i"