Midori Browser and Webkit on Debian

Midori is a very nice browser  
I am finding it snappy and fresh compared to FF. Although you do notice that it
isn’t quite finished,especially when posting on forums. 

More info:
http://en.wikipedia.org/wiki/Midori_(browser)
Features

  * Full integration with GTK+ 2.
  * Fast rendering with WebKit.
  * Tabs, windows and session management.
  * Flexibly configurable Web Search.
  * User scripts and user styles support.
  * Straightforward bookmark management.
  * Customizable and extensible interface.
  * Extensions written in C.
  * Custom context menu actions.

Extension modules can be written in C, bindings to Lua and/or Python are planned 
for the future. Midori passes the Acid2 test, and utilizing a recent WebKit build it 
passes the Acid3 test as well.

I compiled Webkit then installed Midori nightly build.

Get the latest webkit

  1. Go to http://webkit.org/
  2. Download the last nightly archive for Linux ( I got r40102)
  3. Unzip the archive
  4. Open a Terminal and go in the new folder

Installation of packages needed

For a webkit build you need to install :
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


Webkit compilation
Compilation preparation :
./autogen.sh
And :
./configure –enable-svg-experimental

Now go and make a coffee, or have a beer, or whatever you think may give 
you pleasure for around 10 minutes, while it’s compiling. My proc was at 100% 
all the way through. (Yes, I did sit there and watch it. How Geeky is that? :-\ )

Launch compilation with :
make

Installation with :
sudo make install

Now lets get the Midori browser

We need git to download Midori sources :
sudo apt-get install git-core curl

We need some packages :
sudo apt-get install libsoup2.4-1 cdbs debhelper fdupes gettext html2text 
intltool intltool-debian libsexy-dev po-debconf

  • Download of Midori sources :
    git clone http://software.twotoasts.de/media/midori.git

    Go in the directory :
    cd midori

    Now install using a different way that you are used to, 
    Some guides say the usual ./configure or autogen.sh, but no. It’s easier using the waf file.
    ./waf configure
    ./waf build
    sudo ./waf install

    You’ll probably get an error message at the end about the gtk-icon-cache, so did I, 
    but Midori still works. I did a few searches to try and find out what exactly you need to
     be able to run this command:

    gtk-update-icon-cache

  • All it lead me to was:
    http://library.gnome.org/devel/gtk/stable/gtk-update-icon-cache.html

    Maybe somebody else could shed some light on it.

    Anyway, I have it all installed and running nicely on my Debian Lenny Xfce4 desktop,
     just in case any of you want a taste of the latest greatest browser that uses Webkit.

    Of course, screenie:

    Advertisements
  • Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s