rpms/firefox/F-13 firefox.sh.in,1.38,1.39 firefox.spec,1.358,1.359
Christopher Aillon
caillon at fedoraproject.org
Tue Mar 9 18:58:16 UTC 2010
Author: caillon
Update of /cvs/pkgs/rpms/firefox/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32618
Modified Files:
firefox.sh.in firefox.spec
Log Message:
Sync changes from F-14:
* Wed Feb 24 2010 Martin Stransky <stransky at redhat.com> - 3.6.1-2
- Added fix for #559960 - [all Lang]Translation is not
available with 3.6 release
Index: firefox.sh.in
===================================================================
RCS file: /cvs/pkgs/rpms/firefox/F-13/firefox.sh.in,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- firefox.sh.in 7 Jan 2010 11:36:50 -0000 1.38
+++ firefox.sh.in 9 Mar 2010 18:58:16 -0000 1.39
@@ -182,11 +182,16 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
rm `cat $FEDORA_LANGPACK_CONFIG` > /dev/null 2>&1
rm $FEDORA_LANGPACK_CONFIG > /dev/null 2>&1
fi
+
+ # Get locale from system
+ CURRENT_LOCALE=$LC_ALL
+ CURRENT_LOCALE=${CURRENT_LOCALE:-$LC_MESSAGES}
+ CURRENT_LOCALE=${CURRENT_LOCALE:-$LANG}
# Try without a local variant first, then with a local variant
# So that pt-BR doesn't try to use pt for example
- SHORTMOZLOCALE=`echo $LC_MESSAGES | sed "s|_\([^.]*\).*||g"`
- MOZLOCALE=`echo $LC_MESSAGES | sed "s|_\([^.]*\).*|-\1|g"`
+ SHORTMOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*||g"`
+ MOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*|-\1|g"`
# Try to link global langpacks to an extension directory
if [ -f $MOZ_LANGPACKS_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org/chrome/$SHORTMOZLOCALE.jar ]; then
Index: firefox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/firefox/F-13/firefox.spec,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -p -r1.358 -r1.359
--- firefox.spec 22 Jan 2010 10:19:19 -0000 1.358
+++ firefox.spec 9 Mar 2010 18:58:16 -0000 1.359
@@ -5,8 +5,11 @@
%define mozappdir %{_libdir}/%{name}-%{internal_version}
%define tarballdir mozilla-1.9.2
+# xulrunner_version matches the firefox package.
+# xulrunner_version_max is first next incompatible xulrunner version
%define xulrunner_version 1.9.2.1-1
-%define xulrunner_version_max 1.9.3
+%define xulrunner_version_max 1.9.2.2
+
%define internal_version 3.6
%define official_branding 1
@@ -21,7 +24,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 3.6.1
-Release: 1%{?prever}%{?dist}
+Release: 2%{?prever}%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -348,6 +351,10 @@ gtk-update-icon-cache %{_datadir}/icons/
#---------------------------------------------------------------------
%changelog
+* Wed Feb 24 2010 Martin Stransky <stransky at redhat.com> - 3.6.1-2
+- Added fix for #559960 - [all Lang]Translation is not
+ available with 3.6 release
+
* Wed Jan 18 2010 Martin Stransky <stransky at redhat.com> - 3.6.1-1
- Update to 3.6
More information about the scm-commits
mailing list