[webkit-gtk] Unable to build dependencies for webkitgtk on raspbian

Adrian Perez de Castro aperez at igalia.com
Thu May 9 05:16:01 PDT 2019


Hi!

On Thu, 09 May 2019 06:41:54 +0530, Arvind Arvind Pro <arvind_dev at arvind.pro> wrote:

> One more problem I noticed just now-
>  
> [1]https://trac.webkit.org/wiki/BuildingGtk
>  
> The above points to the Webkit repo in SVN, and not the webkitGTK repo. So
> how do I get the code from SVN? Also is it sufficient to get the release
> tarball available at the site? Because I cannot run the command in Step2 -

The WebKit repository contains all the WebKit ports, including of course
the GTK port. If you only want to build WebKitGTK, and not planning to do
development work on WebKitGTK itself, I would recommend using the tarballs
for stable releases. You can find all the releases at the following address:

   https://webkitgtk.org/releases/

At the moment of writing, version 2.24.1 is the most recent release.

> Download and build all JHBuild modules:
>
>   $ Tools/Scripts/update-webkitgtk-libs
>
> The command cannot run in the code in the release tarball because there is
> no folder "Scripts" within it. Hence  the code from SVN is required.

The “Scripts/” subdirectory from the WebKit repository contains tools for
developers, and in general are not needed for making a release build. When
building from a tarball, you use CMake [1] directly. The typical build
process would be the following for 2.24.1, assuming that you already have
the tarball downloaded:

  % tar -xJf webkitgtk-2.24.1.tar.xz
  % mkdir build && cd $_
  % cmake -GNinja -DPORT=GTK -DCMAKE_INSTALL_PREFIX=/usr ../webkitgtk-2.24.1
  % ninja && ninja install

I hope this helps :)

Regards,
—Adrian

---
[1] https://cmake.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20190509/10d1408f/attachment.bin>


More information about the webkit-gtk mailing list