wok-current rev 2748

Up: Firefox (3.0.9) - Clean up mozconfig and --enable-jsd
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 26 01:35:55 2009 +0200 (2009-04-26)
parents 9dff014b6718
children e21d9d3b7188
files firefox/receipt firefox/stuff/firefox.mozconfig firefox/stuff/prefs.js
line diff
     1.1 --- a/firefox/receipt	Sun Apr 26 00:43:36 2009 +0200
     1.2 +++ b/firefox/receipt	Sun Apr 26 01:35:55 2009 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="firefox"
     1.7 -VERSION="3.0.8"
     1.8 +VERSION="3.0.9"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="User friendly, secure and fast web browser."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -21,8 +21,7 @@
    1.13  {
    1.14  	# Move the mozilla source tree to $PACKAGE-$VERSION to keep variables
    1.15  	# and to have a nice clean.
    1.16 -	#
    1.17 -	mv mozilla $PACKAGE-$VERSION
    1.18 +	mv mozilla $PACKAGE-$VERSION 2>/dev/null
    1.19  	cp -a stuff/firefox.mozconfig $src/.mozconfig
    1.20  	cd $src
    1.21  	./configure $CONFIGURE_ARGS &&
    1.22 @@ -37,9 +36,10 @@
    1.23  	cp -a $_pkg/usr/bin $fs/usr
    1.24  	cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib
    1.25  
    1.26 -	# SliTaz Web site for the home page, bookmarks file and branding.
    1.27 +	# Home page, bookmarks file and branding.
    1.28  	cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION
    1.29 -	cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
    1.30 +	cp -a stuff/bookmarks.html \
    1.31 +		$fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
    1.32  	cp -a stuff/firefox-branding.js \
    1.33  		$fs/usr/lib/$PACKAGE-$VERSION/defaults/pref/
    1.34  
    1.35 @@ -64,8 +64,7 @@
    1.36  		-C $fs/usr/lib/$PACKAGE-$VERSION/extensions
    1.37  	sed -i "s/maxVersion>3.0../maxVersion>$VERSION/" \
    1.38  		$fs/usr/lib/$PACKAGE-$VERSION/extensions/langpack*/install.rdf
    1.39 -		
    1.40 -
    1.41 +	
    1.42  	# Search Plugin (by: oddball)
    1.43  	cp -a stuff/searchplugins $fs/usr/lib/firefox-$VERSION/
    1.44  	chown -R root.root $fs
    1.45 @@ -84,8 +83,9 @@
    1.46  	# Get old plugins
    1.47  	mkdir /tmp/firefox-plugins-$$
    1.48  	cp -a $root/usr/lib/firefox-*/plugins/* /tmp/firefox-plugins-$$ 2> /dev/null
    1.49 -	# Remove old libs
    1.50 +	# Remove old libs and configs
    1.51  	rm -rf $root/usr/lib/firefox-*
    1.52 +	rm -rf $root/etc/firefox
    1.53  }
    1.54  post_install()
    1.55  {
     2.1 --- a/firefox/stuff/firefox.mozconfig	Sun Apr 26 00:43:36 2009 +0200
     2.2 +++ b/firefox/stuff/firefox.mozconfig	Sun Apr 26 01:35:55 2009 +0200
     2.3 @@ -3,50 +3,50 @@
     2.4  export MOZ_PHOENIX=1
     2.5  mk_add_options MOZ_PHOENIX=1
     2.6  
     2.7 +ac_add_options --prefix=/usr
     2.8 +
     2.9 +ac_add_options --with-system-zlib
    2.10 +ac_add_options --with-system-jpeg
    2.11 +#ac_add_options --with-system-png
    2.12 +ac_add_options --with-pthreads
    2.13 +
    2.14 +ac_add_options --enable-application=browser
    2.15 +ac_add_options --enable-extensions="cookie,xml-rpc,xmlextras,pref,universalchardet,webservices"
    2.16 +ac_add_options --enable-crypto
    2.17 +ac_add_options --enable-single-profile
    2.18 +ac_add_options --enable-xft
    2.19 +ac_add_options --enable-strip
    2.20 +ac_add_options --enable-optimize
    2.21 +ac_add_options --enable-system-cairo
    2.22 +ac_add_options --enable-jsd
    2.23 +#ac_add_options --enable-svg
    2.24 +#ac_add_options --enable-svg-renderer=cairo
    2.25 +#ac_add_options --enable-postscript
    2.26 +
    2.27 +ac_add_options --disable-toolkit-qt
    2.28 +ac_add_options --disable-printing
    2.29 +ac_add_options --disable-xprint
    2.30 +ac_add_options --disable-xinerama
    2.31 +ac_add_options --disable-logging
    2.32 +ac_add_options --disable-profilesharing
    2.33 +ac_add_options --disable-mathml
    2.34 +ac_add_options --disable-crashreporter
    2.35  ac_add_options --disable-ldap
    2.36  ac_add_options --disable-calendar
    2.37  ac_add_options --disable-mailnews
    2.38  ac_add_options --disable-chatzilla
    2.39 -ac_add_options --enable-extensions="cookie,xml-rpc,xmlextras,pref,universalchardet,webservices"
    2.40 -ac_add_options --enable-crypto
    2.41  ac_add_options --disable-composer
    2.42 -ac_add_options --enable-single-profile
    2.43 -ac_add_options --disable-profilesharing
    2.44 -#ac_add_options --disable-shared
    2.45 -#ac_add_options --enable-static
    2.46 +ac_add_options --disable-negotiateauth
    2.47  ac_add_options --disable-debug
    2.48 -#ac_add_options --disable-toolkit-gtk
    2.49 -#ac_add_options --enable-toolkit-gtk2
    2.50 -#ac_add_options --enable-default-toolkit=gtk2
    2.51 -ac_add_options --enable-xft
    2.52  ac_add_options --disable-freetype2
    2.53  ac_add_options --disable-tests
    2.54  ac_add_options --disable-accessibility
    2.55  ac_add_options --disable-installer
    2.56  ac_add_options --disable-updater
    2.57 -ac_add_options --enable-strip
    2.58 -ac_add_options --disable-toolkit-qt
    2.59 -ac_add_options --prefix=/usr
    2.60 +#ac_add_options --disable-jsd
    2.61 +#ac_add_options --disable-libxul
    2.62  #ac_add_options --disable-pango
    2.63 -#ac_add_options --with-default-mozilla-five-home=/usr/lib
    2.64 -#ac_add_options --enable-postscript
    2.65 -ac_add_options --disable-xprint
    2.66 -ac_add_options --disable-xinerama
    2.67 -ac_add_options --with-system-zlib
    2.68 -ac_add_options --with-system-jpeg
    2.69 -#ac_add_options --with-system-png
    2.70 -ac_add_options --with-pthreads
    2.71 -#ac_add_options --enable-svg
    2.72 -#ac_add_options --enable-svg-renderer=cairo
    2.73 -ac_add_options --enable-application=browser
    2.74 -ac_add_options --disable-negotiateauth
    2.75 -ac_add_options --disable-jsd
    2.76 -#ac_add_options --disable-printing
    2.77 -ac_add_options --disable-logging
    2.78 -#ac_add_options --disable-libxul
    2.79 -ac_add_options --disable-mathml
    2.80 -ac_add_options --enable-optimize
    2.81 -ac_add_options --disable-crashreporter
    2.82 -ac_add_options --enable-system-cairo
    2.83 +
    2.84 +#ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox
    2.85 +#ac_add_options --enable-official-branding
    2.86  ac_add_options --with-distribution-id=slitaz
    2.87 -#ac_add_options --enable-official-branding
     3.1 --- a/firefox/stuff/prefs.js	Sun Apr 26 00:43:36 2009 +0200
     3.2 +++ b/firefox/stuff/prefs.js	Sun Apr 26 01:35:55 2009 +0200
     3.3 @@ -11,3 +11,4 @@
     3.4  
     3.5  user_pref("general.useragent.extra.firefox", "Firefox/3.0 (SliTaz GNU/Linux)");
     3.6  user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
     3.7 +user_pref("font.name.serif.x-western", "DejaVu Sans");