Package Details: midori-git 0.6.0.r8628.7b765721-1

Git Clone URL: (read-only, click to copy)
Package Base: midori-git
Description: Lightweight web browser based on WebKit and GTK3. Git development version.
Upstream URL:
Licenses: LGPL
Conflicts: midori, midori-gtk2-git
Provides: midori
Submitter: SolarAquarion
Maintainer: SolarAquarion
Last Packager: SolarAquarion
Votes: 148
Popularity: 0.000000
First Submitted: 2018-10-28 14:20 (UTC)
Last Updated: 2020-12-06 02:19 (UTC)

Required by (15)

Sources (1)

Latest Comments

simona commented on 2021-03-02 09:19 (UTC)

CREATED org.midori_browser.Midori.appdata.xml
ninja: build stopped: subcommand failed.
==> ERRORE: Si è verificato un errore in build().

SolarAquarion commented on 2020-12-06 02:19 (UTC)

I'm getting build failures and midori isn't the most maintained package

SolarAquarion commented on 2020-12-06 02:12 (UTC)


donarturo commented on 2020-11-12 10:36 (UTC)

So @haawda I modified PKGBUILD with small modification keybinding. And I would like to ask @SolarAquarion to submit this modificated PKGBUILD. If modification of keybinding is unreasonable, please give entire prepare() function in comments - do not remove - let user to choose.

# Maintainer: Solomon Choina <>
# Maintainer: Alexander Rødseth <>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: hybraries <>
# Contributor: Stefan Husmann <>
# Contributor: Navi <>
# Contributor: rabyte <>
# Contributor: Johannes Krampf <>

pkgdesc='Lightweight web browser based on WebKit and GTK3. Git development version.'
arch=('x86_64' 'i686')
depends=('aria2' 'gcr' 'gobject-introspection-runtime' 'libpeas' 'libxss' 'webkit2gtk' 'zeitgeist')
makedepends=('bzr' 'cmake' 'git' 'gobject-introspection' 'intltool' 'ninja' 'vala')
optdepends=('gst-plugins-base: HTML5 OGG videos support'
            'gst-plugins-good: HTML5 H264 and WebM videos support'
            'gst-libav: HTML5 H264 videos support')
conflicts=('midori' 'midori-gtk2-git')

