tce-load -i compiletc cmake ninja gst-plugins-bad-dev libsecret-dev ruby-dev gudev-lib-dev enchant2-dev geoclue-dev gobject-introspection-dev hicolor-icon-theme gperf perl5 libxslt-dev gettext harfbuzz-icu-dev libsoup3-dev gtk4-gir libsoup3-gir openjpeg-dev libavif-dev libseccomp-dev unifdef gtk4-dev wget https://webkitgtk.org/releases/webkitgtk-2.42.4.tar.xz cd webkitgtk-2.42.4 edit Source/JavaScriptCore/inspector/scripts/codegen/preprocess.pl $preprocessor = $ENV{CC} || (-x "/usr/bin/clang" ? "/usr/bin/clang" : "/usr/local/bin/gcc"); mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-mtune=generic -Os -pipe -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_INSTALL_LIBEXECDIR=/usr/local/lib -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON -DENABLE_MINIBROWSER=ON -DUSE_LIBHYPHEN=OFF -DPORT=GTK -DUSE_WOFF2=OFF -DUSE_WPE_RENDERER=ON -DCMAKE_VERBOSE_MAKEFILE=TRUE -DENABLE_GAMEPAD=OFF -DENABLE_DOCUMENTATION=OFF -DUSE_GTK4=ON -DUSE_JPEGXL=OFF -DENABLE_JOURNALD_LOG=OFF -DENABLE_BUBBLEWRAP_SANDBOX=OFF -DDBUS_PROXY_EXECUTABLE=/usr/local/bin/xdg-dbus-proxy -Wno-dev -G Ninja ../ [lto fails] ninja [3h 9m 15s] sudo ninja install libwebkitgtk-6.0.so.4 -- Enabled features: -- ENABLE_BUBBLEWRAP_SANDBOX ..................... OFF -- ENABLE_DOCUMENTATION OFF -- ENABLE_DRAG_SUPPORT ........................... ON -- ENABLE_GAMEPAD OFF -- ENABLE_INTROSPECTION .......................... ON -- ENABLE_JOURNALD_LOG OFF -- ENABLE_MINIBROWSER ............................ ON -- ENABLE_PDFJS ON -- ENABLE_QUARTZ_TARGET .......................... OFF -- ENABLE_SPELLCHECK ON -- ENABLE_TOUCH_EVENTS ........................... ON -- ENABLE_VIDEO ON -- ENABLE_WAYLAND_TARGET ......................... ON -- ENABLE_WEBDRIVER ON -- ENABLE_WEB_AUDIO .............................. ON -- ENABLE_WEB_CRYPTO ON -- ENABLE_X11_TARGET ............................. ON -- USE_AVIF ON -- USE_GBM ....................................... ON -- USE_GSTREAMER_TRANSCODER ON -- USE_GSTREAMER_WEBRTC .......................... OFF -- USE_GTK4 ON -- USE_JPEGXL .................................... OFF -- USE_LCMS ON -- USE_LIBHYPHEN ................................. OFF -- USE_LIBSECRET ON -- USE_OPENGL_OR_ES .............................. ON -- USE_OPENJPEG ON -- USE_SOUP2 ..................................... OFF -- USE_WOFF2 OFF