Developer:Get Compatible Mozilla Source Code

From Spicebird

Jump to: navigation, search

Spicebird shares a lot of code from the Mozilla source and you will need the compatible Mozilla source in order to build Spicebird from source.

[edit] For Spicebird Releases

Tarball of compatible Mozilla source is available in the same folder as the Spicebird source tarball on the download server. For example, for Spicebird Beta 0.4 source code, compatible Mozilla source code and patches applied on the source code are available in the same directory.

[edit] For Spicebird Subversion Revisions

Spicebird is synchronized to the Mozilla source tree approximately once in every two months. When you checkout source code from the Spicebird SVN repository, the file "config/mozconfig" has MOZ_CO_* flags that are needed to check out the corresponding source code from the Mozilla tree.

For your convenience here are the MOZ_CO_* changes by revision number and a download link to the source:

Revision Number Checkout Options Download Links
702 and above MOZ_CO_DATE="12 Apr 2008 00:00 PDT"

MOZ_CO_PROJECT="mail calendar"

Download,

patches are available in patches directory of the SVN

678 MOZ_CO_DATE="12 Apr 2008 00:00 PDT"

MOZ_CO_PROJECT="mail calendar"

Download, Patches.
652 MOZ_CO_DATE="05 Mar 2008 00:00 PDT"

MOZ_CO_PROJECT="mail calendar"

376 (0.4 Release) MOZ_CO_DATE="22 Nov 2007 00:00 PDT"

MOZ_CO_PROJECT="mail calendar"

Download, Patches
358 MOZ_CO_TAG="GECKO190_20071106_RELBRANCH"

MOZ_CO_PROJECT="mail calendar"

You can use these tags/dates to checkout the required Mozilla source from Mozilla CVS repository. For example, to get Mozilla source code required for 376 revision of Spicebird repository:

$ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
$ cd mozilla
$ make -f client.mk checkout MOZ_CO_DATE="22 Nov 2007 00:00 PDT" MOZ_CO_PROJECT=mail,calendar

Mozilla Developer Center has good documentation on how these tags can be used to checkout the source code from Mozilla.

[edit] Related Links

Personal tools