wok rev 1018

firefox: Use cairo = 8,0 Mb to 7,8 Mb, yes 200 Kb saved...
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jul 08 23:36:07 2008 +0200 (2008-07-08)
parents 3ed960c78a5f
children bfcc0e329840
files firefox/receipt firefox/stuff/firefox.mozconfig
line diff
     1.1 --- a/firefox/receipt	Tue Jul 08 23:34:19 2008 +0200
     1.2 +++ b/firefox/receipt	Tue Jul 08 23:36:07 2008 +0200
     1.3 @@ -38,7 +38,7 @@
     1.4  
     1.5  	# SliTaz Web site for the home page, bookmarks file and branding.
     1.6  	cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION
     1.7 -	cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-3.0/defaults/profile
     1.8 +	cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
     1.9  	cp -a stuff/firefox-branding.js \
    1.10  		$fs/usr/lib/$PACKAGE-$VERSION/defaults/pref/
    1.11  
    1.12 @@ -59,7 +59,7 @@
    1.13  	-C $fs/usr/lib/$PACKAGE-$VERSION/extensions
    1.14  
    1.15  	# Search Plugin (by: oddball)
    1.16 -	cp -a stuff/searchplugins $fs/usr/lib/firefox-3.0/
    1.17 +	cp -a stuff/searchplugins $fs/usr/lib/firefox-$VERSION/
    1.18  	chown -R root.root $fs
    1.19  
    1.20  	# Remove unnecessary files.
    1.21 @@ -80,7 +80,7 @@
    1.22  {
    1.23  	local root
    1.24  	root=$1
    1.25 -	if grep -q "fr_*" $root/etc/locale.conf 2>dev/null; then
    1.26 +	if grep -q "fr_*" $root/etc/locale.conf 2>/dev/null; then
    1.27  		sed -i 's/en-US/fr/' \
    1.28  		$root/etc/firefox/pref/firefox-l10n.js
    1.29  	fi
     2.1 --- a/firefox/stuff/firefox.mozconfig	Tue Jul 08 23:34:19 2008 +0200
     2.2 +++ b/firefox/stuff/firefox.mozconfig	Tue Jul 08 23:36:07 2008 +0200
     2.3 @@ -1,3 +1,5 @@
     2.4 +export MOZILLA_OFFICIAL="1"
     2.5 +export BUILD_OFFICIAL="1"
     2.6  export MOZ_PHOENIX=1
     2.7  mk_add_options MOZ_PHOENIX=1
     2.8  
     2.9 @@ -41,8 +43,10 @@
    2.10  ac_add_options --disable-jsd
    2.11  #ac_add_options --disable-printing
    2.12  ac_add_options --disable-logging
    2.13 -ac_add_options --with-distribution-id=slitaz
    2.14  #ac_add_options --disable-libxul
    2.15  ac_add_options --disable-mathml
    2.16  ac_add_options --enable-optimize
    2.17  ac_add_options --disable-crashreporter
    2.18 +ac_add_options --enable-system-cairo
    2.19 +ac_add_options --with-distribution-id=slitaz
    2.20 +#ac_add_options --enable-official-branding