summaryrefslogtreecommitdiff
path: root/firefox
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-06-30 17:17:31 +0000
committerPhil Blundell <philb@gnu.org>2004-06-30 17:17:31 +0000
commit3a5030da64941195f95497da0e5e76672656d636 (patch)
tree834b816effd957a80a9f5f3081077dd5c5d81f88 /firefox
parent753b71ebe39b8dc98c621982329c0af1456772c4 (diff)
disable extraneous debugging stuff to reduce binary size
BKrev: 40e2f5aboFym2QVn2VeagAPufhM5IA
Diffstat (limited to 'firefox')
-rw-r--r--firefox/firefox-0.9/mozconfig53
-rw-r--r--firefox/firefox_0.9.oe1
2 files changed, 54 insertions, 0 deletions
diff --git a/firefox/firefox-0.9/mozconfig b/firefox/firefox-0.9/mozconfig
index e69de29bb2..2546be9ecf 100644
--- a/firefox/firefox-0.9/mozconfig
+++ b/firefox/firefox-0.9/mozconfig
@@ -0,0 +1,53 @@
+. $topsrcdir/browser/config/mozconfig
+
+# use GTK+-2 widget set with XFT font rendering
+ac_add_options --enable-default-toolkit=gtk2
+ac_add_options --enable-xft
+ac_add_options --disable-freetype2
+
+# enable minimal profile support
+#ac_add_options --disable-profilesharing
+#ac_add_options --disable-profilelocking
+#ac_add_options --enable-single-profile
+
+ac_add_options --with-system-zlib
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-png
+
+ac_add_options --disable-accessibility
+ac_add_options --disable-composer
+#ac_add_options --enable-plaintext-editor-only
+ac_add_options --disable-mailnews
+ac_add_options --disable-ldap
+ac_add_options --disable-postscript
+ac_add_options --disable-mathml
+ac_add_options --disable-jsd
+ac_add_options --disable-installer
+ac_add_options --disable-xprint
+ac_add_options --disable-necko-disk-cache
+
+# configure necko to allocate smaller network buffers
+ac_add_options --enable-necko-small-buffers
+
+# disable debug logging and tests
+#ac_add_options --disable-dtd-debug
+ac_add_options --disable-logging
+ac_add_options --disable-debug
+ac_add_options --disable-gtktest
+ac_add_options --disable-tests
+
+# build crypto module (PSM + NSS)
+ac_add_options --enable-crypto
+
+# build minimal set of protocol handlers
+ac_add_options --enable-necko-protocols=http,file,res,jar
+
+# build minimal set of image decoders
+ac_add_options --enable-image-decoders=png,gif,jpeg
+
+#ac_add_options --enable-reorder
+#ac_add_options --enable-elf-dynstr-gc
+
+# enable static build
+#ac_add_options --disable-shared
+#ac_add_options --enable-static
diff --git a/firefox/firefox_0.9.oe b/firefox/firefox_0.9.oe
index 116e3ce5bb..fc4efcaf84 100644
--- a/firefox/firefox_0.9.oe
+++ b/firefox/firefox_0.9.oe
@@ -1,4 +1,5 @@
DEPENDS = "xt xi zip-native"
+PR = "r1"
SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/firefox-${PV}-source.tar.bz2 \
file://mozconfig \