Commit c09b54d3 authored by Jehan's avatar Jehan

build: enable WebKit dependency and get a full-feature Flatpak build!

The build has been fixed by a patch from Upstream:
https://bugs.webkit.org/show_bug.cgi?id=156510
Note that WebKit takes hours to build, so if you just want to test
Flatpak, you may prefer disable this module again.

We now have a full-feature Flatpak build, except for libgudev, which
means that special input devices probably won't work in the GIMP
Flatpak. It is to be noted that Flatpak developers told me that
libudev won't work inside the sandbox anyway. A portal will have
to be implemented. See:
https://github.com/flatpak/flatpak/issues/12#issuecomment-276016074
parent eb9981e5
......@@ -247,7 +247,6 @@
},
{
"name": "webkitgtk",
"disabled": true,
"config-opts": [ "--with-gtk=2.0", "--disable-webkit2", "--disable-geolocation", "--disable-video",
"--disable-spellcheck", "--disable-credential-storage", "--disable-web-audio" ],
"cleanup": [ "/share/doc", "/bin" ],
......@@ -256,6 +255,10 @@
"type": "archive",
"url": "https://www.webkitgtk.org/releases/webkitgtk-2.4.11.tar.xz",
"sha256": "588aea051bfbacced27fdfe0335a957dca839ebe36aa548df39c7bbafdb65bf7"
},
{
"type": "patch",
"path": "patches/webkitgtk-2.4.11.patch"
}
]
},
......
diff -ru webkitgtk-2.4.11/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp webkitgtk-2.4.11.raw.patched/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp
--- webkitgtk-2.4.11/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp 2016-04-10 08:48:37.000000000 +0200
+++ webkitgtk-2.4.11.raw.patched/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp 2017-01-30 23:43:13.427189343 +0100
@@ -40,6 +40,7 @@
#include "PaintInfo.h"
#include "PlatformContextCairo.h"
#include "RenderElement.h"
+#include "RenderBox.h"
#include "TextDirection.h"
#include "UserAgentStyleSheets.h"
#include "WidgetRenderingContext.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment