-current, webkitgtk missing error with eclipse, and cmake-based slackbuild questions
by Linux.tar.gz from LinuxQuestions.org on (#5C8K7)
Hi,
I'm trying to use the eclipse-based Freedom Studio v2020.11.0 for risc-v boards.
https://www.sifive.com/software
Unfortunately, webkitgtk is missing from the software, I got this error when trying to create a project:
Code:Unhandled event loop exception
No more handles because there is no underlying browser available.
Please ensure that WebKit with its GTK 3.x bindings is installed (WebKit2 API level is preferred). Additionally, please note that GTK4 does not currently have Browser support.I tried the 14.2 WebKit slackbuild from SBo but it failed.
Anyway, it seems pretty much outdated.
So I tried the latest WebKit 2.30.4 but I can't use the SBo slackbuild as it's now based on cmake.
I manually toyed with the sources and the configuration succeeded with:
Code:cmake -DPORT=GTK -DUSE_WPE_RENDERER=no -DUSE_SYSTEMD=no -DENABLE_BUBBLEWRAP_SANDBOX=noI disabled WPE because it targets embedded.
Questions:
- Should I enable bubblewrap (and enable/disable other options) ?
- Is there a reference cmake slackbuild template around ?
- Or maybe someone here do already have an updated webkitgtk slackbuild ?


I'm trying to use the eclipse-based Freedom Studio v2020.11.0 for risc-v boards.
https://www.sifive.com/software
Unfortunately, webkitgtk is missing from the software, I got this error when trying to create a project:
Code:Unhandled event loop exception
No more handles because there is no underlying browser available.
Please ensure that WebKit with its GTK 3.x bindings is installed (WebKit2 API level is preferred). Additionally, please note that GTK4 does not currently have Browser support.I tried the 14.2 WebKit slackbuild from SBo but it failed.
Anyway, it seems pretty much outdated.
So I tried the latest WebKit 2.30.4 but I can't use the SBo slackbuild as it's now based on cmake.
I manually toyed with the sources and the configuration succeeded with:
Code:cmake -DPORT=GTK -DUSE_WPE_RENDERER=no -DUSE_SYSTEMD=no -DENABLE_BUBBLEWRAP_SANDBOX=noI disabled WPE because it targets embedded.
Questions:
- Should I enable bubblewrap (and enable/disable other options) ?
- Is there a reference cmake slackbuild template around ?
- Or maybe someone here do already have an updated webkitgtk slackbuild ?