- Disable pango by default in non-indic locales per upstream request. Users

can export MOZ_ENABLE_PANGO=1 to force pango support.
This commit is contained in:
Christopher Aillon 2006-03-10 06:57:11 +00:00
parent edd3426856
commit f381d84d80
2 changed files with 18 additions and 3 deletions

View File

@ -83,12 +83,23 @@ FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft"
export FONTCONFIG_PATH export FONTCONFIG_PATH
## ##
## Set MOZ_ENABLE_PANGO is no longer used because Pango is enabled by default ## Set MOZ_ENABLE_PANGO=1 to force enabling pango
## you may use MOZ_DISABLE_PANGO=1 to force disabling of pango ## Set MOZ_DISABLE_PANGO=1 to force disabling of pango
## ##
#MOZ_DISABLE_PANGO=1 #MOZ_DISABLE_PANGO=1
#export MOZ_DISABLE_PANGO #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() { function check_running() {
$MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM 'ping()' 2>/dev/null >/dev/null $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM 'ping()' 2>/dev/null >/dev/null
RETURN_VAL=$? RETURN_VAL=$?

View File

@ -9,7 +9,7 @@
Summary: Mozilla Firefox Web browser. Summary: Mozilla Firefox Web browser.
Name: firefox Name: firefox
Version: 1.5.0.1 Version: 1.5.0.1
Release: 7 Release: 8
URL: http://www.mozilla.org/projects/firefox/ URL: http://www.mozilla.org/projects/firefox/
License: MPL/LGPL License: MPL/LGPL
Group: Applications/Internet Group: Applications/Internet
@ -265,6 +265,10 @@ fi
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Fri Mar 10 2006 Christopher Aillon <caillon@redhat.com> - 1.5.0.1-8
- Disable pango by default in non-indic locales per upstream request.
Users can export MOZ_ENABLE_PANGO=1 to force pango support.
* Mon Mar 6 2006 Warren Togami <wtogami@redhat.com> - 1.5.0.1-7 * Mon Mar 6 2006 Warren Togami <wtogami@redhat.com> - 1.5.0.1-7
- make links point to the correct release - make links point to the correct release