From 20f8dae473c419a8771edc37d6edf612b8b1381b Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Mar 10 2006 07:01:14 +0000 Subject: - Disable pango by default in non-indic locales per upstream request. Users can export MOZ_ENABLE_PANGO=1 to force pango support. --- diff --git a/thunderbird.sh.in b/thunderbird.sh.in index d79ec36..35f81e5 100644 --- a/thunderbird.sh.in +++ b/thunderbird.sh.in @@ -25,6 +25,17 @@ MOZ_CLIENT_PROGRAM="$MRE_HOME/thunderbird -remote" #MOZ_DISABLE_PANGO=1 #export MOZ_DISABLE_PANGO +# For now, in order to ship with firefox trademarks, we need to default to +# disable pango on non-indic locales. Use MOZ_ENABLE_PANGO=1 to force pango. +tmplang=${LC_CTYPE:-${LANG:-"en_US.UTF-8"}} +if ! echo $tmplang | grep "^..[_-]IN" > /dev/null; then + if [ -z "$MOZ_ENABLE_PANGO" ]; then + MOZ_DISABLE_PANGO=1 + export MOZ_DISABLE_PANGO + fi +fi + + function check_running() { $MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null RETURN_VAL=$? diff --git a/thunderbird.spec b/thunderbird.spec index 15067b8..d235551 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -8,7 +8,7 @@ Summary: Mozilla Thunderbird mail/newsgroup client Name: thunderbird Version: 1.5 -Release: 3 +Release: 4 Epoch: 0 URL: http://www.mozilla.org/projects/thunderbird/ License: MPL @@ -213,6 +213,10 @@ update-desktop-database %{_datadir}/applications #=============================================================================== %changelog +* Fri Mar 10 2006 Christopher Aillon - 1.5-4 +- Disable pango by default in non-indic locales per upstream request. + Users can export MOZ_ENABLE_PANGO=1 to force pango support. + * Fri Feb 10 2006 Christopher Aillon - 1.5-3 - Add dumpstack.patch - Improve the langpack install stuff