Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

29 commits

Author SHA1 Message Date
Michael Catanzaro
4a50796d09 Update to 2.30.6 2021-03-26 15:44:44 -05:00
Michael Catanzaro
3ada174c7d Fix year in changelog 2021-03-11 15:57:15 -06:00
Michael Catanzaro
1b599bfc11 Update to 2.30.5 2021-02-15 13:20:58 -06:00
Michael Catanzaro
33f81a00cb Update to 2.30.4 2020-12-15 09:54:20 -06:00
Michael Catanzaro
0e7bb8627d Update to 2.30.3 2020-11-24 15:16:26 -06:00
Michael Catanzaro
714d26ec46 Add missing BuildRequires: pkgconfig(libgcrypt) 2020-10-26 13:23:50 -05:00
Michael Catanzaro
216297b1c6 Update to 2.30.2 2020-10-26 11:46:33 -05:00
Michael Catanzaro
6a8f5675e8 Update to 2.30.1 2020-09-21 12:13:07 -05:00
Michael Catanzaro
b618dbcab4 Remove another old license 2020-09-11 19:10:35 -05:00
Michael Catanzaro
08ee011e11 Remove old LICENSE 2020-09-11 18:34:03 -05:00
Michael Catanzaro
21367d4df1 Add missing libsystemd BuildRequires 2020-09-11 17:38:15 -05:00
Michael Catanzaro
e88cafe86e Don't forget to update sources 2020-09-11 17:25:32 -05:00
Michael Catanzaro
b599861e68 Update to 2.30.0 2020-09-11 16:40:48 -05:00
Michael Catanzaro
d55b0a330f Update to 2.28.4 2020-07-28 14:43:02 -05:00
Michael Catanzaro
7bc377102a Drop some Requires to Recommends 2020-07-14 16:42:04 -05:00
Michael Catanzaro
f1fa6b076b Update to 2.28.3 2020-07-09 09:57:56 -05:00
Michael Catanzaro
0bd990e45b Add missing Requires: xdg-desktop-portal-gtk
This is needed for the bubblewrap sandbox.
2020-06-16 13:12:29 -05:00
Michael Catanzaro
dcb42994a7 Fix garbage collection on ppc64le and s390x after upgrade to 2.28 2020-05-08 16:36:51 -05:00
Michael Catanzaro
1eb065a901 Update to 2.28.2 2020-04-24 18:04:15 -05:00
Michael Catanzaro
8fe2d63ec4 Actually reenable WPE renderer. 2020-04-17 13:54:23 -05:00
Michael Catanzaro
2efe88edc8 Fix and reenable WPE renderer. Fix popup menus in X11. 2020-04-17 10:54:11 -05:00
Michael Catanzaro
c3a05124d3 Disable WPE renderer again. 2020-04-15 14:50:53 -05:00
Michael Catanzaro
48e21363fa Update to 2.28.1 2020-04-13 12:43:39 -05:00
Michael Catanzaro
981b805857 Remove old patch 2020-04-09 16:04:55 -05:00
Michael Catanzaro
f903f95b63 Reenable WPE renderer, seems to have mysteriously fixed itself.
Second attempt to fix ppc64le.
2020-04-09 13:44:24 -05:00
Michael Catanzaro
e479e783da Merge branch 'master' into f32 2020-03-24 15:44:21 -05:00
Michael Catanzaro
54edee5c29 Merge branch 'master' into f32 2020-03-24 15:07:37 -05:00
Michael Catanzaro
c2ff85ec36 Merge branch 'master' into f32 2020-03-16 16:42:13 -05:00
Michael Catanzaro
649980baba Rebuild with koji hopefully not broken this time? 2020-03-11 19:00:55 -05:00
8 changed files with 90 additions and 104 deletions

20
.gitignore vendored
View file

@ -40,3 +40,23 @@
/webkitgtk-2.27.90.tar.xz
/webkitgtk-2.27.91.tar.xz
/webkitgtk-2.28.0.tar.xz
/webkitgtk-2.28.1.tar.xz
/webkitgtk-2.28.2.tar.xz
/webkitgtk-2.28.3.tar.xz
/webkitgtk-2.28.3.tar.xz.asc
/webkitgtk-2.28.4.tar.xz
/webkitgtk-2.28.4.tar.xz.asc
/webkitgtk-2.30.0.tar.xz
/webkitgtk-2.30.0.tar.xz.asc
/webkitgtk-2.30.1.tar.xz
/webkitgtk-2.30.1.tar.xz.asc
/webkitgtk-2.30.2.tar.xz
/webkitgtk-2.30.2.tar.xz.asc
/webkitgtk-2.30.3.tar.xz
/webkitgtk-2.30.3.tar.xz.asc
/webkitgtk-2.30.4.tar.xz
/webkitgtk-2.30.4.tar.xz.asc
/webkitgtk-2.30.5.tar.xz
/webkitgtk-2.30.5.tar.xz.asc
/webkitgtk-2.30.6.tar.xz
/webkitgtk-2.30.6.tar.xz.asc

