Collabora Notes: Difference between revisions

no edit summary
No edit summary
Line 1: Line 1:
This document contains helpful tips for Collabora contractors who have to wrestle with building the Mozilla source under different platforms.<br>
This is to document helpful tips for Collaborans who must wrestle with building the Mozilla source on different platforms.


(We can rename the page appropriately, later.)
Collaborans are interested in building code from the Electrolysis project (E10s) on a machine on which Scratchbox is also installed, on which the Maemo SDK can be installed, and on which one can cross-compile to the ARM architecture.


Collaborans are interested in building E10s on a machine on which Scratchbox is also installed, on which the Maemo SDK can be installed, and on which one can cross-compile to the ARM architecture.
= XEN IMAGE  =


= XEN&nbsp;IMAGE =
One route to the desired build environment is to obtain a virtual machine image that is properly configured. robin_bb is developing such an image.  It is available here:
[http://people.collabora.co.uk/~robinbb/lenny-32.img.bz2 here].


One way to obtain the desired build environment is to obtain a virtual machine image that is properly configured. I (robin_bb) have created such an image. It was current in August 2009.
To use that image, you'll need the [http://www.xen.org/ Xen virtual machine].  While installing Xen is quite an ordeal, it is significantly easier than configuring the build environment described above!


You can get it [http://people.collabora.co.uk/~robinbb/lenny-32.img.bz2 here].<br>
= VIRTUALBOX IMAGE =


<br>
Request from robin_bb.
 
In order to use that image, you'll need the [http://www.xen.org/ Xen virtual machine] correctly installed and setup on your box.  


= MANUAL&nbsp;SETUP =
= MANUAL SETUP =


== Prerequisites for Building Mozilla's E10s Project ==
== Prerequisites for Building Mozilla's E10s Project ==
Line 38: Line 37:


For that, you need [http://www.scratchbox.org/download/ Scratchbox Apophis].  
For that, you need [http://www.scratchbox.org/download/ Scratchbox Apophis].  
<br>


<br>  
<br>  
Line 57: Line 54:
The scratchbox '_X86' targets don't add extra value to the build and since your SB build environment might not be as complete&nbsp; So there's really little need for the XXX_X86 targets in Scratchbox. When you want to build for X86 processors, do it directly from your preferred linux console.
The scratchbox '_X86' targets don't add extra value to the build and since your SB build environment might not be as complete&nbsp; So there's really little need for the XXX_X86 targets in Scratchbox. When you want to build for X86 processors, do it directly from your preferred linux console.


== Installing Maemo SDK<br> ==
== Installing Maemo SDK  ==


As a Collabora developer, you might be targetting a specific maemo platform version.  
As a Collabora developer, you might be targetting a specific maemo platform version.  


== Pulling the mozilla codebase<br> ==
== Pulling the mozilla codebase  ==


== Building<br> ==
== Building  ==


== Running/Testing your build<br>  ==
== Running/Testing your build<br>  ==
Line 71: Line 68:
== Building E10s  ==
== Building E10s  ==


= BUILDING&nbsp;UNDER&nbsp;WIN32<br> =
=== On Win32 =


== Installing dev. environment<br> ==
==== Installing dev. environment  ====


== Installing ext3 fileSystem<br> ==
==== Installing ext3 fileSystem  ====


== Setting MSVC up<br>  ==
==== Setting MSVC up ====


== Building<br> ==
==== The Build Proper ====
31

edits