diff --git a/webkit-201979.patch b/webkit-201979.patch new file mode 100644 index 0000000..376e43d --- /dev/null +++ b/webkit-201979.patch @@ -0,0 +1,24 @@ +--- a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp ++++ a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp +@@ -30,6 +30,12 @@ + #include + #include + ++#if PLATFORM(GTK) ++#define BASE_DIRECTORY "webkitgtk" ++#elif PLATFORM(WPE) ++#define BASE_DIRECTORY "wpe" ++#endif ++ + #if __has_include() + + #include +@@ -129,7 +135,7 @@ public: + if (!dbusPath.get()) + return; + +- GUniquePtr appRunDir(g_build_filename(g_get_user_runtime_dir(), g_get_prgname(), nullptr)); ++ GUniquePtr appRunDir(g_build_filename(g_get_user_runtime_dir(), BASE_DIRECTORY, nullptr)); + m_proxyPath = makeProxyPath(appRunDir.get()).get(); + + m_socket = dbusAddress; diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index 7366d51..e92fb17 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -18,6 +18,8 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz 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=201979 +Patch2: webkit-201979.patch BuildRequires: bison BuildRequires: bubblewrap