Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libqt5-qtwebengine for 
openSUSE:Factory checked in at 2021-04-10 15:26:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtwebengine (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtwebengine"

Sat Apr 10 15:26:24 2021 rev:67 rq:881936 version:5.15.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtwebengine/libqt5-qtwebengine.changes    
2021-02-22 14:22:42.119569453 +0100
+++ 
/work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new.2401/libqt5-qtwebengine.changes
  2021-04-10 15:26:52.650343179 +0200
@@ -1,0 +2,142 @@
+Wed Mar 24 12:45:13 UTC 2021 - christo...@krop.fr
+
+- Update to version 5.15.3:
+  * Fix spelling and coding style
+  * Fix new view request handling (QTBUG-87378)
+  * Fix getDefaultScreenId on X11
+  * Fix flaky tst_QWebEngineView::textSelectionOutOfInputField test
+  * Move touch input tests to separate testcase
+  * Add touch input tests for scrolling and pinch zooming
+  * Fix rare duplicate ids forming in touch point id's mapping
+  * Use the module's version number for QtWebEngineProcess
+  * Touch handling: provide id mapping without modifying TouchPoint instance
+    (QTBUG-88001)
+  * Touch handling: fix mapped ids cleanup for TouchCancel event
+  * et custom headers from QWebEngineUrlRequestInfo before triggering redirect
+    (QTBUG-88861)
+  * Forward modifier flags for lock keys (QTBUG-89001)
+  * Fix handling of more than one finger for touch event (QTBUG-86389)
+  * Stabilize load signals emitting (QTBUG-65223, QTBUG-87089)
+  * Fix building against 5.12 on most CIs
+  * Update minimum HarfBuzz version to 2.4.0 (QTBUG-88976)
+  * Fix building against Qt 5.14
+  * Migrate user script IPC to mojo
+  * Fix crashes in user resource controller when single process
+  * Minor. Fix namespace for user resource controller
+  * Minor. RenderThreadObserverQt is really a RenderConfiguration
+  * Remove RenderViewObserverHelper from UserResourceController
+  * Cache mojo interface bindings to UserResourceControllerRenderFrame
+  * Cache mojo interface bindings for WebChannelIPCTransport
+  * Migrate render_view_observer_qt to mojo
+  * Fix crash on linkedin.com (QTBUG-89740)
+  * Suppress error pages also for http errors if they are disabled
+  * Fix leak in QQuickWebEngineViewPrivate::contextMenuRequested
+  * Register PerformanceNode early enough
+  * Quiet log on webrtc usage
+  * Remove configure option that doesn't work
+  * Remove Java build dependency
+  * Fix blank popups in qml (QTBUG-86034)
+  * Fix position of popup on qml (QTBUG-86034, QTBUG-89358)
+  * Enable hangout services extension (QTBUG-85731)
+  * Allow to fallback to default locale for non existent data packs 
(QTBUG-90490)
+  * Support devtools close button
+  * Do not extract download file names from certain url schemes (QTBUG-90355)
+  * Leave room for the null-termination byte when checking remote drive path
+    (QTBUG-90347)
+  * Do not set open files limit for linking if not necessary
+  * Remove even more remains of non network service code
+  * Add back prefers-color-scheme support (QTBUG-89753)
+  * Start supporting chrome.resourcesPrivate API (QTBUG-90035)
+  * Enable chrome://user-actions WebUI
+  * Remove remains of chrome://flash
+  * Fix loadFinished signal if page has content but server sends HTTP error
+    (QTBUG-90517)
+  * Fix devtools page resource loading as raw data instead of html string
+  * Remove frame metadata observer (RenderWidgetHostViewQt) on destroy
+  * Resolve installed interceptors right before interception point 
(QTBUG-86286)
+  * Update searches faster
+  * Remove more leftovers of the old compositor
+  * Enable webrtc logging and the corresponding WebUI
+  * Support mips64el platform CPU(loongson 3A4000)
+  * Add tracing UI resources
+  * Fix crash on meet.google.com
+  * Fix mad popup qquickwindows on wayland
+  * Fix crashes on BrowserContext destruction
+  * Fix crash on exit in quicknanobrowser when popup
+  * Remove QtPdf dependency on nss at build-time
+  * Avoid accessing profileAdapter when profile is shutting down (QTBUG-91187)
+  * Do not flush messages form profile destructor
+  * Ignore QQuickWebEngineNewViewRequest if it is unhandled
+  * Fix ScopedGLContextChecker with QTWEBENGINE_DISABLE_GPU_THREAD=1
+  * Don't send duplicate load progress values
+  * Fix neon support in libpng
+  * Do not call deprecated profile interceptor on ui thread (QTBUG-86267)
+  * Add certificate error message for ERR_SSL_OBSOLETE_VERSION
+  * Fix assert in WebContentsAdapter::devToolsFrontendDestroyed
+  * Avoid to reject a certificate error twice in Quick
+  * Fix PDF viewer plugin
+  * FIXUP: Fix swap condition in DisplayGLOutputSurface::updatePaintNode
+    (QTBUG-86599)
+  * Fix favicon engine under device pixel scaling
+  * Do not pass a native keycode matching the menu key when it is remapped
+    (QTBUG-86672)
+  * Optimize WebEngineSettings::testAttribute
+  * Warn about QtWebengineProcess launching from network share (QTBUG-84632)
+  * Handle non-ascii names for pulseaudio (QTBUG-85363)
+  * Do not set audio device for desktop capture if audio loopback is 
unsupported
+  * Fix new view request handling (QTBUG-87378)
+  * Fix getDefaultScreenId on X11
+  * Touch handling: provide id mapping without modifying TouchPoint instance
+    (QTBUG-88001)
+  * Set custom headers from QWebEngineUrlRequestInfo before triggering redirect
+    (QTBUG-88861)
+  * Stabilize load signals emitting (QTBUG-65223)
+
+- CVE fixes backported in chromium updates:
+  * CVE-2020-16044: Use after free in WebRTC
+  * CVE-2021-21118: Heap buffer overflow in Blink
+  * CVE-2021-21119: Use after free in Media
+  * CVE-2021-21120: Use after free in WebSQL
+  * CVE-2021-21121: Use after free in Omnibox
+  * CVE-2021-21122: Use after free in Blink
+  * CVE-2021-21123: Insufficient data validation in File System API
+  * CVE-2021-21125: Insufficient policy enforcement in File System API
+  * CVE-2021-21126: Insufficient policy enforcement in extensions
+  * CVE-2021-21127: Insufficient policy enforcement in extensions
+  * CVE-2021-21128: Heap buffer overflow in Blink
+  * CVE-2021-21129: Insufficient policy enforcement in File System API
+  * CVE-2021-21130: Insufficient policy enforcement in File System API
+  * CVE-2021-21131: Insufficient policy enforcement in File System API
+  * CVE-2021-21132: Inappropriate implementation in DevTools
+  * CVE-2021-21135: Inappropriate implementation in Performance API
+  * CVE-2021-21137: Inappropriate implementation in DevTools
+  * CVE-2021-21140: Uninitialized Use in USB
+  * CVE-2021-21141: Insufficient policy enforcement in File System API
+  * CVE-2021-21145: Use after free in Fonts
+  * CVE-2021-21146: Use after free in Navigation
+  * CVE-2021-21147: Inappropriate implementation in Skia
+  * CVE-2021-21148: Heap buffer overflow in V8
+  * CVE-2021-21149: Stack overflow in Data Transfer
+  * CVE-2021-21150: Use after free in Downloads
+  * CVE-2021-21152: Heap buffer overflow in Media
+  * CVE-2021-21153: Stack overflow in GPU Process
+  * CVE-2021-21156: Heap buffer overflow in V8
+  * CVE-2021-21157: Use after free in Web Sockets
+- Drop obsolete patches:
+  * icu-68.patch
+  * icu-68-2.patch
+- Rebase patches:
+  * fix1163766.patch
+  * sandbox-statx-futex_time64.patch
+  * rtc-dont-use-h264.patch
+  * chromium-glibc-2.33.patch
+- Add patch to fix crash with certain locales:
+  * 0001-Fix-normalization-of-app-locales.patch
+- Clean the spec file a bit
+
+-------------------------------------------------------------------
+Wed Mar 10 16:52:28 UTC 2021 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Can't use system_vpx on Leap 15.3
+
+-------------------------------------------------------------------

Old:
----
  icu-68-2.patch
  icu-68.patch
  qtwebengine-everywhere-src-5.15.2.tar.xz

New:
----
  0001-Fix-normalization-of-app-locales.patch
  _service
  _servicedata
  qtwebengine-everywhere-src-5.15.3.tar.xz
  sync.profile

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

Other differences:
------------------
++++++ libqt5-qtwebengine.spec ++++++
--- /var/tmp/diff_new_pack.HmdLtL/_old  2021-04-10 15:27:00.710352660 +0200
+++ /var/tmp/diff_new_pack.HmdLtL/_new  2021-04-10 15:27:00.714352665 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtwebengine
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright ?? 2017 Kevin Kofler <ke...@tigcc.ticalc.org>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,16 +17,7 @@
 #
 
 
-%define qt5_snapshot 0
-
-%if %{?suse_version} > 1500 || 0%{?sle_version} > 150100
-%bcond_without system_harfbuzz
-%bcond_without system_icu
-%else
-%bcond_with system_harfbuzz
-%bcond_with system_icu
-%endif
-%if %{?suse_version} > 1500 || 0%{?sle_version} > 150200
+%if %{?suse_version} > 1500 || 0%{?sle_version} > 150300
 %bcond_without system_vpx
 %else
 %bcond_with system_vpx
@@ -38,29 +29,31 @@
 %global _qtwebengine_dictionaries_dir 
%{_libqt5_datadir}/qtwebengine_dictionaries
 
 Name:           libqt5-qtwebengine
-Version:        5.15.2
+Version:        5.15.3
 Release:        0
 Summary:        Qt 5 WebEngine Library
 License:        LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
 Group:          Development/Libraries/X11
 URL:            https://www.qt.io
 %define base_name libqt5
-%define real_version 5.15.2
-%define so_version 5.15.2
-%define tar_version qtwebengine-everywhere-src-5.15.2
-Source:         
https://download.qt.io/official_releases/qt/5.15/%{real_version}/submodules/%{tar_version}.tar.xz
+%define real_version 5.15.3
+%define so_version 5.15.3
+%define tar_version qtwebengine-everywhere-src-%{version}
+Source:         %{tar_version}.tar.xz
+# Generated from a local build
+Source1:        sync.profile
 # PATCH-FIX-UPSTREAM armv6-ffmpeg-no-thumb.patch - Fix ffmpeg configuration 
for armv6
-Patch1:         armv6-ffmpeg-no-thumb.patch
+Patch0:         armv6-ffmpeg-no-thumb.patch
 # PATCH-FIX-OPENSUSE disable-gpu-when-using-nouveau-boo-1005323.diff
-Patch2:         disable-gpu-when-using-nouveau-boo-1005323.diff
-Patch3:         fix1163766.patch
-Patch4:         chromium-glibc-2.33.patch
-Patch5:         sandbox-statx-futex_time64.patch
+Patch1:         disable-gpu-when-using-nouveau-boo-1005323.diff
+Patch2:         fix1163766.patch
+Patch3:         sandbox-statx-futex_time64.patch
 # PATCH-FIX-OPENSUSE
-Patch9:         rtc-dont-use-h264.patch
+Patch4:         rtc-dont-use-h264.patch
 # PATCH-FIX-UPSTREAM
-Patch10:        icu-68.patch
-Patch11:        icu-68-2.patch
+Patch5:         0001-Fix-normalization-of-app-locales.patch
+# PATCH-FIX-UPSTREAM
+Patch6:         chromium-glibc-2.33.patch
 # http://www.chromium.org/blink not ported to PowerPC
 ExcludeArch:    ppc ppc64 ppc64le s390 s390x
 # Try to fix i586 MemoryErrors with rpmlint
@@ -80,29 +73,33 @@
 BuildRequires:  libqt5-qtsvg-devel
 BuildRequires:  libcap-devel
 BuildRequires:  libgcrypt-devel
-BuildRequires:  libicu-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
-BuildRequires:  libqt5-qtbase-private-headers-devel >= 5.9
-BuildRequires:  libqt5-qtdeclarative-private-headers-devel >= 5.9
-BuildRequires:  libqt5-qtlocation-private-headers-devel >= 5.9
-BuildRequires:  libqt5-qttools-private-headers-devel >= 5.9
-BuildRequires:  libqt5-qtwebchannel-private-headers-devel >= 5.9
-BuildRequires:  libqt5-qtxmlpatterns-private-headers-devel >= 5.9
+BuildRequires:  libqt5-qtbase-private-headers-devel >= 5.12
+BuildRequires:  libqt5-qtdeclarative-private-headers-devel >= 5.12
+BuildRequires:  libqt5-qtlocation-private-headers-devel >= 5.12
+BuildRequires:  libqt5-qttools-private-headers-devel >= 5.12
+BuildRequires:  libqt5-qtwebchannel-private-headers-devel >= 5.12
+BuildRequires:  libqt5-qtxmlpatterns-private-headers-devel >= 5.12
 BuildRequires:  memory-constraints
 BuildRequires:  ninja
+# nodejs-default doesn't exist on Leap 15.2 and nodejs/nodejs-common is 
confused on TW/i586
+%if 0%{?suse_version} == 1500 && 0%{?sle_version} == 150200
+BuildRequires:  nodejs-common
+%else
+BuildRequires:  nodejs-default
+%endif
 BuildRequires:  pam-devel
 BuildRequires:  pciutils-devel
+BuildRequires:  perl
 BuildRequires:  perl-JSON
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  python
 BuildRequires:  python-devel
 BuildRequires:  python-xml
-BuildRequires:  re2-devel
 BuildRequires:  re2c
 BuildRequires:  sed
 BuildRequires:  snappy-devel
-BuildRequires:  sqlite3-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  usbutils
 BuildRequires:  util-linux
@@ -119,13 +116,23 @@
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(fontconfig)
-BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(freetype2) >= 2.4.2
 BuildRequires:  pkgconfig(gio-2.0)
-BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(glib-2.0) >= 2.32
+BuildRequires:  pkgconfig(glproto)
 BuildRequires:  pkgconfig(gmodule-2.0)
 BuildRequires:  pkgconfig(gobject-2.0)
 BuildRequires:  pkgconfig(gthread-2.0)
+BuildRequires:  pkgconfig(harfbuzz) >= 2.4.0
+BuildRequires:  pkgconfig(icu-uc) >= 65.0
+BuildRequires:  pkgconfig(icu-i18n) >= 65.0
 BuildRequires:  pkgconfig(jsoncpp)
+BuildRequires:  pkgconfig(lcms2)
+%if %{with system_ffmpeg}
+BuildRequires:  pkgconfig(libavcodec)
+BuildRequires:  pkgconfig(libavformat)
+BuildRequires:  pkgconfig(libavutil)
+%endif
 BuildRequires:  pkgconfig(libcrypto)
 BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(libevent)
@@ -140,13 +147,22 @@
 BuildRequires:  pkgconfig(libwebp)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(libxslt)
+%if %{with system_minizip}
+BuildRequires:  pkgconfig(minizip)
+%endif
 BuildRequires:  pkgconfig(nspr)
 BuildRequires:  pkgconfig(nss)
 BuildRequires:  pkgconfig(opus)
 BuildRequires:  pkgconfig(pangocairo)
 BuildRequires:  pkgconfig(pangoft2)
+BuildRequires:  pkgconfig(poppler-cpp)
 BuildRequires:  pkgconfig(protobuf)
+BuildRequires:  pkgconfig(re2)
 BuildRequires:  pkgconfig(speex)
+BuildRequires:  pkgconfig(sqlite3)
+%if %{with system_vpx}
+BuildRequires:  pkgconfig(vpx) >= 1.8.0
+%endif
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xcomposite)
 BuildRequires:  pkgconfig(xcursor)
