WebKit Build dependencies

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

WebKit Build dependencies

Nagendra K
Hi,

To build WebKit alone for a cross platform embedded device, want to know the list of dependencies/packages  required to build on host(Ubuntu) and dependencies to run on host other than toolchain. Request some to help where to find this information.

Thanks and Regards,
Nags

_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit Build dependencies

Adrian Perez-10
On Thu, 22 Jun 2017 15:41:26 +0530, Nagendra K <[hidden email]> wrote:

> To build WebKit alone for a cross platform embedded device, want to know
> the list of dependencies/packages  required to build on host(Ubuntu) and
> dependencies to run on host other than toolchain. Request some to help
> where to find this information.

For the GTK+ and WPE ports you can get an idea from the JHBuild module sets:

   https://trac.webkit.org/browser/webkit/trunk/Tools/gtk/jhbuild.modules
   https://trac.webkit.org/browser/webkit/trunk/Tools/wpe/jhbuild.modules

The above are neeed *at run-time*, and for building you will need a bunch of
additional tools. The “install-dependencies” scripts can give you an idea:

  https://trac.webkit.org/browser/webkit/trunk/Tools/gtk/install-dependencies
  https://trac.webkit.org/browser/webkit/trunk/Tools/wpe/install-dependencies

I hope this helps.

Cheers,


--
 Adrián 🎩

_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev

attachment0 (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit Build dependencies

Konstantin Tokarev


22.06.2017, 14:52, "Adrian Perez de Castro" <[hidden email]>:

> On Thu, 22 Jun 2017 15:41:26 +0530, Nagendra K <[hidden email]> wrote:
>
>>  To build WebKit alone for a cross platform embedded device, want to know
>>  the list of dependencies/packages required to build on host(Ubuntu) and
>>  dependencies to run on host other than toolchain. Request some to help
>>  where to find this information.
>
> For the GTK+ and WPE ports you can get an idea from the JHBuild module sets:
>
>    https://trac.webkit.org/browser/webkit/trunk/Tools/gtk/jhbuild.modules
>    https://trac.webkit.org/browser/webkit/trunk/Tools/wpe/jhbuild.modules

Note that you can get rid of many dependencies if you disable some WebKit features. E.g. some of these jhbuild modules are needed only for WebRTC, and disabling HTML5 video/audio will cut off a lot of stuff further.

>
> The above are neeed *at run-time*, and for building you will need a bunch of
> additional tools. The “install-dependencies” scripts can give you an idea:
>
>   https://trac.webkit.org/browser/webkit/trunk/Tools/gtk/install-dependencies
>   https://trac.webkit.org/browser/webkit/trunk/Tools/wpe/install-dependencies

For the record, install-dependencies includes packages that may be needed to build jhbuild modules mentioned above, but not necessary for WebKit itself.

You can consult to existing packages of WebKitGTK+ to get better picture of build-time and run-time dependencies

>
> I hope this helps.
>
> Cheers,
>
> --
>  Adrián 🎩
> ,
>
> _______________________________________________
> webkit-dev mailing list
> [hidden email]
> https://lists.webkit.org/mailman/listinfo/webkit-dev

--
Regards,
Konstantin
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit Build dependencies

Michael Catanzaro
In reply to this post by Adrian Perez-10
On Thu, Jun 22, 2017 at 6:51 AM, Adrian Perez de Castro
<[hidden email]> wrote:

> On Thu, 22 Jun 2017 15:41:26 +0530, Nagendra K
> <[hidden email]> wrote:
>
>>  To build WebKit alone for a cross platform embedded device, want to
>> know
>>  the list of dependencies/packages  required to build on
>> host(Ubuntu) and
>>  dependencies to run on host other than toolchain. Request some to
>> help
>>  where to find this information.
>
> For the GTK+ and WPE ports you can get an idea from the JHBuild
> module sets:

That's true, but since the JHBuild modulesets exist for a different
purpose, I wouldn't recommend looking at these. They contain stuff that
won't be needed, and do not contain stuff that will be needed.

Instead, it would be better to look at the Build-Depends in Ubuntu's
package. 'sudo apt-get build-dep webkit2gtk' should install everything
or almost everything you need. Alternatively, to make your list, see
[1] and look for a .debian.tar.xz to see the source for the Ubuntu
package, e.g. [2], then look at the Build-Depends in the control file.

Of course, you can also just try to build to find out what's missing.
CMake should give you an error message when you are missing a required
dependency. The build should not be allowed to begin until you have
them all installed.

Michael

[1] https://launchpad.net/ubuntu/+source/webkit2gtk
[2]
https://launchpad.net/ubuntu/+archive/primary/+files/webkit2gtk_2.16.4-1.debian.tar.xz

_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit Build dependencies

Michael Catanzaro
I just found this list:

https://trac.webkit.org/wiki/WebKitGTK/Dependencies

It looks mostly accurate to me, but slightly outdated. I see it's
missing at least libhyphen. There might be more.

Michael

_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Loading...