38.0 beta series
authorWolfgang Rosenauer <wr@rosenauer.org>
Wed, 08 Apr 2015 00:59:13 +0200
changeset 845 a704b2a17e39
parent 843 0d861c33ec70 (current diff)
parent 844 86fa73db98e5 (diff)
child 850 a2bdff616a0e
38.0 beta series (does not build yet)
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/create-tar.sh
--- a/MozillaFirefox/MozillaFirefox.changes	Sun Mar 22 14:02:18 2015 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes	Wed Apr 08 00:59:13 2015 +0200
@@ -1,12 +1,73 @@
 -------------------------------------------------------------------
-Sun Mar 22 13:00:28 UTC 2015 - wr@rosenauer.org
-
-- update to Firefox 37.0b7
-- removed obsolete patch
+Tue Apr  7 22:57:36 UTC 2015 - wr@rosenauer.org
+
+- update to Firefox 38.0b2
+- requires NSS 3.18
+
+-------------------------------------------------------------------
+Fri Apr  3 08:27:24 UTC 2015 - wr@rosenauer.org
+
+- update to Firefox 37.0.1 (bnc#926166)
+  * MFSA 2015-43/CVE-2015-0798 (bmo#1147597) (Android only)
+    Loading privileged content through Reader mode
+  * MFSA 2015-44/CVE-2015-0799 (bmo#1148328)
+    Certificate verification bypass through the HTTP/2 Alt-Svc header
+
+-------------------------------------------------------------------
+Sat Mar 28 09:46:48 UTC 2015 - wr@rosenauer.org
+
+- update to Firefox 37.0 (bnc#925368)
+  * Heartbeat user rating system
+  * Yandex set as default search provider for the Turkish locale
+  * Bing search now uses HTTPS for secure searching
+  * Improved protection against site impersonation via OneCRL
+    centralized certificate revocation
+  * Opportunistically encrypt HTTP traffic where the server supports
+    HTTP/2 AltSvc
+  * some more behaviour changes for TLS
+  security fixes:
+  * MFSA 2015-30/CVE-2015-0814/CVE-2015-0815
+    Miscellaneous memory safety hazards
+  * MFSA 2015-31/CVE-2015-0813 (bmo#1106596))
+    Use-after-free when using the Fluendo MP3 GStreamer plugin
+  * MFSA 2015-32/CVE-2015-0812 (bmo#1128126)
+    Add-on lightweight theme installation approval bypassed through
+    MITM attack
+  * MFSA 2015-33/CVE-2015-0816 (bmo#1144991)
+    resource:// documents can load privileged pages
+  * MFSA-2015-34/CVE-2015-0811 (bmo#1132468)
+    Out of bounds read in QCMS library
+  * MFSA-2015-35/CVE-2015-0810 (bmo#1125013)
+    Cursor clickjacking with flash and images (OS X only)
+  * MFSA-2015-36/CVE-2015-0808 (bmo#1109552)
+    Incorrect memory management for simple-type arrays in WebRTC
+  * MFSA-2015-37/CVE-2015-0807 (bmo#1111834)
+    CORS requests should not follow 30x redirections after preflight
+  * MFSA-2015-38/CVE-2015-0805/CVE-2015-0806 (bmo#1135511, bmo#1099437)
+    Memory corruption crashes in Off Main Thread Compositing
+  * MFSA-2015-39/CVE-2015-0803/CVE-2015-0804 (bmo#1134560)
+    Use-after-free due to type confusion flaws
+  * MFSA-2015-40/CVE-2015-0801 (bmo#1146339)
+    Same-origin bypass through anchor navigation
+  * MFSA-2015-41/CVE-2015-0800/CVE-2012-2808
+    PRNG weakness allows for DNS poisoning on Android (only)
+  * MFSA-2015-42/CVE-2015-0802 (bmo#1124898)
+    Windows can retain access to privileged content on navigation
+    to unprivileged pages
+- removed obsolete patches
   * mozilla-bmo1088588.patch
+  * mozilla-bmo1108834.patch
 - requires NSPR 4.10.8
 
 -------------------------------------------------------------------
+Tue Mar 24 15:35:24 UTC 2015 - dvaleev@suse.com
+
+- Fix builds with skia on Power
+  mozilla-skia-be-le.patch (patch from #bmo1136958)
+  mozilla-bmo1108834.patch
+  mozilla-bmo1005535.patch
+
+-------------------------------------------------------------------
 Sat Mar 21 09:03:12 UTC 2015 - wr@rosenauer.org
 
 - update to Firefox 36.0.4 (bnc#923534)
--- a/MozillaFirefox/MozillaFirefox.spec	Sun Mar 22 14:02:18 2015 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec	Wed Apr 08 00:59:13 2015 +0200
@@ -18,10 +18,10 @@
 
 
 # changed with every update
-%define major 36
+%define major 37
 %define mainver %major.99
 %define update_channel beta
-%define releasedate 2015032100
+%define releasedate 2015040700
 
 # general build definitions
 %if "%{update_channel}" != "aurora"
@@ -77,7 +77,7 @@
 BuildRequires:  libproxy-devel
 BuildRequires:  makeinfo
 BuildRequires:  mozilla-nspr-devel >= 4.10.8
-BuildRequires:  mozilla-nss-devel >= 3.17.4
+BuildRequires:  mozilla-nss-devel >= 3.18
 BuildRequires:  nss-shared-helper-devel
 BuildRequires:  python-devel
 BuildRequires:  startup-notification-devel
@@ -145,6 +145,8 @@
 Patch11:        mozilla-arm-disable-edsp.patch
 Patch12:        mozilla-openaes-decl.patch
 Patch13:        mozilla-skia-bmo1136958.patch
+Patch14:        mozilla-skia-be-le.patch
+Patch15:        mozilla-bmo1005535.patch
 # Firefox/browser
 Patch101:       firefox-kde.patch
 Patch102:       firefox-no-default-ualocale.patch
@@ -258,6 +260,8 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
+%patch15 -p1
 # Firefox
 %patch101 -p1
 %patch102 -p1
--- a/MozillaFirefox/create-tar.sh	Sun Mar 22 14:02:18 2015 +0100
+++ b/MozillaFirefox/create-tar.sh	Wed Apr 08 00:59:13 2015 +0200
@@ -2,8 +2,8 @@
 
 CHANNEL="beta"
 BRANCH="releases/mozilla-$CHANNEL"
-RELEASE_TAG="FIREFOX_37_0b7_RELEASE"
-VERSION="36.99"
+RELEASE_TAG="FIREFOX_38_0b2_RELEASE"
+VERSION="37.99"
 
 # mozilla
 if [ -d mozilla ]; then
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-bmo1005535.patch	Wed Apr 08 00:59:13 2015 +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-skia-be-le.patch	Wed Apr 08 00:59:13 2015 +0200
@@ -0,0 +1,1 @@
+../mozilla-skia-be-le.patch
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-bmo1005535.patch	Wed Apr 08 00:59:13 2015 +0200
@@ -0,0 +1,152 @@
+# HG changeset patch
+# Parent b7eb1ce0237d6125b75bc8ff1cb3afc328d6e78c
+# User Steve Singer <steve@ssinger.info>
+# Parent  d7af74fb513bcca581012f17ea248b1692db5d97
+Bug 1005535 - Get skia GPU building on big endian.
+
+diff --git a/configure.in b/configure.in
+--- a/configure.in
++++ b/configure.in
+@@ -8198,21 +8198,21 @@ dnl Skia
+ dnl ========================================================
+ if test "$MOZ_ENABLE_SKIA"; then
+   AC_DEFINE(MOZ_ENABLE_SKIA)
+   AC_DEFINE(USE_SKIA)
+   if test "${MOZ_WIDGET_TOOLKIT}" = "android" -o x"$MOZ_WIDGET_TOOLKIT" = x"gonk"; then
+     AC_DEFINE(SK_BUILD_FOR_ANDROID_NDK)
+   fi
+ 
+-  if test "${CPU_ARCH}" != "ppc" -a "${CPU_ARCH}" != "ppc64" -a "${CPU_ARCH}" != "sparc" -a -z "$MOZ_DISABLE_SKIA_GPU" ; then
++  #if test "${CPU_ARCH}" != "ppc" -a "${CPU_ARCH}" != "ppc64" -a "${CPU_ARCH}" != "sparc" -a -z "$MOZ_DISABLE_SKIA_GPU" ; then
+     MOZ_ENABLE_SKIA_GPU=1
+     AC_DEFINE(USE_SKIA_GPU)
+     AC_SUBST(MOZ_ENABLE_SKIA_GPU)
+-  fi
++  #fi
+ fi
+ AC_SUBST(MOZ_ENABLE_SKIA)
+ 
+ dnl ========================================================
+ dnl Check for nss-shared-helper
+ dnl ========================================================
+ 
+   PKG_CHECK_MODULES(NSSHELPER, nss-shared-helper,
+diff --git a/gfx/skia/trunk/include/config/SkUserConfig.h b/gfx/skia/trunk/include/config/SkUserConfig.h
+--- a/gfx/skia/trunk/include/config/SkUserConfig.h
++++ b/gfx/skia/trunk/include/config/SkUserConfig.h
+@@ -192,16 +192,17 @@
+ 
+ #if defined(SK_CPU_ARM32) || defined(SK_CPU_ARM64)
+ #  define SK_BARRIERS_PLATFORM_H "skia/SkBarriers_arm.h"
+ #else
+ #  define SK_BARRIERS_PLATFORM_H "skia/SkBarriers_x86.h"
+ #endif
+ 
+ // On all platforms we have this byte order
++
+ #define SK_A32_SHIFT 24
+ #define SK_R32_SHIFT 16
+ #define SK_G32_SHIFT 8
+ #define SK_B32_SHIFT 0
+ 
+ #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0
+ 
+ #define SK_SUPPORT_LEGACY_GETDEVICE
+diff --git a/gfx/skia/trunk/include/core/SkColorPriv.h b/gfx/skia/trunk/include/core/SkColorPriv.h
+--- a/gfx/skia/trunk/include/core/SkColorPriv.h
++++ b/gfx/skia/trunk/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/trunk/include/core/SkImageInfo.h b/gfx/skia/trunk/include/core/SkImageInfo.h
+--- a/gfx/skia/trunk/include/core/SkImageInfo.h
++++ b/gfx/skia/trunk/include/core/SkImageInfo.h
+@@ -83,19 +83,20 @@ enum SkColorType {
+ 
+     kLastEnum_SkColorType = kIndex_8_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
+ 
++
+ #ifdef SK_SUPPORT_LEGACY_N32_NAME
+     kPMColor_SkColorType = kN32_SkColorType
+ #endif
+ };
+ 
+ static int SkColorTypeBytesPerPixel(SkColorType ct) {
+     static const uint8_t gSize[] = {
+         0,  // Unknown
+diff --git a/gfx/skia/trunk/include/gpu/GrTypes.h b/gfx/skia/trunk/include/gpu/GrTypes.h
+--- a/gfx/skia/trunk/include/gpu/GrTypes.h
++++ b/gfx/skia/trunk/include/gpu/GrTypes.h
+@@ -304,25 +304,23 @@ enum GrPixelConfig {
+      * Byte order is r, g, b, a.  This color format is 32 bits per channel
+      */
+     kRGBA_float_GrPixelConfig,
+     kLast_GrPixelConfig = kRGBA_float_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:
+         case kLATC_GrPixelConfig:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-skia-be-le.patch	Wed Apr 08 00:59:13 2015 +0200
@@ -0,0 +1,54 @@
+# HG changeset patch
+# Parent  c5d7373760d7abbd34f89cb60d4a45cba2c05379
+Part 2 of
+Bug 1136958 - gfx/layers/basic/BasicCompositor.cpp:20:56: fatal error: skia/SkCanvas.h: No such file or directory when skia is disabled
+
+diff --git a/gfx/skia/trunk/include/core/SkPreConfig.h b/gfx/skia/trunk/include/core/SkPreConfig.h
+--- a/gfx/skia/trunk/include/core/SkPreConfig.h
++++ b/gfx/skia/trunk/include/core/SkPreConfig.h
+@@ -87,16 +87,24 @@
+ 
+ #if !defined(SK_WARN_UNUSED_RESULT)
+     #define SK_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+ #endif
+ 
+ //////////////////////////////////////////////////////////////////////
+ 
+ #if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
++    #if defined(__BIG_ENDIAN__)
++         #define SK_CPU_BENDIAN
++    #elif defined(__LITTLE_ENDIAN__)
++        #define SK_CPU_LENDIAN
++    #endif
++#endif
++
++#if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
+     #if defined(__sparc) || defined(__sparc__) || \
+       defined(_POWER) || defined(__powerpc__) || \
+       defined(__ppc__) || defined(__hppa) || \
+       defined(__PPC__) || defined(__PPC64__) || \
+       defined(_MIPSEB) || defined(__ARMEB__) || \
+       defined(__s390__) || \
+       (defined(__sh__) && defined(__BIG_ENDIAN__)) || \
+       (defined(__ia64) && defined(__BIG_ENDIAN__))
+diff --git a/js/src/jsdtoa.cpp b/js/src/jsdtoa.cpp
+--- a/js/src/jsdtoa.cpp
++++ b/js/src/jsdtoa.cpp
+@@ -47,16 +47,17 @@ using namespace js;
+ static inline void* dtoa_malloc(size_t size) { return js_malloc(size); }
+ static inline void dtoa_free(void* p) { return js_free(p); }
+ 
+ #define NO_GLOBAL_STATE
+ #define NO_ERRNO
+ #define MALLOC dtoa_malloc
+ #define FREE dtoa_free
+ #include "dtoa.c"
++#undef CONST
+ 
+ /* Mapping of JSDToStrMode -> js_dtoa mode */
+ static const uint8_t dtoaModes[] = {
+     0,   /* DTOSTR_STANDARD */
+     0,   /* DTOSTR_STANDARD_EXPONENTIAL, */
+     3,   /* DTOSTR_FIXED, */
+     2,   /* DTOSTR_EXPONENTIAL, */
+     2};  /* DTOSTR_PRECISION */
--- a/series	Sun Mar 22 14:02:18 2015 +0100
+++ b/series	Wed Apr 08 00:59:13 2015 +0200
@@ -14,6 +14,8 @@
 mozilla-idldir.patch
 mozilla-openaes-decl.patch
 mozilla-skia-bmo1136958.patch
+mozilla-skia-be-le.patch
+mozilla-bmo1005535.patch
 
 # Firefox patches
 firefox-kde.patch