|
|
| Line 1: |
Line 1: |
| '''''Building Mozilla for Symbian OS is in research stage now. The method and process mentioned here is subject to change greatly as the project goes on.'''''
| |
|
| |
| == Overview == | | == Overview == |
|
| |
|
| Our first milestone is to make XULRunner run on a cell phone with S60 3rd Edition platform whose underlying operating system is Symbian OS. To simplify this target, say we are porting Mozilla FireFox onto Symbian OS. | | Our first milestone is to make XULRunner run on a cell phone with S60 3rd Edition platform whose underlying operating system is Symbian OS. To simplify this target, say we are porting Mozilla FireFox onto Symbian OS. |
|
| |
|
| == What has been done now == | | == Completed == |
| | |
| See [https://bugzilla.mozilla.org/show_bug.cgi?id=432430 bug 432430], you will find the patch which will make NSPR built on Symbian OS. But this patch only give you a success build, the result is not tested at all. I believe there are many fixes to do until the NSPR on Symbian OS could work as expected.
| |
| | |
| === How to build ===
| |
|
| |
|
| Before build NSPR for Symbian OS, it is assumed you know the build process and tool chain used to build a common Symbian OS project. If you haven't got the idea of running a Symbian OS project building, check [http://www.forum.nokia.com/main/resources/technologies/symbian/documentation/getting_started.html this] and [http://wiki.forum.nokia.com/index.php/How_do_I_start_programming_for_Symbian_OS%3F this], the last part "Resources" will help too.
| | '''NONE''' |
|
| |
|
| Then you can grab the [https://bugzilla.mozilla.org/attachment.cgi?id=319556 patch], apply it under directory <tt>mozilla/nsprpub</tt>. After patch applied, you can use <tt>bldmake bldfiles</tt> and <tt>abld build gcce urel</tt> command to build the project under path <tt>mozilla/nsprpub/build/symbian</tt>. Also you could import <tt>bld.inf</tt> projects set file in your [http://www.forum.nokia.com/main/resources/tools_and_sdks/carbide_cpp/index.html Carbide.C++] IDE and then build it.
| | == In progress == |
|
| |
|
| === Can I build it under Linux/Unix with gmake? === | | === NSPR === |
|
| |
|
| There is no official Symbian OS build method or tool chain other than the <tt>makmake</tt> and a serious Perl scripts tool chain provided by Symbian Ltd running on Windows platform. [http://www.martin.st/symbian/ Martin] have managed to collect enough tools and patches to make a way of building Symbian OS project in Unix environment. But this way is problematic, it has no emulator build support and also it uses the same <tt>makmake</tt> and a bunch of Perl scripts to manage the building process.
| | [https://bugzilla.mozilla.org/show_bug.cgi?id=432430 Bug 432430] is the patch and discussion about NSPR on Symbian OS port. |
|
| |
|
| Although there is not an official way to utilize <tt>gmake</tt>, yet I think there may be a way out. Symbian OS target binary is also linked by gcc linker, and compiled by gcc compiler, what's different is that there is a post production executable assembler called [http://wiki.forum.nokia.com/index.php/Petran "PETRAN"] and other pre production resource compiler. All of them can be remade under Linux, IF somebody will pay his hours on this topic. At this moment I haven't see a very critical reason to do this.
| | About details on NSPR for Symbian, find [[Mobile/Symbian/NSPR]]. |
|
| |
|
| == What need to be done next == | | == Planned == |
|
| |
|
| Test NSPR and continue porting other components like NSS, necko, xpcom and etc.
| | '''[http://www.cairographics.org/ Cairo]''' |
|
| |
|
| You can track the status of [http://spreadsheets.google.com/pub?key=puHMGxziDYnOk8BeukovcSA test cases report for NSPR on Symbian OS] from [http://doc.google.com GoogleDoc].
| | == Future == |
|
| |
|
| You can also track the status of
| | '''NONE''' |
| [http://spreadsheets.google.com/pub?key=puHMGxziDYnMi1x6iShmfQw NSPR for Symbian OS Manually Test Result] from [http://doc.google.com GoogleDoc].
| |
|
| |
|
| == Resources == | | == Resources == |