merge latest from 59.x
authorWolfgang Rosenauer <wr@rosenauer.org>
Sun, 01 Apr 2018 23:51:44 +0200
changeset 1044 142a0c92607c
parent 1037 d61b64679bb4 (current diff)
parent 1043 5ba4fbb8bed7 (diff)
child 1045 f645c886d36b
merge latest from 59.x
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/create-tar.sh
--- a/MozillaFirefox/MozillaFirefox.changes	Tue Mar 13 20:14:45 2018 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes	Sun Apr 01 23:51:44 2018 +0200
@@ -1,4 +1,63 @@
 -------------------------------------------------------------------
+Sun Apr  1 20:02:44 UTC 2018 - wr@rosenauer.org
+
+- update to Firefox 60.0b8
+- requires NSPR 4.19 and NSS 3.36
+
+-------------------------------------------------------------------
+Tue Mar 27 14:07:11 UTC 2018 - schwab@suse.de
+
+- Reduce constraints on aarch64
+
+-------------------------------------------------------------------
+Tue Mar 27 06:40:25 UTC 2018 - wr@rosenauer.org
+
+- update to Firefox 59.0.2
+  * Invalid page rendering with hardware acceleration enabled (bmo#1435472)
+  * Browser keyboard shortcuts (eg copy Ctrl+C) don't work on sites
+    that use those keys with resistFingerprinting enabled (bmo#1433592)
+  * High CPU / memory churn caused by third-party software on some
+    computers (bmo#1446280)
+  * Users who have configured an "automatic proxy configuration URL"
+    and want to reload their proxy settings from the URL will find
+    the Reload button disabled in the Connection Settings dialog when
+    they select Preferences/Options>Network Proxy>Settings... (bmo#1445991)
+  * URL Fragment Identifiers Break Service Worker Responses (bmo#1443850)
+  * User's trying to cancel a print around the time it completes will
+    continue to get intermittent crashes (bmo#1441598)
+  MFSA 2018-10 (bsc#1087059)
+  * CVE-2018-5148 (bmo#1440717)
+    Use-after-free in compositor
+- removed obsolete patch mozilla-bmo1446062.patch
+
+-------------------------------------------------------------------
+Wed Mar 21 17:14:24 UTC 2018 - cgrobertson@suse.com
+
+- Added patches:
+  * mozilla-i586-DecoderDoctorLogger.patch - bmo#1447070
+    fixes non-unified build error
+  * mozilla-i586-domPrefs.patch - DOMPrefs.h
+    fixes 32bit build error
+
+-------------------------------------------------------------------
+Fri Mar 16 06:40:11 UTC 2018 - wr@rosenauer.org
+
+- update to Firefox 59.0.1 (bsc#1085671)
+  MFSA 2018-08
+  * CVE-2018-5146 (bmo#1446062)
+    Vorbis audio processing out of bounds write
+  * CVE-2018-5147 (bmo#1446365)
+    Out of bounds memory write in libtremor
+    (mozilla-bmo1446062.patch)
+
+-------------------------------------------------------------------
+Wed Mar 14 19:27:07 UTC 2018 - cgrobertson@suse.com
+
+- Added patch:
+  * mozilla-bmo1005535.patch:
+    Enable skia_gpu on big endian platforms.
+
+-------------------------------------------------------------------
 Sun Mar 11 22:12:12 UTC 2018 - wr@rosenauer.org
 
 - update to Firefox 59.0
@@ -55,6 +114,16 @@
   Firefox source tree (updated create-tar.sh now requires jq)
 
 -------------------------------------------------------------------
+Fri Feb  9 13:37:46 UTC 2018 - astieger@suse.com
+
+- Mozilla Firefox 58.0.2:
+  * Blocklisted graphics drivers related to off main thread painting
+    crashes
+  * Fix tab crash during printing
+  * Fix clicking links and scrolling emails on Microsoft Hotmail
+    and Outlook (OWA) webmail
+
+-------------------------------------------------------------------
 Fri Feb  9 12:06:31 UTC 2018 - wr@rosenauer.org
 
 - correct requires and provides handling (boo#1076907)
--- a/MozillaFirefox/MozillaFirefox.spec	Tue Mar 13 20:14:45 2018 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec	Sun Apr 01 23:51:44 2018 +0200
@@ -19,10 +19,10 @@
 
 # changed with every update
 %define major 59
-%define mainver %major.0
-%define update_channel release
+%define mainver %major.99
+%define update_channel beta
 %define branding 1
-%define releasedate 20180310025718
+%define releasedate 20180323154952
 
 # PIE, full relro (x86_64 for now)
 %define build_hardened 1
@@ -70,11 +70,11 @@
 BuildRequires:  libnotify-devel
 BuildRequires:  libproxy-devel
 BuildRequires:  makeinfo
-BuildRequires:  mozilla-nspr-devel >= 4.18
-BuildRequires:  mozilla-nss-devel >= 3.35
+BuildRequires:  mozilla-nspr-devel >= 4.19
+BuildRequires:  mozilla-nss-devel >= 3.36
 BuildRequires:  python-devel
 BuildRequires:  python2-xml
-BuildRequires:  rust >= 1.22.1
+BuildRequires:  rust >= 1.24
 BuildRequires:  rust-std
 BuildRequires:  startup-notification-devel
 BuildRequires:  unzip
@@ -150,6 +150,9 @@
 Patch6:         mozilla-reduce-files-per-UnifiedBindings.patch
 Patch7:         mozilla-aarch64-startup-crash.patch
 Patch8:         mozilla-bmo256180.patch
+Patch9:         mozilla-bmo1005535.patch
+Patch10:        mozilla-i586-DecoderDoctorLogger.patch
+Patch11:        mozilla-i586-domPrefs.patch
 # Firefox/browser
 Patch101:       firefox-kde.patch
 Patch102:       firefox-branded-icons.patch
@@ -260,6 +263,11 @@
 %endif
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
+%ifarch %ix86
+%patch10 -p1
+%patch11 -p1
+%endif
 # Firefox
 %patch101 -p1
 %patch102 -p1
@@ -333,7 +341,7 @@
 ac_add_options --disable-optimize
 %endif
 %endif
-%ifarch ppc ppc64 ppc64le %arm
+%ifarch %arm
 ac_add_options --disable-elf-hack
 %endif
 ac_add_options --with-system-nspr
--- a/MozillaFirefox/_constraints	Tue Mar 13 20:14:45 2018 +0100
+++ b/MozillaFirefox/_constraints	Sun Apr 01 23:51:44 2018 +0200
@@ -5,7 +5,7 @@
       <size unit="G">16</size>
     </disk>
     <memory>
-      <size unit="M">9000</size>
+      <size unit="G">12</size>
     </memory>
   </hardware>
   <overwrite>
@@ -19,4 +19,14 @@
       </memory>
     </hardware>
   </overwrite>
+  <overwrite>
+    <conditions>
+      <arch>aarch64</arch>
+    </conditions>
+    <hardware>
+      <memory>
+        <size unit="G">9</size>
+      </memory>
+    </hardware>
+  </overwrite>
 </constraints>
--- a/MozillaFirefox/create-tar.sh	Tue Mar 13 20:14:45 2018 +0100
+++ b/MozillaFirefox/create-tar.sh	Sun Apr 01 23:51:44 2018 +0200
@@ -5,10 +5,10 @@
 # "moz_source_stamp": "c1de04f39fa956cfce83f6065b0e709369215ed5"
 # http://ftp.mozilla.org/pub/firefox/candidates/48.0-candidates/build2/l10n_changesets.txt
 
-CHANNEL="release"
+CHANNEL="beta"
 BRANCH="releases/mozilla-$CHANNEL"
-RELEASE_TAG="c61f5f5ead48c78a80c80db5c489bdc7cfaf8175"
-VERSION="59.0"
+RELEASE_TAG="FIREFOX_60_0b8_RELEASE"
+VERSION="59.99"
 
 # check required tools
 test -x /usr/bin/hg || ( echo "hg missing: execute zypper in mercurial"; exit 5 )
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-bmo1005535.patch	Sun Apr 01 23:51:44 2018 +0200
@@ -0,0 +1,1 @@
+../mozilla-bmo1005535.patch
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-i586-DecoderDoctorLogger.patch	Sun Apr 01 23:51:44 2018 +0200
@@ -0,0 +1,1 @@
+../mozilla-i586-DecoderDoctorLogger.patch
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-i586-domPrefs.patch	Sun Apr 01 23:51:44 2018 +0200
@@ -0,0 +1,1 @@
+../mozilla-i586-domPrefs.patch
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-bmo1005535.patch	Sun Apr 01 23:51:44 2018 +0200
@@ -0,0 +1,123 @@
+# HG changeset patch
+# Parent 376f185a0a757fe128be665adbb705f4a56461bc
+# User Steve Singer <steve@ssinger.info>
+# Parent  371f01835b6fe4cb6b7095a6c29f7bb54f6d6257
+Bug 1005535 - Get skia GPU building on big endian.
+
+diff --git a/gfx/skia/skia/include/core/SkColorPriv.h b/gfx/skia/skia/include/core/SkColorPriv.h
+--- a/gfx/skia/skia/include/core/SkColorPriv.h
++++ b/gfx/skia/skia/include/core/SkColorPriv.h
+@@ -27,37 +27,27 @@
+  *  For easier compatibility with Skia's GPU backend, we further restrict these
+  *  to either (in memory-byte-order) RGBA or BGRA. Note that this "order" does
+  *  not directly correspond to the same shift-order, since we have to take endianess
+  *  into account.
+  *
+  *  Here we enforce this constraint.
+  */
+ 
+-#ifdef SK_CPU_BENDIAN
+-    #define SK_RGBA_R32_SHIFT   24
+-    #define SK_RGBA_G32_SHIFT   16
+-    #define SK_RGBA_B32_SHIFT   8
+-    #define SK_RGBA_A32_SHIFT   0
+ 
+-    #define SK_BGRA_B32_SHIFT   24
+-    #define SK_BGRA_G32_SHIFT   16
+-    #define SK_BGRA_R32_SHIFT   8
+-    #define SK_BGRA_A32_SHIFT   0
+-#else
+     #define SK_RGBA_R32_SHIFT   0
+     #define SK_RGBA_G32_SHIFT   8
+     #define SK_RGBA_B32_SHIFT   16
+     #define SK_RGBA_A32_SHIFT   24
+ 
+     #define SK_BGRA_B32_SHIFT   0
+     #define SK_BGRA_G32_SHIFT   8
+     #define SK_BGRA_R32_SHIFT   16
+     #define SK_BGRA_A32_SHIFT   24
+-#endif
++
+ 
+ #if defined(SK_PMCOLOR_IS_RGBA) && defined(SK_PMCOLOR_IS_BGRA)
+     #error "can't define PMCOLOR to be RGBA and BGRA"
+ #endif
+ 
+ #define LOCAL_PMCOLOR_SHIFTS_EQUIVALENT_TO_RGBA  \
+     (SK_A32_SHIFT == SK_RGBA_A32_SHIFT &&    \
+      SK_R32_SHIFT == SK_RGBA_R32_SHIFT &&    \
+diff --git a/gfx/skia/skia/include/core/SkImageInfo.h b/gfx/skia/skia/include/core/SkImageInfo.h
+--- a/gfx/skia/skia/include/core/SkImageInfo.h
++++ b/gfx/skia/skia/include/core/SkImageInfo.h
+@@ -78,17 +78,17 @@ enum SkColorType {
+ 
+     kLastEnum_SkColorType = kRGBA_F16_SkColorType,
+ 
+ #if SK_PMCOLOR_BYTE_ORDER(B,G,R,A)
+     kN32_SkColorType = kBGRA_8888_SkColorType,
+ #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A)
+     kN32_SkColorType = kRGBA_8888_SkColorType,
+ #else
+-    #error "SK_*32_SHFIT values must correspond to BGRA or RGBA byte order"
++    kN32_SkColorType = kBGRA_8888_SkColorType
+ #endif
+ };
+ 
+ static int SkColorTypeBytesPerPixel(SkColorType ct) {
+     static const uint8_t gSize[] = {
+         0,  // Unknown
+         1,  // Alpha_8
+         2,  // RGB_565
+diff --git a/gfx/skia/skia/include/gpu/GrColor.h b/gfx/skia/skia/include/gpu/GrColor.h
+--- a/gfx/skia/skia/include/gpu/GrColor.h
++++ b/gfx/skia/skia/include/gpu/GrColor.h
+@@ -69,17 +69,17 @@ static inline GrColor GrColorPackA4(unsi
+ #define GrColorUnpackG(color)   (((color) >> GrColor_SHIFT_G) & 0xFF)
+ #define GrColorUnpackB(color)   (((color) >> GrColor_SHIFT_B) & 0xFF)
+ #define GrColorUnpackA(color)   (((color) >> GrColor_SHIFT_A) & 0xFF)
+ 
+ /**
+  *  Since premultiplied means that alpha >= color, we construct a color with
+  *  each component==255 and alpha == 0 to be "illegal"
+  */
+-#define GrColor_ILLEGAL     (~(0xFF << GrColor_SHIFT_A))
++#define GrColor_ILLEGAL     ((uint32_t)(~(0xFF << GrColor_SHIFT_A)))
+ 
+ #define GrColor_WHITE 0xFFFFFFFF
+ #define GrColor_TRANSPARENT_BLACK 0x0
+ 
+ /**
+  * Assert in debug builds that a GrColor is premultiplied.
+  */
+ static inline void GrColorIsPMAssert(GrColor SkDEBUGCODE(c)) {
+diff --git a/gfx/skia/skia/include/gpu/GrTypes.h b/gfx/skia/skia/include/gpu/GrTypes.h
+--- a/gfx/skia/skia/include/gpu/GrTypes.h
++++ b/gfx/skia/skia/include/gpu/GrTypes.h
+@@ -321,25 +321,23 @@ enum GrPixelConfig {
+     */
+     kRGBA_half_GrPixelConfig,
+ 
+     kLast_GrPixelConfig = kRGBA_half_GrPixelConfig
+ };
+ static const int kGrPixelConfigCnt = kLast_GrPixelConfig + 1;
+ 
+ // Aliases for pixel configs that match skia's byte order.
+-#ifndef SK_CPU_LENDIAN
+-    #error "Skia gpu currently assumes little endian"
+-#endif
++
+ #if SK_PMCOLOR_BYTE_ORDER(B,G,R,A)
+     static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig;
+ #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A)
+     static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig;
+ #else
+-    #error "SK_*32_SHIFT values must correspond to GL_BGRA or GL_RGBA format."
++    static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig;
+ #endif
+ 
+ // Returns true if the pixel config is a GPU-specific compressed format
+ // representation.
+ static inline bool GrPixelConfigIsCompressed(GrPixelConfig config) {
+     switch (config) {
+         case kETC1_GrPixelConfig:
+             return true;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-i586-DecoderDoctorLogger.patch	Sun Apr 01 23:51:44 2018 +0200
@@ -0,0 +1,26 @@
+# HG changeset patch
+# Parent  f3fe334a20e8a63266eb06c5d298ad793cefc015
+Mozilla Bug#1447070 - DecoderDoctorLogger.h must be included in MediaKeySession.h
+                      to fix non-unified build error for i586 target.
+
+diff --git a/dom/media/eme/MediaKeySession.h b/dom/media/eme/MediaKeySession.h
+--- a/dom/media/eme/MediaKeySession.h
++++ b/dom/media/eme/MediaKeySession.h
+@@ -2,16 +2,17 @@
+ /* vim: set ts=8 sts=2 et sw=2 tw=80: */
+ /* This Source Code Form is subject to the terms of the Mozilla Public
+  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+  * You can obtain one at http://mozilla.org/MPL/2.0/. */
+ 
+ #ifndef mozilla_dom_MediaKeySession_h
+ #define mozilla_dom_MediaKeySession_h
+ 
++#include "DecoderDoctorLogger.h"
+ #include "mozilla/Attributes.h"
+ #include "mozilla/ErrorResult.h"
+ #include "nsCycleCollectionParticipant.h"
+ #include "mozilla/DOMEventTargetHelper.h"
+ #include "nsCOMPtr.h"
+ #include "mozilla/dom/TypedArray.h"
+ #include "mozilla/Mutex.h"
+ #include "mozilla/dom/Date.h"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-i586-domPrefs.patch	Sun Apr 01 23:51:44 2018 +0200
@@ -0,0 +1,27 @@
+# HG changeset patch
+# User Andrea Marchesini <amarchesini@mozilla.com>
+# Parent  bb4eb640e7303ea68be982d824aa100caacce240
+Mozilla Bug#1447409 - DOMPrefs.h must be included in WorkerScope, r=qdot
+                      To fix 32bit build error for i586 target.
+
+diff --git a/dom/workers/WorkerScope.h b/dom/workers/WorkerScope.h
+--- a/dom/workers/WorkerScope.h
++++ b/dom/workers/WorkerScope.h
+@@ -4,16 +4,17 @@
+  * License, v. 2.0. If a copy of the MPL was not distributed with this
+  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+ 
+ #ifndef mozilla_dom_workerscope_h__
+ #define mozilla_dom_workerscope_h__
+ 
+ #include "Workers.h"
+ #include "mozilla/DOMEventTargetHelper.h"
++#include "mozilla/dom/DOMPrefs.h"
+ #include "mozilla/dom/Headers.h"
+ #include "mozilla/dom/RequestBinding.h"
+ #include "nsWeakReference.h"
+ #include "mozilla/dom/ImageBitmapSource.h"
+ 
+ namespace mozilla {
+ namespace dom {
+ 
--- a/series	Tue Mar 13 20:14:45 2018 +0100
+++ b/series	Sun Apr 01 23:51:44 2018 +0200
@@ -7,6 +7,9 @@
 mozilla-reduce-files-per-UnifiedBindings.patch
 mozilla-aarch64-startup-crash.patch
 mozilla-bmo256180.patch
+mozilla-bmo1005535.patch
+mozilla-i586-DecoderDoctorLogger.patch
+mozilla-i586-domPrefs.patch
 
 # Firefox patches
 firefox-kde.patch