Build a unstable WebKit base brwoser on Ubuntu 9.10(for test HTML 5 new features)
WebKitGtk+ Dependencies:
apt-get install autoconf automake libtool libgtk2.0-dev libpango1.0-dev libicu-dev libxslt-dev libsoup2.4-dev libsqlite3-dev gperf bison flex libjpeg62-dev libpng12-dev libxt-dev autotools-dev libgstreamer-plugins-base0.10-dev libenchant-dev libgail-dev gtk-doc-tools
(From http://trac.webkit.org/wiki/BuildingGtk)
On my Ubuntu 9.10, the libsoup2.4-1 is 2.28.1. So I must download it from http://packages.debian.org.
Get WebKit source code:
From http://nightly.webkit.org/ or checkout from SVN.
Compile WebKitGtk+:
- Unzip source code.
tar jxvf WebKit-r52751.tar.bz2 - Configure.
sudo ./autogen.sh --enable-shared-workers --enable-web-sockets
- Make & install.
sudo make
sudo make install
Note: For my case, I need shared worker and web sockets features. So you can only use "sudo ./autogen.sh".
Get Epiphany source code:
Download source code from http://live.gnome.org/Epiphany/Downloads.
Compile Epiphany:
- Unzip source code.
tar jxvf epiphany-2.28.1.tar.bz2 - Configure.
sudo ./configure --with-engine=webkit
- Make & install.
sudo make
sudo make install
Change log:
[2010/1/5]v3: add epiphany.
[2010/1/5]v2: modify libsoup2.4-2.28.2 url.
[2010/1/4]v1: enable HTML 5 feature.
[2010/1/4]v0: init.
浙公网安备 33010602011771号