wok-undigest rev 948
firefox: reducing log size
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Mar 11 22:28:27 2013 +0100 (2013-03-11) |
parents | bb288d01b7cc |
children | d8d8b62ac34d |
files | firefox/receipt firefox/stuff/mozconfig |
line diff
1.1 --- a/firefox/receipt Sun Mar 10 17:02:44 2013 +0100 1.2 +++ b/firefox/receipt Mon Mar 11 22:28:27 2013 +0100 1.3 @@ -25,8 +25,7 @@ 1.4 # 1.5 # WARNING: 1GB RAM minimum. Additional RAM will significantly decrease 1.6 # build time. 1.7 -# At least 600 MB free disk space (1 GB recommended) 1.8 - 1.9 +# At least 2.5 GB free disk space 1.10 1.11 compile_rules() 1.12 { 1.13 @@ -35,7 +34,8 @@ 1.14 cp -a $stuff/mozconfig $src 1.15 1.16 # build firefox and create a firefox tarball 1.17 - make -f client.mk | egrep -v "c++|nsinstall|python" && 1.18 + # reducing log size: hide c++, nsinstall, python, Exception (Bug#696763) msgs 1.19 + make -f client.mk | egrep -v "c++|nsinstall|python|Exception" && 1.20 make -C obj-firefox/browser/installer 1.21 1.22 # install 1.23 @@ -55,10 +55,10 @@ 1.24 chmod -v 755 $install/usr/lib/firefox-$VERSION/libxpcom.so && 1.25 # install symlink in /usr/bin 1.26 mkdir -p $install/usr/bin && 1.27 - ln -sfv ../lib/firefox-$VERSION/firefox $install/usr/bin && 1.28 + ln -sf ../lib/firefox-$VERSION/firefox $install/usr/bin && 1.29 # install symlink for plugins 1.30 mkdir -p $install/usr/lib/mozilla/plugins && 1.31 - ln -sfv ../mozilla/plugins $install/usr/lib/firefox-$VERSION 1.32 + ln -sf ../mozilla/plugins $install/usr/lib/firefox-$VERSION 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg.
2.1 --- a/firefox/stuff/mozconfig Sun Mar 10 17:02:44 2013 +0100 2.2 +++ b/firefox/stuff/mozconfig Mon Mar 11 22:28:27 2013 +0100 2.3 @@ -22,14 +22,17 @@ 2.4 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox 2.5 2.6 # Specify arch option and level of optimization: 2.7 -ac_add_options --enable-optimize="$CFLAGS -Wno-unused-function \ 2.8 --Wno-unused-but-set-variable -Wno-unused-variable -Wno-variadic-macros" 2.9 +ac_add_options --enable-optimize="$CFLAGS -Wno-all -Wno-extra -Wno-empty-body \ 2.10 +-Wno-type-limits -Wno-unused-result -Wno-attributes -Wno-enum-compare \ 2.11 +-Wno-multichar" 2.12 + 2.13 +# Issue all warnings demanded by strict ANSI C 2.14 +ac_add_options --disable-pedantic 2.15 2.16 # If you have a multicore machine you can speed up the build by running 2.17 # several jobs at once by uncommenting the following line and setting the 2.18 # value to number of CPU cores: 2.19 -mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS" 2.20 - 2.21 +mk_add_options MOZ_MAKE_FLAGS="-j$(grep processor /proc/cpuinfo | wc -l)" 2.22 2.23 # Reduce the log size: 2.24 ac_add_options --silent 2.25 @@ -87,11 +90,12 @@ 2.26 ac_add_options --enable-system-ffi 2.27 ac_add_options --enable-system-pixman 2.28 2.29 +ac_add_options --enable-shared-js 2.30 ac_add_options --with-pthreads 2.31 2.32 ac_add_options --with-system-bz2 2.33 ac_add_options --with-system-jpeg 2.34 - #ac_add_options --with-system-png 2.35 +#ac_add_options --with-system-png # features missing 2.36 ac_add_options --with-system-zlib 2.37 2.38 ac_add_options --disable-gconf