From 72e447acbb17c2fb307986717b24990354a8c076 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 15 Nov 2011 09:12:44 +0100 Subject: Temporary workaround for langpacks (#753551) --- firefox-8.0-enable-addons.patch | 12 ++++++++++++ firefox.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 firefox-8.0-enable-addons.patch 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 - 8.0-2 +- Temporary workaround for langpacks (#753551) + * Tue Nov 8 2011 Jan Horak - 8.0-1 - Update to 8.0 -- cgit