@@ -161,28 +177,6 @@
 BuildRequires:  pkgconfig(xtst)
 BuildRequires:  pkgconfig(zlib)
 BuildRequires:  yasm-devel
-%if %{with system_minizip}
-BuildRequires:  pkgconfig(minizip)
-%endif
-%if %{with system_harfbuzz}
-BuildRequires:  pkgconfig(harfbuzz) >= 2.2.0
-%endif
-%if %{with system_icu}
-BuildRequires:  pkgconfig(icu-uc) >= 64.0
-BuildRequires:  pkgconfig(icu-i18n) >= 64.0
-%endif
-%if %{with system_vpx}
-BuildRequires:  pkgconfig(vpx) >= 1.8.0
-%endif
-%if %{with system_ffmpeg}
-BuildRequires:  pkgconfig(libavcodec)
-BuildRequires:  pkgconfig(libavformat)
-BuildRequires:  pkgconfig(libavutil)
-%endif
-%if %qt5_snapshot
-#to create the forwarding headers
-BuildRequires:  perl
-%endif
 %requires_ge libQt5Network5
 %requires_ge libQtQuick5
 %requires_ge libQt5Widgets5
@@ -212,10 +206,10 @@
 %package private-headers-devel
 Summary:        Non-ABI stable experimental API for the Qt5 WebEngine library
 Group:          Development/Libraries/C and C++
