--- a/MozillaFirefox/MozillaFirefox.changes Wed Feb 19 22:51:20 2020 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes Sat Mar 07 09:48:10 2020 +0100
@@ -1,4 +1,27 @@
-------------------------------------------------------------------
+Wed Feb 26 08:12:00 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
+
+- big endian fixes
+
+-------------------------------------------------------------------
+Tue Feb 25 14:17:00 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
+
+- Fix build on aarch64/armv7 with:
+ * mozilla-bmo1610814.patch (boo#1164845, bmo#1610814)
+
+-------------------------------------------------------------------
+Thu Feb 20 13:40:59 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
+
+- Mozilla Firefox 73.0.1
+ * Resolved problems connecting to the RBC Royal Bank website
+ (bmo#1613943)
+ * Fixed Firefox unexpectedly exiting when leaving Print Preview mode
+ (bmo#1611133)
+ * Fixed crashes when playing encrypted content on some Linux systems
+ (bmo#1614535, boo#1164646)
+- start in wayland mode when running under wayland session
+
+-------------------------------------------------------------------
Sun Feb 9 07:45:00 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
- Mozilla Firefox 73.0
--- a/MozillaFirefox/MozillaFirefox.spec Wed Feb 19 22:51:20 2020 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec Sat Mar 07 09:48:10 2020 +0100
@@ -19,8 +19,8 @@
# changed with every update
%define major 73
-%define mainver %major.0
-%define orig_version 73.0
+%define mainver %major.0.1
+%define orig_version 73.0.1
%define orig_suffix %{nil}
%define update_channel release
%define branding 1
@@ -186,6 +186,7 @@
Patch20: mozilla-fix-top-level-asm.patch
Patch21: mozilla-bmo1504834-part4.patch
Patch22: mozilla-bmo849632.patch
+Patch23: mozilla-bmo1610814.patch
# Firefox/browser
Patch101: firefox-kde.patch
Patch102: firefox-branded-icons.patch
@@ -321,6 +322,7 @@
%patch20 -p1
%patch21 -p1
%patch22 -p1
+%patch23 -p1
# Firefox
%patch101 -p1
%patch102 -p1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-bmo1610814.patch Sat Mar 07 09:48:10 2020 +0100
@@ -0,0 +1,1 @@
+../mozilla-bmo1610814.patch
\ No newline at end of file
--- a/MozillaFirefox/mozilla.sh.in Wed Feb 19 22:51:20 2020 +0100
+++ b/MozillaFirefox/mozilla.sh.in Sat Mar 07 09:48:10 2020 +0100
@@ -81,6 +81,12 @@
# disable Gnome crash dialog (doesn't make sense anyway)
export GNOME_DISABLE_CRASH_DIALOG=1
+# Wayland
+# $XDG_SESSION_TYPE should contain either x11 or wayland
+if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
+ export MOZ_ENABLE_WAYLAND=1
+fi
+
# enable xinput2 (boo#1032003)
# breaks too many things right now (boo#1053959)
#export MOZ_USE_XINPUT2=1
--- a/MozillaFirefox/tar_stamps Wed Feb 19 22:51:20 2020 +0100
+++ b/MozillaFirefox/tar_stamps Sat Mar 07 09:48:10 2020 +0100
@@ -1,11 +1,11 @@
PRODUCT="firefox"
CHANNEL="release"
-VERSION="73.0"
+VERSION="73.0.1"
VERSION_SUFFIX=""
PREV_VERSION="73.0"
PREV_VERSION_SUFFIX=""
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
RELEASE_REPO="https://hg.mozilla.org/releases/mozilla-release"
-RELEASE_TAG="816e7f29478180f322fb4731df776d3b7854f0f8"
-RELEASE_TIMESTAMP="20200207195153"
+RELEASE_TAG="5b0905233e5d29d9fbad98c1380030387cda5dd9"
+RELEASE_TIMESTAMP="20200217142647"
--- a/mozilla-bmo1504834-part2.patch Wed Feb 19 22:51:20 2020 +0100
+++ b/mozilla-bmo1504834-part2.patch Sat Mar 07 09:48:10 2020 +0100
@@ -23,7 +23,7 @@
+
void ConvolutionFilter::ConvolveHorizontally(const uint8_t* aSrc, uint8_t* aDst,
bool aHasAlpha) {
-+#if MOZ_BIG_ENDIAN
++#if MOZ_BIG_ENDIAN()
+ int outputSize = mFilter->numValues();
+
+ // Input size isn't handed in, so we have to calculate it quickly
@@ -40,7 +40,7 @@
+
SkOpts::convolve_horizontally(aSrc, *mFilter, aDst, aHasAlpha);
+
-+#if MOZ_BIG_ENDIAN
++#if MOZ_BIG_ENDIAN()
+ ByteSwapArray((uint8_t*)aSrc, inputSize);
+ ByteSwapArray(aDst, outputSize);
+#endif
@@ -52,7 +52,7 @@
auto filterValues =
mFilter->FilterForValue(aRowIndex, &filterOffset, &filterLength);
+
-+#if MOZ_BIG_ENDIAN
++#if MOZ_BIG_ENDIAN()
+ for (int filterY = 0; filterY < filterLength; filterY++) {
+ // Skia only knows LE, so we have to swizzle the input
+ ByteSwapArray(aSrc[filterY], aRowSize);
@@ -62,7 +62,7 @@
SkOpts::convolve_vertically(filterValues, filterLength, aSrc, aRowSize, aDst,
aHasAlpha);
+
-+#if MOZ_BIG_ENDIAN
++#if MOZ_BIG_ENDIAN()
+ // After skia is finished, we swizzle back to BE, in case
+ // the input is used again somewhere else
+ for (int filterY = 0; filterY < filterLength; filterY++) {
--- a/mozilla-bmo1504834-part4.patch Wed Feb 19 22:51:20 2020 +0100
+++ b/mozilla-bmo1504834-part4.patch Sat Mar 07 09:48:10 2020 +0100
@@ -17,7 +17,7 @@
SkCanvas::kPreserveLCDText_SaveLayerFlag |
(aCopyBackground ? SkCanvas::kInitWithPrevious_SaveLayerFlag : 0));
-+#if MOZ_BIG_ENDIAN
++#if MOZ_BIG_ENDIAN()
+ // Pushing a layer where an aMask is defined produces wrong output.
+ // We _should_ endian swap the data, but I couldn't find a workable way to do so
+ // Therefore I deactivate those layers in the meantime.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-bmo1610814.patch Sat Mar 07 09:48:10 2020 +0100
@@ -0,0 +1,46 @@
+
+# HG changeset patch
+# User Andrew Osmond <aosmond@mozilla.com>
+# Date 1579706360 0
+# Node ID b3d8b08265b800165d684281d19ac845a8ff9a66
+# Parent 50c371b37a9fcd994a5866db73bd0d078e19f95d
+Bug 1610814 - Fix NEON compile error with gcc and RGB unpacking. r=lsalzman
+
+This patch makes us use the correct intrinsic for loading a uint8x16
+register. It is not entirely clear why clang accepts this without
+complaint but beyond the types, it should be equivalent.
+
+Differential Revision: https://phabricator.services.mozilla.com/D60667
+
+diff --git a/gfx/2d/SwizzleNEON.cpp b/gfx/2d/SwizzleNEON.cpp
+--- a/gfx/2d/SwizzleNEON.cpp
++++ b/gfx/2d/SwizzleNEON.cpp
+@@ -407,25 +407,25 @@ void UnpackRowRGB24_NEON(const uint8_t*
+ }
+
+ uint8x16_t alpha = vreinterpretq_u8_u32(vdupq_n_u32(0xFF000000));
+
+ // Process all 4-pixel chunks as one vector.
+ src -= 4 * 3;
+ dst -= 4 * 4;
+ while (src >= aSrc) {
+- uint8x16_t px = vld1q_u16(reinterpret_cast<const uint16_t*>(src));
++ uint8x16_t px = vld1q_u8(src);
+ // G2R2B1G1 R1B0G0R0 -> X1R1G1B1 X0R0G0B0
+ uint8x8_t pxlo = vtbl1_u8(vget_low_u8(px), masklo);
+ // B3G3R3B2 G2R2B1G1 -> X3R3G3B3 X2R2G2B2
+ uint8x8_t pxhi =
+ vtbl1_u8(vext_u8(vget_low_u8(px), vget_high_u8(px), 4), maskhi);
+ px = vcombine_u8(pxlo, pxhi);
+ px = vorrq_u8(px, alpha);
+- vst1q_u16(reinterpret_cast<uint16_t*>(dst), px);
++ vst1q_u8(dst, px);
+ src -= 4 * 3;
+ dst -= 4 * 4;
+ }
+ }
+
+ // Force instantiation of swizzle variants here.
+ template void UnpackRowRGB24_NEON<false>(const uint8_t*, uint8_t*, int32_t);
+ template void UnpackRowRGB24_NEON<true>(const uint8_t*, uint8_t*, int32_t);
+
--- a/mozilla-bmo849632.patch Wed Feb 19 22:51:20 2020 +0100
+++ b/mozilla-bmo849632.patch Sat Mar 07 09:48:10 2020 +0100
@@ -10,7 +10,7 @@
BEFORE_GL_CALL;
mSymbols.fReadPixels(x, y, width, height, format, type, pixels);
OnSyncCall();
-+#if MOZ_BIG_ENDIAN
++#if MOZ_BIG_ENDIAN()
+ uint8_t* itr = (uint8_t*)pixels;
+ for (GLsizei i = 0; i < width * height; i++) {
+ NativeEndian::swapToLittleEndianInPlace((uint32_t*)itr, 1);
--- a/series Wed Feb 19 22:51:20 2020 +0100
+++ b/series Sat Mar 07 09:48:10 2020 +0100
@@ -21,6 +21,7 @@
mozilla-fix-top-level-asm.patch
mozilla-bmo1504834-part4.patch
mozilla-bmo849632.patch
+mozilla-bmo1610814.patch
# Firefox patches
firefox-kde.patch