# HG changeset patch # User Eric Joseph-Alexandre # Date 1264076238 -3600 # Node ID 470c0f5d35c132641e1c9689c5c8af918319e3d7 # Parent 0aac1ee82f7ebda14a268401afedefd632c0cfac Fix: Add french langpack to seamonkey + switch to modern UI skin. diff -r 0aac1ee82f7e -r 470c0f5d35c1 seamonkey/receipt --- a/seamonkey/receipt Thu Jan 21 00:26:43 2010 +0100 +++ b/seamonkey/receipt Thu Jan 21 13:17:18 2010 +0100 @@ -1,7 +1,6 @@ # SliTaz package receipt. PACKAGE="seamonkey" -#VERSION="1.1.16" VERSION="2.0.2" CATEGORY="network" SHORT_DESC="Seamonkey suite (browser, mail, news reader)." @@ -27,6 +26,9 @@ EOF make -f client.mk build make -f client.mk DESTDIR=$PWD/_pkg install + + # French suport + tar xvzf ../stuff/seamonkey-2.0.2.fr.langpack.tar.gz } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -47,6 +49,14 @@ # Remove unecessary file and set permissions. rm -rf $fs/etc/seamonkey/profile/US chown -R root.root $fs/etc + + # Add french langpack + mkdir $fs/usr/lib/$PACKAGE-$VERSION/langpack-fr@seamonkey.mozilla.org + cp -pa $src/seamonkey-2.0.2.fr.langpack/* \ + $fs/usr/lib/$PACKAGE-$VERSION/langpack-fr@seamonkey.mozilla.org + # Create default user preference file + cp stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js + } clean_wok() diff -r 0aac1ee82f7e -r 470c0f5d35c1 seamonkey/stuff/prefs.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seamonkey/stuff/prefs.js Thu Jan 21 13:17:18 2010 +0100 @@ -0,0 +1,14 @@ +/* + * Default prefs.js for Seamonkey on SliTaz GNU/Linux. + * + * This file can be used to customize the look of Mozilla's user interface + * You should consider using !important on rules which you want to + * override default settings. + * + * For more examples see http://www.mozilla.org/unix/customizing.html + * + */ + +user_pref("general.useragent.locale", "fr"); +user_pref("browser.startup.homepage", "file:///usr/share/webhome/index.html"); +user_pref("general.skins.selectedSkin", "modern/1.0"); diff -r 0aac1ee82f7e -r 470c0f5d35c1 seamonkey/stuff/seamonkey-2.0.2.fr.langpack.tar.gz Binary file seamonkey/stuff/seamonkey-2.0.2.fr.langpack.tar.gz has changed