On Apr 18, 6:54 am, Benjamin Smedberg <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Thanks Benjamin. When I try to build xunrunner, the build process
> > stops at looking for a make file under xulrunner directory. I don't
> > see any xulrunner directory under 1.8.1 (firefox 2.0) source trunk.
>
> This is because you only have the Firefox sources, you don't have the
> XULRunner sources...
>
> > Here is my .mozconfig file for building xulrunner application.
>
> > mk_add_options MOZ_CO_PROJECT=xulrunner
>
> This line should tell client.mk to check out the Firefox sources, *if*
> you're running `make -f client.mk` or `make -f client.mk checkout`
>
> if you're only running `make -f client.mk build` then you won't ever check
> out new sources.
>
> > Can you please provide me right instruction to build xulrunner
> > application?  I'll also try to build mozilla 1.9. I believe you are
> > referring to firefox 3.0 source trunk -
> >ftp://ftp.mozilla.org/pub/firefox/releases/3.0b5/source/firefox-3.0b5....
>
> The best way to get the latest xulrunner 1.9 sources is from CVS:
>
> http://developer.mozilla.org/en/docs/Mozilla_Source_Code_Via_CVS
>
> --BDS

I downloaded firefox-3.0b5-source.tar.bz2 and then obtained xulrunner
by using the following command.

make -f client.mk checkout MOZ_CO_PROJECT=xulrunner

I'll follow your guidance and obtain firefox source also thru CVS.

The build does not complain about xulrunner directoy missing.  I'm
currently building using the following .mozconfig file (obtained from
ubrowser), with some modifications (--enable-static and --disable-
libxul).

I'm building a special purpose application where I only need the
rendering engine and http(s) protocol support. I don't need plugin or
extension support. I would also replace the cookie handling -
implement cookie managment myself. Can you please suggest me a
good .mozconfig options to achieve that?

mk_add_options MOZ_CO_PROJECT=xulrunner
ac_add_options --enable-application=xulrunner
mk_add_options [EMAIL PROTECTED]@/xuldbg
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --enable-static
ac_add_options --disable-libxul
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --enable-extensions=default
ac_add_options --enable-crypto
ac_add_options --disable-composer
ac_add_options --enable-single-profile
ac_add_options --disable-profilesharing
ac_add_options --disable-profilelocking
ac_add_options --disable-accessibility
ac_add_options --enable-jsd
ac_add_options --disable-installer
ac_add_options --enable-xpinstall
ac_add_options --disable-postscript
ac_add_options --disable-mathml
ac_add_options --enable-xpfe-components
ac_add_options --disable-dtd-debug
ac_add_options --disable-logging
ac_add_options --disable-tests
ac_add_options --enable-necko-protocols=default
ac_add_options --enable-image-decoders=png,gif,jpeg
ac_add_options --enable-svg
ac_add_options --disable-javaxpcom
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --enable-canvas
ac_add_options --disable-webservices
ac_add_options --disable-parental-controls
ac_add_options --disable-plugins
ac_add_options --disable-safe-browsing


thanks,
babu.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to