aboutsummaryrefslogtreecommitdiff
path: root/testing/webkit2gtk
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-15 19:02:33 +0300
committerCem Keylan <cem@ckyln.com>2020-01-15 19:02:33 +0300
commit2ca39beaac4d9c689638471d57e9824f9f016c1f (patch)
tree4986ab15e917326df7b06137c0aec45a97ffa5a0 /testing/webkit2gtk
parent0479915e84a0f31eaeac40ac13159da7d7eac579 (diff)
downloadrepository-2ca39beaac4d9c689638471d57e9824f9f016c1f.tar.gz
webkit2gtk: builds now
Diffstat (limited to 'testing/webkit2gtk')
-rwxr-xr-xtesting/webkit2gtk/build4
-rw-r--r--testing/webkit2gtk/checksums1
-rw-r--r--testing/webkit2gtk/patches/nogl.patch10
-rw-r--r--testing/webkit2gtk/sources1
4 files changed, 15 insertions, 1 deletions
diff --git a/testing/webkit2gtk/build b/testing/webkit2gtk/build
index 99377bef..2e593ab6 100755
--- a/testing/webkit2gtk/build
+++ b/testing/webkit2gtk/build
@@ -2,13 +2,15 @@
patch -p1 < u16-fix.patch
patch -p0 < fix-musl.patch
+patch -p1 < nogl.patch
mkdir build
cd build
+CFLAGS="${CFLAGS} -Wno-expansion-to-defined" \
+CXXFLAGS="${CXXFLAGS} -Wno-expansion-to-defined" \
cmake \
-DCMAKE_BUILD_TYPE=Release \
- -DENABLE_ACCESSIBILITY=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DPORT=GTK \
diff --git a/testing/webkit2gtk/checksums b/testing/webkit2gtk/checksums
index e4c6b508..9687e7ed 100644
--- a/testing/webkit2gtk/checksums
+++ b/testing/webkit2gtk/checksums
@@ -1,3 +1,4 @@
6b80f0637a80818559ac8fd50db3b394f41cb61904fb9b3ed65fa51635806512 webkitgtk-2.26.2.tar.xz
c1abca4dbce87661b1fc378a84d3e9ed233b2b81872dcaf1bf7d2a0de0bc4c35 u16-fix.patch
7c0b0b8c63981b30d26893fd5aa0a226312b7d8b90b0a6e2100348c7d111a79e fix-musl.patch
+5ba3114a3137917e6a8dac67f167177bbe39ee66b057cc2efb7a628739bda9c7 nogl.patch
diff --git a/testing/webkit2gtk/patches/nogl.patch b/testing/webkit2gtk/patches/nogl.patch
new file mode 100644
index 00000000..72e5a53b
--- /dev/null
+++ b/testing/webkit2gtk/patches/nogl.patch
@@ -0,0 +1,10 @@
+--- webkitgtk-2.26.2/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
++++ webkitgtk-2.26.2-patched/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
+@@ -212,7 +212,6 @@
+ inline void LayerTreeHost::cancelPendingLayerFlush() { }
+ inline void LayerTreeHost::setRootCompositingLayer(WebCore::GraphicsLayer*) { }
+ inline void LayerTreeHost::setViewOverlayRootLayer(WebCore::GraphicsLayer*) { }
+-inline void LayerTreeHost::invalidate() { }
+ inline void LayerTreeHost::scrollNonCompositedContents(const WebCore::IntRect&) { }
+ inline void LayerTreeHost::forceRepaint() { }
+ inline bool LayerTreeHost::forceRepaintAsync(CallbackID) { return false; }
diff --git a/testing/webkit2gtk/sources b/testing/webkit2gtk/sources
index 6962286f..5453bf36 100644
--- a/testing/webkit2gtk/sources
+++ b/testing/webkit2gtk/sources
@@ -1,3 +1,4 @@
https://webkitgtk.org/releases/webkitgtk-2.26.2.tar.xz
patches/u16-fix.patch
patches/fix-musl.patch
+patches/nogl.patch