Getting the Source

Prerequisites

  • AllPeers is Mozilla extensions and it uses a lot of its libraries. In order to build it, you’ll need Mozilla’s sources first.
  • Please, see Mozilla's build documentation to see how to configure build environment, get the mozilla’s source and build it. On this page, you’ll find AllPeers specific information.

System Specific Prerequisites

Windows

mkdir /cygdrive/c/usr /cygdrive/c/usr/lib/moztools
  • Prepare directory for Mozilla source code
mkdir /cygdrive/c/usr/src
cd /cygdrive/c/usr/src

Getting the Source Code

Firefox 2.0 - Mozilla 1.8 Branch

  • Use MOZILLA_1_8_BRANCH revision from CVS for compilation and developement (see Mozilla Guide for getting the source code). Firefox 1.5 uses MOZILLA_1_8_0_BRANCH.
    # Use password: anonymous
    cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot login
    cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_BRANCH mozilla/client.mk
    cd mozilla
    make -f client.mk checkout MOZ_CO_PROJECT=browser
  • In order to update branch use
    cvs up -r MOZILLA_1_8_BRANCH client.mk
    make -f client.mk

AllPeers

  • Check out ‘allpeers’ module to the extensions directory:
    CVSROOT=:pserver:cvsanon@krtek.allpeers.com:/opt/cvs-mirror
    cvs -d $CVSROOT login
    cd extensions
    cvs -d $CVSROOT co allpeers 

Now, you can continue with building.

 
src/getting.txt · Last modified: 2007/03/09 18:40 by matt
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki