Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package MozillaFirefox for openSUSE:Factory 
checked in at 2022-07-11 19:07:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/MozillaFirefox (Old)
 and      /work/SRC/openSUSE:Factory/.MozillaFirefox.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "MozillaFirefox"

Mon Jul 11 19:07:57 2022 rev:369 rq:988096 version:102.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/MozillaFirefox/MozillaFirefox.changes    
2022-06-17 21:22:11.550762948 +0200
+++ /work/SRC/openSUSE:Factory/.MozillaFirefox.new.1523/MozillaFirefox.changes  
2022-07-11 19:07:59.327489795 +0200
@@ -1,0 +2,87 @@
+Wed Jul  6 18:35:47 UTC 2022 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- Firefox 102.0.1:
+  * Fixed: Fixed bookmarks sidebar flashing white when opened in
+    dark mode (bmo#1776157)
+  * Fixed: Fixed multilingual spell checking not working with
+    content in both English and a non-Latin alphabet
+    (bmo#1773802)
+  * Fixed: Developer tools:  Fixed an issue where the console
+    output keep getting scrolled to the bottom when the last
+    visible message is an evaluation result (bmo#1776262)
+  * Fixed: Fixed *Delete cookies and site data when Firefox is
+    closed* checkbox getting disabled on startup (bmo#1777419)
+  * Fixed: Various stability fixes
+
+-------------------------------------------------------------------
+Sat Jun 25 12:51:46 UTC 2022 - Wolfgang Rosenauer <w...@rosenauer.org>
+
+- Firefox 102.0
+  * You can now disable automatic opening of the download panel
+    every time a new download starts
+  * Firefox now mitigates query parameter tracking when navigating
+    sites in ETP strict mode
+  * Improved security by moving audio decoding into a separate
+    process with stricter sandboxing, thus improving process isolation
+  * https://www.mozilla.org/en-US/firefox/102.0/releasenotes
+  MFSA 2022-24 (bsc#1200793)
+  * CVE-2022-34479 (bmo#1745595)
+    A popup window could be resized in a way to overlay the
+    address bar with web content
+  * CVE-2022-34470 (bmo#1765951)
+    Use-after-free in nsSHistory
+  * CVE-2022-34468 (bmo#1768537)
+    CSP sandbox header without `allow-scripts` can be bypassed
+    via retargeted javascript: URI
+  * CVE-2022-34482 (bmo#845880)
+    Drag and drop of malicious image could have led to malicious
+    executable and potential code execution
+  * CVE-2022-34483 (bmo#1335845)
+    Drag and drop of malicious image could have led to malicious
+    executable and potential code execution
+  * CVE-2022-34476 (bmo#1387919)
+    ASN.1 parser could have been tricked into accepting malformed ASN.1
+  * CVE-2022-34481 (bmo#1483699, bmo#1497246)
+    Potential integer overflow in ReplaceElementsAt
+  * CVE-2022-34474 (bmo#1677138)
+    Sandboxed iframes could redirect to external schemes
+  * CVE-2022-34469 (bmo#1721220)
+    TLS certificate errors on HSTS-protected domains could be
+    bypassed by the user on Firefox for Android
+  * CVE-2022-34471 (bmo#1766047)
+    Compromised server could trick a browser into an addon downgrade
+  * CVE-2022-34472 (bmo#1770123)
+    Unavailable PAC file resulted in OCSP requests being blocked
+  * CVE-2022-34478 (bmo#1773717)
+    Microsoft protocols can be attacked if a user accepts a prompt
+  * CVE-2022-2200 (bmo#1771381)
+    Undesired attributes could be set as part of prototype pollution
+  * CVE-2022-34480 (bmo#1454072)
+    Free of uninitialized pointer in lg_init
+  * CVE-2022-34477 (bmo#1731614)
+    MediaError message property leaked information on cross-
+    origin same-site pages
+  * CVE-2022-34475 (bmo#1757210)
+    HTML Sanitizer could have been bypassed via same-origin
+    script via use tags
+  * CVE-2022-34473 (bmo#1770888)
+    HTML Sanitizer could have been bypassed via use tags
+  * CVE-2022-34484 (bmo#1763634, bmo#1772651)
+    Memory safety bugs fixed in Firefox 102 and Firefox ESR 91.11
+  * CVE-2022-34485 (bmo#1768409, bmo#1768578)
+    Memory safety bugs fixed in Firefox 102
+- requires
+  NSPR >= 4.34
+  NSS >= 3.79
+  rust = 1.60
+- switch out skia-patches with webrender-patches for big endian
+  removed:
+  * mozilla-bmo1504834-part2.patch
+  * mozilla-bmo1504834-part4.patch
+  * mozilla-bmo1626236.patch
+  added:
+  * one_swizzle_to_rule_them_all.patch
+  * svg-rendering.patch
+- add some more returns to the no-return-patch
+
+-------------------------------------------------------------------

Old:
----
  firefox-101.0.1.source.tar.xz
  firefox-101.0.1.source.tar.xz.asc
  l10n-101.0.1.tar.xz
  mozilla-bmo1504834-part2.patch
  mozilla-bmo1504834-part4.patch
  mozilla-bmo1626236.patch

New:
----
  firefox-102.0.1.source.tar.xz
  firefox-102.0.1.source.tar.xz.asc
  l10n-102.0.1.tar.xz
  one_swizzle_to_rule_them_all.patch
  svg-rendering.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ MozillaFirefox.spec ++++++
--- /var/tmp/diff_new_pack.dDaVpH/_old  2022-07-11 19:08:12.639508293 +0200
+++ /var/tmp/diff_new_pack.dDaVpH/_new  2022-07-11 19:08:12.639508293 +0200
@@ -28,9 +28,9 @@
 # orig_suffix b3
 # major 69
 # mainver %major.99
-%define major          101
+%define major          102
 %define mainver        %major.0.1
-%define orig_version   101.0.1
+%define orig_version   102.0.1
 %define orig_suffix    %{nil}
 %define update_channel release
 %define branding       1
@@ -91,19 +91,23 @@
 BuildRequires:  dejavu-fonts
 BuildRequires:  fdupes
 BuildRequires:  memory-constraints
-%if 0%{?suse_version} <= 1320
-BuildRequires:  gcc9-c++
+%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150400
+BuildRequires:  gcc11-c++
 %else
 BuildRequires:  gcc-c++
 %endif
 %if 0%{?suse_version} < 1550 && 0%{?sle_version} < 150300
-BuildRequires:  cargo >= 1.57
-BuildRequires:  rust >= 1.57
+BuildRequires:  cargo >= 1.59
+BuildRequires:  rust >= 1.59
 %else
 # Newer sle/leap/tw use parallel versioned rust releases which have
 # a different method for provides that we can use to request a
 # specific version
+# minimal requirement:
 BuildRequires:  rust+cargo >= 1.59
+# actually used upstream:
+BuildRequires:  cargo1.60
+BuildRequires:  rust1.60
 %endif
 %if 0%{useccache} != 0
 BuildRequires:  ccache
@@ -113,8 +117,8 @@
 BuildRequires:  libiw-devel
 BuildRequires:  libproxy-devel
 BuildRequires:  makeinfo
-BuildRequires:  mozilla-nspr-devel >= 4.33
-BuildRequires:  mozilla-nss-devel >= 3.78.1
+BuildRequires:  mozilla-nspr-devel >= 4.34
+BuildRequires:  mozilla-nss-devel >= 3.79
 BuildRequires:  nasm >= 2.14
 BuildRequires:  nodejs >= 10.22.1
 %if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
@@ -178,7 +182,9 @@
 Source2:        MozillaFirefox-rpmlintrc
 Source3:        mozilla.sh.in
 Source4:        tar_stamps
+%if %{localize}
 Source7:        l10n-%{orig_version}%{orig_suffix}.tar.xz
+%endif
 Source8:        firefox-mimeinfo.xml
 Source9:        firefox.js
 Source11:       firefox.1
@@ -207,18 +213,17 @@
 Patch9:         mozilla-bmo1005535.patch
 Patch10:        mozilla-bmo1568145.patch
 Patch11:        mozilla-bmo1504834-part1.patch
-Patch12:        mozilla-bmo1504834-part2.patch
 Patch13:        mozilla-bmo1504834-part3.patch
 Patch14:        mozilla-bmo1512162.patch
 Patch15:        mozilla-fix-top-level-asm.patch
-Patch16:        mozilla-bmo1504834-part4.patch
 Patch17:        mozilla-bmo849632.patch
 Patch18:        mozilla-bmo998749.patch
-Patch19:        mozilla-bmo1626236.patch
 Patch20:        mozilla-s390x-skia-gradient.patch
 Patch21:        mozilla-libavcodec58_91.patch
 Patch22:        mozilla-silence-no-return-type.patch
 Patch23:        mozilla-bmo531915.patch
+Patch25:        one_swizzle_to_rule_them_all.patch
+Patch26:        svg-rendering.patch
 # Firefox/browser
 Patch101:       firefox-kde.patch
 Patch102:       firefox-branded-icons.patch
@@ -341,22 +346,20 @@
 export PYTHON3=/usr/bin/python36
 %endif
 
-# Webrender does not support big endian yet, so we are forcing it off
-# see: https://bugzilla.mozilla.org/show_bug.cgi?id=1716707
-%ifarch s390x ppc64
-echo 'pref("gfx.webrender.force-disabled", true);' >> %{SOURCE9}
-%endif
-
 #
 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define 
KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
 if test "$kdehelperversion" != %{kde_helper_version}; then
   echo fix kde helper version in the .spec file
   exit 1
 fi
-
-source %{SOURCE4}
+# When doing only_print_mozconfig, this file isn't necessarily available, so 
skip it
+cp %{SOURCE4} .obsenv.sh
+%else
+# We need to make sure its empty
+echo "" > .obsenv.sh
 %endif
 
+cat >> .obsenv.sh <<EOF
 export CARGO_HOME=${RPM_BUILD_DIR}/%{srcname}-%{orig_version}/.cargo
 export MOZ_SOURCE_CHANGESET=$RELEASE_TAG
 export SOURCE_REPO=$RELEASE_REPO
@@ -367,8 +370,8 @@
 export BUILD_OFFICIAL=1
 export MOZ_TELEMETRY_REPORTING=1
 export MACH_USE_SYSTEM_PYTHON=1
-%if 0%{?suse_version} <= 1320
-export CC=gcc-9
+%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150400
+export CC=gcc-11
 %else
 %if 0%{?clang_build} == 0
 export CC=gcc
@@ -392,27 +395,12 @@
 %endif
 export CXXFLAGS="$CFLAGS"
 export MOZCONFIG=$RPM_BUILD_DIR/mozconfig
-%if %{with only_print_mozconfig}
-echo "export CC=$CC"
-echo "export CXX=$CXX"
-echo "export CFLAGS=\"$CFLAGS\""
-echo "export CXXFLAGS=\"$CXXFLAGS\""
-echo "export LDFLAGS=\"$LDFLAGS\""
-echo "export RUSTFLAGS=\"$RUSTFLAGS\""
-echo "export CARGO_HOME=\"$CARGO_HOME\""
-echo "export PATH=\"$PATH\""
-echo "export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\""
-echo "export PKG_CONFIG_PATH=\"$PKG_CONFIG_PATH\""
-echo "export MOZCONFIG=\"$MOZCONFIG\""
-echo "export MOZILLA_OFFICIAL=1"
-echo "export BUILD_OFFICIAL=1"
-echo "export MOZ_TELEMETRY_REPORTING=1"
-echo ""
-cat << EOF
-%else
-%limit_build -m 2560
+EOF
+# Done with env-variables.
+source ./.obsenv.sh
+
+# Generating mozconfig
 cat << EOF > $MOZCONFIG
-%endif
 mk_add_options MOZILLA_OFFICIAL=1
 mk_add_options BUILD_OFFICIAL=1
 mk_add_options MOZ_MAKE_FLAGS=%{?jobs:-j%jobs}
@@ -498,7 +486,15 @@
 %endif
 %endif
 EOF
-%if !%{with only_print_mozconfig}
+
+%if %{with only_print_mozconfig}
+cat ./.obsenv.sh
+cat $MOZCONFIG
+%else
+%ifarch aarch64 %arm ppc64 ppc64le
+%limit_build -m 2000
+%endif
+
 %if 0%{useccache} != 0
 ccache -s
 %endif

++++++ firefox-101.0.1.source.tar.xz -> firefox-102.0.1.source.tar.xz ++++++
/work/SRC/openSUSE:Factory/MozillaFirefox/firefox-101.0.1.source.tar.xz 
/work/SRC/openSUSE:Factory/.MozillaFirefox.new.1523/firefox-102.0.1.source.tar.xz
 differ: char 15, line 1

++++++ firefox-kde.patch ++++++
--- /var/tmp/diff_new_pack.dDaVpH/_old  2022-07-11 19:08:12.751508449 +0200
+++ /var/tmp/diff_new_pack.dDaVpH/_new  2022-07-11 19:08:12.751508449 +0200
@@ -3,7 +3,7 @@
 # Date 1559300151 -7200
 #      Fri May 31 12:55:51 2019 +0200
 # Node ID 54d41b0033b8d649d842a1f862c6fed8b9874dec
-# Parent  23d64c5753fda6f201477fe1f2f6cf1fb1657ccc
+# Parent  c9baf1c9eb9359b7968a52157e8892cdd20f2c6d
 How to apply this patch:
 1. Import and apply it
 2. cp browser/base/content/browser.xul browser/base/content/browser-kde.xul
@@ -14,7 +14,7 @@
 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
-@@ -353,16 +353,23 @@ var gMainPane = {
+@@ -303,16 +303,23 @@ var gMainPane = {
          }, backoffTimes[this._backoffIndex + 1 < backoffTimes.length ? 
this._backoffIndex++ : backoffTimes.length - 1]);
        };
  
@@ -38,7 +38,7 @@
      );
      let performanceSettingsUrl =
        Services.urlFormatter.formatURLPref("app.support.baseURL") +
-@@ -1365,16 +1372,27 @@ var gMainPane = {
+@@ -1334,16 +1341,27 @@ var gMainPane = {
        this._backoffIndex = 0;
  
        let shellSvc = getShellService();
@@ -260,11 +260,11 @@
 +NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsKDEShellService, Init)
 +
 +NS_IMETHODIMP
-+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void 
**aResult)
++nsUnixShellServiceConstructor(REFNSIID aIID, void **aResult)
 +{
 +    if( nsKDEUtils::kdeSupport())
-+        return nsKDEShellServiceConstructor( aOuter, aIID, aResult );
-+    return nsGNOMEShellServiceConstructor( aOuter, aIID, aResult );
++        return nsKDEShellServiceConstructor( aIID, aResult );
++    return nsGNOMEShellServiceConstructor( aIID, aResult );
 +}
 diff --git a/browser/components/shell/nsUnixShellService.h 
b/browser/components/shell/nsUnixShellService.h
 new file mode 100644

++++++ l10n-101.0.1.tar.xz -> l10n-102.0.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/MozillaFirefox/l10n-101.0.1.tar.xz 
/work/SRC/openSUSE:Factory/.MozillaFirefox.new.1523/l10n-102.0.1.tar.xz differ: 
char 26, line 1

++++++ mozilla-kde.patch ++++++
--- /var/tmp/diff_new_pack.dDaVpH/_old  2022-07-11 19:08:12.851508588 +0200
+++ /var/tmp/diff_new_pack.dDaVpH/_new  2022-07-11 19:08:12.855508593 +0200
@@ -3,7 +3,7 @@
 # Date 1559294891 -7200
 #      Fri May 31 11:28:11 2019 +0200
 # Node ID c2aa7198fb925e7fde96abf65b6f68b9b755f112
-# Parent  eeedc49c16aba3b50d1547315a88091a1c765904
+# Parent  edd7284c391b503b76bb5bb6321f24ab2f5f8bdf
 Description: Add KDE integration to Firefox (toolkit parts)
 Author: Wolfgang Rosenauer <wolfg...@rosenauer.org>
 Author: Lubos Lunak <lu...@suse.com>
@@ -165,7 +165,7 @@
 diff --git a/toolkit/mozapps/downloads/HelperAppDlg.jsm 
b/toolkit/mozapps/downloads/HelperAppDlg.jsm
 --- a/toolkit/mozapps/downloads/HelperAppDlg.jsm
 +++ b/toolkit/mozapps/downloads/HelperAppDlg.jsm
-@@ -1252,36 +1252,66 @@ nsUnknownContentTypeDialog.prototype = {
+@@ -1254,36 +1254,66 @@ nsUnknownContentTypeDialog.prototype = {
          params.handlerApp &&
          params.handlerApp.executable &&
          params.handlerApp.executable.isFile()
@@ -255,15 +255,15 @@
 diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp 
b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
 --- a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
 +++ b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
-@@ -13,16 +13,17 @@
- #include "nsPrintfCString.h"
- #include "nsNetCID.h"
+@@ -10,16 +10,17 @@
+ #include "prnetdb.h"
+ #include "prenv.h"
+ #include "nsInterfaceHashtable.h"
+ #include "nsHashtablesFwd.h"
+ #include "nsHashKeys.h"
  #include "nsNetUtil.h"
  #include "nsISupportsPrimitives.h"
  #include "nsIGSettingsService.h"
- #include "nsInterfaceHashtable.h"
- #include "mozilla/Attributes.h"
- #include "nsIURI.h"
 +#include "nsKDEUtils.h"
  
  using namespace mozilla;
@@ -273,7 +273,7 @@
    NS_DECL_ISUPPORTS
    NS_DECL_NSISYSTEMPROXYSETTINGS
  
-@@ -36,16 +37,18 @@ class nsUnixSystemProxySettings final : 
+@@ -33,16 +34,18 @@ class nsUnixSystemProxySettings final : 
    nsCOMPtr<nsIGSettingsCollection> mProxySettings;
    nsInterfaceHashtable<nsCStringHashKey, nsIGSettingsCollection>
        mSchemeProxySettings;
@@ -292,7 +292,7 @@
  nsUnixSystemProxySettings::GetMainThreadOnly(bool* aMainThreadOnly) {
    // dbus prevents us from being threadsafe, but this routine should not block
    // anyhow
-@@ -381,21 +384,50 @@ nsresult nsUnixSystemProxySettings::GetP
+@@ -378,21 +381,50 @@ nsresult nsUnixSystemProxySettings::GetP
    return NS_OK;
  }
  
@@ -786,25 +786,6 @@
  
  /*
   * Check if a handler exists for the provided protocol. Check the datastore
-@@ -328,17 +328,17 @@ mozilla::ipc::IPCResult HandlerServicePa
-   nsCOMPtr<nsIExternalProtocolService> protoSvc =
-       do_GetService(NS_EXTERNALPROTOCOLSERVICE_CONTRACTID, &rv);
-   if (NS_WARN_IF(NS_FAILED(rv))) {
-     *aHandlerExists = false;
-     return IPC_OK();
-   }
-   rv = protoSvc->ExternalProtocolHandlerExists(aProtocolScheme.get(),
-                                                aHandlerExists);
--
-+##
-   if (NS_WARN_IF(NS_FAILED(rv))) {
-     *aHandlerExists = false;
-   }
- #else
-   MOZ_RELEASE_ASSERT(false, "No implementation on this platform.");
-   *aHandlerExists = false;
- #endif
-   return IPC_OK();
 diff --git a/uriloader/exthandler/moz.build b/uriloader/exthandler/moz.build
 --- a/uriloader/exthandler/moz.build
 +++ b/uriloader/exthandler/moz.build
@@ -1825,7 +1806,7 @@
  #  include "prmem.h"
  #  include "plbase64.h"
  
-@@ -2071,20 +2072,29 @@ nsLocalFile::SetPersistentDescriptor(con
+@@ -2097,20 +2098,29 @@ nsLocalFile::SetPersistentDescriptor(con
  
  NS_IMETHODIMP
  nsLocalFile::Reveal() {
@@ -1857,7 +1838,7 @@
      ::CFRelease(url);
      return rv;
    }
-@@ -2096,16 +2106,23 @@ nsLocalFile::Reveal() {
+@@ -2122,16 +2132,23 @@ nsLocalFile::Reveal() {
  
  NS_IMETHODIMP
  nsLocalFile::Launch() {

++++++ mozilla-libavcodec58_91.patch ++++++
--- /var/tmp/diff_new_pack.dDaVpH/_old  2022-07-11 19:08:12.863508605 +0200
+++ /var/tmp/diff_new_pack.dDaVpH/_new  2022-07-11 19:08:12.867508610 +0200
@@ -1,16 +1,16 @@
 # HG changeset patch
-# Parent  3802b7b2b99885f3ad4d2ec3e2c157e38d04a168
+# Parent  63747fd31719c6e4f7810512a3c57e75a02b8bfd
 
 diff --git a/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp 
b/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
 --- a/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
 +++ b/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
-@@ -31,16 +31,18 @@ static const char* sLibs[] = {
-   "libavcodec.58.dylib",
-   "libavcodec.57.dylib",
-   "libavcodec.56.dylib",
+@@ -34,16 +34,18 @@ static const char* sLibs[] = {
    "libavcodec.55.dylib",
    "libavcodec.54.dylib",
    "libavcodec.53.dylib",
+ #elif defined(XP_OPENBSD)
+   "libavcodec.so", // OpenBSD hardly controls the major/minor library version
+                    // of ffmpeg and update it regulary on ABI/API changes
  #else
    "libavcodec.so.59",
 +  "libavcodec.so.58.134",

++++++ mozilla-silence-no-return-type.patch ++++++
++++ 2811 lines (skipped)
++++ between 
/work/SRC/openSUSE:Factory/MozillaFirefox/mozilla-silence-no-return-type.patch
++++ and 
/work/SRC/openSUSE:Factory/.MozillaFirefox.new.1523/mozilla-silence-no-return-type.patch

++++++ one_swizzle_to_rule_them_all.patch ++++++
# HG changeset patch
# User M. Sirringhaus <msirringh...@suse.de>
# Date 1645518286 -3600
#      Tue Feb 22 09:24:46 2022 +0100
# Node ID 494640792b4677f6462e95b90a54a4e22aeb738b
# Parent  81832d035e101471dcf52dd91de287268add7a91
imported patch one_swizzle_to_rule_them_all.patch

Index: firefox-102.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
===================================================================
--- firefox-102.0.orig/gfx/webrender_bindings/RenderCompositorSWGL.cpp
+++ firefox-102.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
@@ -7,6 +7,7 @@
 #include "RenderCompositorSWGL.h"
 
 #include "mozilla/gfx/Logging.h"
+#include "mozilla/gfx/Swizzle.h"
 #include "mozilla/widget/CompositorWidget.h"
 
 #ifdef MOZ_WIDGET_GTK
@@ -235,6 +237,13 @@ void RenderCompositorSWGL::CommitMappedB
   }
   mDT->Flush();
 
+#if MOZ_BIG_ENDIAN()
+  // One swizzle to rule them all.
+  gfx::SwizzleData(mMappedData, mMappedStride, gfx::SurfaceFormat::B8G8R8A8,
+                   mMappedData, mMappedStride, gfx::SurfaceFormat::A8R8G8B8,
+                   mDT->GetSize());
+#endif
+
   // Done with the DT. Hand it back to the widget and clear out any trace of 
it.
   mWidget->EndRemoteDrawingInRegion(mDT, mDirtyRegion);
   mDirtyRegion.SetEmpty();

++++++ svg-rendering.patch ++++++
# HG changeset patch
# User M. Sirringhaus <msirringh...@suse.de>
# Date 1645518286 -3600
#      Tue Feb 22 09:24:46 2022 +0100
# Node ID 81832d035e101471dcf52dd91de287268add7a91
# Parent  66f7ce16eb4965108687280e5443edd610631efb
imported patch svg-rendering.patch

diff --git a/image/imgFrame.cpp b/image/imgFrame.cpp
--- a/image/imgFrame.cpp
+++ b/image/imgFrame.cpp
@@ -372,6 +372,17 @@ nsresult imgFrame::InitWithDrawable(gfxD
     return NS_ERROR_OUT_OF_MEMORY;
   }
 
+#if MOZ_BIG_ENDIAN()
+  if (aBackend == gfx::BackendType::SKIA && canUseDataSurface) {
+      // SKIA is lying about what format it returns on big endian
+      for (int ii=0; ii < 
mRawSurface->GetSize().Height()*mRawSurface->Stride() / 4; ++ii) {
+        uint32_t *vals = (uint32_t*)(mRawSurface->GetData());
+        uint32_t val = ((vals[ii] << 8) & 0xFF00FF00 ) | ((vals[ii] >> 8) & 
0xFF00FF );
+        vals[ii] = (val << 16) | (val >> 16);
+      }
+  }
+#endif
+
   if (!canUseDataSurface) {
     // We used an offscreen surface, which is an "optimized" surface from
     // imgFrame's perspective.

++++++ tar_stamps ++++++
--- /var/tmp/diff_new_pack.dDaVpH/_old  2022-07-11 19:08:12.947508721 +0200
+++ /var/tmp/diff_new_pack.dDaVpH/_new  2022-07-11 19:08:12.951508727 +0200
@@ -1,11 +1,11 @@
 PRODUCT="firefox"
 CHANNEL="release"
-VERSION="101.0.1"
+VERSION="102.0.1"
 VERSION_SUFFIX=""
-PREV_VERSION="101.0"
+PREV_VERSION="102.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="c66093146ac832a0748f0f8a31139664abf73a42"
-RELEASE_TIMESTAMP="20220608170832"
+RELEASE_TAG="a7294bfb43712ab3225c76087cd359a22ea8fa7d"
+RELEASE_TIMESTAMP="20220705093820"
 

Reply via email to