[firefox/f15] Temporary workaround for langpacks (#753551)

Martin Stransky stransky at fedoraproject.org
Tue Nov 15 08:13:51 UTC 2011


commit 72e447acbb17c2fb307986717b24990354a8c076
Author: Martin Stransky <stransky at anakreon.cz>
Date:   Tue Nov 15 09:12:44 2011 +0100

    Temporary workaround for langpacks (#753551)

 firefox-8.0-enable-addons.patch |   12 ++++++++++++
 firefox.spec                    |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/firefox-8.0-enable-addons.patch b/firefox-8.0-enable-addons.patch
new file mode 100644
index 0000000..ae847f8
--- /dev/null
+++ b/firefox-8.0-enable-addons.patch
@@ -0,0 +1,12 @@
+diff -up firefox-8.0/mozilla-release/browser/app/profile/firefox.js.old firefox-8.0/mozilla-release/browser/app/profile/firefox.js
+--- firefox-8.0/mozilla-release/browser/app/profile/firefox.js.old	2011-11-04 22:33:52.000000000 +0100
++++ firefox-8.0/mozilla-release/browser/app/profile/firefox.js	2011-11-14 23:21:49.841058452 +0100
+@@ -77,7 +77,7 @@ pref("extensions.update.autoUpdateDefaul
+ // Disable add-ons installed into the shared user and shared system areas by
+ // default. This does not include the application directory. See the SCOPE
+ // constants in AddonManager.jsm for values to use here
+-pref("extensions.autoDisableScopes", 15);
++pref("extensions.autoDisableScopes", 0);
+ 
+ // Dictionary download preference
+ pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
diff --git a/firefox.spec b/firefox.spec
index 15025f0..76bfab1 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -44,7 +44,7 @@
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        8.0
-Release:        1%{?pre_tag}%{?dist}
+Release:        2%{?pre_tag}%{?dist}
 URL:            http://www.mozilla.org/projects/firefox/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -65,6 +65,7 @@ Patch0:         firefox-install-dir.patch
 
 # Fedora patches
 Patch14:        firefox-5.0-asciidel.patch
+Patch15:        firefox-8.0-enable-addons.patch
 
 # Upstream patches
 
@@ -108,6 +109,7 @@ cd %{tarballdir}
 
 # Fedora patches
 %patch14 -p1 -b .asciidel
+%patch15 -p2 -b .addons
 
 # Upstream patches
 
@@ -339,6 +341,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 #---------------------------------------------------------------------
 
 %changelog
+* Tue Nov 15 2011 Martin Stransky <stransky at redhat.com> - 8.0-2
+- Temporary workaround for langpacks (#753551)
+
 * Tue Nov  8 2011 Jan Horak <jhorak at redhat.com> - 8.0-1
 - Update to 8.0
 


More information about the scm-commits mailing list