pkgver() {
  cd "$srcdir/core"
printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"

prepare() {

cd "$srcdir/core/"

## remove slash bind for find
echo "remove slash bind for find"
sed -i '124 s/("win.find", { "<Primary>f", "slash" });/("win.find", { "<Primary>f"});/' core/browser.vala

build() {
  cd "$srcdir/core"
  mkdir -p build
  cd build
  cmake "../" \
    -G Ninja


package() {
  cd "$srcdir/core"

  DESTDIR="$pkgdir" ninja -C build  install

# vim:set ts=2 sw=2 et: 

donarturo commented on 2020-11-12 10:19 (UTC) (edited on 2020-11-12 10:22 (UTC) by donarturo)

If annoying you slash key binding, eg. when are you typing "slash" to URL, you can add to PKGBUILD prepare sections:

prepare() {
cd "$srcdir/core/"
sed -i '124 s/("win.find", { "<Primary>f", "slash" });/("win.find", { "<Primary>f"});/' core/browser.vala

haawda commented on 2019-08-03 10:21 (UTC) (edited on 2019-08-03 10:25 (UTC) by haawda)

The hardcoded part of pkgver seems strange. The version in the repos is at 9.0, why 0.6.0 here? Why not use git --describe?

And the makedependancy to bzr is wrong, I think.

And please do not download to $SRCDEST/core, rename it to midori using the :: syntax, please.

dbermond commented on 2018-12-05 14:28 (UTC)

@SolarAquarion Since the Midori development occurs at github, added to the fact that Midori in launchpad is outdated, I will merge midori-bzr into this package. After the merge, this package will incorporate all the votes and comments from midori-bzr. Any objections?

xyproto commented on 2013-10-19 20:18 (UTC)

@ponsfoot Thank you! Updated the package.

ponsfoot commented on 2013-10-19 13:57 (UTC)

Upstream has been switched to cmake (from waf). So, 'cmake' is required as makedepends. Furthermore, option '--disable-granite' is obsolete (see configure).

commented on 2013-08-28 08:40 (UTC)

@xyproto: thanks for the explanation I don't know how, but it compiled just few seconds ago :D Midori release 0.5.5~r6363. Maybe Midori team fixed it

xyproto commented on 2013-08-27 20:04 (UTC)

@Darko82, there was a problem with the new sqlite package. /usr/lib/pkgconfig/sqlite3.pc had "Version: @RELEASE@" instead of "Version: 3.8.0". It has been fixed now, but midori-bzr still fails to compile. It's a problem with the midori configuration, the midori source code, the new sqlite package or a combination of those three.

commented on 2013-08-27 11:03 (UTC)

Does not compile due to: "Checking for sqlite3 >= 3.6.19 : Requested 'sqlite3 >= 3.6.19' but version of SQLite is @RELEASE@" Sqlite3 is now sqlite

xyproto commented on 2013-06-09 10:02 (UTC)

Thanks, vorbote. Updated the package.

toropisco commented on 2013-06-09 02:37 (UTC)

Please update the source line in the PKGBUILD to source=("midori::bzr+") else, it is impossible to reuse the downloaded vcs sources to update the binary package (if using a cached copy).

xyproto commented on 2013-05-26 09:28 (UTC)

Thanks gothmog.todi, updated the package accordingly.

gothmog.todi commented on 2013-05-25 16:54 (UTC)

development moved to bzr:

xyproto commented on 2013-05-20 21:06 (UTC)

Updated the PKGBUILD, it builds fine with --enable-webkit2 now (0.5.2).

lae commented on 2013-05-18 06:38 (UTC)

Latest tree (0.5.2) appears to build fine for me.

xyproto commented on 2013-04-12 10:27 (UTC)

yosefor, when adding --enable-webkit2, the package no longer builds

xyproto commented on 2013-04-12 08:55 (UTC)

flocke, added a pkgver() function, but according to the documentation prepare() is not needed for *-git packages.

flocke commented on 2013-04-12 07:34 (UTC)

Please add a pkgver() function (see to update the version string. (And if you want to you can also move the sed command to a prepare() function to conform with the new guidelines.)

yoseforb commented on 2013-04-02 14:34 (UTC)

Please add: --enable-webkit2 See:

xyproto commented on 2013-01-22 17:09 (UTC)

Thanks, updated the package.

eworm commented on 2013-01-22 10:12 (UTC)

For me midori links against I suppose we need a dependency to gcr.

alium commented on 2012-11-26 07:46 (UTC)

libwebkit3 renamed to webkitgtk3

xyproto commented on 2012-11-07 19:56 (UTC)

Added zeitgeist as a dependency, thanks for notifying.

k0Do commented on 2012-11-02 14:50 (UTC)

Please add zeitgeist as a dependency or use --disable-zeitgeist for ./configure in PKGBUILD.

xyproto commented on 2012-10-15 16:21 (UTC)

Just tested it. Builds with vala 0.16 here now.

ponsfoot commented on 2012-09-30 05:03 (UTC)

Current HEAD requires vala-0.14 to be built. It fails if vala is 0.16.

xyproto commented on 2012-08-19 12:14 (UTC)

Ner0, created a "midori-flash" package based on your solution.

Ner0 commented on 2012-08-17 12:39 (UTC)

The only way i was able to get flash working with midori-gtk3 is to install 'lib32-flashplugin' and 'nspluginwrapper' and then install the flash with 'sudo nspluginwrapper -i /usr/lib32/mozilla/plugins/'

xyproto commented on 2012-04-06 08:52 (UTC)

Added optdepends and updated the package.

xyproto commented on 2012-03-18 21:49 (UTC)

Added --disable-granite since midori does not compile if the granite package is installed. Changed the dependency on docutils to 'python2-docutils', because of the package rename.

xyproto commented on 2011-12-02 10:37 (UTC)

Added a dependency on libunique3.

xyproto commented on 2011-10-09 21:54 (UTC)

engored, thanks for testing. Added "midori-gtk2-git" for the gtk2 version. I assume it's just a matter of time before gtk3 will be enabled by default.

av6 commented on 2011-10-09 17:29 (UTC)

Sorry to bother again, but very recent git commit [1] disabled gtk3 by default. It's considered experimental yet, it seems. On a related note, I've tried Midori with GTK3 and there were some bugs like no favicons on tabs, but the most important: flash wasn't working. [1]

xyproto commented on 2011-10-09 13:44 (UTC)

engored, thanks for noticing. Enabled gtk3 and updated the PKGBUILD. namcap displays no errors or warnings.

av6 commented on 2011-10-09 04:28 (UTC)

It now requires gtk3 and libwebkit3. You can either add them to depends or add --disable-gtk3 to waf configure.

xyproto commented on 2011-02-18 17:24 (UTC)

Updated the PKGBUILD as the temporary fix is no longer needed.

av6 commented on 2011-02-17 23:50 (UTC)

It builds without the fix now.

pyther commented on 2011-02-16 13:27 (UTC)

it may work but the far better solution is to use a patch fie. especially considering those two tools are not in the main repos or community!

xyproto commented on 2011-02-16 09:16 (UTC)

pyther, the package works now and the fix is only temporary.

pyther commented on 2011-02-15 23:39 (UTC)

Totally not cool... Makedepend: setconf and that depends on shedskin Create a patch file and use patch to apply the fix. Almost every system has patch.

xyproto commented on 2011-02-15 14:00 (UTC)

Updated the PKGBUILD to include a workaround so that midori-git will compile again. I will remove the workaround when midori-git compiles without it. Midori now compiles and runs here.

haawda commented on 2010-10-20 17:10 (UTC)

Hm, som similar sed's are already there.

flamelab commented on 2010-10-20 06:26 (UTC)

If you have python related build issues with waf, add this sed -i s'|#!/usr/bin/env python|#!/usr/bin/python2|'g waf ./waf configure --prefix=/usr || return 1 ./waf build || return 1 (the sed line)

Arkham commented on 2010-07-16 14:44 (UTC)

Updated adding suggested changes.

av6 commented on 2010-07-03 16:54 (UTC)

And webkitgtk-svn is not a requisite, it can be built against regular libwebkit. Also pkgconfig is now called pkg-config.

commented on 2010-07-03 04:47 (UTC)

Some midori extensions require vala now ("History List" and "External applications"

knedlyk commented on 2010-05-23 19:00 (UTC)

Do we need vala for Midori? Config checks for it: Checking for program valac

bardo commented on 2010-03-30 00:38 (UTC)

For those not wanting to wait for gtk-2.20 support in the git trunk, here's a quick and dirty compilation fix, not really nice and it throws up some warnings but it works. Put it under 'cd $_gitname-build'. sed -i 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' midori/midori-{browser,locationaction,panel,searchaction,view}.c sed -i 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' midori/midori-browser.c sed -i 's/GTK_WIDGET_IS_SENSITIVE/gtk_widget_is_sensitive/' midori/midori-view.c sed -i 's/GTK_WIDGET_HAS_FOCUS/gtk_widget_has_focus/' midori/sokoke.c