wok-current rev 9603

firefox: Added firefox-l10n.js to stuff folder so its copyed into package. Update prefs.js file. Fixed bug #480.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Apr 13 22:53:13 2011 +0000 (2011-04-13)
parents d7fc7a8fb846
children 2aea8b0a4873
files firefox/receipt firefox/stuff/firefox-l10n.js firefox/stuff/prefs.js
line diff
     1.1 --- a/firefox/receipt	Wed Apr 13 22:40:14 2011 +0000
     1.2 +++ b/firefox/receipt	Wed Apr 13 22:53:13 2011 +0000
     1.3 @@ -34,7 +34,6 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	i=$src
     1.8  	mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome $fs/usr/share $fs/etc 
     1.9  	cp -a $_pkg/usr/bin $fs/usr
    1.10  	cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib
    1.11 @@ -56,6 +55,9 @@
    1.12  		mv -f $fs/usr/lib/$PACKAGE-$VERSION/$i $fs/etc/$PACKAGE
    1.13  	done
    1.14  
    1.15 +	# added firefox-l10n.js to stuff to make sure its copyed for langpacks
    1.16 +	cp -a $stuff/firefox-l10n.js \
    1.17 +		$fs/etc/firefox/pref/firefox-l10n.js
    1.18  
    1.19  	ln -s /etc/$PACKAGE/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION
    1.20  	ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/firefox/stuff/firefox-l10n.js	Wed Apr 13 22:53:13 2011 +0000
     2.3 @@ -0,0 +1,5 @@
     2.4 +//@line 36 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js"
     2.5 +
     2.6 +//@line 38 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js"
     2.7 +
     2.8 +pref("general.useragent.locale", "en-US");
     3.1 --- a/firefox/stuff/prefs.js	Wed Apr 13 22:40:14 2011 +0000
     3.2 +++ b/firefox/stuff/prefs.js	Wed Apr 13 22:53:13 2011 +0000
     3.3 @@ -9,6 +9,6 @@
     3.4   * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
     3.5   */
     3.6  
     3.7 -user_pref("general.useragent.extra.firefox", "Firefox/3.5 (SliTaz GNU/Linux)");
     3.8 +user_pref("general.useragent.extra.firefox", "Firefox/4.0 (SliTaz GNU/Linux)");
     3.9  user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
    3.10  user_pref("font.name.serif.x-western", "DejaVu Sans");