# HG changeset patch # User Dominique Corbex # Date 1363037307 -3600 # Node ID ab8c3d68da9281376406ba5ed46796e9f5dc226d # Parent bb288d01b7cc5c00b006721c812cd48158f1868e firefox: reducing log size diff -r bb288d01b7cc -r ab8c3d68da92 firefox/receipt --- a/firefox/receipt Sun Mar 10 17:02:44 2013 +0100 +++ b/firefox/receipt Mon Mar 11 22:28:27 2013 +0100 @@ -25,8 +25,7 @@ # # WARNING: 1GB RAM minimum. Additional RAM will significantly decrease # build time. -# At least 600 MB free disk space (1 GB recommended) - +# At least 2.5 GB free disk space compile_rules() { @@ -35,7 +34,8 @@ cp -a $stuff/mozconfig $src # build firefox and create a firefox tarball - make -f client.mk | egrep -v "c++|nsinstall|python" && + # reducing log size: hide c++, nsinstall, python, Exception (Bug#696763) msgs + make -f client.mk | egrep -v "c++|nsinstall|python|Exception" && make -C obj-firefox/browser/installer # install @@ -55,10 +55,10 @@ chmod -v 755 $install/usr/lib/firefox-$VERSION/libxpcom.so && # install symlink in /usr/bin mkdir -p $install/usr/bin && - ln -sfv ../lib/firefox-$VERSION/firefox $install/usr/bin && + ln -sf ../lib/firefox-$VERSION/firefox $install/usr/bin && # install symlink for plugins mkdir -p $install/usr/lib/mozilla/plugins && - ln -sfv ../mozilla/plugins $install/usr/lib/firefox-$VERSION + ln -sf ../mozilla/plugins $install/usr/lib/firefox-$VERSION } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r bb288d01b7cc -r ab8c3d68da92 firefox/stuff/mozconfig --- a/firefox/stuff/mozconfig Sun Mar 10 17:02:44 2013 +0100 +++ b/firefox/stuff/mozconfig Mon Mar 11 22:28:27 2013 +0100 @@ -22,14 +22,17 @@ mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox # Specify arch option and level of optimization: -ac_add_options --enable-optimize="$CFLAGS -Wno-unused-function \ --Wno-unused-but-set-variable -Wno-unused-variable -Wno-variadic-macros" +ac_add_options --enable-optimize="$CFLAGS -Wno-all -Wno-extra -Wno-empty-body \ +-Wno-type-limits -Wno-unused-result -Wno-attributes -Wno-enum-compare \ +-Wno-multichar" + +# Issue all warnings demanded by strict ANSI C +ac_add_options --disable-pedantic # If you have a multicore machine you can speed up the build by running # several jobs at once by uncommenting the following line and setting the # value to number of CPU cores: -mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS" - +mk_add_options MOZ_MAKE_FLAGS="-j$(grep processor /proc/cpuinfo | wc -l)" # Reduce the log size: ac_add_options --silent @@ -87,11 +90,12 @@ ac_add_options --enable-system-ffi ac_add_options --enable-system-pixman +ac_add_options --enable-shared-js ac_add_options --with-pthreads ac_add_options --with-system-bz2 ac_add_options --with-system-jpeg - #ac_add_options --with-system-png +#ac_add_options --with-system-png # features missing ac_add_options --with-system-zlib ac_add_options --disable-gconf