Install WebKit on Ubuntu Jaunty

In the NYC Learning Network projects, we've been doing a lot recently with using a webapp on an iPhone (here's our first stab at a search engine using Eric Sanderson's brilliant Mannahatta data). There's all kinds of ways to do this (we're most excited by PhoneGap). For me, as a Ubuntu Linux user, this is pretty great--I can help develop large pieces of the application without dealing with Apple and its locked-down way of doing things. There's just one problem--I really need to see how it works with WebKit, the engine behind Safari and other browsers.

Fortunately, there's an open-source hack for everything open source. A friend sent me a somewhat older link on how to do this, which encouraged me that this was at least possible. After a bit of digging, I found instructions on how to make it work with Intrepid.

Getting it to run on Jaunty, as of WebKit revision 45311, required a few extra dependencies. The apt-get command I used was this:


sudo apt-get install autoconf automake libtool bison flex gperf libicu-dev libxslt-dev libcurl4-openssl-dev libsqlite3-dev libjpeg62-dev libpng12-dev libglibmm-2.4-dev libgtk2.0-dev build-essential libxt-dev gtk-doc-tools libenchant-dev libgail-dev libsoup2.4-dev

which is just four extra packages beyond what the Intrepid directions asked for. Then, I just had to do:


./autogen.sh

make

and then, to run WebKit:


./Programs/GtkLauncher

The only difference was that I didn't seem to need to add in a customized configure command, per the Intrepid directions--all the SVG stuff was enabled.

Anyway, I'm excited to have the guts of Safari running on my work machines. And I'm really excited to see where our Mannahatta work will go, so stay tuned for that.

Comments

Prokofkina:

Реально, нужная статья, пригодилось, думаю не токо мне

Zaberkina:

Интересный проект у вас может надо поддержать, чем сможем поможем, реклама может

Zaberkina:

Беру то что нужно и я искал вот только тут

Zaberkina:

Долго искал подобный материал по этой теме наконец-то

bryant7y4:

Отлично написано. Позитива конечно не хватает, но читал на одном дыхании

Prokofkina:

Привет, всеравно непонял и почему так получилось недумал

Prokofkina:

Здравствуйте, вроде бы у вас задавал вопрос, а теперь что то невижу даже своего вопроса, может какойто сбой

Prokofkina:

Замечательно все понравилось и пригодилось хорошая статья

Livandikan:

Поддерживаю мнение интересно, даже очень

Livandikan:

Сколько всего уже написано, присоеденяюсь хороший материал, гуд

Anonymous:

sudo aptitude install epiphany-webkit

Anonymous:

Jaunty's webkit library still seems to be a bit unstable, at least compared to that of sidux. And a bit less capable.

So building webkit from sources seems to be attractive. Anyway, it might be useful to set it up as a deb package and install it "officially".

Beate

Copyright Mike Edwards 2006-2009. All content available under the Creative Commons Attribution ShareAlike license, unless otherwise noted.