root/trunk/llmozlib2/build_mozilla/linux-checkout_patch_build.sh

Revision 25, 1.0 kB (checked in by tofu.linden, 9 months ago)

THUNDERBIRD_2_0_0_21_RELEASE is a good branch for us - libpng fix.

there isn't a corresponding FIREFOX branch, but this works okay.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1 #!/bin/bash
2
3 # This script is expected to be run from the "build-mozilla" directory inside llmozlib.
4 # it will check out the mozilla source to the "mozilla" directory,
5 # and build to "objdir-mozilla-linux", so that those two
6 # will also be in build-mozilla.
7
8 # check out the mozilla source
9 export CVSROOT=':pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot'
10 echo 'use the password "anonymous" if prompted'
11 cvs login
12 cvs checkout -r THUNDERBIRD_2_0_0_21_RELEASE mozilla/client.mk
13 (cd mozilla && make -f client.mk checkout MOZ_CO_PROJECT=xulrunner)
14
15 # install our special .mozconfig file
16 cp linux-libxul-bits/mozconfig mozilla/.mozconfig
17
18 # apply a patch to the mozilla source so that it doesn't try to use the OS
19 # versions of scrollbars, combo boxes, etc.
20 cat linden.patch | (cd mozilla && patch -p0)
21
22 # XXX FIXME: ideally we need to bring custom GTK in-tree and do some magic on its .pc files - yuck.  Only Linden Lab's conservative-deps binary builds really care though.
23 export PKG_CONFIG_PATH=/tmp/GTKBUILD24/lib/pkgconfig
24 (cd mozilla && make -f client.mk build)
25
Note: See TracBrowser for help on using the browser.