Hi!

On Thu, 09 May 2019 06:41:54 +0530, Arvind Arvind Pro <arvind_...@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

Attachment: pgpDjp5WGK16M.pgp
Description: PGP signature

_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to