-BuildArch:      noarch
 Requires:       %{name}-devel = %{version}
 %requires_ge    libqt5-qtbase-private-headers-devel
 %requires_ge    libqt5-qtdeclarative-private-headers-devel
+BuildArch:      noarch
 
 %description private-headers-devel
 This package provides private headers of libqt5-qtwebengine that are normally
@@ -265,9 +259,9 @@
 %package -n libqt5-qtpdf-private-headers-devel
 Summary:        Non-ABI stable experimental API for the Qt5 PDF library
 Group:          Development/Libraries/C and C++
-BuildArch:      noarch
 Requires:       libqt5-qtpdf-devel = %{version}
 %requires_ge    libqt5-qtbase-private-headers-devel
+BuildArch:      noarch
 
 %description -n libqt5-qtpdf-private-headers-devel
 This package provides private headers of libqt5-qtpdf that are normally
@@ -293,11 +287,6 @@
   src/3rdparty/chromium/build/toolchain/linux/BUILD.gn
 
 %build
-%if %qt5_snapshot
-#force the configure script to generate the forwarding headers (it checks 
whether .git directory exists)
-mkdir .git
-%endif
-
 # TODO: Get the manual unbundling from chromium.spec working here as well
 rm -r src/3rdparty/chromium/third_party/openh264/src
 
@@ -313,48 +302,64 @@
         QMAKE_CXXFLAGS="$RPM_OPT_FLAGS" \
         QMAKE_LFLAGS+="-Wl,--no-keep-memory -Wl,--hash-size=31 
