# HG changeset patch # User Dominique Corbex # Date 1334862275 -7200 # Node ID 0fcb283af425cb3afe3af99aad53efa7ac0c567b # Parent e7e64bbf23860c167d503f46589f0e1ef6497e7a thunderbird: fix error msg at startup diff -r e7e64bbf2386 -r 0fcb283af425 thunderbird/receipt --- a/thunderbird/receipt Thu Apr 19 21:02:13 2012 +0200 +++ b/thunderbird/receipt Thu Apr 19 21:04:35 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="thunderbird" -VERSION="11.0" +VERSION="11.0.1" CATEGORY="network" SHORT_DESC="Mozilla's Thunderbird email application." MAINTAINER="domcox@slitaz.org" @@ -15,13 +15,13 @@ WEB_SITE="http://www.mozilla.org/" WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL" TAGS="email pop imap smtp" -LANG="de es_ES fr en_GB pt_PT pt_BR ru" +TB_LOCALES="de es_ES fr en_GB pt_PT pt_BR ru" # Rules to configure and make the package. compile_rules() { cat <> $src/.mozconfig - echo "mk_add_options MOZ_CO_LOCALES=\"$LANG\"" >> $src/.mozconfig + echo -e "\n# languages" >> $src/.mozconfig + echo "mk_add_options MOZ_CO_LOCALES=\"$TB_LOCALES\"" >> $src/.mozconfig # for a quick build - echo "# build quicker" >> $src/.mozconfig - echo 'mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS"' >> $src/.mozconfig + echo -e "\n# build quicker" >> $src/.mozconfig + echo "mk_add_options MOZ_MAKE_FLAGS=$MAKEFLAGS" >> $src/.mozconfig # build cd $src patch -Np1 -i $stuff/thunderbird-3.0-lang.patch @@ -51,9 +51,9 @@ # program cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr - # adding mime-type (x-html) - cp $stuff/mimeTypes.rdf $fs/usr/lib/$PACKAGE/defaults/profile + # mcd + cp $stuff/autoconf.js $fs/usr/lib/$PACKAGE/defaults/pref + cp $stuff/thunderbird.cfg $fs/usr/lib/$PACKAGE + # mimetypes + } - - - diff -r e7e64bbf2386 -r 0fcb283af425 thunderbird/stuff/autoconf.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thunderbird/stuff/autoconf.js Thu Apr 19 21:04:35 2012 +0200 @@ -0,0 +1,5 @@ +// SliTaz 2012 +// + +pref("general.config.obscure_value", 0); // for MCD .cfg files +pref('general.config.filename', 'thunderbird.cfg'); // for MCD .cfg files diff -r e7e64bbf2386 -r 0fcb283af425 thunderbird/stuff/thunderbird.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thunderbird/stuff/thunderbird.cfg Thu Apr 19 21:04:35 2012 +0200 @@ -0,0 +1,8 @@ +// SliTaz 2012 +// +try { + pref("network.protocol-handler.app.http", "/usr/bin/midori"); + pref("network.protocol-handler.app.https", "/usr/bin/midori"); +} catch(e) { + displayError("pref", e); +} diff -r e7e64bbf2386 -r 0fcb283af425 thunderbird/stuff/thunderbird.mozconfig.conf --- a/thunderbird/stuff/thunderbird.mozconfig.conf Thu Apr 19 21:02:13 2012 +0200 +++ b/thunderbird/stuff/thunderbird.mozconfig.conf Thu Apr 19 21:04:35 2012 +0200 @@ -66,7 +66,7 @@ # The pthreads option is only used when building nspr # Uncomment this if you build the included nspr. -#ac_add_options --with-pthreads +ac_add_options --with-pthreads # zlib is included in LFS. Do not comment this line. ac_add_options --with-system-zlib @@ -78,6 +78,7 @@ ac_add_options --disable-accessibility # Uncomment this if you did not build curl. +# Use --disable-crashreporter to disable the crash reporter. ac_add_options --disable-crashreporter # Comment this if you have built dbus-glib. @@ -108,7 +109,7 @@ # Thunderbird name embedded in them. Due to license restrictions, you # may not distribute binaries created using this option. It also # means you get a popup EULA when you first run thunderbird. -#ac_add_options --disable-official-branding +ac_add_options --enable-official-branding # This option is used to enable source tree included LDAP support in # the Firefox binaries. This used to be required for mozab support in @@ -121,7 +122,7 @@ # this option if you may have a need to retain the debugging symbols # in the installed binaries (the resulting binaries will be about 7MB # bigger). -ac_add_options --enable-strip +#ac_add_options --enable-strip # Uncomment this option if you desire support for dual-monitor # display using the X-Window Xinerama libraries. @@ -137,10 +138,6 @@ #ac_add_options --with-system-libxul #ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-devel-1.9.2.8 -# curl is required for the crash reporter. -# Use --disable-crashreporter to disable the crash reporter. -ac_add_options --disable-crashreporter - # disable webm video format ac_add_options --disable-webm @@ -163,7 +160,7 @@ ac_add_options --disable-feeds # disable mozStorage module and related components -ac_add_options --enable-storage +#ac_add_options --disable-storage # disable logging facilities ac_add_options --disable-logging @@ -172,5 +169,4 @@ ac_add_options --with-system-libevent # disable java -ac_add_options --disable-javaxpcom - +#ac_add_options --disable-javaxpcom