| 1 |
|
|---|
| 2 |
Software Update |
|---|
| 3 |
------------------------------------------------------------------------ |
|---|
| 4 |
|
|---|
| 5 |
Uploadr phones home to Flickr about once a day to check for updates, |
|---|
| 6 |
available as MAR files. Details: |
|---|
| 7 |
http://wiki.mozilla.org/Software_Update |
|---|
| 8 |
|
|---|
| 9 |
Actually creating software updates means actually building Mozilla. |
|---|
| 10 |
This is not for the faint of heart. |
|---|
| 11 |
|
|---|
| 12 |
Start by satisfying prerequisites for your platform: |
|---|
| 13 |
http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites |
|---|
| 14 |
http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites |
|---|
| 15 |
|
|---|
| 16 |
NEW |
|---|
| 17 |
get mozilla-build: http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.3.exe |
|---|
| 18 |
Open a shell window by running: c:\mozilla-build\start-msvc8.bat |
|---|
| 19 |
cd /c |
|---|
| 20 |
hg clone http://hg.mozilla.org/mozilla-central mozilla for latest |
|---|
| 21 |
hg clone http://hg.mozilla.org/releases/mozilla-1.9.1 mozilla for 1.9.1 |
|---|
| 22 |
OLD |
|---|
| 23 |
Now checkout and build Mozilla: |
|---|
| 24 |
$ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot \ |
|---|
| 25 |
co mozilla/client.mk |
|---|
| 26 |
|
|---|
| 27 |
Configure your build, using the UPLOADR/mozconfig file. Make sure to |
|---|
| 28 |
comment the Mac-specific line if you're on Windows: |
|---|
| 29 |
http://developer.mozilla.org/en/docs/Configuring_Build_Options |
|---|
| 30 |
|
|---|
| 31 |
$ cd mozilla |
|---|
| 32 |
|
|---|
| 33 |
NEW |
|---|
| 34 |
hg pull -r default |
|---|
| 35 |
hg update |
|---|
| 36 |
OLD |
|---|
| 37 |
$ make -f client.mk checkout |
|---|
| 38 |
|
|---|
| 39 |
$ make -f client.mk build |
|---|
| 40 |
|
|---|
| 41 |
Once you have your Mozilla tree built, the Packaging section in the \ |
|---|
| 42 |
platform-specific README files can complete properly. Alternatively, |
|---|
| 43 |
if you just want to build the MAR files: |
|---|
| 44 |
$ make win all-mar |
|---|
| 45 |
$ make mac all-mar |
|---|
| 46 |
$ make lin all-mar |
|---|