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

Revision 22, 1.8 kB (checked in by monroe.linden, 1 year ago)

Update Mac build script to use the FIREFOX_2_0_0_18_RELEASE tag.

  • 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-universal", 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 MOZILLA_1_8_BRANCH mozilla/client.mk
13 cvs checkout -r FIREFOX_2_0_0_18_RELEASE mozilla/client.mk
14 (cd mozilla && make -f client.mk checkout MOZ_CO_PROJECT=xulrunner)
15
16 # install our special .mozconfig file
17 cp mac-universal-libxul-bits/mozconfig mozilla/.mozconfig
18
19 # The makefile that builds the installable xulrunner package requires some setuid
20 # shell scripts that I don't want to set up.  Since we don't need to build the
21 # package, just comment this out.
22 # NOTE: this is now part of the linden.patch file instead.
23 #cp mac-universal-libxul-bits/installer-mac-Makefile.in mozilla/xulrunner/installer/mac/Makefile.in
24
25 # replace the 'flight.mk' with one that does the right thing for the xulrunner build
26 # NOTE: this will break other types of product builds!
27 # NOTE: This may have been fixed in 1.5.0.7... testing now.
28 # cp mac-universal-libxul-bits/macosx-universal-flight.mk mozilla/build/macosx/universal/flight.mk
29
30 # apply a patch to the mozilla source so that it doesn't try to use the OS
31 # versions of scrollbars, combo boxes, etc.
32 cat linden.patch | (cd mozilla && patch -p0)
33
34 (cd mozilla && make -f client.mk build)
35
36 # the universal version of XUL.framework will be put in:
37 # ./objdir-mozilla-universal/ppc/dist/universal/XUL.framework
38
39 # we may also need libraries from:
40 # ./objdir-mozilla-universal/ppc/dist/lib
41 # ./objdir-mozilla-universal/i386/dist/lib
42
43 # and header files from various places.
44
Note: See TracBrowser for help on using the browser.