Compare commits

..

71 commits

Author SHA1 Message Date
Tomas Popela
256d15f664 Package was renamed to webkit2gtk3 2018-01-12 15:49:56 +01:00
Tomas Popela
03f6a2b2a6 Update to 2.19.5 2018-01-09 19:19:46 +01:00
Tomas Popela
ed730dc62d Update to 2.19.4 2018-01-09 13:13:41 +01:00
Tomas Popela
4cd57b35c6 Fix licenses
The build previously failed because one license was removed.
2017-12-13 16:55:13 +01:00
Tomas Popela
6fef8df7e0 Update to 2.19.3
Enable bmalloc again
2017-12-13 13:40:49 +01:00
b2c4344b8a Rebuild for ICU 60.1 2017-11-30 20:55:48 +00:00
Tomas Popela
87938f22d0 Fix compilation with BMalloc turned off 2017-11-30 15:28:00 +01:00
Tomas Popela
903c50089b Temporarily disable bmalloc 2017-11-30 07:52:45 +01:00
Tomas Popela
d514a8e303 Fix the build by including the missing file in tarball 2017-11-21 13:19:50 +01:00
Tomas Popela
1e50340e23 Add perl-File-Copy-Recursive to BR
And sort them.
2017-11-21 11:32:53 +01:00
Tomas Popela
3c86d3a40a Update to 2.19.2 2017-11-21 10:09:43 +01:00
Kalev Lember
1b94869d1b Fix gir directory ownership
Co-own the directories to make sure they get correctly removed when
uninstalling webkitgtk4.
2017-11-02 16:23:40 +01:00
Tomas Popela
465ca38ebe Update to 2.19.1 2017-10-31 17:11:53 +01:00
Tomas Popela
8f1c976234 Update to 2.18.2 2017-10-27 15:20:57 +02:00
Vít Ondruch
735ef250a3 Drop the explicit dependnecy on rubypick.
Better then depend on rubypick would be dependency on %{_bindir}/ruby. But
rubypick is pulled in via transitive dependencies anyway, so drop the
dependnecy altogether.
2017-10-26 12:23:02 +02:00
Tomas Popela
9f6f6e7617 Update to 2.18.1 2017-10-18 13:11:49 +02:00
Richard W.M. Jones
9c5df2c6b5 Rebuild to try to fix: libwebkit2gtk-4.0.so.37: undefined symbol:
soup_auth_manager_clear_cached_credentials
2017-09-13 21:38:23 +01:00
Tomas Popela
912491272f Fix JSC on big-endian arches 2017-09-11 14:50:20 +02:00
Tomas Popela
215dc52413 Commit SPEC file changes 2017-09-11 14:43:00 +02:00
Tomas Popela
0987868e44 Update to 2.18.0 2017-09-11 14:42:18 +02:00
Tomas Popela
0d98b2f496 Update to 2.17.92 2017-09-05 13:41:39 +02:00
Tomas Popela
524bbde06b Update to 2.17.91 2017-08-18 13:45:59 +02:00
Tomas Popela
5cb6048bb7 Update to 2.17.90 2017-08-09 13:33:58 +02:00
Fedora Release Engineering
8c528317d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:13:46 +00:00
Tomas Popela
c4e47114bb Package WebKitWebDriver 2017-07-27 15:38:52 +02:00
Tomas Popela
836c7e33f5 Add missing BR on mesa-libGLES-devel 2017-07-27 13:12:00 +02:00
Tomas Popela
f3e6fa7795 Add missing BR 2017-07-26 11:20:01 +02:00
Tomas Popela
bcb93fa2b3 Update to 2.17.5 2017-07-26 10:43:24 +02:00
Tomas Popela
09677f6049 Rebuild for rhbz#1470692 2017-07-20 14:41:03 +02:00
Richard W.M. Jones
22bb3816ca Bump release and rebuild to attempt to fix _ZSt11__once_call
dynamic linking problem (RHBZ#1470692).

I tested this first in a scratch build and it appears to have fixed
the problem I was having with emacs on ppc64le.
2017-07-18 23:40:52 +01:00
Kalev Lember
cf7fc828d1 Add a missing build dep 2017-07-17 20:52:47 +02:00
Tomas Popela
78d867a7c3 Take two on increasing the DIE limit 2017-06-21 09:54:56 +02:00
Tomas Popela
48f41182c3 Fix compilation on secondary arches 2017-06-20 11:42:42 +02:00
Tomas Popela
d6ca44dda9 Fix build with gcc 7 2017-06-19 14:40:22 +02:00
Tomas Popela
37c684a2a2 Remove patches that were upstreamed 2017-06-19 13:59:59 +02:00
Tomas Popela
e9d5b2e8ca Update to 2.17.4 2017-06-19 13:17:06 +02:00
Tomas Popela
fedeb167b3 Increase the DIE limit so our debuginfo packages could be size optimized - rhbz#1456261 2017-06-19 11:34:12 +02:00
Tomas Popela
27eaaaa205 Update the last patch to the upstream version 2017-05-23 09:21:05 +02:00
Tomas Popela
c5f5b3a966 Fix the latest patch 2017-05-22 16:03:37 +02:00
Tomas Popela
214df592e5 Fix the compilation on arches where we don't use bmalloc 2017-05-22 15:52:14 +02:00
Tomas Popela
f93ef446ca Update to 2.17.3 2017-05-22 11:28:54 +02:00
Fedora Release Engineering
ca6f0d7140 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 20:21:27 +00:00
Tomas Popela
2a9683ba70 Update to 2.17.2 2017-05-15 10:48:10 +02:00
Michael Catanzaro
c24eeac162 Update to 2.17.1 2017-05-09 07:54:30 -05:00
Tomas Popela
1c1d5ef171 Enable JIT and bmalloc on aarch64 and MIPS 2017-04-10 16:11:37 +02:00
Tomas Popela
e0b63c1539 Add patch for freezing regression 2017-04-06 10:35:54 +02:00
Tomas Popela
760c3fb60e Update the SPEC file 2017-04-04 10:38:21 +02:00
Tomas Popela
04714da99b Update to 2.16.1 2017-04-04 10:37:35 +02:00
Tomas Popela
e8f4b0235c Update to 2.16.0 2017-03-20 14:06:26 +01:00
Tomas Popela
ba406e12bd Update the specfile 2017-03-14 10:42:37 +01:00
Tomas Popela
c1ad2a110f Update to 2.15.92 2017-03-14 10:41:46 +01:00
Tomas Popela
0627c6c7ad Update to 2.15.91 2017-03-01 15:50:57 +01:00
Bastien Nocera
0033305729 Add patch to fix hangs when showing the Google search page 2017-02-24 13:04:53 +01:00
Tomas Popela
1e714baa87 Update gcc7 patch 2017-02-21 09:58:48 +01:00
Tomas Popela
a92bfc5f8d Update to 2.15.90 2017-02-21 09:32:38 +01:00
Tomas Popela
71bc324784 Add a follow-up patch for the Evolution fixes 2017-02-07 14:34:54 +01:00
Tomas Popela
d2eb88560c Add patches to make Evolution usable again - rhbz#1418413 2017-02-07 07:53:19 +01:00
Tomas Popela
f18fe11e31 Add a link to the bug that contains the fix that we used for PPC 2017-02-03 12:43:39 +01:00
Tomas Popela
be36599acd Add gcc7 build fix for PPC64 2017-02-02 16:46:38 +01:00
Tomas Popela
43219597e9 Fix the date 2017-02-02 15:27:11 +01:00
Tomas Popela
60ec0cfaa9 Push gcc7 fixes, only buildable with gcc-7.0.1-0.5.fc26 and higher 2017-02-02 09:59:52 +01:00
Sandro Mani
385fb19776 Rebuild (libwebp) 2017-02-01 19:33:33 +01:00
Tomas Popela
7337e235ad Update sources 2017-01-31 13:57:15 +01:00
Tomas Popela
bdd3652aa6 Update to 2.15.4 2017-01-31 13:10:34 +01:00
Tomas Popela
11802a00e7 Add missing perl-JSON-PP BR 2017-01-23 13:23:35 +01:00
Tomas Popela
e917ef47c5 Upload the sources again as it again silently failed previously 2017-01-23 10:47:09 +01:00
Tomas Popela
1be0fe48e6 Update to 2.15.3 2017-01-23 10:43:42 +01:00
Dennis Gilmore
fe31883e55 ireupload sources
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-01-17 10:49:17 -06:00
Tomas Popela
c1ed404124 Update to 2.15.2 2016-11-21 14:44:06 +01:00
Tomas Popela
f5390d3ab6 Fix the build 2016-10-27 15:10:28 +02:00
Tomas Popela
2ce66d5826 Update to 2.15.1 2016-10-26 13:20:47 +02:00
7 changed files with 1 additions and 820 deletions

62
.gitignore vendored
View file

@ -1,62 +0,0 @@
/webkitgtk-2.5.3.tar.xz
/webkitgtk-2.5.90.tar.xz
/webkitgtk-2.6.0.tar.xz
/webkitgtk-2.6.1.tar.xz
/webkitgtk-2.6.2.tar.xz
/webkitgtk-2.7.1.tar.xz
/webkitgtk-2.7.2.tar.xz
/webkitgtk-2.7.3.tar.xz
/webkitgtk-2.7.4.tar.xz
/webkitgtk-2.7.90.tar.xz
/webkitgtk-2.7.91.tar.xz
/webkitgtk-2.7.92.tar.xz
/webkitgtk-2.8.0.tar.xz
/webkitgtk-2.8.1.tar.xz
/webkitgtk-2.9.1.tar.xz
/webkitgtk-2.9.2.tar.xz
/webkitgtk-2.9.3.tar.xz
/webkitgtk-2.9.4.tar.xz
/webkitgtk-2.9.5.tar.xz
/webkitgtk-2.9.90.tar.xz
/webkitgtk-2.9.91.tar.xz
/webkitgtk-2.9.92.tar.xz
/webkitgtk-2.10.0.tar.xz
/webkitgtk-2.10.1.tar.xz
/webkitgtk-2.10.2.tar.xz
/webkitgtk-2.10.3.tar.xz
/webkitgtk-2.11.1.tar.xz
/webkitgtk-2.11.2.tar.xz
/webkitgtk-2.11.3.tar.xz
/webkitgtk-2.11.4.tar.xz
/webkitgtk-2.11.5.tar.xz
/webkitgtk-2.11.90.tar.xz
/webkitgtk-2.11.91.tar.xz
/webkitgtk-2.11.92.tar.xz
/webkitgtk-2.12.0.tar.xz
/webkitgtk-2.12.1.tar.xz
/webkitgtk-2.12.2.tar.xz
/webkitgtk-2.12.3.tar.xz
/webkitgtk-2.13.1.tar.xz
/webkitgtk-2.13.2.tar.xz
/webkitgtk-2.13.3.tar.xz
/webkitgtk-2.13.4.tar.xz
/webkitgtk-2.13.90.tar.xz
/webkitgtk-2.13.91.tar.xz
/webkitgtk-2.13.92.tar.xz
/webkitgtk-2.14.0.tar.xz
/webkitgtk-2.14.1.tar.xz
/webkitgtk-2.14.2.tar.xz
/webkitgtk-2.14.3.tar.xz
/webkitgtk-2.14.4.tar.xz
/webkitgtk-2.14.5.tar.xz
/webkitgtk-2.16.0.tar.xz
/webkitgtk-2.16.1.tar.xz
/webkitgtk-2.16.2.tar.xz
/webkitgtk-2.16.3.tar.xz
/webkitgtk-2.16.4.tar.xz
/webkitgtk-2.16.5.tar.xz
/webkitgtk-2.16.6.tar.xz
/webkitgtk-2.18.0.tar.xz
/webkitgtk-2.18.1.tar.xz
/webkitgtk-2.18.2.tar.xz
/webkitgtk-2.18.3.tar.xz

View file

@ -1,30 +0,0 @@
diff -up webkitgtk-2.14.7/Source/JavaScriptCore/bytecode/CodeBlock.cpp.b132333 webkitgtk-2.14.7/Source/JavaScriptCore/bytecode/CodeBlock.cpp
--- webkitgtk-2.14.7/Source/JavaScriptCore/bytecode/CodeBlock.cpp.b132333 2017-02-07 09:05:07.000000000 +0100
+++ webkitgtk-2.14.7/Source/JavaScriptCore/bytecode/CodeBlock.cpp 2017-06-16 10:34:57.859748036 +0200
@@ -2186,7 +2186,12 @@ void CodeBlock::finishCreation(VM& vm, S
instructions[i + 5].u.watchpointSet = op.watchpointSet;
else if (op.structure)
instructions[i + 5].u.structure.set(vm, this, op.structure);
- instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);
+
+ if (op.type == ClosureVar || op.type == ClosureVarWithVarInjectionChecks || op.type == GlobalProperty || op.type == GlobalPropertyWithVarInjectionChecks || op.type == ModuleVar)
+ instructions[i + 6].u.operand = op.operand;
+ else
+ instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);
+
break;
}
@@ -2222,7 +2227,11 @@ void CodeBlock::finishCreation(VM& vm, S
op.watchpointSet->invalidate(vm, PutToScopeFireDetail(this, ident));
} else if (op.structure)
instructions[i + 5].u.structure.set(vm, this, op.structure);
- instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);
+
+ if (op.type == ClosureVar || op.type == ClosureVarWithVarInjectionChecks || op.type == GlobalProperty || op.type == GlobalPropertyWithVarInjectionChecks || op.type == ModuleVar)
+ instructions[i + 6].u.operand = op.operand;
+ else
+ instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);
break;
}