-Wl,--reduce-memory-overheads" \
         gn_args+="link_pulseaudio=true" \
+        gn_args+="media_use_openh264=false" \
+        gn_args+="use_system_libxml=true use_system_libxslt=true" \
         qtwebengine.pro -- \
-        -webengine-alsa -webengine-kerberos -no-webengine-embedded-build \
-%if %{with system_icu}
+        -webengine-alsa \
+        -no-webengine-embedded-build \
+        -webengine-kerberos \
         -system-webengine-icu \
-%endif
+        -system-webengine-opus \
+        -system-webengine-webp \
+        -webengine-pepper-plugins \
+        -webengine-printing-and-pdf \
 %if %{with system_ffmpeg}
         -system-webengine-ffmpeg \
         -webengine-proprietary-codecs \
 %endif
-        -system-webengine-opus -system-webengine-webp 
-webengine-pepper-plugins -webengine-printing-and-pdf
+
+# For an unknown reason, syncqt isn't executed when building the package on 
the build service
+cp %{SOURCE1} .
+for i in QtWebEngine QtWebEngineCore QtWebEngineWidgets QtPdf QtPdfWidgets ; do
+  perl -w %{_libqt5_bindir}/syncqt.pl -module $i -version %{version} -outdir 
$PWD -builddir $PWD $PWD
+done
 
 # Determine the right number of parallel processes based on the available 
memory
 %limit_build -m 2750
 
 # Ensure that also the internal chromium build follows the right number of 
parallel
 # processes instead of its defaults.
-export NINJAFLAGS="%{_smp_mflags}"
+export NINJAFLAGS="%{?_smp_mflags}"
 
 make %{_smp_mflags} VERBOSE=1
 
 %install
 %qmake5_install
-#cat %{buildroot}/%{_libdir}/pkgconfig/Qt*Web*.pc
-find %{buildroot}/%{_libdir} -type f -name '*la' -print -exec perl -pi -e 's, 
-L%{_builddir}/\S+,,g' {} +
-find %{buildroot}/%{_libdir} -type f -name '*pc' -print -exec perl -pi -e "s, 
-L$RPM_BUILD_DIR/?\S+,,g" {} + -exec sed -i -e 
"s,^moc_location=.*,moc_location=%libqt5_bindir/moc," -e 
"s,uic_location=.*,uic_location=%libqt5_bindir/uic," {} +
-find %{buildroot}/%{_libdir} -type f -name '*pc' -exec sed -i -e 
"/^RPM_BUILD_DIR/d" {} +
+
+find %{buildroot}%{_libdir} -type f -name '*la' -print -exec perl -pi -e 's, 
-L%{_builddir}/\S+,,g' {} +
+find %{buildroot}%{_libdir} -type f -name '*pc' -print -exec perl -pi -e "s, 
-L$RPM_BUILD_DIR/?\S+,,g" {} + -exec sed -i -e 
"s,^moc_location=.*,moc_location=%libqt5_bindir/moc," -e 
"s,uic_location=.*,uic_location=%libqt5_bindir/uic," {} +
+find %{buildroot}%{_libdir} -type f -name '*pc' -exec sed -i -e 
"/^RPM_BUILD_DIR/d" {} +
 sed -i '/^Libs.private/d' %{buildroot}%{_libdir}/pkgconfig/Qt*Web*.pc
+
 # kill .la files
 rm -f %{buildroot}%{_libqt5_libdir}/*.la
+
 # webenginecore expects icudatl.dat at this location
 # ln -sf %{_datadir}/icu/*/icudt*l.dat %{buildroot}%{_datadir}/qt5/icudtl.dat
 
 # Workaround to allow using QtWE with older Qt versions
-sed -i -r '/ EXACT\)/d' \
-  %{buildroot}%{_libqt5_libdir}/cmake/Qt5WebEngine*/Qt5WebEngine*Config.cmake
-
-sed -i '/find_package/!b;n;s/'%{so_version}/$(rpm -q --qf %%{version} 
libQt5Core5 | sed 's/~.*$//')/ \
-  %{buildroot}%{_libqt5_libdir}/cmake/Qt5WebEngine*/Qt5WebEngine*Config.cmake
+%global qtcore_version %(printf %{pkg_version libQt5Core5})
+# NOTE the space after '%%{version}' is important to only match '5.15.X 
${_Qt5XXX_FIND_VERSION_EXACT}'
+sed -i 's#%{version} #%{qtcore_version} #' 
%{buildroot}%{_libqt5_libdir}/cmake/*/*Config.cmake
 
 # Hunspell dictionaries will be converted and put here on package installation
 mkdir -p %{buildroot}%{_qtwebengine_dictionaries_dir}
 
+%if %{pkg_vcmp libQt5Core5 >= 5.15}
+# CMake files for plugins are only useful for static builds
+rm -r %{buildroot}%{_libqt5_libdir}/cmake/Qt5Gui
+%endif
+
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 %post -n libQt5Pdf5 -p /sbin/ldconfig
@@ -362,7 +367,6 @@
 %post -n libQt5PdfWidgets5 -p /sbin/ldconfig
 %postun -n libQt5PdfWidgets5 -p /sbin/ldconfig
 
-%if 0%{?suse_version} >= 1500
 %filetriggerin -- %{_datadir}/hunspell
 # Convert Hunspell dictionaries on package installation
 while read filename ; do
@@ -373,26 +377,22 @@
       ;;
   esac
 done
-%endif
 
 %files
 %license LICENSE.*
-%{_libqt5_libdir}/libQt5WebEngine.so.*
-%{_libqt5_libdir}/libQt5WebEngineCore.so.*
-%{_libqt5_libdir}/libQt5WebEngineWidgets.so.*
 %dir %{_datadir}/qt5/
-%dir %{_datadir}/qt5/translations/
-%{_datadir}/qt5/translations/qtwebengine_locales/
+%dir %{_qtwebengine_dictionaries_dir}
 %dir %{_datadir}/qt5/resources/
 %{_datadir}/qt5/resources/qtwebengine_*
-%if %{without system_icu}
-%{_datadir}/qt5/resources/icudtl.dat
-%endif
-%dir %{_qtwebengine_dictionaries_dir}
-%dir %{_libqt5_libexecdir}
-%{_libqt5_libexecdir}/QtWebEngineProcess
+%dir %{_datadir}/qt5/translations/
+%{_datadir}/qt5/translations/qtwebengine_locales/
 %{_libqt5_archdatadir}/qml/QtWebEngine/
 %{_libqt5_bindir}/qwebengine_convert_dict
+%{_libqt5_libdir}/libQt5WebEngine.so.*
+%{_libqt5_libdir}/libQt5WebEngineCore.so.*
+%{_libqt5_libdir}/libQt5WebEngineWidgets.so.*
+%dir %{_libqt5_libexecdir}
+%{_libqt5_libexecdir}/QtWebEngineProcess
 
 %files private-headers-devel
 %license LICENSE.*
@@ -401,15 +401,15 @@
 %files devel
 %exclude %{_libqt5_includedir}/QtWebEngine*/%{so_version}
 %{_libqt5_includedir}/QtWebEngine*/
