Midori-0.5.11

Introduction to Midori

Midori is a lightweight web browser that uses WebKitGTK+.

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

Package Information

Midori Dependencies

Required

CMake-3.10.2, Gcr-3.20.0, libnotify-0.7.7, WebKitGTK+-2.18.6 (see "Command Explanations"), and Vala-0.38.8

Recommended

Optional

GTK-Doc-1.27, WebKitGTK+-2.4.11 , and libzeitgeist-0.3.18

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

Installation of Midori

Install Midori by running the following commands:

sed -e 's/protected Tally/public Tally/g'  \
    -i midori/midori-notebook.vala         &&
sed -e 's/%d other files/%u other files/g' \
    -i extensions/transfers.vala           &&

for f in transfers adblock/widgets apps history-list notes; do
    sed -e 's/.remove (iter/.remove (ref iter/g' \
        -i "extensions/$f.vala"
done        &&

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DUSE_ZEITGEIST=OFF         \
      -DHALF_BRO_INCOM_WEBKIT2=ON \
      -DUSE_GTK3=1                \
      -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-0.5.11 \
      ..  &&
make

This package does not come with a working test suite.

Now, as the root user:

make install

Command Explanations

sed ...: The recent release of vala generates errors for some constructs that were accepted before. The sed commands fix those errors.

-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.18.6 instead of WebKitGTK+-2.4.x. Strictly speaking, WebKitGTK+-2.18.6 is not required and Midori could be linked to WebKitGTK+-2.4.x. The former used to be considered “ experimental” by upstream, but now is considered stable. However the syntax has not yet been updated.

-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.

Contents

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

midori

is a lightweight WebKitGTK+ browser.

Last updated on 2018-02-25 17:46:34 -0800