View file

@ -1,14 +0,0 @@
diff --git a/Source/JavaScriptCore/runtime/JSCConfig.h b/Source/JavaScriptCore/runtime/JSCConfig.h
index ea2446f4..fa010be9 100644
--- a/Source/JavaScriptCore/runtime/JSCConfig.h
+++ b/Source/JavaScriptCore/runtime/JSCConfig.h
@@ -37,7 +37,7 @@ class VM;
#if CPU(ARM64) || PLATFORM(WATCHOS)
constexpr size_t PageSize = 16 * KB;
#else
-constexpr size_t PageSize = 4 * KB;
+constexpr size_t PageSize = 64 * KB;
#endif
constexpr size_t ConfigSizeToProtect = PageSize;

View file

@ -1,26 +0,0 @@
--- a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
+++ b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
@@ -30,6 +30,10 @@
#include <wtf/glib/GRefPtr.h>
#include <wtf/glib/GUniquePtr.h>
+#if PLATFORM(GTK)
+#include "WaylandCompositor.h"
+#endif
+
#if PLATFORM(GTK)
#define BASE_DIRECTORY "webkitgtk"
#elif PLATFORM(WPE)
@@ -330,6 +334,12 @@ static void bindWayland(Vector<CString>& args)
const char* runtimeDir = g_get_user_runtime_dir();
GUniquePtr<char> waylandRuntimeFile(g_build_filename(runtimeDir, display, nullptr));
bindIfExists(args, waylandRuntimeFile.get(), BindFlags::ReadWrite);
+
+#if PLATFORM(GTK) && !USE(WPE_RENDERER)
+ String displayName = WaylandCompositor::singleton().displayName();
+ waylandRuntimeFile.reset(g_build_filename(runtimeDir, displayName.utf8().data(), nullptr));
+ bindIfExists(args, waylandRuntimeFile.get(), BindFlags::ReadWrite);
+#endif
}
#endif

View file

@ -1,24 +0,0 @@
From 494e4abb7a5130376d3cdb41a5e3963650b8659f Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Mon, 16 Jul 2018 06:34:53 +0200
Subject: [PATCH] Fix the broken build due to python2
/builddir/build/BUILD/webkitgtk-2.23.3/Tools/gtkdoc/generate-gtkdoc
/usr/bin/env: 'python': No such file or directory
---
Tools/gtk/generate-gtkdoc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Tools/gtk/generate-gtkdoc b/Tools/gtk/generate-gtkdoc
index 45c23dfb..a3f82984 100755
--- a/Tools/gtkdoc/generate-gtkdoc
+++ b/Tools/gtkdoc/generate-gtkdoc
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# Copyright (C) 2011 Igalia S.L.
#
# This library is free software; you can redistribute it and/or
--
2.17.1

View file

@ -1 +1,2 @@
SHA512 (webkitgtk-2.28.0.tar.xz) = ce6b770e99741be6d353716d1e7bccba1372ed4667baeec41428d73c3502b0baa1cb8932f6bcede9c87d9b7f54b57a5a85a056c9882d4c5b34f9c70e6a2124dd
SHA512 (webkitgtk-2.30.6.tar.xz) = fe2de42ea66162cf28002bd2bd83890c8f8f6336fea873f769a57bae4d6cb8fd6c41af224e320608bcb47c8f0f41d150ac47004e9ef52127d208c01ae6dcf47f
SHA512 (webkitgtk-2.30.6.tar.xz.asc) = bd2853c42a2a014093c43736bdde64bbfa21423dee0cc8c6dd8294eaee6fa5014b2b6e8c544b9291560e68df570708836520d19b887a0ca63c64ff277aff3855

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

