A clutter port of WebKit

In case you missed the news on webkit-dev, Collabora has been working on developing a clutter port of WebKit. It shares the build system with EFL, and most of the backend code comes from the GTK+ port. That means networking is handled by soup, drawing by cairo, multimedia by GStreamer, and so on.

If you’d like to give it a try, you can clone the repository from gitorious:

$ git clone git://gitorious.org/webkit-clutter/webkit-clutter.git

Then to build it you use cmake. From inside the source code directory do this:

$ mkdir build
$ cd build
$ cmake .. -DPORT=Clutter -DSHARED_CORE=1 -DBUILD_MX_LIB=1
$ make

The BUILD_MX_LIB option is optional – it will build what we call the “Mx toolkit library” in addition to the vanilla one. Then you can test that the library is built and working by running the programs inside the “Programs” directory. Enjoy!

9 thoughts on “A clutter port of WebKit”

  1. That’s really cool! can we have more details about the internals now and for the future? Are there plans to integrate Clutter (and this might needs some new stuff in Clutter itself, talk to us :p) at the core of the render tree/render layers and use the GPU to blend layers?

  2. Thank you for your post, it helped me to build webkit-clutter. I’m now trying to create a simple program to load a web on web webkit clutter actor, where can I find a simple example of code?

  3. Hmm, gitorious seems to be acting funny.

    Cloning into webkit-clutter…
    remote: Counting objects: 1373355, done.
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed

      1. Same problem for me.

        git clone git://gitorious.org/webkit-clutter/webkit-clutter.git
        Cloning into webkit-clutter…
        remote: Counting objects: 1373167, done.
        fatal: The remote end hung up unexpectedly
        fatal: early EOF
        fatal: index-pack failed

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>