-%{_libqt5_libdir}/libQt5WebEngine*.so
+%dir %{_libqt5_libdir}/cmake/Qt5Designer/
+%{_libqt5_libdir}/cmake/Qt5Designer/Qt5Designer_QWebEngineViewPlugin.cmake
+%{_libqt5_libdir}/cmake/Qt5WebEngine*/
 %{_libqt5_libdir}/libQt5WebEngine*.prl
+%{_libqt5_libdir}/libQt5WebEngine*.so
 %{_libqt5_libdir}/pkgconfig/Qt5WebEngine*.pc
 %{_libqt5_libdir}/qt5/mkspecs/modules/qt_lib_webengine*.pri
-%dir %{_libqt5_libdir}/cmake/Qt5Designer/
-%{_libqt5_libdir}/cmake/Qt5Designer/Qt5Designer_QWebEngineViewPlugin.cmake
 %dir %{_libqt5_plugindir}/designer/
 %{_libqt5_plugindir}/designer/libqwebengineview.so
-%{_libqt5_libdir}/cmake/Qt5WebEngine*/
 
 %files examples
 %license LICENSE.*
@@ -418,12 +418,8 @@
 
 %files -n libQt5Pdf5
 %license LICENSE.*
-%{_libqt5_libdir}/libQt5Pdf.so.*
 %{_libqt5_archdatadir}/plugins/imageformats/libqpdf.so
-# Not quite sure what this would be used by
-%dir %{_libqt5_libdir}/cmake/
-%dir %{_libqt5_libdir}/cmake/Qt5Gui/
-%{_libqt5_libdir}/cmake/Qt5Gui/Qt5Gui_QPdfPlugin.cmake
+%{_libqt5_libdir}/libQt5Pdf.so.*
 
 %files -n libQt5PdfWidgets5
 %license LICENSE.*
@@ -445,13 +441,13 @@
 %{_libqt5_includedir}/QtPdfWidgets/
 %{_libqt5_libdir}/cmake/Qt5Pdf/
 %{_libqt5_libdir}/cmake/Qt5PdfWidgets/
-%{_libqt5_libdir}/libQt5Pdf.so
-%{_libqt5_libdir}/libQt5PdfWidgets.so
 %{_libqt5_libdir}/libQt5Pdf.prl
+%{_libqt5_libdir}/libQt5Pdf.so
 %{_libqt5_libdir}/libQt5PdfWidgets.prl
-%{_libqt5_libdir}/qt5/mkspecs/modules/qt_lib_pdf*.pri
+%{_libqt5_libdir}/libQt5PdfWidgets.so
 %{_libqt5_libdir}/pkgconfig/Qt5Pdf.pc
 %{_libqt5_libdir}/pkgconfig/Qt5PdfWidgets.pc
+%{_libqt5_libdir}/qt5/mkspecs/modules/qt_lib_pdf*.pri
 
 %files -n libqt5-qtpdf-examples
 %license LICENSE.*

++++++ 0001-Fix-normalization-of-app-locales.patch ++++++
>From 199ea00a9eea13315a652c62778738629185b059 Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen <allan.jen...@qt.io>
Date: Wed, 10 Mar 2021 17:14:27 +0100
Subject: [PATCH] Fix normalization of app locales
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Use the internal Chromium routine to get the app locale Chromium
expects.

Fixes: QTBUG-91715
Change-Id: I5042eb066cb6879ad69628959912f2841867b4e8
Reviewed-by: Michael Br??ning <michael.brun...@qt.io>
---
 src/core/content_browser_client_qt.cpp        |  7 +++++-
 src/core/content_browser_client_qt.h          |  2 ++
 src/core/web_engine_library_info.cpp          | 18 +++++++-------
 .../qwebengineview/tst_qwebengineview.cpp     | 24 +++++++++++++++++++
 4 files changed, 40 insertions(+), 11 deletions(-)

diff --git a/src/core/content_browser_client_qt.cpp 
b/src/core/content_browser_client_qt.cpp
index e13ecd8d..c2c78ff8 100644
--- a/src/core/content_browser_client_qt.cpp
+++ b/src/core/content_browser_client_qt.cpp
@@ -471,7 +471,12 @@ std::unique_ptr<net::ClientCertStore> 
ContentBrowserClientQt::CreateClientCertSt
 
 std::string ContentBrowserClientQt::GetApplicationLocale()
 {
-    return WebEngineLibraryInfo::getApplicationLocale();
+    std::string bcp47Name = QLocale().bcp47Name().toStdString();
+    if (m_cachedQtLocale != bcp47Name) {
+        m_cachedQtLocale = bcp47Name;
+        m_appLocale = WebEngineLibraryInfo::getApplicationLocale();
+    }
+    return m_appLocale;
 }
 
 std::string ContentBrowserClientQt::GetAcceptLangs(content::BrowserContext 
*context)
diff --git a/src/core/content_browser_client_qt.h 
b/src/core/content_browser_client_qt.h
index 7c8aa3ac..1ccd2926 100644
--- a/src/core/content_browser_client_qt.h
+++ b/src/core/content_browser_client_qt.h
@@ -269,6 +269,8 @@ public:
 
 private:
     scoped_refptr<ShareGroupQtQuick> m_shareGroupQtQuick;
+    std::string m_appLocale;
+    std::string m_cachedQtLocale;
 };
 
 } // namespace QtWebEngineCore
diff --git a/src/core/web_engine_library_info.cpp 
b/src/core/web_engine_library_info.cpp
index 2ad5b756..09a4141b 100644
--- a/src/core/web_engine_library_info.cpp
+++ b/src/core/web_engine_library_info.cpp
@@ -46,6 +46,7 @@
 #include "components/spellcheck/spellcheck_buildflags.h"
 #include "content/public/common/content_paths.h"
 #include "sandbox/policy/switches.h"
