|
|
| Line 42: |
Line 42: |
| == Steps == | | == Steps == |
|
| |
|
| #<pre>sudo ./meego-assistant login</pre>On first start this actually does the final configuration of the Image. Like downloading basic build dependencies, installing mercurial and autoconf2.13.
| | *<pre>sudo ./meego-assistant login</pre>''During first start this finish the configuration of the image. Follow the instructions on screen.<br>'' |
| #Get Mozilla Sources and apply Meego Developer Patches on it<br>
| | *Get Mozilla Sources and apply Meego Developer Patches on it<br> |
| <pre>cd /meegoWorkingDirectory | | <pre>cd /meegoWorkingDirectory |
| hg clone http://hg.mozilla.org/mozilla-central | | hg clone http://hg.mozilla.org/mozilla-central |
| Line 58: |
Line 58: |
| cd mobile | | cd mobile |
| hg qpush --all | | hg qpush --all |
| cd .. | | cd .. |
| wget https://wiki.mozilla.org/images/7/7c/Mozconfig.tar.gz | | </pre> |
| | *Download Mozconfig and start building. |
| | <pre>wget https://wiki.mozilla.org/images/7/7c/Mozconfig.tar.gz |
| tar -xzf Mozconfig.tar.gz | | tar -xzf Mozconfig.tar.gz |
| make -f client.mk build | | make -f client.mk build |
| </pre> | | </pre> |
| MOZCONFIG, i386 Build [[Image:Mozconfig.tar.gz]]<br>
| |
| <pre>export LDFLAGS="-Wl,--no-keep-memory,-rpath-link,$PWD/dist/bin/:/usr/lib:/lib"
| |
| export LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib"
| |
| | |
| # Options for client.mk.
| |
| mk_add_options MOZ_BUILD_PROJECTS="xulrunner mobile"
| |
| mk_add_options AUTOCONF=autoconf2.13
| |
| mk_add_options MOZ_MAKE_FLAGS=-j9
| |
|
| |
| # 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
| |
| | |
| #Enable RTTI
| |
| ac_cv_visibility_pragma=no
| |
| | |
| # Global options
| |
| ac_add_options --enable-default-toolkit=cairo-qt
| |
| ac_add_options --enable-faststart
| |
| ac_add_options --enable-printing
| |
| ac_add_options --enable-codesighs
| |
| ac_add_options --enable-system-ffi
| |
| ac_add_options --enable-cpp-rtti
| |
| ac_add_options -prefix=/usr
| |
| | |
| ac_add_options --disable-necko-wifi
| |
| ac_add_options --disable-wave
| |
| ac_add_options --disable-optimize
| |
| ac_add_options --disable-installer
| |
| ac_add_options --disable-crashreporter
| |
| ac_add_options --disable-javaxpcom
| |
| ac_add_options --disable-embedding-tests
| |
| ac_add_options --disable-elf-dynstr-gc
| |
| ac_add_options --disable-updater
| |
| ac_add_options --disable-pedantic
| |
| ac_add_options --disable-elf-dynstr-gc
| |
| ac_add_options --disable-install-strip
| |
| ac_add_options --disable-jemalloc
| |
| ac_add_options --disable-logging
| |
| ac_add_options --disable-logrefcnt
| |
| ac_add_options --disable-tests --disable-mochitest
| |
| ac_add_options --disable-accessibility
| |
| ac_add_options --disable-thumb2 # see bug 619481
| |
| | |
| | |
| mk_add_options MOZ_OBJDIR=./obj-qt-buildxulrunner
| |
| </pre>
| |
| <br>
| |
|
| |
|
| == Known Issues == | | == Known Issues == |