| 1 | | |
| | 1 | export CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot[[BR]] |
| | 2 | export MOZ_CO_PROJECT=all[[BR]] |
| | 3 | cvs co -r MOZILLA_1_8_BRANCH mozilla/client.mk[[BR]] |
| | 4 | cd mozilla[[BR]] |
| | 5 | make -f client.mk checkout[[BR]] |
| | 6 | #note MOZ_CO_PROJECT=all instructs cvs to checkout all the available sources,[[BR]] |
| | 7 | useful if you plan on building multiple projects. eg, firefox and thunderbird.[[BR]] |
| | 8 | [[BR]] |
| | 9 | '''--OR--'''[[BR]] |
| | 10 | [[BR]] |
| | 11 | wget http://bezilla.beuser.de/builds/mozilla_1_8_branch-cvs-20090208.tar.bz2[[BR]] |
| | 12 | md5sum mozilla_1_8_branch-cvs-20090208.tar.bz2[[BR]] |
| | 13 | # 2884bc58be03f7fd998583efef5c92c6[[BR]] |
| | 14 | ---- |
| | 15 | Currently as cvs in Haiku has issues performing proper checkouts, I suggest using my cvs source tarball[[BR]] |
| | 16 | This can be detected by querying for ".new." [[BR]] |
| | 17 | ---- |
| | 18 | {{{ |
| | 19 | [ all patches are applied in mozilla/ 's parent directory -- mozilla/.. ] |
| | 20 | |
| | 21 | patch -p0 -i configure-sunbird-nspr-reorder.diff |
| | 22 | unzip forReorderPatches-browser.zip -d mozilla/ |
| | 23 | patch -p0 -i prpolevt-fix.patch |
| | 24 | patch -p0 -i nsAppRunner.patch |
| | 25 | patch -p0 -i greyMenuSelection.patch |
| | 26 | patch -p0 -i launch-kill-dowhile.patch |
| | 27 | |
| | 28 | [ manually apply allO1 or allO3 , make sure to edit mozilla/configure.in as well as it was not included in the patch] |
| | 29 | |
| | 30 | oh. sunbird's apprunner-rsrc file isn't included in the above patches. |
| | 31 | sunbird-makefile-apprunner-rsrc.zip contains them. |
| | 32 | unzip anywhere. |
| | 33 | cp apprunner-beos.rsrc mozilla/calendar/sunbird/app |
| | 34 | manually edit mozilla/calendar/sunbird/app/Makefile.in |
| | 35 | (the + indicates the line to add) |
| | 36 | |
| | 37 | ifeq (,$(filter-out BeOS Haiku, $(OS_ARCH))) |
| | 38 | + BEOS_PROGRAM_RESOURCE = $(srcdir)/apprunner-beos.rsrc |
| | 39 | ifdef BUILD_STATIC_LIBS |
| | 40 | OS_LIBS += -ltracker -lgame |
| | 41 | endif |
| | 42 | endif |
| | 43 | |
| | 44 | The resource file has a trailing ' ' in the App-Sig, this can manually be fixed after sunbird is built. |
| | 45 | note: the apprunner-beos.rsrc file needs to be fixed eventually. |
| | 46 | |
| | 47 | copy a file from ./mozilla_config to /boot/home/.mozconfig |
| | 48 | edit the following line: |
| | 49 | ### //Set the outputdir for the build |
| | 50 | mk_add_options MOZ_OBJDIR= |
| | 51 | I strongly suggest using an external MOZ_OBJDIR, as the source tree to produce multiple builds. |
| | 52 | |
| | 53 | |
| | 54 | |
| | 55 | export AC213='/boot/apps/autoconf-2.13/bin/autoconf -m /boot/apps/autoconf-2.13/share/autoconf' |
| | 56 | cd mozilla ; $AC213 |
| | 57 | cd nsprpub ; $AC213 ; cd .. |
| | 58 | cd directory/c-sdk ; $AC213 ; cd ../.. |
| | 59 | make -f client.mk build |
| | 60 | }}} |
| | 61 | |