Hello community, here is the log from the commit of package webkit2gtk3 for openSUSE:Factory checked in at 2019-11-15 22:30:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/webkit2gtk3 (Old) and /work/SRC/openSUSE:Factory/.webkit2gtk3.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "webkit2gtk3" Fri Nov 15 22:30:53 2019 rev:88 rq:747649 version:2.26.2 Changes: -------- --- /work/SRC/openSUSE:Factory/webkit2gtk3/webkit2gtk3.changes 2019-11-10 21:57:14.389903583 +0100 +++ /work/SRC/openSUSE:Factory/.webkit2gtk3.new.26869/webkit2gtk3.changes 2019-11-15 22:30:55.460108941 +0100 @@ -1,0 +2,14 @@ +Mon Nov 11 22:31:54 UTC 2019 - Michael Gorse <mgo...@suse.com> + +- Add webkit2gtk3-icu-build-fix.patch: fix build with icu 65.1. + +------------------------------------------------------------------- +Thu Nov 7 16:38:56 UTC 2019 - Michael Gorse <mgo...@suse.com> + +- Only use wpe and xdg-dbus-proxy/bubblewrap for TW and + SLE-15-SP2 / leap 15.2. +- Don't pass -DENABLE_BUBBLEWRAP_SANDBOX=ON; it is on by default. +- Remove conditionals for EOL versions of openSUSE. +- Always build with python3; remove the conditional. + +------------------------------------------------------------------- @@ -4 +18 @@ -- Update to version 2.26.2: +- Update to version 2.26.2 (boo#1156318): @@ -12,0 +27 @@ + + Security fixes: CVE-2019-8812, CVE-2019-8814. @@ -35,0 +51,2 @@ + ++ Security fixes: CVE-2019-8783, CVE-2019-8811, CVE-2019-8813, + CVE-2019-8816, CVE-2019-8819, CVE-2019-8820, CVE-2019-8823. @@ -58 +75 @@ -- Update to version 2.26.0: +- Update to version 2.26.0 (boo#1155321): @@ -69,0 +87,3 @@ + + Security fixes: CVE-2019-8625, CVE-2019-8720, CVE-2019-8769, + CVE-2019-8771, CVE-2019-8710, CVE-2019-8743, CVE-2019-8764, + CVE-2019-8766, CVE-2019-8782, CVE-2019-8808, CVE-2019-8815. @@ -185 +205,3 @@ - CVE-2019-8684, CVE-2019-8688. + CVE-2019-8684, CVE-2019-8688, CVE-2019-8674, CVE-2019-8707, + CVE-2019-8719, CVE-2019-8733, CVE-2019-8763, CVE-2019-8765, + CVE-2019-8821, CVE-2019-8822. @@ -215 +237,2 @@ - CVE-2019-8681, CVE-2019-8687, CVE-2019-8689, CVE-2019-8690. + CVE-2019-8681, CVE-2019-8687, CVE-2019-8689, CVE-2019-8690, + CVE-2019-8726. @@ -242 +265 @@ - CVE-2019-8686. + CVE-2019-8686, CVE-2019-8735. @@ -305 +328,2 @@ - CVE-2019-8551, CVE-2019-8558, CVE-2019-8559, CVE-2019-8563. + CVE-2019-8551, CVE-2019-8558, CVE-2019-8559, CVE-2019-8563, + CVE-2019-8768. New: ---- webkit2gtk3-icu-build-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webkit2gtk3.spec ++++++ --- /var/tmp/diff_new_pack.D8KExn/_old 2019-11-15 22:30:57.272108145 +0100 +++ /var/tmp/diff_new_pack.D8KExn/_new 2019-11-15 22:30:57.272108145 +0100 @@ -27,20 +27,9 @@ %define _name webkitgtk # gold linker not available on old s390/s390x %define _gold_linker 1 -%if 0%{?suse_version} < 1320 -%ifarch s390 s390x -%define _gold_linker 0 -%endif -%else %ifarch ppc s390 %define _gold_linker 0 %endif -%endif -%if 0%{?suse_version} >= 1500 -%bcond_without python3 -%else -%bcond_with python3 -%endif Name: webkit2gtk3 Version: 2.26.2 Release: 0 @@ -54,6 +43,8 @@ Source99: webkit2gtk3.keyring # PATCH-FIX-OPENSUSE webkit2gtk3-fdo-soname.patch mgo...@suse.com -- don't call dlopen with an unversioned soname. Patch0: webkit2gtk3-fdo-soname.patch +# PATCh-FIX-UPSTREAM webkit2gtk3-icu-build-fix.patch mgo...@suse.com -- fix build with icu 65.1. +Patch1: webkit2gtk3-icu-build-fix.patch BuildRequires: Mesa-libEGL-devel BuildRequires: Mesa-libGL-devel @@ -61,7 +52,9 @@ BuildRequires: Mesa-libGLESv2-devel BuildRequires: Mesa-libGLESv3-devel BuildRequires: bison >= 2.3 +%if 0%{?suse_version} > 1510 BuildRequires: bubblewrap +%endif BuildRequires: cmake BuildRequires: enchant-devel BuildRequires: gobject-introspection-devel @@ -73,7 +66,9 @@ BuildRequires: perl >= 5.10.0 BuildRequires: pkgconfig BuildRequires: ruby >= 1.8.7 +%if 0%{?suse_version} > 1510 BuildRequires: xdg-dbus-proxy +%endif BuildRequires: pkgconfig(atk) BuildRequires: pkgconfig(atspi-2) >= 2.5.3 BuildRequires: pkgconfig(cairo) >= 1.10.2 @@ -107,15 +102,13 @@ BuildRequires: pkgconfig(libxslt) >= 1.1.7 BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(upower-glib) +%if 0%{?suse_version} > 1510 BuildRequires: pkgconfig(wpe-1.0) >= 1.3.0 BuildRequires: pkgconfig(wpebackend-fdo-1.0) >= 1.3.0 +%endif +BuildRequires: gcc-c++ >= 4.9 BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(zlib) -%if 0%{?suse_version} == 1315 -BuildRequires: gcc7-c++ -%else -BuildRequires: gcc-c++ >= 4.9 -%endif %if 0%{?suse_version} >= 1500 BuildRequires: openjpeg2 BuildRequires: openjpeg2-devel @@ -123,12 +116,7 @@ %if 0%{?suse_version} > 1500 BuildRequires: pkgconfig(libwoff2dec) %endif -%if %{with python3} BuildRequires: python3 -%else -BuildRequires: python >= 2.6.0 -BuildRequires: python2-xml -%endif %if %{_gold_linker} BuildRequires: binutils-gold %endif @@ -146,9 +134,13 @@ Summary: Library for rendering web content, GTK+ Port # Require the injected bundles. The bundles are dlopen()ed Group: System/Libraries +%if 0%{?suse_version} > 1510 Requires: bubblewrap +%endif Requires: webkit2gtk-4_0-injected-bundles +%if 0%{?suse_version} > 1510 Requires: xdg-dbus-proxy +%endif Recommends: %{_pkgname_no_slpp}-lang Provides: %{_pkgname_no_slpp} = %{version} Obsoletes: webkit2gtk3-plugin-process-gtk2 @@ -297,9 +289,7 @@ test "$max_link_jobs" -le 0 && max_link_jobs=1 && echo "Warning: Not linking in parallel at all becuse of memory limits" fi -%if %{with python3} export PYTHON=%{_bindir}/python3 -%endif # Use linker flags to reduce memory consumption %if %{_gold_linker} %global optflags %(echo %{optflags} -Wl,--no-keep-memory | sed 's/-g /-g1 /') @@ -315,25 +305,19 @@ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now -pthread" \ -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now -pthread" \ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now -pthread" \ -%if 0%{?suse_version} == 1315 - -DCMAKE_C_COMPILER=gcc-7 \ - -DCMAKE_CXX_COMPILER=g++-7 \ - -DENABLE_WEB_CRYPTO=OFF \ - -DUSE_GSTREAMER_GL=false \ - -DUSE_OPENJPEG=false \ -%endif %if 0%{?suse_version} <= 1500 -DUSE_WOFF2=false \ -DENABLE_MEDIA_SOURCE=OFF \ %endif -%if %{with python3} - -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ +%if 0%{?suse_version} <= 1510 + -DUSE_WPE_RENDERER=OFF \ + -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ %endif + -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ %ifarch armv6hl ppc ppc64 ppc64le riscv64 s390 s390x -DENABLE_JIT=OFF \ %endif -DUSE_SYSTEM_MALLOC=ON \ - -DENABLE_BUBBLEWRAP_SANDBOX=ON \ %ninja_build -j $max_link_jobs ++++++ webkit2gtk3-icu-build-fix.patch ++++++ >From 730b80e691a4b9dd0e9727cfcd9806dfa542397b Mon Sep 17 00:00:00 2001 From: "commit-qu...@webkit.org" <commit-qu...@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> Date: Fri, 4 Oct 2019 21:51:37 +0000 Subject: [PATCH] Fix build with icu 65.1 https://bugs.webkit.org/show_bug.cgi?id=202600 Patch by Heiko Becker <heire...@exherbo.org> on 2019-10-04 Reviewed by Konstantin Tokarev. Source/WebCore: * dom/Document.cpp: (WebCore::isValidNameNonASCII): (WebCore::Document::parseQualifiedName): Source/WTF: * wtf/URLHelpers.cpp: (WTF::URLHelpers::allCharactersInIDNScriptWhiteList): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@250747 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WTF/ChangeLog | 10 ++++++++++ Source/WTF/wtf/URLHelpers.cpp | 2 +- Source/WebCore/ChangeLog | 11 +++++++++++ Source/WebCore/dom/Document.cpp | 6 +++--- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Source/WTF/wtf/URLHelpers.cpp b/Source/WTF/wtf/URLHelpers.cpp index 18e7f13cd61..c584f1a0cb7 100644 --- a/Source/WTF/wtf/URLHelpers.cpp +++ b/Source/WTF/wtf/URLHelpers.cpp @@ -301,7 +301,7 @@ static bool allCharactersInIDNScriptWhiteList(const UChar* buffer, int32_t lengt Optional<UChar32> previousCodePoint; while (i < length) { UChar32 c; - U16_NEXT(buffer, i, length, c) + U16_NEXT(buffer, i, length, c); UErrorCode error = U_ZERO_ERROR; UScriptCode script = uscript_getScript(c, &error); if (error != U_ZERO_ERROR) { diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp index 2443e24c9bc..1fbb3a71600 100644 --- a/Source/WebCore/dom/Document.cpp +++ b/Source/WebCore/dom/Document.cpp @@ -4954,12 +4954,12 @@ static bool isValidNameNonASCII(const UChar* characters, unsigned length) unsigned i = 0; UChar32 c; - U16_NEXT(characters, i, length, c) + U16_NEXT(characters, i, length, c); if (!isValidNameStart(c)) return false; while (i < length) { - U16_NEXT(characters, i, length, c) + U16_NEXT(characters, i, length, c); if (!isValidNamePart(c)) return false; } @@ -5019,7 +5019,7 @@ ExceptionOr<std::pair<AtomString, AtomString>> Document::parseQualifiedName(cons for (unsigned i = 0; i < length; ) { UChar32 c; - U16_NEXT(qualifiedName, i, length, c) + U16_NEXT(qualifiedName, i, length, c); if (c == ':') { if (sawColon) return Exception { InvalidCharacterError }; -- 2.23.0