xulrunner-1.8.1.3 port

Greg Minshall minshall at acm.org
Thu Nov 15 18:07:46 PST 2007


hi.  this is a port for xulrunner-1.8.1.3.  i've labeled the directory 
"-DUBIOUS" because:

a) i created the tar file by doing a CVS checkout (see 
NOTES-xulrunner-DUBIOUS-1.8.1.3.txt for some details on this, and on where the 
bits and pieces came from and why and how they were modified); and

b) this is the first time i've tried doing a port (though mostly the previous 
one was a template).

let me know if i can help in any way.

Greg Minshall
-------------- next part --------------
notes converting from 1.8.0.4 to 1.8.1.3

3.  okay, xulrunner/files/* came from seamonkey/files/*.  all files
    in former match corresponding file in latter (there are some
    extra files in latter).

4.  so, use the current port for seamonkey to get xulrunner/files/*.

5.  except patch-configure fails.  turns out this is a relatively new
    version 1.4 ("update to 1.1.3") , and version 1.3 ("update to
    1.1") does succeed, so we'll use that.

6.  add "--enable-system-cairo" to MOZ_OPTIONS in Makefile (on
    existing line).

7.  the tar file has all sort of CVS files; the extract seems to leave
    out most (all?) of these, but does leave the CVS subdirectories
    all the place.

8.  the tar file was created by doing a cvs checkout into a new
    directory, then the mozilla gmake that pulls down the actual
    sources, then a tar:
----
   180  14:05   cvs -d :pserver:anonymous at cvs-mirror.mozilla.org:/cvsroot co -r 
FIREFOX_2_0_0_3_RELEASE
   181  14:05   cvs -d :pserver:anonymous at cvs-mirror.mozilla.org:/cvsroot co -r 
FIREFOX_2_0_0_3_RELEASE mozilla/client.mk
   182  14:05   cd mozilla/
   185  14:06   gmake -f client.mk checkout MOZ_CO_PROJECT=xulrunner
   187  14:23   cd ..
   189  14:24   tar cf xulrunner-DUBIOUS-1.8.1.3-source.tar.bz2 mozilla/
   193  14:26   bzip2 xulrunner-DUBIOUS-1.8.1.3-source.tar
----
    XXX (which looks dubious to me -- i should do this at least one more
    XXX  time, scripted.)

9.  files/patch-sysnss uses an idiom %%LOCALBASE%% (modifying
    security/manager/ssl/src/Makefile.in).  changed the patch to use
    $(LOCALBASE).  (somehow, in the newer seamonkey port,
    "%%LOCALBASE%%" in Makefile.in is converted to "/usr/local"
    in Makefile.)

10. port upgrading my system to nss 3.11.1.  how to specify that
    dependency?  (includes hacks to portupgrade version of
    security/nss 3.11.1 to get it to compile and install correctly.)

13. xulrunner script (install in bindir) evaluates arguments with
    expr(1), but if argument starts with "-", expr treats it as an
    (unknown) argument.  so, modify mozilla.in (which is source of
    xulrunner script) to invoke "expr --" (so expr stops looking for
    options).  thus files/patch-xulrunner::app::mozilla.in.
    


More information about the freebsd-gnome mailing list