Javier Delgadillo wrote:
> pull_all checks out all of the sources needed to build the mozilla browser. I
> believe it's functionally equivalent to checkout, but can't say for sure.
> You'd have to ask a client build gurur.
s'OK, that's good enough for me. I have attached a (working) build
script for linux in case anyone is stuck and short of ideas, should be
OK for unix in general.
Comments welcome, of course.
--
Ian Smith
Syn-Apps-Sys Ltd.
1 Old Cider Works Lane, Abbotskerswell, Newton Abbot, Devon, TQ12 5NF.
Tel. 01626 365088, Email [EMAIL PROTECTED]
#!/bin/sh
# Exit on error
set -e
export MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1
export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot
dir=${1:-MOZ_SRC_ROOT}
subdir=mozilla
makefile=client.mk
# List config options
grep -v '^#' ${HOME}/.mozconfig
# Get latest version of makefile
cd ${dir}
if [ 'ping -c 1 cvs-mirror.mozilla.org' ]
then
cvs checkout ${subdir}/${makefile}
fi
# Update source tree & build it . . .
cd ${dir}/${subdir}
if [ 'ping -c 1 cvs-mirror.mozilla.org' ]
then
make -f ${makefile} pull_all
fi
./configure
time make
# . . . now do PSM2 . . .
cd ${dir}
if [ 'ping -c 1 cvs-mirror.mozilla.org' ]
then
cvs co -r PSM20_M_1_5_TAG mozilla/security/coreconf mozilla/security/nss
cvs co mozilla/security/manager
fi
cd ${dir}/${subdir}
./configure --enable-modules=psm2
time make BUILD_MODULES=psm2
# . . . create a distribution tarball . . .
cd ${dir}/${subdir}/xpinstall/packager
time make
# . . . then install it
cd /usr/local
rm -rf mozilla
tar xzf ${dir}/${subdir}/dist/mozilla-i686-pc-linux-gnu.tar.gz