+#include "ui/base/l10n/l10n_util.h"
 #include "ui/base/ui_base_paths.h"
 #include "ui/base/ui_base_switches.h"
 
@@ -353,18 +354,15 @@ base::string16 WebEngineLibraryInfo::getApplicationName()
 std::string WebEngineLibraryInfo::getApplicationLocale()
 {
     base::CommandLine *parsedCommandLine = 
base::CommandLine::ForCurrentProcess();
-    if (!parsedCommandLine->HasSwitch(switches::kLang)) {
+    if (parsedCommandLine->HasSwitch(switches::kLang)) {
+        return parsedCommandLine->GetSwitchValueASCII(switches::kLang);
+    } else {
         const QString &locale = QLocale().bcp47Name();
-
-        // QLocale::bcp47Name returns "en" for American English locale. 
Chromium requires the "US" suffix
-        // to clarify the dialect and ignores the shorter version.
-        if (locale == "en")
-            return "en-US";
-
-        return locale.toStdString();
+        std::string resolvedLocale;
+        if (l10n_util::CheckAndResolveLocale(locale.toStdString(), 
&resolvedLocale))
+            return resolvedLocale;
     }
-
-    return parsedCommandLine->GetSwitchValueASCII(switches::kLang);
+    return "en-US";
 }
 
 #if defined(OS_WIN)
diff --git a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp 
b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
index 02198638..bf2c28ae 100644
--- a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
+++ b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
@@ -123,6 +123,7 @@ private Q_SLOTS:
     void doNotBreakLayout();
 
     void changeLocale();
+    void mixLangLocale();
     void inputMethodsTextFormat_data();
     void inputMethodsTextFormat();
     void keyboardEvents();
@@ -1210,6 +1211,29 @@ void tst_QWebEngineView::changeLocale()
     QCOMPARE(errorLines.first().toUtf8(), QByteArrayLiteral("Die Website ist 
nicht erreichbar"));
 }
 
+void tst_QWebEngineView::mixLangLocale()
+{
+    for (QString locale : { "en_DK", "de_CH", "eu_ES" }) {
+        QLocale::setDefault(locale);
+        QWebEngineView view;
+        QSignalSpy loadSpy(&view, &QWebEngineView::loadFinished);
+
+        bool terminated = false;
+        auto sc = connect(view.page(), 
&QWebEnginePage::renderProcessTerminated, [&] () { terminated = true; });
+
+        view.load(QUrl("qrc:///resources/dummy.html"));
+        QTRY_VERIFY(terminated || loadSpy.count() == 1);
+
+        QVERIFY2(!terminated,
+            qPrintable(QString("Locale [%1] terminated: %2, loaded: 
%3").arg(locale).arg(terminated).arg(loadSpy.count())));
+        QVERIFY(loadSpy.first().first().toBool());
+
+        QString content = toPlainTextSync(view.page());
+        QVERIFY2(!content.isEmpty() && content.contains("test content"), 
qPrintable(content));
+    }
+    QLocale::setDefault(QLocale("en"));
+}
+
 void tst_QWebEngineView::inputMethodsTextFormat_data()
 {
     QTest::addColumn<QString>("string");
-- 
2.30.2

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
   <param name="changesgenerate">enable</param>
   <param name="version">5.15.3</param>
   <param name="url">git://code.qt.io/qt/qtwebengine.git</param>
   <param name="scm">git</param>
   <param name="filename">qtwebengine-everywhere-src</param>
   <param name="revision">5.15.3</param>
  </service>
  <service name="recompress" mode="disabled">
   <param name="file">*.tar</param>
   <param name="compression">xz</param>
  </service>
  <service name="set_version" mode="disabled" />
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param name="url">git://code.qt.io/qt/qtwebengine.git</param>
              <param 
name="changesrevision">a059e7404a6db799f4da0ad696e65ae9c854b4b0</param></service></servicedata>++++++
 chromium-glibc-2.33.patch ++++++
--- /var/tmp/diff_new_pack.HmdLtL/_old  2021-04-10 15:27:00.790352754 +0200
+++ /var/tmp/diff_new_pack.HmdLtL/_new  2021-04-10 15:27:00.790352754 +0200
@@ -1,13 +1,13 @@
 # Patch made by Kevin Kofler <ke...@tigcc.ticalc.org>
 # https://bugzilla.redhat.com/show_bug.cgi?id=1904652
 
-Index: 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.2.orig/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-+++ 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-@@ -253,6 +253,18 @@ ResultExpr EvaluateSyscallImpl(int fs_de
-     return RestrictKillTarget(current_pid, sysno);
+diff --git 
a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc 
b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+index 4772dc0..1f31d3a 100644
+--- 
a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
++++ 
b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+@@ -268,6 +268,18 @@ ResultExpr EvaluateSyscallImpl(int fs_denied_errno,
    }
+ #endif
  
 +#if defined(__NR_newfstatat)
 +  if (sysno == __NR_newfstatat) {
@@ -24,10 +24,10 @@
    if (SyscallSets::IsFileSystem(sysno) ||
        SyscallSets::IsCurrentDirectory(sysno)) {
      return Error(fs_denied_errno);
-Index: 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.2.orig/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
-+++ 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
+diff --git 
a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc 
b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
+index 76eb324..ad95656 100644
+--- 
a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
++++ 
b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
 @@ -6,6 +6,8 @@
  
  #include "sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h"
@@ -36,13 +36,13 @@
 +#include <fcntl.h>
  #include <stddef.h>
  #include <stdint.h>
- #include <sys/syscall.h>
-@@ -353,6 +355,35 @@ intptr_t SIGSYSSchedHandler(const struct
+ #include <string.h>
+@@ -355,6 +357,35 @@ intptr_t SIGSYSSchedHandler(const struct 
arch_seccomp_data& args,
    return -ENOSYS;
  }
  
 +intptr_t SIGSYSFstatatHandler(const struct arch_seccomp_data& args,
-+                              void* aux) {
++                            void* aux) {
 +  switch (args.nr) {
 +#if defined(__NR_newfstatat)
 +    case __NR_newfstatat:
@@ -73,7 +73,7 @@
  bpf_dsl::ResultExpr CrashSIGSYS() {
    return bpf_dsl::Trap(CrashSIGSYS_Handler, NULL);
  }
-@@ -385,6 +416,10 @@ bpf_dsl::ResultExpr RewriteSchedSIGSYS()
+@@ -387,6 +418,10 @@ bpf_dsl::ResultExpr RewriteSchedSIGSYS() {
    return bpf_dsl::Trap(SIGSYSSchedHandler, NULL);
  }
  
@@ -84,23 +84,22 @@
  void AllocateCrashKeys() {
  #if !defined(OS_NACL_NONSFI)
    if (seccomp_crash_key)
-Index: 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.2.orig/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
-+++ 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
-@@ -63,6 +63,11 @@ SIGSYSPtraceFailure(const struct arch_se
- SANDBOX_EXPORT intptr_t
-     SIGSYSSchedHandler(const struct arch_seccomp_data& args, void* aux);
- 
+diff --git 
a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h 
b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
+index 7a958b9..d0bfab7 100644
+--- a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
++++ b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
+@@ -62,6 +62,10 @@ SANDBOX_EXPORT intptr_t SIGSYSPtraceFailure(const 
arch_seccomp_data& args,
+ // sched_setparam(), sched_setscheduler()
+ SANDBOX_EXPORT intptr_t SIGSYSSchedHandler(const arch_seccomp_data& args,
+                                            void* aux);
 +// If the fstatat syscall is actually a disguised fstat, calls the regular 
fstat
 +// syscall, otherwise, crashes in the same way as CrashSIGSYS_Handler.
-+SANDBOX_EXPORT intptr_t SIGSYSFstatatHandler(const struct arch_seccomp_data& 
args,
++SANDBOX_EXPORT intptr_t SIGSYSFstatatHandler(const struct arch_seccomp_data& 
args, 
 +                                             void* aux);
-+
+ 
  // Variants of the above functions for use with bpf_dsl.
  SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYS();
- SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSClone();
-@@ -72,6 +77,7 @@ SANDBOX_EXPORT bpf_dsl::ResultExpr Crash
+@@ -72,6 +76,7 @@ SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSKill();
  SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSFutex();
  SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSPtrace();
  SANDBOX_EXPORT bpf_dsl::ResultExpr RewriteSchedSIGSYS();
@@ -108,10 +107,10 @@
  
  // Allocates a crash key so that Seccomp information can be recorded.
  void AllocateCrashKeys();
-Index: 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.cc
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.2.orig/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.cc
-+++ 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.cc
+diff --git a/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.cc 
b/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.cc
+index fcfd2aa..5396b36 100644
+--- a/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.cc
++++ b/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.cc
 @@ -261,4 +261,13 @@ int sys_sigaction(int signum,
  
  #endif  // defined(MEMORY_SANITIZER)
@@ -126,10 +125,10 @@
 +}
 +
  }  // namespace sandbox
-Index: 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.h
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.2.orig/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.h
-+++ 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.h
+diff --git a/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.h 
b/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.h
+index 1975bfb..ed7ee5a 100644
+--- a/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.h
++++ b/src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.h
 @@ -17,6 +17,7 @@ struct sock_fprog;
  struct rlimit64;
  struct cap_hdr;
@@ -138,7 +137,7 @@
  
  namespace sandbox {
  
-@@ -84,6 +85,9 @@ SANDBOX_EXPORT int sys_sigaction(int sig
+@@ -84,6 +85,9 @@ SANDBOX_EXPORT int sys_sigaction(int signum,
                                   const struct sigaction* act,
                                   struct sigaction* oldact);
  

++++++ fix1163766.patch ++++++
--- /var/tmp/diff_new_pack.HmdLtL/_old  2021-04-10 15:27:00.802352768 +0200
+++ /var/tmp/diff_new_pack.HmdLtL/_new  2021-04-10 15:27:00.802352768 +0200
@@ -1,15 +1,19 @@
-Author Bernhard M. Wiedemann <bwiedemann suse de>
-Date: 2020-04-07
-
-https://bugzilla.opensuse.org/show_bug.cgi?id=1163766
+From eaae274cb1975be558d8a535ba2310bc67c073a6 Mon Sep 17 00:00:00 2001
+From: "Bernhard M. Wiedemann" <bwiedemann suse de>
+Date: Wed, 24 Mar 2021 16:00:08 +0100
+Subject: [PATCH] https://bugzilla.opensuse.org/show_bug.cgi?id=1163766
 
 seccomp filters disallow a new kernel syscall to get time
 used on i586
+---
+ .../sandbox/linux/system_headers/x86_32_linux_syscalls.h  | 8 ++++++++
+ .../chromium/sandbox/policy/linux/bpf_ime_policy_linux.cc | 3 +++
+ 3 files changed, 16 insertions(+)
 
-Index: 
qtwebengine-everywhere-src-5.15.0-beta3/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.0-beta3.orig/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h
-+++ 
qtwebengine-everywhere-src-5.15.0-beta3/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h
+diff --git 
a/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h 
b/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h
+index 7613c9bbc..7093ac054 100644
+--- 
a/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h
++++ 
b/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h
 @@ -1710,5 +1710,13 @@
  #define __NR_clone3 435
  #endif
@@ -24,33 +28,20 @@
 +
  #endif  // SANDBOX_LINUX_SYSTEM_HEADERS_X86_32_LINUX_SYSCALLS_H_
  
-Index: 
qtwebengine-everywhere-src-5.15.0-beta3/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.0-beta3.orig/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-+++ 
qtwebengine-everywhere-src-5.15.0-beta3/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-@@ -151,6 +151,11 @@ ResultExpr EvaluateSyscallImpl(int fs_de
-   if (sysno == __NR_clock_gettime || sysno == __NR_clock_nanosleep) {
-     return RestrictClockID();
-   }
-+#if defined(__NR_clock_gettime64)
-+  if (sysno == __NR_clock_gettime64 || sysno == __NR_clock_nanosleep_time64) {
-+    return RestrictClockID();
-+  }
-+#endif
- 
-   if (sysno == __NR_clone) {
-     return RestrictCloneToThreadsAndEPERMFork();
-Index: 
qtwebengine-everywhere-src-5.15.0-beta3/src/3rdparty/chromium/services/service_manager/sandbox/linux/bpf_ime_policy_linux.cc
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.0-beta3.orig/src/3rdparty/chromium/services/service_manager/sandbox/linux/bpf_ime_policy_linux.cc
-+++ 
qtwebengine-everywhere-src-5.15.0-beta3/src/3rdparty/chromium/services/service_manager/sandbox/linux/bpf_ime_policy_linux.cc
-@@ -31,6 +31,9 @@ ResultExpr ImeProcessPolicy::EvaluateSys
+diff --git 
a/src/3rdparty/chromium/sandbox/policy/linux/bpf_ime_policy_linux.cc 
b/src/3rdparty/chromium/sandbox/policy/linux/bpf_ime_policy_linux.cc
+index 3fcdbcc18..c7a00c2c2 100644
+--- a/src/3rdparty/chromium/sandbox/policy/linux/bpf_ime_policy_linux.cc
++++ b/src/3rdparty/chromium/sandbox/policy/linux/bpf_ime_policy_linux.cc
+@@ -31,6 +31,9 @@ ResultExpr ImeProcessPolicy::EvaluateSyscall(int sysno) 
const {
+ #endif
  #if defined(__NR_clock_gettime)
      case __NR_clock_gettime:
- #endif
++#endif
 +#if defined(__NR_clock_gettime64)
 +    case __NR_clock_gettime64:
-+#endif
+ #endif
        return Allow();
  // https://crbug.com/991435
- #if defined(__NR_getrusage)
+-- 
+2.30.2
+

++++++ qtwebengine-everywhere-src-5.15.2.tar.xz -> 
qtwebengine-everywhere-src-5.15.3.tar.xz ++++++
/work/SRC/openSUSE:Factory/libqt5-qtwebengine/qtwebengine-everywhere-src-5.15.2.tar.xz
 
/work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new.2401/qtwebengine-everywhere-src-5.15.3.tar.xz
 differ: char 13, line 1

++++++ rtc-dont-use-h264.patch ++++++
--- /var/tmp/diff_new_pack.HmdLtL/_old  2021-04-10 15:27:00.834352806 +0200
+++ /var/tmp/diff_new_pack.HmdLtL/_new  2021-04-10 15:27:00.834352806 +0200
@@ -1,11 +1,11 @@
 From: Fabian Vogt <fab...@ritter-vogt.de>
 Subject: Don't require open264 when proprietary_codecs are supported
 
-Index: 
qtwebengine-everywhere-src-5.15.1/src/3rdparty/chromium/third_party/webrtc/webrtc.gni
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.1.orig/src/3rdparty/chromium/third_party/webrtc/webrtc.gni
-+++ 
qtwebengine-everywhere-src-5.15.1/src/3rdparty/chromium/third_party/webrtc/webrtc.gni
-@@ -149,8 +149,7 @@ declare_args() {
+diff --git a/src/3rdparty/chromium/third_party/webrtc/webrtc.gni 
b/chromium/third_party/webrtc/webrtc.gni
+index ca8acdbf259..36897a72aa8 100644
+--- a/src/3rdparty/chromium/third_party/webrtc/webrtc.gni
++++ b/src/3rdparty/chromium/third_party/webrtc/webrtc.gni
+@@ -151,8 +151,7 @@ declare_args() {
    #
    # Enabling H264 when building with MSVC is currently not supported, see
    # bugs.webrtc.org/9213#c13 for more info.
@@ -13,13 +13,14 @@
 -      proprietary_codecs && !is_android && !is_ios && !(is_win && !is_clang)
 +  rtc_use_h264 = false
  
-   # By default, use normal platform audio support or dummy audio, but don't
-   # use file-based audio playout and record.
-Index: qtwebengine-everywhere-src-5.15.1/src/core/config/common.pri
-===================================================================
---- qtwebengine-everywhere-src-5.15.1.orig/src/core/config/common.pri
-+++ qtwebengine-everywhere-src-5.15.1/src/core/config/common.pri
-@@ -27,9 +27,6 @@ qtConfig(webengine-webrtc) {
+   # Enable this flag to make webrtc::Mutex be implemented by absl::Mutex.
+   rtc_use_absl_mutex = false
+
+diff --git a/src/core/config/common.pri b/src/core/config/common.pri
+index d9d64e76..cd0fd120 100644
+--- a/src/core/config/common.pri
++++ b/src/core/config/common.pri
+@@ -26,9 +26,6 @@ qtConfig(webengine-webrtc) {
  
  qtConfig(webengine-proprietary-codecs) {
      gn_args += proprietary_codecs=true ffmpeg_branding=\"Chrome\"

++++++ sandbox-statx-futex_time64.patch ++++++
--- /var/tmp/diff_new_pack.HmdLtL/_old  2021-04-10 15:27:00.846352821 +0200
+++ /var/tmp/diff_new_pack.HmdLtL/_new  2021-04-10 15:27:00.846352821 +0200
@@ -8,11 +8,11 @@
 futex_time64 is also used internally in glibc, so handle that as well.
 The signature is identical where it matters.
 
-Index: 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-===================================================================
---- 
qtwebengine-everywhere-src-5.15.2.orig/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-+++ 
qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-@@ -190,6 +190,11 @@ ResultExpr EvaluateSyscallImpl(int fs_de
+diff --git 
a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc 
b/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+index 3c67b124786..4772dc096f5 100644
+--- 
a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
++++ 
b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+@@ -194,6 +194,11 @@ ResultExpr EvaluateSyscallImpl(int fs_denied_errno,
    if (sysno == __NR_futex)
      return RestrictFutex();
  
@@ -24,9 +24,9 @@
    if (sysno == __NR_set_robust_list)
      return Error(EPERM);
  
-@@ -265,6 +270,12 @@ ResultExpr EvaluateSyscallImpl(int fs_de
+@@ -257,6 +262,12 @@ ResultExpr EvaluateSyscallImpl(int fs_denied_errno,
+     return RestrictKillTarget(current_pid, sysno);
    }
- #endif
  
 +#if defined(__NR_statx)
 +  if (sysno == __NR_statx) {

++++++ sync.profile ++++++
%modules = ( # path to module name map
    "QtWebEngine" => "$basedir/src/webengine",
    "QtWebEngineWidgets" => "$basedir/src/webenginewidgets",
    "QtWebEngineCore" => "$basedir/src/core",
    "QtPdf" => "$basedir/src/pdf",
    "QtPdfWidgets" => "$basedir/src/pdfwidgets",
);
%moduleheaders = ( # restrict the module headers to those found in relative path
    "QtWebEngine" => "api",
    "QtWebEngineWidgets" => "api",
    "QtWebEngineCore" => "api",
    "QtPdf" => "api"
);
%classnames = (
);

Reply via email to