Accepting request 523366 from GNOME:Factory

Add back patch.. Not fixed yet (forwarded request 523346 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/523366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/webkit2gtk3?expand=0&rev=43
This commit is contained in:
Dominique Leuenberger 2017-09-13 19:50:58 +00:00 committed by Git OBS Bridge
commit 461c538de1
5 changed files with 180 additions and 22 deletions

View File

@ -0,0 +1,13 @@
Index: webkitgtk-2.17.92/Source/WebCore/crypto/CryptoKey.cpp
===================================================================
--- webkitgtk-2.17.92.orig/Source/WebCore/crypto/CryptoKey.cpp
+++ webkitgtk-2.17.92/Source/WebCore/crypto/CryptoKey.cpp
@@ -67,6 +67,8 @@ auto CryptoKey::algorithm() const -> Alg
case KeyAlgorithmClass::Raw:
return downcast<RawKeyAlgorithm>(*algorithm).dictionary();
}
+
+ RELEASE_ASSERT_NOT_REACHED();
}
auto CryptoKey::usages() const -> Vector<CryptoKeyUsage>

View File

@ -1,3 +1,138 @@
-------------------------------------------------------------------
Mon Sep 11 08:07:29 UTC 2017 - zaitor@opensuse.org
- Update to version 2.18.0:
+ Initial WebDriver support.
+ New remote inspector infrastructure.
+ WebCrypto API support is now enabled by default.
+ GStreamerGL is enabled by default when building with GStreamer
>= 1.10.
+ Kinetic scrolling support.
+ New API to create a WebKitContextMenuItem from a GAction.
+ New API to allow overriding the popup menu of select elements.
-------------------------------------------------------------------
Thu Sep 7 10:17:51 UTC 2017 - dimstar@opensuse.org
- Add webkit2gtk3-no-return-in-nonvoid.patch: Fix brp error based
on "warning: control reaches end of non-void function".
-------------------------------------------------------------------
Mon Sep 4 15:25:11 UTC 2017 - zaitor@opensuse.org
- Update to version 2.17.92:
+ Improve CPU usage when rendering under Wayland in accelerated
compositing mode.
+ Improve the memory consumption of the UI process under Wayland.
+ Fix rendering issues in some web sites with accelerated
compositing enabled.
+ Fix a web process crash when closing the WebView.
+ Initialize libgcrypt in the network process too.
+ Show controls if a video element isnt allowed to play inline.
+ Add support for cookies and screenshots commands in WebDriver.
+ Fix several crashes and rendering issues.
+ Updated translations.
-------------------------------------------------------------------
Sun Aug 20 20:50:58 UTC 2017 - zaitor@opensuse.org
- Update to version 2.17.91:
+ Fix proxy HTTP authentication for HTTPS requests.
+ Stop kinetic scrolling when a zero movement is reached.
+ Fix UI process crash when selecting text.
+ Fix UI process crash when loading a favicon.
+ Properly handle WebDriver click command on option elements.
+ Fix web process crash when resizing the window with accelerated
compositing enabled.
+ Fix crashes in 32 bit systems due to incorrect use of GVariant.
+ Fix several crashes and rendering issues.
-------------------------------------------------------------------
Wed Aug 9 11:34:55 UTC 2017 - zaitor@opensuse.org
- Update to version 2.17.90:
+ WebCrypto API support is now enabled by default.
+ Add API to provide browser information required by automation.
+ Fix the expiration date of manually added cookies.
+ Add support for alerts in WebDriver.
+ WebKitDatabaseProcess binary has been renamed to
WebKitStorageProcess.
+ Fix several crashes and rendering issues.
-------------------------------------------------------------------
Wed Jul 26 11:36:10 UTC 2017 - zaitor@opensuse.org
- Update to version 2.17.5:
+ Add initial implementation of WebDriver.
+ Enable GStreamerGL by default when building with GStreamer >=
1.10.
+ Fix position of context menu in Wayland.
+ Properly close cookies database at network process exit.
+ Fix several crashes and rendering issues.
+ Updated translations.
- Drop webkit2gtk3-gcc7.patch and
webkit2gtk3-machine-context.patch: Fixed upstream.
- Add pkgconfig(gstreamer-gl-1.0) BuildRequires: New dependency.
- Add explicit Mesa-libEGL-devel, Mesa-libGL-devel,
Mesa-libGLESv1_CM-devel, Mesa-libGLESv2-devel and
Mesa-libGLESv3-devel BuildRequires.
-------------------------------------------------------------------
Mon Jul 24 15:34:04 UTC 2017 - zaitor@opensuse.org
- Update to version 2.17.4:
+ Add API to allow overriding popup menus.
+ Add kinetic scrolling support.
+ Improve theme rendering performance when using GTK+ >= 3.20.
+ Improve error message when webkit_web_view_run_javascript()
fails due to a JavaScript exception.
+ Fix artifacts when rendering large images.
+ Fix blob downloads.
+ Fix web process deadlock when seeking youtube videos.
+ Fix alpha premultiplying when using cairo to draw the video
frames.
+ Fix web process deadlock when closing the remote inspector
frontend.
+ Update several web inspector icons.
+ Fix several crashes and rendering issues.
+ Updated translations.
- Changes from version 2.17.3:
+ Add new API to create a WebKitContextMenuItem from a GAction.
+ Fix graphics repaint hungs in accelerated compositing mode
after a resize.
+ Fix rendering glitches in HiDPI in long GitHub Gist pages when
focusing the comments textarea.
+ Remove Firefox user agent quirk for Google domains.
+ Remove LATEST_RECORD_VERSION from GnuTLS priority string.
+ Improve colors of inspector SVG icons.
+ Fix several crashes and rendering issues.
+ Updated translations.
- Changes from version 2.17.2:
+ Update user agent quirks to make Youtube and new Google login
page work.
+ Fix URL shown in the title of beforeunload dialogs.
+ Focus first input field of HTTP authentication dialog.
+ Fix rendering of PNG images when decoded in more than one
chunk.
+ Update several web inspector icons.
+ Fix the build with OpenGL disabled.
+ Fix several crashes and rendering issues.
- Changes from version 2.17.1:
+ Switch to use new remote inspector infraestructure instead of
legacy Web Sockets based one.
+ Add API to enable and handle Web Automation.
+ Load large images asynchronously off the main theead.
+ Use GtkFileChooserNative for open/save dialogs when available.
+ Make file chooser run as modal by default if possible.
+ Fix position of dropdown menus in Wayland.
+ Keep URI fragments after a server redirection.
+ Implement support for aria-haspopup and aria-autocomplete.
+ Implement aria-value support for focusable separators.
+ Fix playing of some live streams.
- Add webkit2gtk3-gcc7.patch: Fix build with gcc7 (webkit#173544).
- Add webkit2gtk3-machine-context.patch: Fix build for ppc64le
(webkit#173590).
-------------------------------------------------------------------
Mon Jul 24 15:33:55 UTC 2017 - zaitor@opensuse.org

View File

@ -26,33 +26,32 @@
%define _pkgconfig_suffix gtk-3.0
%define _name webkitgtk
Name: webkit2gtk3
Version: 2.16.6
Version: 2.18.0
Release: 0
Summary: Library for rendering web content, GTK+ Port
License: LGPL-2.0+ and BSD-3-Clause
License: LGPL-2.0+ AND BSD-3-Clause
Group: Development/Libraries/C and C++
Url: http://webkitgtk.org/
Source: http://webkitgtk.org/releases/%{_name}-%{version}.tar.xz
Source1: baselibs.conf
# PATCH-FIX-OPENSUSE webkitgtk-typelib-sharelib-link.patch dimstar@opensuse.org -- Fixup the .gir file to contain the full library name for libjavascriptcore.
Patch0: webkitgtk-typelib-sharelib-link.patch
%ifnarch s390 s390x
BuildRequires: binutils-gold
%endif
# PATCH-FIX-UPSTREAM webkit2gtk3-no-return-in-nonvoid.patch webkit£318374 dimstar@opensuse.org -- Fix "control reaches end of non-void function"
Patch1: webkit2gtk3-no-return-in-nonvoid.patch
BuildRequires: Mesa-libEGL-devel
BuildRequires: Mesa-libGL-devel
BuildRequires: Mesa-libGLESv1_CM-devel
BuildRequires: Mesa-libGLESv2-devel
BuildRequires: Mesa-libGLESv3-devel
BuildRequires: bison >= 2.3
BuildRequires: cmake
%if 0%{?suse_version} == 1315
BuildRequires: gcc6-c++
#!BuildIgnore: libgcc_s1
%else
BuildRequires: gcc-c++ >= 4.9
%endif
BuildRequires: gobject-introspection-devel
BuildRequires: gperf >= 3.0.1
BuildRequires: hyphen-devel
BuildRequires: libicu-devel
BuildRequires: libjpeg-devel
BuildRequires: perl >= 5.10.0
BuildRequires: pkgconfig
BuildRequires: python >= 2.6.0
BuildRequires: ruby >= 1.8.7
BuildRequires: pkgconfig(atk)
@ -65,11 +64,8 @@ BuildRequires: pkgconfig(geoclue-2.0) >= 2.1.5
BuildRequires: pkgconfig(glib-2.0) >= 2.36
BuildRequires: pkgconfig(gnutls) >= 3.0.0
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.0.3
BuildRequires: pkgconfig(gstreamer-gl-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
%if 0%{?is_opensuse}
# We require gtk2 for the Gtk2 plugin wrapper
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.10
%endif
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(harfbuzz) >= 0.9.2
@ -83,7 +79,19 @@ BuildRequires: pkgconfig(libxslt) >= 1.1.7
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(zlib)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifnarch s390 s390x
BuildRequires: binutils-gold
%endif
%if 0%{?suse_version} == 1315
BuildRequires: gcc6-c++
#!BuildIgnore: libgcc_s1
%else
BuildRequires: gcc-c++ >= 4.9
%endif
%if 0%{?is_opensuse}
# We require gtk2 for the Gtk2 plugin wrapper
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.10
%endif
%description
WebKit is a web content engine, derived from KHTML and KJS from KDE,
@ -96,11 +104,11 @@ more.
%package -n libwebkit2gtk%{_wk2sover}
Summary: Library for rendering web content, GTK+ Port
Group: System/Libraries
Provides: %{_pkgname_no_slpp} = %{version}
Recommends: %{_pkgname_no_slpp}-lang
# Require the injected bundles. The bundles are dlopen()ed
Group: System/Libraries
Requires: webkit2gtk-4_0-injected-bundles
Recommends: %{_pkgname_no_slpp}-lang
Provides: %{_pkgname_no_slpp} = %{version}
%description -n libwebkit2gtk%{_wk2sover}
WebKit is a web content engine, derived from KHTML and KJS from KDE,
@ -229,6 +237,7 @@ more.
%prep
%setup -q -n webkitgtk-%{version}
%patch0 -p1
%patch1 -p1
%build
# Use linker flags to reduce memory consumption
@ -281,6 +290,7 @@ make %{?_smp_mflags}
%exclude %{_libexecdir}/libwebkit2gtk%{_wk2sover}/jsc
%{_libexecdir}/libwebkit2gtk%{_wk2sover}/
%{_libdir}/libwebkit2gtk-4.0.so.*
%{_bindir}/WebKitWebDriver
%if 0%{?is_opensuse}
%files plugin-process-gtk2

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc23650df953123c59b9c0edf3855e7bd55bd107820997fc72375811e1ea4b21
size 14658120

3
webkitgtk-2.18.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b583e46a3de36a3e80ba33b084ead60512a2046aca01ff61e50e519436e5038d
size 14758272