[Slackbuilds-users] Error compiling webkitgtk

spaceman spaceman at antispaceman.com
Fri Mar 9 17:34:01 UTC 2018


> I ma trying to compile webkit2gtk 2.8.26 statically and stripped
> down, just to afterwards bundling it with yelp without this
> resulting in a too huge package.

I have managed to get a reasonably minimal (linked) build of 2.18.6
going with the following config:

  cmake -DPORT=GTK \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_SKIP_RPATH=ON \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
        -DENABLE_GEOLOCATION=false \
        -DENABLE_SPELLCHECK=false \
        -DENABLE_VIDEO=false \
        -DENABLE_WEB_AUDIO=false \
        -DENABLE_INDEXED_DATABASE=false \
        -DENABLE_PLUGIN_PROCESS_GTK2=false \
        -DENABLE_DRAG_SUPPORT=false \
        -DENABLE_NOTIFICATIONS=false \
        -DENABLE_WEBDRIVER=false \
        -DENABLE_WEB_CRYPTO=false \
        -DENABLE_ICONDATABASE=false \
        -DUSE_SYSTEM_MALLOC=true \
        -DUSE_LIBHYPHEN=false \
        -DUSE_LIBNOTIFY=false \
        -DUSE_LIBSECRET=false \
        -DUSE_LIBWEBP=false \
        -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
        -DLIBEXEC_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/webkit2gtk-4.0 \
        ..

Try putting back opengl, jit or touch events, one of them (i think touch
events suprisingly) caused my build to fail.


More information about the SlackBuilds-users mailing list