Meego Wiki
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(to check)
m (to check)
Line 23: Line 23:
  ac_add_options --enable-mobile-optimize
  ac_add_options --enable-mobile-optimize
  ac_add_options --enable-optimize="-O2"
  ac_add_options --enable-optimize="-O2"
 +
ac_add_options --enable-faststart
* are we using the bundled jpeg/png/zlib/bz2 libs, if not would that help?
* are we using the bundled jpeg/png/zlib/bz2 libs, if not would that help?
  ac_add_options --with-system-jpeg
  ac_add_options --with-system-jpeg

Revision as of 09:06, 18 March 2011

ARM/N900/Browser project

  • build fennec according to these build instructions
  • don't follow these outdated instructions, e.g. there are no patches needed
  • before you wonder, the build is a out-of-sourcedir build, but using a directory on the same level as your sourcedir, so if you have the sources in ~/projects/mozilla-central, you will have the binaries in ~/projects/mozilla-central-mobile-qt-obj
  • you can run the browser without installing:
~/projects/mozilla-central-mobile-qt-obj/mobile/dist/bin
./run-mozilla.sh ./fennec

observations

  • there are lots of warnings and assertions, need to figure which of those are critical

to check

  • do we have the recent version in the n900 repo?
  • Is the package using a proper mozconfig.
    • my build above used these items in mozconfig:
ac_add_options --enable-debug="-g3"
ac_add_options --disable-optimize
ac_add_options --enable-logging
ac_add_options --disable-elf-dynstr-gc
    • some potentially interesting options
ac_add_options --enable-mobile-optimize
ac_add_options --enable-optimize="-O2"
ac_add_options --enable-faststart
  • are we using the bundled jpeg/png/zlib/bz2 libs, if not would that help?
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
Personal tools