JBoss Community

Build XulRunner 1.9 on Linux

modified by Maxim Areshkau in JBoss Tools - View the full document
  • Download source code from mozilla using followinn command
    mkdir xulrunner19
    cd xulrunner19
    cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r FIREFOX_3_0_RELEASE mozilla/client.mk
    cd mozilla
    make -f client.mk checkout MOZ_CO_PROJECT=xulrunner
    
  • Create a configuration file xulrunner.mozconfig Information about mozilla connfig file on Mozila An example of configuration file is here
    $topsrcdir/xulrunner/config/mozconfig
    ac_add_options --enable-application=xulrunner
    ac_add_options --disable-debug
    ac_add_options --disable-tests
    mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../xulrunner_build
    
  • Register file in System
    export MOZCONFIG=./xulrunner.mozconfig
    
  • Build xulrunner
    make -f client.mk build
    
  • Register xulrunner for user
    ./xulrunner --register-user
    
  • Register xulrunner for system
    sudo ./xulrunner --register-global
    
  • Information about xulrunner registred for user here
    /home/user_name/.gre.d/1.9.conf
    
  • Information about xulrunner which was registred globaly here
    /etc/gre.d/1.9.conf
    
  • View firefox/xulrunner build options
    about:buildconfig
    

Comment by going to Community

Create a new document in JBoss Tools at Community