Build Instructions for Firefox Mobile (Fennec)

Moblin Browser

Building Fennec and Xulrunner

Fennec exists as a xul app, built on top of xulrunner. In that way, it is architecture independent. To get the code for xulrunner and fennec, you must first install the Mercurial source code management system client. Enter the following command:

$ apt-get install hg-buildpackage

Pull the xulrunner and fennec code:

$ hg clone http://hg.mozilla.org/mozilla-central
$ cd mozilla-central
$ hg clone http://hg.mozilla.org/mobile-browser mobile

Now create a .mozconfig file with the following content:

# Options for client.mk.
mk_add_options MOZ_BUILD_PROJECTS="xulrunner mobile"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../mobilebase

# Global options
#ac_add_options --enable-debug
#ac_add_options --disable-optimize
#ac_add_options --enable-logging
#ac_cv_visibility_pragma=no
#ac_add_options --enable-timeline
ac_add_options --disable-dbus
ac_add_options --disable-crashreporter

# XULRunner options
ac_add_app_options xulrunner --enable-application=xulrunner
ac_add_app_options xulrunner --disable-javaxpcom

# Mobile options
ac_add_app_options mobile --enable-application=mobile
ac_add_app_options mobile --with-libxul-sdk=../xulrunner/dist
# configure will be automatically generated using the 'autoconf-2.13'
# command. If autoconf-2.13 isn't the right name for your system, as
# is the case on OS X using MacPorts, use the real command name as
# demonstrated below.
mk_add_options AUTOCONF=autoconf2.13

Now install autoconf2.13 on your system and build the binaries:

$ apt-get install autoconf2.13
$ make -f client.mk build

Running Fennec

After you have build this on your desktop environment, you can test it on your Samsung Q1 or Jax10 device. First you need to create a fennec tarball:

$ cd ../mobilbase/mobile/
$ make package

You'll now have a tarball in mobilebase/mobile/dist/ named fennec-0.3.en-US.linux-i686..tar.bz2. You can now copy this file to your Samsung Q1 or Jax10 device.

Extract and launch from a command line on the device:

$ bunzip2 fennec-0.3.en-US.linux-i686.tar.bz2
$ tar xf fennec-0.3.en-US.linux-i686.tar
$ cd fenec
$ ./fennec

Comments (1 total)

Re

I do really like your distinguished data! Can you create the research essay for example? Because I know that a great custom classification essays service would write term papers of good enough quality.