From 4a13134b8374bbcfb553667f04e9ee2273652b9479a060475dd5f97204c228e4 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Tue, 2 Dec 2014 22:01:52 +0000 Subject: [PATCH] - update to Firefox 34.0.5 (bnc#908009) * Default search engine changed to Yahoo! for North America * Default search engine changed to Yandex for Belarusian, Kazakh, and Russian locales * Improved search bar (en-US only) * Firefox Hello real-time communication client * Easily switch themes/personas directly in the Customizing mode * Implementation of HTTP/2 (draft14) and ALPN * Disabled SSLv3 * MFSA 2014-83/CVE-2014-1587/CVE-2014-1588 Miscellaneous memory safety hazards * MFSA 2014-84/CVE-2014-1589 (bmo#1043787) XBL bindings accessible via improper CSS declarations * MFSA 2014-85/CVE-2014-1590 (bmo#1087633) XMLHttpRequest crashes with some input streams * MFSA 2014-86/CVE-2014-1591 (bmo#1069762) CSP leaks redirect data via violation reports * MFSA 2014-87/CVE-2014-1592 (bmo#1088635) Use-after-free during HTML5 parsing * MFSA 2014-88/CVE-2014-1593 (bmo#1085175) Buffer overflow while parsing media content * MFSA 2014-89/CVE-2014-1594 (bmo#1074280) Bad casting from the BasicThebesLayer to BasicContainerLayer - rebased patches - limit linker memory usage for %ix86 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=415 --- MozillaFirefox.changes | 30 +++- MozillaFirefox.spec | 19 +-- compare-locales.tar.xz | 4 +- create-tar.sh | 4 +- firefox-33.1-source.tar.xz | 3 - firefox-34.0.5-source.tar.xz | 3 + firefox-kde-114.patch | 40 ++--- firefox-kde.patch | 185 ++++++++++++----------- firefox-multilocale-chrome.patch | 39 +---- firefox-no-default-ualocale.patch | 6 +- l10n-33.1.tar.xz | 3 - l10n-34.0.5.tar.xz | 3 + mozilla-kde.patch | 234 ++++++++++++++++-------------- mozilla-language.patch | 8 +- mozilla-preferences.patch | 6 +- mozilla-repo.patch | 29 +--- mozilla-shared-nss-db.patch | 82 ++++++----- source-stamp.txt | 2 +- 18 files changed, 356 insertions(+), 344 deletions(-) delete mode 100644 firefox-33.1-source.tar.xz create mode 100644 firefox-34.0.5-source.tar.xz delete mode 100644 l10n-33.1.tar.xz create mode 100644 l10n-34.0.5.tar.xz diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 2434dc7..5ef105b 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Sat Nov 29 21:23:03 UTC 2014 - wr@rosenauer.org + +- update to Firefox 34.0.5 (bnc#908009) + * Default search engine changed to Yahoo! for North America + * Default search engine changed to Yandex for Belarusian, Kazakh, + and Russian locales + * Improved search bar (en-US only) + * Firefox Hello real-time communication client + * Easily switch themes/personas directly in the Customizing mode + * Implementation of HTTP/2 (draft14) and ALPN + * Disabled SSLv3 + * MFSA 2014-83/CVE-2014-1587/CVE-2014-1588 + Miscellaneous memory safety hazards + * MFSA 2014-84/CVE-2014-1589 (bmo#1043787) + XBL bindings accessible via improper CSS declarations + * MFSA 2014-85/CVE-2014-1590 (bmo#1087633) + XMLHttpRequest crashes with some input streams + * MFSA 2014-86/CVE-2014-1591 (bmo#1069762) + CSP leaks redirect data via violation reports + * MFSA 2014-87/CVE-2014-1592 (bmo#1088635) + Use-after-free during HTML5 parsing + * MFSA 2014-88/CVE-2014-1593 (bmo#1085175) + Buffer overflow while parsing media content + * MFSA 2014-89/CVE-2014-1594 (bmo#1074280) + Bad casting from the BasicThebesLayer to BasicContainerLayer +- rebased patches +- limit linker memory usage for %ix86 + ------------------------------------------------------------------- Fri Nov 7 20:14:32 UTC 2014 - wr@rosenauer.org @@ -7,7 +36,6 @@ Fri Nov 7 20:14:32 UTC 2014 - wr@rosenauer.org * Enhanced Tiles * Privacy tour introduced - fix typo in GStreamer Recommends -- requires NSS 3.17.2 ------------------------------------------------------------------- Tue Nov 4 18:00:35 UTC 2014 - guillaume@opensuse.org diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 4121d2b..5098dd7 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -18,10 +18,10 @@ # changed with every update -%define major 33 -%define mainver %major.1 +%define major 34 +%define mainver %major.0.5 %define update_channel release -%define releasedate 2014110600 +%define releasedate 2014112600 # general build definitions %define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} @@ -56,14 +56,6 @@ %else %define crashreporter 1 %endif -%if 0%{?suse_version} > 1210 -%if 0%{?suse_version} > 1310 -%define gstreamer_ver 1.0 -%define gstreamer 1 -%else -%define gstreamer_ver 0.10 -%endif -%endif Name: MozillaFirefox BuildRequires: Mesa-devel @@ -295,11 +287,10 @@ export BUILD_OFFICIAL=1 export MOZ_TELEMETRY_REPORTING=1 export MOZ_GOOGLE_API_KEY=%{_google_api_key} export CFLAGS="%{optflags} -fno-strict-aliasing" -%ifarch %ix86 -export CFLAGS="${CFLAGS} -Os" -%endif %ifarch %arm export CFLAGS="${CFLAGS/-g / }" +%endif +%ifarch %arm %ix86 # Limit RAM usage during link export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %endif diff --git a/compare-locales.tar.xz b/compare-locales.tar.xz index b234102..e799976 100644 --- a/compare-locales.tar.xz +++ b/compare-locales.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d2e6d8c186ebcd6b6ee1122305c439cbdb90e06a9ecb66567739ff470e00530b -size 28416 +oid sha256:63c9dc89cf88f95f3c12ade272ab7658426be5941f2475d039ec25e60642624e +size 28420 diff --git a/create-tar.sh b/create-tar.sh index 671f18a..07bb390 100644 --- a/create-tar.sh +++ b/create-tar.sh @@ -2,8 +2,8 @@ CHANNEL="release" BRANCH="releases/mozilla-$CHANNEL" -RELEASE_TAG="FIREFOX_33_1_RELEASE" -VERSION="33.1" +RELEASE_TAG="FIREFOX_34_0_5_RELEASE" +VERSION="34.0.5" # mozilla if [ -d mozilla ]; then diff --git a/firefox-33.1-source.tar.xz b/firefox-33.1-source.tar.xz deleted file mode 100644 index f27b26d..0000000 --- a/firefox-33.1-source.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b1364cb142052a8c00143dd15c7192ba47ae5648f4380f14a2e2d8b8f22c9a2 -size 132110996 diff --git a/firefox-34.0.5-source.tar.xz b/firefox-34.0.5-source.tar.xz new file mode 100644 index 0000000..9146d5c --- /dev/null +++ b/firefox-34.0.5-source.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f5848e377636af4e66c6fa738e61bd9623f0e4b60a94d4d8ee3d54b4976d24b +size 139718892 diff --git a/firefox-kde-114.patch b/firefox-kde-114.patch index 5b50d2d..cafbd21 100644 --- a/firefox-kde-114.patch +++ b/firefox-kde-114.patch @@ -1,27 +1,27 @@ # HG changeset patch # User Wolfgang Rosenauer -# Parent ba2d9b1374e15e7c339a44452169d0afac2ca82e +# Parent a5921092e6fb2dc39b1426139eb8406f5fd3cfa9 With openSUSE 11.4 the desktop file name changed from MozillaFirefox to firefox -diff --git a/browser/components/preferences/advanced.js b/browser/components/preferences/advanced.js ---- a/browser/components/preferences/advanced.js -+++ b/browser/components/preferences/advanced.js -@@ -751,17 +751,17 @@ var gAdvancedPane = { - if (kde_session == 1) { - var shellObj = Components.classes["@mozilla.org/file/local;1"] - .createInstance(Components.interfaces.nsILocalFile); - shellObj.initWithPath("/usr/bin/kwriteconfig"); - var process = Components.classes["@mozilla.org/process/util;1"] - .createInstance(Components.interfaces.nsIProcess); - process.init(shellObj); - var args = ["--file", "kdeglobals", "--group", "General", "--key", -- "BrowserApplication", "MozillaFirefox"]; -+ "BrowserApplication", "firefox"]; - process.run(false, args, args.length); +diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js +--- a/browser/components/preferences/main.js ++++ b/browser/components/preferences/main.js +@@ -511,17 +511,17 @@ var gMainPane = { + if (kde_session == 1) { + var shellObj = Components.classes["@mozilla.org/file/local;1"] + .createInstance(Components.interfaces.nsILocalFile); + shellObj.initWithPath("/usr/bin/kwriteconfig"); + var process = Components.classes["@mozilla.org/process/util;1"] + .createInstance(Components.interfaces.nsIProcess); + process.init(shellObj); + var args = ["--file", "kdeglobals", "--group", "General", "--key", +- "BrowserApplication", "MozillaFirefox"]; ++ "BrowserApplication", "firefox"]; + process.run(false, args, args.length); + } + } catch (ex) { + Components.utils.reportError(ex); + return; } let selectedIndex = shellSvc.isDefaultBrowser(false, true) ? 1 : 0; - document.getElementById("setDefaultPane").selectedIndex = selectedIndex; - } - #endif - }; diff --git a/firefox-kde.patch b/firefox-kde.patch index 3545943..0890199 100644 --- a/firefox-kde.patch +++ b/firefox-kde.patch @@ -2,7 +2,7 @@ diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser new file mode 100644 --- /dev/null +++ b/browser/base/content/browser-kde.xul -@@ -0,0 +1,1238 @@ +@@ -0,0 +1,1269 @@ +#filter substitution + +# -*- Mode: HTML -*- @@ -145,6 +145,9 @@ new file mode 100644 + +