Mobile/Symbian/NSPR: Difference between revisions

no edit summary
No edit summary
Line 8: Line 8:


Here we are porting NSPR to Symbian OS with "Open C", utilizing <tt>libc</tt> and <tt>libpthread</tt>. Determine where the boundaries are and marking them is our major work, also plus a load of build and test tricks.
Here we are porting NSPR to Symbian OS with "Open C", utilizing <tt>libc</tt> and <tt>libpthread</tt>. Determine where the boundaries are and marking them is our major work, also plus a load of build and test tricks.
= Get updates =


[https://bugzilla.mozilla.org/show_bug.cgi?id=432430 Bug 432430] is the patch and discussion on NSPR for Symbian OS port.  
[https://bugzilla.mozilla.org/show_bug.cgi?id=432430 Bug 432430] is the patch and discussion on NSPR for Symbian OS port.  


'''''IMPORTANT NOTE: Three files in this patch (_symbian.cfg _symbian.h symbian.c) had been cleaned up and checked into the CVS trunk already. Before all patches landing, you could find source of NSPR ports to Symbian from [http://mozilla-symbian.googlecode.com/ Mozilla-Symbian project at GoogleCode].'''''
From [http://mozilla-symbian.googlecode.com/ Mozilla-Symbian project at GoogleCode] you could find latest source of NSPR ports to Symbian OS before they get checked into Mozilla source tree.
 
[http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=%2Fmozilla%2Fnsprpub%2F&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=month&mindate=&maxdate=&cvsroot=%2Fcvsroot Check-in of NSPR] in recent one month. Find what has been checked in already.


= Build =
= Build =
'''''Description of this method will be over taken by the original build system used by Mozilla to build other platform applications. So please don't put much of your attention on this building process.'''''


== Prerequisite ==
== Prerequisite ==
Line 106: Line 108:


* According to [http://wiki.forum.nokia.com/index.php/S60_3rd_Edition:_Application_Development#Install_Perl S60 3rd Edition: Application Development] and practice, it is required to use ActivePerl as close as '''v5.6.1.635'''. Later or earlier version of ActivePerl has '''hidden incompatibilities''' with Symbian OS building purpose.
* According to [http://wiki.forum.nokia.com/index.php/S60_3rd_Edition:_Application_Development#Install_Perl S60 3rd Edition: Application Development] and practice, it is required to use ActivePerl as close as '''v5.6.1.635'''. Later or earlier version of ActivePerl has '''hidden incompatibilities''' with Symbian OS building purpose.
* On UNIX OS, the generated on-the-fly header file <tt>_pl_bld.h</tt> and <tt>_pr_bld.h</tt> are made by <tt>Makefile</tt> and the <tt>now</tt> helper application which is also built as part of NSPR building process. Unfortunately there isn't a plan or solution to port this <tt>now</tt> helper application as part of NSPR for Symbian OS building process. Instead the MS Windows command <tt>echo</tt> and environment variable <tt>%DATE% & %TIME%</tt> are used to generate <tt>_pl_bld.h</tt> and <tt>_pr_bld.h</tt>. But this workaround has a problem, that is the <tt>%DATE% & %TIME%</tt> environment variables are printed as locale adapted string according to regional settings.


* As of May 27th, Open C plugin v1.3 got released. Open C plugin v1.3 now supports IPv6, but in the [https://bugzilla.mozilla.org/attachment.cgi?id=324584 patch 324584] IPv6 support is not added into NSPR.
* As of May 27th, Open C plugin v1.3 got released. Open C plugin v1.3 now supports IPv6, but in the [https://bugzilla.mozilla.org/attachment.cgi?id=324584 patch 324584] IPv6 support is not added into NSPR.
90

edits