Summary: Port of WebKit embeddable web component to GTK+ 3
Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ 3
Name: gtk-webkit4
-Version: 2.24.1
+Version: 2.25.1
Release: 1
License: BSD-like
Group: X11/Libraries
Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
-# Source0-md5: ed70e2bf2476a58b17df3d051f42ce6a
+# Source0-md5: 379659e4c4aea94d6b21d6801a061587
Patch0: x32.patch
Patch1: %{name}-icu59.patch
Patch2: %{name}-gir.patch
BuildRequires: at-spi2-core-devel >= 2.6.0
BuildRequires: atk-devel
BuildRequires: bison >= 2.3
+BuildRequires: bubblewrap >= 0.3.1
BuildRequires: cairo-devel >= 1.16.0
BuildRequires: cmake >= 3.3
BuildRequires: docbook-dtd412-xml
BuildRequires: sqlite3-devel >= 3
BuildRequires: tar >= 1:1.22
BuildRequires: woff2-devel >= 1.0.2
+BuildRequires: xdg-dbus-proxy
BuildRequires: xorg-lib-libXcomposite-devel
BuildRequires: xorg-lib-libXdamage-devel
BuildRequires: xorg-lib-libXrender-devel
%files -f WebKit2GTK-4.0.lang
%defattr(644,root,root,755)
%doc NEWS
-%attr(755,root,root) %{_bindir}/WebKitWebDriver
+%attr(755,root,root) %{_bindir}/WebDriver
%attr(755,root,root) %{_libdir}/libwebkit2gtk-4.0.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libwebkit2gtk-4.0.so.37
%attr(755,root,root) %{_libdir}/libjavascriptcoregtk-4.0.so.*.*.*
--- webkitgtk-2.24.1/Source/bmalloc/bmalloc/Gigacage.h.orig 2019-04-20 18:12:00.719079717 +0200
+++ webkitgtk-2.24.1/Source/bmalloc/bmalloc/Gigacage.h 2019-04-20 18:17:04.960764832 +0200
@@ -35,7 +35,7 @@
+ #include <cstddef>
#include <inttypes.h>
- #if ((BOS(DARWIN) || BOS(LINUX)) && \
--(BCPU(X86_64) || (BCPU(ARM64) && !defined(__ILP32__) && (!BPLATFORM(IOS_FAMILY) || BPLATFORM(IOS)))))
-+((BCPU(X86_64) && !defined(__ILP32__)) || (BCPU(ARM64) && !defined(__ILP32__) && (!BPLATFORM(IOS_FAMILY) || BPLATFORM(IOS)))))
+-#if ((BOS(DARWIN) || BOS(LINUX)) && BCPU(X86_64))
++#if ((BOS(DARWIN) || BOS(LINUX)) && (BCPU(X86_64) && !defined(__ILP32__)))
#define GIGACAGE_ENABLED 1
#else
#define GIGACAGE_ENABLED 0