Skip to content

rkudiyarov/ClutterWebkit

Repository files navigation

Webkit clutter backend.

Current version builds only in minimal configuration and does not have support
for features such as HTML5 database and HTML5 video tag.
WebkitWebView actor should not have any transformation matrix applied for plugins
to work. Plugins only work in Mac OS X and Win32.

Compile with:
$ cd ClutterWebkit
$ WebKitTools/Scripts/build-webkit --clutter --minimal --debug --with-target=[quartz|x11|win32]

Launch test application:
$ cd WebKitBuild/Debug && \
../../WebKitTools/Scripts/run-launcher --clutter --debug http://www.google.com && \
cd ../..

Linux build instructions:
(plugins do not work)
Install packages (Ubuntu):

$ sudo apt-get install aptitude
$ sudo aptitude install libglib2.0-dev libcairo2-dev libjpeg-dev libpango1.0-dev gtk-doc libsoup2.4-dev libjson-glib-dev libenchant-dev libgdk-pixbuf2.0-dev mesa-common-dev libgl1-mesa-dev libxcomposite-dev libxdamage-dev libatk1.0-dev libicu-dev libsqlite3-dev gperf bison autotools automake autoconf

Install Clutter 1.4.2 and its dependencies.

Then build webkit with commands from above.

Mac OS X build instruction:
Install from MacPorts:
glib2
cairo +quartz
pango +quartz
libsoup
enchant
json-glib
libjpeg
libpng
...

build clutter from 
git://github.com/thekondr/clutter-osx.git

$ git clone git://github.com/thekondr/clutter-osx.git
$ cd clutter-osx
$ automake
$ ./configure --prefix=/usr/local --disable-introspection --with-flavour=osx
$ make all
$ sudo make install

Then build webkit with commands on top of this document.

Windows build instructions:
Currently only cross-compiling from Mac OS X ( using mingw-cross-env from http://mingw-cross-env.nongnu.org/ )
and Linux is supported.
To install dependencies you need to launch from the folder where ClutterWebkit repository has been cloned:
    $ ClutterWebkit/mingw-cross-compile-webkit.sh
You may have to set the PKG_CONFIG variable before running cross compile script for build to work correctly:
$ export PKG_CONFIG=/opt/local/bin/pkg-config
Just make it use the system pkg-config, not the mingw one.

About

Embedding webkit into clutter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published