From c04967ce5b2f13fc1dbc67ac9e6a3a15103d8930 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 2 Jun 2023 20:08:34 +0200 Subject: webkit2gtk: bump to 2.40.1 --- extra/webkit2gtk/build | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'extra/webkit2gtk/build') diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build index 17aa7455..5a890fda 100755 --- a/extra/webkit2gtk/build +++ b/extra/webkit2gtk/build @@ -1,11 +1,16 @@ #!/bin/sh -e +# Fix build of SourceBrush.cpp +patch -p1 < fix-sourcebrush.patch + make -C unifdef # Remove gettext requirement. -clsed 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c -clsed '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt -clsed '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt +clsed 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c +clsed '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt +clsed '/if.*GETTEXT_FOUND/,/^endif/d' Source/WebCore/platform/gtk/po/CMakeLists.txt +clsed '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt + # Fix clang build. clsed '/LC_ALL/d' Source/JavaScriptCore/jsc.cpp @@ -48,5 +53,5 @@ cmake -B build \ -DUSE_WPE_RENDERER=OFF \ -Wno-dev -cmake --build build +SAMUFLAGS='-j4' cmake --build build cmake --install build -- cgit v1.2.3