Midori is a lightweight web browser that uses WebKitGTK+.
This package is known to build and work properly using an LFS-8.2 platform.
Download (HTTP): http://www.midori-browser.org/downloads/midori_0.5.11_all_.tar.bz2
Download MD5 sum: fcc03ef759fce4fe9f2446d9da4a065e
Download size: 1.4 MB
Estimated disk space required: 91 MB
Estimated build time: 0.8 SBU
CMake-3.10.2, Gcr-3.20.0, libnotify-0.7.7, WebKitGTK+-2.18.6 (see "Command Explanations"), and Vala-0.38.8
GTK-Doc-1.27, WebKitGTK+-2.4.11 , and Zeitgeist
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
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.
        
Last updated on 2018-02-25 17:46:34 -0800