Hello community, here is the log from the commit of package webkit2gtk3 for openSUSE:Factory checked in at 2020-01-02 14:39:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/webkit2gtk3 (Old) and /work/SRC/openSUSE:Factory/.webkit2gtk3.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "webkit2gtk3" Thu Jan 2 14:39:50 2020 rev:89 rq:758317 version:2.26.2 Changes: -------- --- /work/SRC/openSUSE:Factory/webkit2gtk3/webkit2gtk3.changes 2019-11-15 22:30:55.460108941 +0100 +++ /work/SRC/openSUSE:Factory/.webkit2gtk3.new.6675/webkit2gtk3.changes 2020-01-02 14:39:51.756876731 +0100 @@ -1,0 +2,6 @@ +Thu Dec 19 15:36:37 UTC 2019 - Michael Gorse <[email protected]> + +- Add webkit-process.patch: use single web process for evolution + and geary on 15.0 (boo#1159329 glgo#GNOME/evolution#587). + +------------------------------------------------------------------- New: ---- webkit-process.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webkit2gtk3.spec ++++++ --- /var/tmp/diff_new_pack.okGO3w/_old 2020-01-02 14:39:52.636877079 +0100 +++ /var/tmp/diff_new_pack.okGO3w/_new 2020-01-02 14:39:52.640877080 +0100 @@ -45,6 +45,8 @@ Patch0: webkit2gtk3-fdo-soname.patch # PATCh-FIX-UPSTREAM webkit2gtk3-icu-build-fix.patch [email protected] -- fix build with icu 65.1. Patch1: webkit2gtk3-icu-build-fix.patch +# PATCH-FIX-OPENSUSE webkit-process.patch boo#1159329 [email protected] -- use single web process for evolution and geary. +Patch2: webkit-process.patch BuildRequires: Mesa-libEGL-devel BuildRequires: Mesa-libGL-devel @@ -270,7 +272,12 @@ %lang_package -n %{_pkgname_no_slpp} %prep -%autosetup -p1 -n webkitgtk-%{version} +%setup -n webkitgtk-%{version} +%patch0 -p1 +%patch1 -p1 +%if 0%{?suse_version} <= 1500 +%patch2 -p1 +%endif %build %define _lto_cflags %{nil} ++++++ webkit-process.patch ++++++ From: Mike Gorse <[email protected]> Date: Thu 19 Dec 2019 10:33:14 AM EST Subject: [patch] Use single web process for evolution and geary. https://mail.gnome.org/archives/distributor-list/2019-October/msg00000.html Index: webkitgtk/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp =================================================================== --- webkitgtk.orig/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp +++ webkitgtk/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp @@ -348,8 +348,16 @@ ALLOW_DEPRECATED_DECLARATIONS_END configuration.setLocalStorageDirectory(FileSystem::stringFromFileSystemRepresentation(priv->localStorageDirectory.data())); const char* useSingleWebProcess = getenv("WEBKIT_USE_SINGLE_WEB_PROCESS"); - if (useSingleWebProcess && strcmp(useSingleWebProcess, "0")) - configuration.setUsesSingleWebProcess(true); + if (useSingleWebProcess) { + if (strcmp(useSingleWebProcess, "0")) { + configuration.setUsesSingleWebProcess(true); + } + } else { + const char* prgname = g_get_prgname(); + if (!g_strcmp0(prgname, "evolution") || !g_strcmp0(prgname, "geary")) { + configuration.setUsesSingleWebProcess(true); + } + } priv->processPool = WebProcessPool::create(configuration); if (!priv->websiteDataManager)
