Introduction to Midori

Midori is a lightweight web browser that uses WebKitGTK+.

This package is known to build and work properly using an LFS-7.10 platform.

Package Information

Midori Dependencies


CMake-3.6.1, Gcr-3.20.0, libnotify-0.7.6, WebKitGTK+-2.12.4 (see "Command Explanations"), and Vala-0.32.1



GTK-Doc-1.25, WebKitGTK+-2.4.11, and Zeitgeist

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/midori

Installation of Midori

Install Midori by running the following commands:

mkdir build &&
cd    build &&

      -DCMAKE_BUILD_TYPE=Release  \
      -DUSE_ZEITGEIST=OFF         \
      -DUSE_GTK3=1                \
      -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-0.5.11 \
      ..  &&

This package does not come with a working test suite.

Now, as the root user:

make install

Command Explanations

-DCMAKE_BUILD_TYPE=Release: This switch is used to apply a higher level of compiler optimizations.

-DUSE_ZEITGEIST=OFF: Remove this switch if Zeitgeist is installed.

-DHALF_BRO_INCOM_WEBKIT2=ON: Links to WebKitGTK+-2.12.4 instead of WebKitGTK+-2.4.x.. Strictly speaking, WebKitGTK+-2.12.4 is not required and Midori could be linked to WebKitGTK+-2.4.x. The former is deemed “ experimental” by upstream, but seems to work well. The latter is an older API and less secure.

-DUSE_GTK3=1: Using this switch allows linking to WebkitGTK+ built against GTK+ 3.

-DUSE_APIDOCS=1: Use this switch if GTK-Doc is installed and you wish to build and install the API documentation.


Installed Program: midori
Installed Libraries: libmidori-core.so
Installed Directories: /{etc/xdg,/usr/{lib,share}}/midori and /usr/share/doc/midori-0.5.11

Short Descriptions


is a lightweight WebKitGTK+ browser.

Last updated on 2016-08-29 11:02:18 -0700