All pastes #407528 Raw Edit

Someone

public text v1 · immutable
#407528 ·published 2007-03-24 02:44 UTC
rendered paste body
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-static

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)

# Compile info:
# Compiled with "./configure --enable-application=browser" because
# I got the following error when running "make -f client.mk build":
# "configure: error: --enable-application=APP is required"

# Good URL's:
#<http://developer.mozilla.org/en/docs/Build_and_Install>
#<http://developer.mozilla.org/en/docs/Configuring_Build_Options>
#<http://webtools.mozilla.org/build/config.cgi> advanced options, I don't suggest usging the script
#<http://developer.mozilla.org/en/docs/Configuring_Build_Options#Using_a_.mozconfig_Configuration_File>

# 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
## 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

# Do 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:
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
ac_add_options --disable-pedantic

# 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

# Misc. settings:
ac_add_options --with-system-zlib
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-pthreads