- Add a notice to the about dialog denoting this is a pango enabled build.

- Tweak the user agent denoting this is a pango enabled build.
This commit is contained in:
Christopher Aillon 2006-03-13 07:47:23 +00:00
parent f381d84d80
commit da97c6e2f3
2 changed files with 19 additions and 20 deletions

View File

@ -83,22 +83,17 @@ FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft"
export FONTCONFIG_PATH
##
## Set MOZ_ENABLE_PANGO=1 to force enabling pango
## Set MOZ_DISABLE_PANGO=1 to force disabling of pango
## In order to better support certain scripts (such as Indic and some CJK
## scripts), Fedora builds its Firefox, with permission from the Mozilla
## Corporation, with the Pango system as its text renderer. This change
## is known to break rendering of MathML, and may negatively impact
## performance on some pages. To disable the use of Pango, set
## MOZ_DISABLE_PANGO=1 in your environment before launching Firefox.
##
#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
#
# MOZ_DISABLE_PANGO=1
# export MOZ_DISABLE_PANGO
#
function check_running() {
$MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM 'ping()' 2>/dev/null >/dev/null

View File

@ -9,7 +9,7 @@
Summary: Mozilla Firefox Web browser.
Name: firefox
Version: 1.5.0.1
Release: 8
Release: 9
URL: http://www.mozilla.org/projects/firefox/
License: MPL/LGPL
Group: Applications/Internet
@ -57,6 +57,8 @@ Patch81: firefox-nopangoxft.patch
# patches from upstream (Patch100+)
Patch100: firefox-1.5-pango-typo.patch
Patch101: firefox-1.5-pango-ua.patch
Patch102: firefox-1.5-pango-about.patch
# ---------------------------------------------------
@ -119,7 +121,9 @@ compliance, performance and portability.
%patch42 -p0
%patch81 -p1
%patch100 -p0
%patch100 -p0 -b .pango-typo
%patch101 -p0 -b .pango-ua
%patch102 -p0 -b .pango-about
%{__rm} -f .mozconfig
%{__cp} %{SOURCE10} .mozconfig
@ -265,9 +269,9 @@ fi
#---------------------------------------------------------------------
%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.
* Sat Mar 11 2006 Christopher Aillon <caillon@redhat.com> - 1.5.0.1-9
- Add a notice to the about dialog denoting this is a pango enabled build.
- Tweak the user agent denoting this is a pango enabled build.
* Mon Mar 6 2006 Warren Togami <wtogami@redhat.com> - 1.5.0.1-7
- make links point to the correct release