All pastes #407413 Raw Edit

lightzoo

public text v1 · immutable
#407413 ·published 2007-03-24 00:20 UTC
rendered paste body
MOZ_PHOENIX=1
BUILD_OFFICIAL=1
export MOZ_PHOENIX
export BUILD_OFFICIAL
mk_add_options MOZ_PHOENIX=1
mk_add_options BUILD_OFFICIAL=1


# Build options for TorToGo-0.1.02a (03-23-2007)

# <http://developer.mozilla.org/en/docs/Configuring_Build_Options>
# <http://webtools.mozilla.org/build/config.cgi> for example of advanced options

# Disable scripts in build:
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-jsd 
ac_add_options --disable-oji
ac_add_options --disable-js-ultrasparc

# Disable Java:
ac_add_options --disable-javaxpcom

# Disable unnecessary files in build to reduce size:
ac_add_options --disable-updater
ac_add_options --disable-installer
##This line strips symbols out of executable and libraries; good setting?
ac_add_options --enable-strip

# Enable a _more_ (and total?) static build:
ac_add_options --enable-libxul
ac_add_options --enable-static
ac_add_options --disable-shared

# Set the profile dir and plugin dir
##This line may still allow FF to create an empty dir in ~/.mprofile
ac_add_options --with-user-appdir=.mprofile
##This line is preferable (and run FF with -profile) but I don't think FF will build with it:
#ac_add_options --with-user-appdir=
##Another less preferable option (due to static path) but I've had trouble building with any path excpet =.
#ac_add_options --with-user-appdata=/media/usbdisk/TorToGo/Firefox/.mprofile

# Extensions to include, does not include Java extension by using "-skipjava"
ac_add_options --enable-extensions="default|all|-skipjava,cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs,spellcheck"

# This should make Firefox more portable to other OS's (non-Windows)
ac_add_options --enable-default-toolkit=gtk2|gtk|xlib|qt|cairo-gtk2|cairo-xlib|mac|cocoa|cairo-cocoa|os2|beos|photon

# General 'disable' settings
ac_add_options --disable-pango
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --disable-calendar
ac_add_options --disable-xinerama
ac_add_options --disable-ctl
ac_add_options --disable-mathml
ac_add_options --disable-ldap
ac_add_options --disable-ldap-experimental
ac_add_options --disable-mailnews
ac_add_options --disable-gtktest
ac_add_options --disable-composer
ac_add_options --disable-chatzilla
ac_add_options --disable-profilesharing
ac_add_options --disable-freetype2
ac_add_options --disable-xprint
ac_add_options --disable-negotiateauth
ac_add_options --disable-logging

# General 'enable' settings
ac_add_options --enable-optimize
ac_add_options --enable-crypto
ac_add_options --enable-xft
ac_add_options --enable-single-profile
ac_add_options --enable-svg-renderer-cairo
ac_add_options --enable-application=browser

# Misc. settings
ac_add_options --prefix=/home/user/FF-built
ac_add_options --with-system-zlib
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-pthreads