1
dead.package Normal file
View file

@ -0,0 +1 @@
Package was renamed to webkit2gtk3

View file

@ -1,24 +0,0 @@
diff -up webkitgtk-2.17.92/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp.fedora-crypto-policy webkitgtk-2.17.92/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp
--- webkitgtk-2.17.92/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp.fedora-crypto-policy 2017-09-05 13:39:59.294426661 +0200
+++ webkitgtk-2.17.92/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp 2017-09-05 13:40:09.144389997 +0200
@@ -43,7 +43,7 @@ int main(int argc, char** argv)
// overwrite this priority string if it's already set by the user.
// https://bugzilla.gnome.org/show_bug.cgi?id=738633
// WARNING: This needs to be KEPT IN SYNC with WebProcessMain.cpp.
- setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
+ setenv("G_TLS_GNUTLS_PRIORITY", "@SYSTEM:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
#if USE(GCRYPT)
PAL::GCrypt::initialize();
diff -up webkitgtk-2.17.92/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp.fedora-crypto-policy webkitgtk-2.17.92/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp
--- webkitgtk-2.17.92/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp.fedora-crypto-policy 2017-09-05 13:40:28.558317735 +0200
+++ webkitgtk-2.17.92/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp 2017-09-05 13:40:56.057215378 +0200
@@ -43,7 +43,7 @@ int main(int argc, char** argv)
// overwrite this priority string if it's already set by the user.
// https://bugzilla.gnome.org/show_bug.cgi?id=738633
// WARNING: This needs to be KEPT IN SYNC with WebProcessMain.cpp.
- setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
+ setenv("G_TLS_GNUTLS_PRIORITY", "@SYSTEM:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
#if USE(GCRYPT)
PAL::GCrypt::initialize();

View file

@ -1 +0,0 @@
SHA512 (webkitgtk-2.18.3.tar.xz) = 8ba68d7234205728ed4b92358304cf0d0b771647d9b4316085241adeacafe67dee685225b0b46752087b93416ce8d2053a5a7c2376fda1eee7bc6d9024ae787e

View file

@ -1,13 +0,0 @@
diff -up webkitglib-2.14.1/Source/WebCore/platform/glib/UserAgentGLib.cpp.orig webkitglib-2.14.1/Source/WebCore/platform/glib/UserAgentGLib.cpp
--- webkitglib-2.14.1/Source/WebCore/platform/glib/UserAgentGLib.cpp.orig 2016-10-12 07:59:25.670057792 +0200
+++ webkitglib-2.14.1/Source/WebCore/platform/glib/UserAgentGLib.cpp 2016-10-12 08:01:06.251878684 +0200
@@ -85,6 +85,9 @@ static String buildUserAgentString(const UserAgentQuirks& quirks)
else {
uaString.append(platformForUAString());
uaString.appendLiteral("; ");
+#if defined(USER_AGENT_GTK_DISTRIBUTOR_NAME)
+ uaString.appendLiteral(USER_AGENT_GTK_DISTRIBUTOR_NAME "; ");
+#endif
uaString.append(platformVersionForUAString());
}

View file

@ -1,690 +0,0 @@
## NOTE: Lots of files in various subdirectories have the same name (such as
## "LICENSE") so this short macro allows us to distinguish them by using their
## directory names (from the source tree) as prefixes for the files.
%global add_to_license_files() \
mkdir -p _license_files ; \
cp -p %1 _license_files/$(echo '%1' | sed -e 's!/!.!g')
Name: webkitgtk4
Version: 2.18.3
Release: 1%{?dist}
Summary: GTK+ Web content engine library
License: LGPLv2
URL: http://www.webkitgtk.org/
Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
# https://bugs.webkit.org/show_bug.cgi?id=162611
Patch0: user-agent-branding.patch
# https://fedoraproject.org/wiki/Packaging:CryptoPolicies
# https://bugs.webkit.org/show_bug.cgi?id=158785
Patch1: fedora-crypto-policy.patch
# https://bugs.webkit.org/show_bug.cgi?id=132333
Patch2: cloop-big-endians.patch
BuildRequires: at-spi2-core-devel
BuildRequires: bison
BuildRequires: cairo-devel
BuildRequires: cmake
BuildRequires: enchant-devel
BuildRequires: flex
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel
BuildRequires: geoclue2-devel
BuildRequires: gettext
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gperf
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: gstreamer1-plugins-bad-free-devel
BuildRequires: gtk2-devel
BuildRequires: gtk3-devel
BuildRequires: gtk-doc
BuildRequires: harfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libjpeg-devel
BuildRequires: libnotify-devel
BuildRequires: libpng-devel
BuildRequires: libsecret-devel
BuildRequires: libsoup-devel
BuildRequires: libwebp-devel
BuildRequires: libxslt-devel
BuildRequires: libXt-devel
BuildRequires: libwayland-client-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libwayland-server-devel
BuildRequires: mesa-libEGL-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLES-devel
BuildRequires: pcre-devel
BuildRequires: perl-Switch
BuildRequires: perl-JSON-PP
BuildRequires: ruby rubypick rubygems
BuildRequires: sqlite-devel
BuildRequires: hyphen-devel
BuildRequires: gnutls-devel
%ifarch ppc
BuildRequires: libatomic
%endif
Requires: geoclue2
# Obsolete libwebkit2gtk from the webkitgtk3 package
Obsoletes: libwebkit2gtk < 2.5.0
Provides: libwebkit2gtk = %{version}-%{release}
# We're supposed to specify versions here, but these crap Google libs don't do
# normal releases. Accordingly, they're not suitable to be system libs.
Provides: bundled(angle)
Provides: bundled(brotli)
Provides: bundled(woff2)
# Require the jsc subpackage
Requires: %{name}-jsc%{?_isa} = %{version}-%{release}
# Recommend the support for the GTK+ 2 based NPAPI plugins
Recommends: %{name}-plugin-process-gtk2%{?_isa} = %{version}-%{release}
Obsoletes: %{name} < 2.12.0-3
# Filter out provides for private libraries
%global __provides_exclude_from ^%{_libdir}/webkit2gtk-4\\.0/.*\\.so$
%description
WebKitGTK+ is the port of the portable web rendering engine WebKit to the
GTK+ platform.
This package contains WebKitGTK+ for GTK+ 3.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-jsc%{?_isa} = %{version}-%{release}
Requires: %{name}-jsc-devel%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries, build data, and header
files for developing applications that use %{name}.
%package doc
Summary: Documentation files for %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description doc
This package contains developer documentation for %{name}.
%package jsc
Summary: JavaScript engine from %{name}
%description jsc
This package contains JavaScript engine from %{name}.
%package jsc-devel
Summary: Development files for JavaScript engine from %{name}
Requires: %{name}-jsc%{?_isa} = %{version}-%{release}
%description jsc-devel
The %{name}-jsc-devel package contains libraries, build data, and header
files for developing applications that use JavaScript engine from %{name}.
%package plugin-process-gtk2
Summary: GTK+ 2 based NPAPI plugins support for %{name}
Obsoletes: %{name} < 2.12.0-3
Requires: %{name}-jsc%{?_isa} = %{version}-%{release}
%description plugin-process-gtk2
Support for the GTK+ 2 based NPAPI plugins (such as Adobe Flash) for %{name}.
%prep
%autosetup -p1 -n webkitgtk-%{version}
# Remove bundled libraries
rm -rf Source/ThirdParty/gtest/
rm -rf Source/ThirdParty/qunit/
%build
# Increase the DIE limit so our debuginfo packages could be size optimized.
# Decreases the size for x86_64 from ~5G to ~1.1G.
# https://bugzilla.redhat.com/show_bug.cgi?id=1456261
%global _dwz_max_die_limit 250000000
# The _dwz_max_die_limit is being overridden by the arch specific ones from the
# redhat-rpm-config so we need to set the arch specific ones as well - now it
# is only needed for x86_64.
%global _dwz_max_die_limit_x86_64 250000000
%ifarch s390 aarch64
# Use linker flags to reduce memory consumption - on other arches the ld.gold is
# used and also it doesn't have the --reduce-memory-overheads option
%global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
%endif
# Decrease debuginfo even on ix86 because of:
# https://bugs.webkit.org/show_bug.cgi?id=140176
%ifarch s390 s390x %{arm} %{ix86} ppc %{power64} %{mips}
# Decrease debuginfo verbosity to reduce memory consumption even more
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%endif
%ifarch ppc
# Use linker flag -relax to get WebKit build under ppc(32) with JIT disabled
%global optflags %{optflags} -Wl,-relax
%endif
%if 0%{?fedora}
%global optflags %{optflags} -DUSER_AGENT_GTK_DISTRIBUTOR_NAME=\'\\"Fedora\\"\'
%endif
# Disable ld.gold on s390 as it does not have it.
# Also for aarch64 as the support is in upstream, but not packaged in Fedora.
mkdir -p %{_target_platform}
pushd %{_target_platform}
%cmake \
-DPORT=GTK \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_GTKDOC=ON \
-DENABLE_MINIBROWSER=ON \
%ifarch s390 aarch64
-DUSE_LD_GOLD=OFF \
%endif
%ifarch s390 s390x ppc %{power64}
-DENABLE_JIT=OFF \
%endif
%ifarch s390 s390x ppc %{power64}
-DUSE_SYSTEM_MALLOC=ON \
%endif
..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
%make_install -C %{_target_platform}
%find_lang WebKit2GTK-4.0
# Finally, copy over and rename various files for %%license inclusion
%add_to_license_files Source/JavaScriptCore/COPYING.LIB
%add_to_license_files Source/JavaScriptCore/icu/LICENSE
%add_to_license_files Source/ThirdParty/ANGLE/LICENSE
%add_to_license_files Source/ThirdParty/ANGLE/src/third_party/compiler/LICENSE
%add_to_license_files Source/ThirdParty/ANGLE/src/third_party/murmurhash/LICENSE
%add_to_license_files Source/WebCore/icu/LICENSE
%add_to_license_files Source/WebCore/LICENSE-APPLE
%add_to_license_files Source/WebCore/LICENSE-LGPL-2
%add_to_license_files Source/WebCore/LICENSE-LGPL-2.1
%add_to_license_files Source/WebInspectorUI/UserInterface/External/CodeMirror/LICENSE
%add_to_license_files Source/WebInspectorUI/UserInterface/External/Esprima/LICENSE
%add_to_license_files Source/WTF/icu/LICENSE
%add_to_license_files Source/WTF/wtf/dtoa/COPYING
%add_to_license_files Source/WTF/wtf/dtoa/LICENSE
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post jsc -p /sbin/ldconfig
%postun jsc -p /sbin/ldconfig
%files -f WebKit2GTK-4.0.lang
%license _license_files/*ThirdParty*
%license _license_files/*WebCore*
%license _license_files/*WebInspectorUI*
%license _license_files/*WTF*
%{_libdir}/libwebkit2gtk-4.0.so.*
%{_libdir}/girepository-1.0/WebKit2-4.0.typelib
%{_libdir}/girepository-1.0/WebKit2WebExtension-4.0.typelib
%{_libdir}/webkit2gtk-4.0/
%{_libexecdir}/webkit2gtk-4.0/
%{_bindir}/WebKitWebDriver
%exclude %{_libexecdir}/webkit2gtk-4.0/WebKitPluginProcess2
%files devel
%{_libexecdir}/webkit2gtk-4.0/MiniBrowser
%{_includedir}/webkitgtk-4.0/
%exclude %{_includedir}/webkitgtk-4.0/JavaScriptCore
%{_libdir}/libwebkit2gtk-4.0.so
%{_libdir}/pkgconfig/webkit2gtk-4.0.pc
%{_libdir}/pkgconfig/webkit2gtk-web-extension-4.0.pc
%{_datadir}/gir-1.0/WebKit2-4.0.gir
%{_datadir}/gir-1.0/WebKit2WebExtension-4.0.gir
%files jsc
%license _license_files/*JavaScriptCore*
%{_libdir}/libjavascriptcoregtk-4.0.so.*
%{_libdir}/girepository-1.0/JavaScriptCore-4.0.typelib
%files jsc-devel
%{_libexecdir}/webkit2gtk-4.0/jsc
%dir %{_includedir}/webkitgtk-4.0
%{_includedir}/webkitgtk-4.0/JavaScriptCore/
%{_libdir}/libjavascriptcoregtk-4.0.so
%{_libdir}/pkgconfig/javascriptcoregtk-4.0.pc
%{_datadir}/gir-1.0/JavaScriptCore-4.0.gir
%files plugin-process-gtk2
%{_libexecdir}/webkit2gtk-4.0/WebKitPluginProcess2
%files doc
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/webkit2gtk-4.0/
%{_datadir}/gtk-doc/html/webkitdomgtk-4.0/
%changelog
* Mon Nov 13 2017 Tomas Popela <tpopela@redhat.com> - 2.18.3-1
- Update to 2.18.3
* Fri Oct 27 2017 Tomas Popela <tpopela@redhat.com> - 2.18.2-1
- Update to 2.18.2
* Wed Oct 18 2017 Tomas Popela <tpopela@redhat.com> - 2.18.1-1
- Update to 2.18.1
* Mon Sep 11 2017 Tomas Popela <tpopela@redhat.com> - 2.18.0-1
- Update to 2.18.0
* Mon Jul 24 2017 Tomas Popela <tpopela@redhat.com> - 2.16.6-1
- Update to 2.16.6
* Tue Jun 27 2017 Tomas Popela <tpopela@redhat.com> - 2.16.5-1
- Update to 2.16.5
* Tue Jun 20 2017 Tomas Popela <tpopela@redhat.com> - 2.16.4-1
- Update to 2.16.4
- Fix CLoop crashes on big endian arches
* Wed May 24 2017 Tomas Popela <tpopela@redhat.com> - 2.16.3-1
- Update to 2.16.3
* Tue May 09 2017 Michael Catanzaro <mcatanzaro@igalia.com> - 2.16.2-1
- Update to 2.16.2
* Thu Apr 06 2017 Tomas Popela <tpopela@redhat.com> - 2.16.1-2
- Add patch for freezing regression
* Tue Apr 04 2017 Tomas Popela <tpopela@redhat.com> - 2.16.1-1
- Update to 2.16.1
* Mon Mar 20 2017 Tomas Popela <tpopela@redhat.com> - 2.16.0-1
- Update to 2.16.0
* Wed Feb 15 2017 Tomas Popela <tpopela@redhat.com> - 2.14.5-1
- Update to 2.14.5
* Fri Feb 10 2017 Tomas Popela <tpopela@redhat.com> - 2.14.4-1
- Update to 2.14.4
* Tue Jan 17 2017 Tomas Popela <tpopela@redhat.com> - 2.14.3-1
- Update to 2.14.3
* Thu Nov 03 2016 Tomas Popela <tpopela@redhat.com> - 2.14.2-1
- Update to 2.14.2
* Wed Oct 12 2016 Adam Jackson <ajax@redhat.com> - 2.14.1-2
- Prefer eglGetPlatformDisplay to eglGetDisplay
* Wed Oct 12 2016 Tomas Popela <tpopela@redhat.com> - 2.14.1-1
- Update to 2.14.1
* Tue Sep 20 2016 Tomas Popela <tpopela@redhat.com> - 2.14.0-1
- Update to 2.14.0
* Thu Sep 15 2016 Tomas Popela <tpopela@redhat.com> - 2.13.92-1
- Update to 2.13.92
* Mon Sep 12 2016 Tomas Popela <tpopela@redhat.com> - 2.13.91-1
- Update to 2.13.91
* Wed Aug 31 2016 Tomas Popela <tpopela@redhat.com> - 2.13.90-1
- Update to 2.13.90
* Wed Jul 27 2016 Tomas Popela <tpopela@redhat.com> - 2.13.4-1
- Update to 2.13.4
* Mon Jul 18 2016 Tomas Popela <tpopela@redhat.com> - 2.13.3-1
- Update to 2.13.3
- Enable JIT on ARMv7
* Fri Jul 08 2016 Tomas Popela <tpopela@redhat.com> - 2.13.2-4
- Remove the wrong patch for THUMB2 support
* Tue Jun 28 2016 Michael Catanzaro <mcatanzaro@igalia.com> - 2.13.2-3
- Disable NPAPI in Wayland
- Specify more bundled provides
- Again disable JIT on ARMv7 until rhbz#1350982 is fixed
* Tue Jun 28 2016 Tomas Popela <tpopela@redhat.com> - 2.13.2-2
- Enable JIT and BMalloc on ARMv7
* Thu Jun 23 2016 Tomas Popela <tpopela@redhat.com> - 2.13.2-1
- Update to 2.13.2
- Disable JIT on ARM until https://bugs.webkit.org/show_bug.cgi?id=159083 is fixed
* Sun Jun 19 2016 Michael Catanzaro <mcatanzaro@igalia.com> - 2.13.1-2
- Add patch to comply with Fedora crypto policy
* Tue May 31 2016 Tomas Popela <tpopela@redhat.com> - 2.13.1-1
- Update to 2.13.1
* Tue May 24 2016 Tomas Popela <tpopela@redhat.com> - 2.12.3-1
- Update to 2.12.3
* Fri Apr 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.12.2-2
- Remove typelib from jsc-devel because it is in jsc
* Thu Apr 28 2016 Tomas Popela <tpopela@redhat.com> - 2.12.2-1
- Update to 2.12.2
* Tue Apr 26 2016 Tomas Popela <tpopela@redhat.com> - 2.12.1-3
- Fix the build on aarch64 - disable bmalloc as it's crashing when generating
the documentation
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 2.12.1-2
- rebuild for ICU 57.1
* Thu Apr 14 2016 Tomas Popela <tpopela@redhat.com> - 2.12.1-1
- Update to 2.12.1
* Thu Apr 07 2016 Michael Catanzaro <mcatanzaro@igalia.com> - 2.12.0-3
- Attempt harder to ensure plugin-process-gtk2 is installed on upgrade
* Wed Apr 06 2016 Michael Catanzaro <mcatanzaro@igalia.com> - 2.12.0-2
- Attempt to ensure plugin-process-gtk2 is installed on upgrade
- Add patch for WebKit#155885
* Tue Mar 22 2016 Tomas Popela <tpopela@redhat.com> - 2.12.0-1
- Update to 2.12.0
* Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.11.92-3
- Add missing ldconfig call for jsc subpkg
* Thu Mar 17 2016 Tomas Popela <tpopela@redhat.com> - 2.11.92-2
- Fix the build with gcc6
* Thu Mar 17 2016 Tomas Popela <tpopela@redhat.com> - 2.11.92-1
- Update to 2.11.92
* Tue Mar 15 2016 Tomas Popela <tpopela@redhat.com> - 2.11.91-2
- Subpackage the WebKitPluginProcess2
- Resolves: rhbz#1317692
* Tue Mar 01 2016 Tomas Popela <tpopela@redhat.com> - 2.11.91-1
- Update to 2.11.91
* Mon Feb 29 2016 David King <amigadave@amigadave.com> - 2.11.90-4
- Move JavaScriptCore headers to jsc-devel subpackage (#1312894)
* Wed Feb 24 2016 Michael Catanzaro <mcatanzaro@igalia.com> - 2.11.90-3
- Stop building with ENABLE_OPENGL=OFF, see WebKit#126122 and WebKit#150955.
* Mon Feb 22 2016 Tomas Popela <tpopela@redhat.com> - 2.11.90-1
- Update to 2.11.90
* Tue Feb 9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.11.5-2
- Add ruby deps for build
* Tue Feb 09 2016 Tomas Popela <tpopela@redhat.com> - 2.11.5-1
- Update to 2.11.5
- Drop the llvm dependencies as we switched to B3
- Rebase the YouTube patch
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jan 28 2016 Tomas Popela <tpopela@redhat.com> - 2.11.4-2
- Rebuilt for LLVM rebase
* Wed Jan 20 2016 Tomas Popela <tpopela@redhat.com> - 2.11.4-1
- Update to 2.11.4
* Wed Jan 13 2016 Michael Catanzaro <mcatanzaro@igalia.com> - 2.11.3-2
- Build with ENABLE_OPENGL=OFF as I think it is causing bugs.
- Stop static linking to LLVM.
* Wed Jan 13 2016 Tomas Popela <tpopela@redhat.com> - 2.11.3-1
- Update to 2.11.3
* Wed Dec 30 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.11.2-6
- Remove webkitgtk-2.5.90-cloop_fix.patch and
webkitgtk-2.8.0-page_size_align.patch. These have been broken for ages.
- Remove webkitgtk-2.8.0-s390_fixes.patch since this is a patch for bmalloc, but
we disable bmalloc on s390.
- Don't request hardened build, it's the default.
- Use public USE_SYSTEM_MALLOC option instead of unsupported USE_BMALLOC.
- lldb is not bundled anymore.
* Wed Dec 30 2015 Michal Toman <mtoman@fedoraproject.org> - 2.11.2-5
- Add support for MIPS
* Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.11.2-4
- Rebuilt for libwebp soname bump
* Mon Dec 07 2015 Tomas Popela <tpopela@redhat.com> - 2.11.2-3
- rhbz#1289053 - Retire nspluginwrapper and remove from Fedora 24
* Mon Nov 30 2015 Tomas Popela <tpopela@redhat.com> - 2.11.2-2
- Introduce the jsc and jsc-devel subpackages with JavaScriptCore packaged
- Resolves: rhbz#1176677
* Mon Nov 23 2015 Tomas Popela <tpopela@redhat.com> - 2.11.2-1
- Update to 2.11.2
- Enable FTL on x86_64
* Tue Nov 03 2015 Tomas Popela <tpopela@redhat.com> - 2.11.1-1
- Update to 2.11.1
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 2.10.3-2
- rebuild for ICU 56.1
* Tue Oct 27 2015 Tomas Popela <tpopela@redhat.com> - 2.10.3-1
- Update to 2.10.3
* Thu Oct 15 2015 Tomas Popela <tpopela@redhat.com> - 2.10.2-1
- Update to 2.10.2
* Thu Oct 15 2015 Kalev Lember <klember@redhat.com> - 2.10.1-2
- Rebuilt
* Wed Oct 14 2015 Tomas Popela <tpopela@redhat.com> - 2.10.1-1
- Update to 2.10.1
* Fri Oct 09 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.10.0-2
- Add provides bundled(angle) since it's finally safe to do so.
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 2.10.0-1
- Update to 2.10.0
* Wed Sep 16 2015 Tomas Popela <tpopela@redhat.com> - 2.9.92-1
- Update to 2.9.92
* Wed Aug 26 2015 Kalev Lember <klember@redhat.com> - 2.9.91-1
- Update to 2.9.91
* Mon Aug 24 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.9.90-2
- Remove the address space limit patch: it was causing too many problems.
- (Warning! This means Red Hat Bugzilla can hang your computer again.)
- Improve the YouTube patch to avoid spamming the journal with rpm output.
- Add patch from upstream to workaround severe a performance regression.
- No need to explicitly enable Wayland support anymore; it's now default.
* Wed Aug 19 2015 Kalev Lember <klember@redhat.com> - 2.9.90-1
- Update to 2.9.90
* Mon Aug 03 2015 Tomas Popela <tpopela@redhat.com> - 2.9.5-1
- Update to 2.9.5
* Sat Aug 01 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.9.4-3
- Make YouTube work.
* Tue Jul 28 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.9.4-2
- Exempt the plugin process from the address space limit.
* Wed Jul 22 2015 Tomas Popela <tpopela@redhat.com> - 2.9.4-1
- Update to 2.9.4
* Thu Jul 09 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.9.3-3
- Prevent runaway web processes from using unlimited memory.
* Wed Jul 01 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.9.3-2
- Enable Wayland support at long last. Hopefully fixes #1220811.
* Tue Jun 23 2015 Tomas Popela <tpopela@redhat.com> - 2.9.3-1
- Update to 2.9.3
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed May 27 2015 Tomas Popela <tpopela@redhat.com> - 2.9.2-1
- Update to 2.9.2
* Thu May 07 2015 Tomas Popela <tpopela@redhat.com> - 2.9.1-1
- Update to 2.9.1
- Add hyphen-devel as BR
* Tue Apr 21 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.8.1-2
- Reenable fast matrix multiplication on x86_64
* Tue Apr 14 2015 Tomas Popela <tpopela@redhat.com> - 2.8.1-1
- Update to 2.8.1
* Wed Apr 08 2015 Michael Catanzaro <mcatanzaro@igalia.com> - 2.8.0-4
- Build with support for HTML5 desktop notifications
* Wed Apr 08 2015 Tomas Popela <tpopela@redhat.com> - 2.8.0-3
- Fix CLoop on secondary arches
* Fri Mar 27 2015 Than Ngo <than@redhat.com> - 2.8.0-2
- Fix build failures on s390
- Fix build failures with gcc 5
- Decrease the debuginfo verbosity on ppc and others
* Mon Mar 23 2015 Tomas Popela <tpopela@redhat.com> - 2.8.0-1
- Update to 2.8.0
* Tue Mar 17 2015 Tomas Popela <tpopela@redhat.com> - 2.7.92-1
- Update to 2.7.92
- Re-enable parallel build
- Compile and ship MiniBrowser
* Mon Mar 16 2015 Michael Catanzaro <mcatanzaro@gnome.org> 2.7.91-3
- Add a couple patches to fix more crashes
* Wed Mar 04 2015 Michael Catanzaro <mcatanzaro@gnome.org> 2.7.91-2
- Add patch to make gnome-online-accounts 3.15.91 not crash
* Tue Mar 03 2015 Tomas Popela <tpopela@redhat.com> - 2.7.91-1
- Update to 2.7.91
* Thu Feb 26 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.90-10
- Add Fedora branding to the user agent
* Thu Feb 19 2015 Tomas Popela <tpopela@redhat.com> - 2.7.90-9
- Fix the build with cmake 3.2.x
* Thu Feb 19 2015 Tomas Popela <tpopela@redhat.com> - 2.7.90-8
- Fix crash in CLoop
- Forgot to reset the release number so continuing with 8
- Decrease the debuginfo verbosity on s390x
* Wed Feb 18 2015 Tomas Popela <tpopela@redhat.com> - 2.7.90-7
- Update to 2.7.90
- Add JIT and CLoop fixes
* Mon Feb 16 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.4-7
- Remove disable codec installer patch, not needed in GNOME 3.15.90
* Tue Feb 10 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.4-6
- Temporarily disable cloop patch since it breaks js
- Add patch for gmutexlocker namespace collision with glib 2.43.4
* Fri Feb 06 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.4-5
- Revert yesterday's changes since they don't help.
* Thu Feb 05 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.4-4
- Disable JIT to see if it fixes js.
* Thu Feb 05 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.4-3
- Disable hardened build to see if it fixes js
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 2.7.4-2
- rebuild for ICU 54.1
* Tue Jan 20 2015 Tomas Popela <tpopela@redhat.com> - 2.7.4-1
- Update to 2.7.4
* Mon Jan 19 2015 Tomas Popela <tpopela@redhat.com> - 2.7.3-3
- Fix compilation on secondary arches
* Thu Jan 08 2015 Tomas Popela <tpopela@redhat.com> - 2.7.3-2
- Decrease debuginfo verbosity on ix86 to let it build
* Tue Dec 16 2014 Tomas Popela <tpopela@redhat.com> - 2.7.3-1
- Update to 2.7.3
* Tue Dec 09 2014 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.2-3
- Disable the PackageKit codec installer
* Sun Dec 07 2014 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.2-2
- Enable hardened build
* Mon Nov 24 2014 Tomas Popela <tpopela@redhat.com> - 2.7.2-1
- Update to 2.7.2
- Don't use ld.gold on s390 and aarch64
* Wed Nov 12 2014 Tomas Popela <tpopela@redhat.com> - 2.7.1-5
- Enable JIT where possible (accidentally turned off when updating to 2.5.90)
* Fri Nov 07 2014 Kalev Lember <kalevlember@gmail.com> - 2.7.1-4
- Build developer documentation
* Fri Oct 31 2014 Michael Catanzaro <mcatanzaro@gnome.org> - 2.7.1-3
- Obsolete libwebkit2gtk < 2.5.0 to be future-proof
* Fri Oct 31 2014 Kalev Lember <kalevlember@gmail.com> - 2.7.1-2
- Bump libwebkit2gtk obsoletes version
* Wed Oct 29 2014 Tomas Popela <tpopela@redhat.com> - 2.7.1-1
- Update to 2.7.1
* Wed Oct 22 2014 Tomas Popela <tpopela@redhat.com> - 2.6.2-1
- Update to 2.6.2
* Tue Oct 21 2014 Tomas Popela <tpopela@redhat.com> - 2.6.1-2
- Disable the SSLv3 to address the POODLE vulnerability
* Tue Oct 14 2014 Tomas Popela <tpopela@redhat.com> - 2.6.1-1
- Update to 2.6.1
* Thu Sep 25 2014 Tomas Popela <tpopela@redhat.com> - 2.6.0-1
- Add the wrongly removed CLoop patch and remove the one that was upstreamed
* Wed Sep 24 2014 Kalev Lember <kalevlember@gmail.com> - 2.6.0-1
- Update to 2.6.0
* Mon Sep 22 2014 Tomas Popela <tpopela@redhat.com> - 2.5.90-1
- Update to 2.5.90
* Tue Aug 26 2014 Kalev Lember <kalevlember@gmail.com> - 2.5.3-7
- Obsolete libwebkit2gtk from the webkitgtk3 package
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 2.5.3-6
- rebuild for ICU 53.1
* Mon Aug 25 2014 Tomas Popela <tpopela@redhat.com> - 2.5.3-5
- Add support for secondary arches
* Fri Aug 22 2014 Michael Catanzaro <mcatanzaro@gnome.org> - 2.5.3-4
- Add webkitgtk-2.5.3-toggle-buttons.patch
* Thu Aug 21 2014 Kalev Lember <kalevlember@gmail.com> - 2.5.3-3
- More package review fixes (#1131284)
- Correct the license tag to read LGPLv2
- Filter out provides for private libraries
* Tue Aug 19 2014 Kalev Lember <kalevlember@gmail.com> - 2.5.3-2
- Remove bundled leveldb, gtest, qunit in %%prep (#1131284)
* Fri Aug 15 2014 Kalev Lember <kalevlember@gmail.com> - 2.5.3-1
- Update to 2.5.3
* Fri Aug 01 2014 Kalev Lember <kalevlember@gmail.com> - 2.5.1-1
- Initial Fedora packaging, based on the webkitgtk3 package