wok-stable rev 4826

Fix: Add french langpack to seamonkey + switch to modern UI skin.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 21 13:17:18 2010 +0100 (2010-01-21)
parents 0aac1ee82f7e
children af9b450f8d41
files seamonkey/receipt seamonkey/stuff/prefs.js seamonkey/stuff/seamonkey-2.0.2.fr.langpack.tar.gz
line diff
     1.1 --- a/seamonkey/receipt	Thu Jan 21 00:26:43 2010 +0100
     1.2 +++ b/seamonkey/receipt	Thu Jan 21 13:17:18 2010 +0100
     1.3 @@ -1,7 +1,6 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="seamonkey"
     1.7 -#VERSION="1.1.16"
     1.8  VERSION="2.0.2"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Seamonkey suite (browser, mail, news reader)."
    1.11 @@ -27,6 +26,9 @@
    1.12  EOF
    1.13  	make -f client.mk build
    1.14  	make -f client.mk DESTDIR=$PWD/_pkg install
    1.15 +	
    1.16 +	# French suport
    1.17 +	tar xvzf ../stuff/seamonkey-2.0.2.fr.langpack.tar.gz
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 @@ -47,6 +49,14 @@
    1.22  	# Remove unecessary file and set permissions.
    1.23  	rm -rf $fs/etc/seamonkey/profile/US
    1.24  	chown -R root.root $fs/etc
    1.25 +
    1.26 +	# Add french langpack
    1.27 +	mkdir $fs/usr/lib/$PACKAGE-$VERSION/langpack-fr@seamonkey.mozilla.org
    1.28 +	cp -pa $src/seamonkey-2.0.2.fr.langpack/* \
    1.29 +		$fs/usr/lib/$PACKAGE-$VERSION/langpack-fr@seamonkey.mozilla.org
    1.30 +	# Create default user preference file
    1.31 +	cp stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
    1.32 +	
    1.33  }
    1.34  
    1.35  clean_wok()
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/seamonkey/stuff/prefs.js	Thu Jan 21 13:17:18 2010 +0100
     2.3 @@ -0,0 +1,14 @@
     2.4 +/*
     2.5 + * Default prefs.js for Seamonkey on SliTaz GNU/Linux.
     2.6 + *
     2.7 + * This file can be used to customize the look of Mozilla's user interface
     2.8 + * You should consider using !important on rules which you want to
     2.9 + * override default settings.
    2.10 + *
    2.11 + * For more examples see http://www.mozilla.org/unix/customizing.html
    2.12 + *
    2.13 + */
    2.14 +
    2.15 +user_pref("general.useragent.locale", "fr");
    2.16 +user_pref("browser.startup.homepage", "file:///usr/share/webhome/index.html");
    2.17 +user_pref("general.skins.selectedSkin", "modern/1.0");
     3.1 Binary file seamonkey/stuff/seamonkey-2.0.2.fr.langpack.tar.gz has changed