@ -6,8 +6,8 @@
cp -p %1 _license_files/$(echo '%1' | sed -e 's!/!.!g')
Name: webkit2gtk3
Version: 2.28.0
Release: 8%{?dist}
Version: 2.30.6
Release: 1%{?dist}
Summary: GTK Web content engine library
License: LGPLv2
@ -17,15 +17,6 @@ Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
# Created from http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xF3D322D0EC4582C3
Source2: https://people.gnome.org/~mcatanzaro/gpg-key-D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3.gpg
# https://bugs.webkit.org/show_bug.cgi?id=162611
Patch0: user-agent-branding.patch
# Don't use the shebang, but point straight to python 3
Patch1: no-env-shebang.patch
# https://bugs.webkit.org/show_bug.cgi?id=209236
Patch2: fix-ppc64le.patch
# https://bugs.webkit.org/show_bug.cgi?id=209106
Patch3: fix-wayland-compositor.patch
BuildRequires: bison
BuildRequires: bubblewrap
BuildRequires: cmake
@ -68,6 +59,7 @@ BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(libgcrypt)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libopenjp2)
@ -76,6 +68,7 @@ BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libwoff2dec)
BuildRequires: pkgconfig(libxslt)
@ -84,15 +77,22 @@ BuildRequires: pkgconfig(upower-glib)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-server)
# WPE renderer disabled due to https://bugs.webkit.org/show_bug.cgi?id=209118
#BuildRequires: pkgconfig(wpe-1.0)
#BuildRequires: pkgconfig(wpebackend-fdo-1.0)
BuildRequires: pkgconfig(wpe-1.0)
BuildRequires: pkgconfig(wpebackend-fdo-1.0)
BuildRequires: pkgconfig(xt)
# These are hard requirements of WebKit's bubblewrap sandbox.
Requires: bubblewrap
Requires: geoclue2
Requires: xdg-dbus-proxy
# If Geoclue is not running, the geolocation API will not work.
Recommends: geoclue2
# If no xdg-desktop-portal backend is installed, many features will be broken
# inside the sandbox. In particular, the -gtk backend has to be installed for
# desktop settings access, including font settings.
Recommends: xdg-desktop-portal-gtk
# Obsolete libwebkit2gtk from the webkitgtk3 package
Obsoletes: libwebkit2gtk < 2.5.0
Provides: libwebkit2gtk = %{version}-%{release}
@ -163,7 +163,7 @@ files for developing applications that use JavaScript engine from %{name}.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1 -n webkitgtk-%{version} -S git
%autosetup -p1 -n webkitgtk-%{version}
# Remove bundled libraries
rm -rf Source/ThirdParty/gtest/
@ -192,7 +192,6 @@ rm -rf Source/ThirdParty/qunit/
mkdir -p %{_target_platform}
pushd %{_target_platform}
# WPE renderer disabled due to https://bugs.webkit.org/show_bug.cgi?id=209118
%cmake \
-GNinja \
-DPORT=GTK \
@ -200,7 +199,6 @@ pushd %{_target_platform}
-DENABLE_GTKDOC=ON \
-DENABLE_MINIBROWSER=ON \
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
-DUSE_WPE_RENDERER=OFF \
..
popd
@ -215,12 +213,10 @@ export NINJA_STATUS="[%f/%t][%e] "
# 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/common/third_party/smhasher/LICENSE
%add_to_license_files Source/ThirdParty/ANGLE/src/third_party/compiler/LICENSE
%add_to_license_files Source/ThirdParty/ANGLE/src/third_party/libXNVCtrl/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
@ -282,6 +278,58 @@ export NINJA_STATUS="[%f/%t][%e] "
%{_datadir}/gtk-doc/html/webkitdomgtk-4.0/
%changelog
* Fri Mar 26 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 2.30.6-1
- Update to 2.30.6
* Mon Feb 15 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 2.30.5-1
- Update to 2.30.5
* Tue Dec 15 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.30.4-1
- Update to 2.30.4
* Tue Nov 24 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.30.3-1
- Update to 2.30.3
* Mon Oct 26 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.30.2-1
- Update to 2.30.2
* Mon Sep 21 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.30.1-1
- Update to 2.30.1
* Fri Sep 11 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.30.0-1
- Update to 2.30.0
* Tue Jul 28 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.4-1
- Update to 2.28.4
* Tue Jul 14 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.3-2
- Drop some Requires to Recommends
* Thu Jul 09 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.3-1
- Update to 2.28.3
* Fri May 08 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.2-2
- Fix garbage collection on ppc64le and s390x after upgrade to 2.28
* Fri Apr 24 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.2-1
- Update to 2.28.2
* Fri Apr 17 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.1-4
- Actually reenable WPE renderer.
* Fri Apr 17 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.1-3
- Fix and reenable WPE renderer. Fix popup menus in X11.
* Wed Apr 15 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.1-2
- Disable WPE renderer again.
* Mon Apr 13 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.1-1
- Update to 2.28.1
* Thu Apr 09 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.0-9
- Reenable WPE renderer, seems to have mysteriously fixed itself.
- Second attempt to fix ppc64le.
* Tue Mar 24 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.0-8
- Fix accelerated compositing mode with bubblewrap sandbox enabled
- Fix JavaScriptCore on ppc64le

View file

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABEDAB0WIQTX/PYc+aLeqzHYG9Pz0yLQ7EWCwwUCXmd12wAKCRDz0yLQ7EWC
w1FpAJ9xYuc79pO8nM0kqJf1sBLHpMS4zQCcCvEbt50LhA5JKo4AZTIJ796U5t0=
=3NOZ
-----END PGP SIGNATURE-----