From d60190aaee8e8e84e0067a1df421ed22502eca1a Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 31 Aug 2008 03:14:00 +0200 Subject: [PATCH] Warn at configure time if GVfs is not installed --- wscript | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wscript b/wscript index 8d246fc8..d280fc1e 100644 --- a/wscript +++ b/wscript @@ -4,6 +4,7 @@ import Params import pproc as subprocess import Common +import platform APPNAME = 'midori' VERSION = '0.0.20' @@ -49,6 +50,13 @@ def configure (conf): gio = 'no' conf.check_message_custom ('GIO', 'support', gio) + if gio == 'yes': + if platform.system () != 'Windows': + if not conf.find_program ('gvfs-open'): + print '\tNote: There doesn\'t seem to be GVfs installed.' + print '\t The HTTP backend of GVfs is recommended for' + print '\t viewing source code and loading favicons.' + conf.check_pkg ('gtk+-2.0', destvar='GTK', vnum='2.6.0', mandatory=True) conf.check_pkg ('gtksourceview-2.0', destvar='GTKSOURCEVIEW', vnum='2.0', mandatory=False) conf.check_pkg ('webkit-1.0', destvar='WEBKIT', vnum='0.1', mandatory=True)