Make sqlite3 a mandatory dependency
This commit is contained in:
parent
94b6cf4e17
commit
4f9615167e
2 changed files with 4 additions and 13 deletions
4
README
4
README
|
@ -11,9 +11,9 @@ Midori is a lightweight web browser.
|
||||||
* Customizable and extensible interface.
|
* Customizable and extensible interface.
|
||||||
* Extensions written in C.
|
* Extensions written in C.
|
||||||
|
|
||||||
Requirements: GTK+ 2.10, WebkitGTK+ 1.1.1, libXML2, libsoup 2.25.2
|
Requirements: GTK+ 2.10, WebkitGTK+ 1.1.1, libXML2, libsoup 2.25.2, sqlite 3.0
|
||||||
|
|
||||||
Optional: Unique 0.9, libidn, sqlite 3.0, docutils, libnotify
|
Optional: Unique 0.9, libidn, docutils, libnotify
|
||||||
|
|
||||||
For installation instructions read INSTALL.
|
For installation instructions read INSTALL.
|
||||||
|
|
||||||
|
|
13
wscript
13
wscript
|
@ -186,15 +186,6 @@ def configure (conf):
|
||||||
unique = 'no '
|
unique = 'no '
|
||||||
conf.define ('HAVE_UNIQUE', [0,1][unique == 'yes'])
|
conf.define ('HAVE_UNIQUE', [0,1][unique == 'yes'])
|
||||||
|
|
||||||
if option_enabled ('sqlite'):
|
|
||||||
check_pkg ('sqlite3', '3.0', False, var='SQLITE')
|
|
||||||
sqlite = ['N/A','yes'][conf.env['HAVE_SQLITE'] == 1]
|
|
||||||
if sqlite != 'yes':
|
|
||||||
option_checkfatal ('sqlite', 'history database')
|
|
||||||
else:
|
|
||||||
sqlite = 'no '
|
|
||||||
conf.define ('HAVE_SQLITE', [0,1][sqlite == 'yes'])
|
|
||||||
|
|
||||||
if option_enabled ('libnotify'):
|
if option_enabled ('libnotify'):
|
||||||
check_pkg ('libnotify', mandatory=False)
|
check_pkg ('libnotify', mandatory=False)
|
||||||
libnotify = ['N/A','yes'][conf.env['HAVE_LIBNOTIFY'] == 1]
|
libnotify = ['N/A','yes'][conf.env['HAVE_LIBNOTIFY'] == 1]
|
||||||
|
@ -225,6 +216,8 @@ def configure (conf):
|
||||||
check_pkg ('libsoup-2.4', '2.29.3', False, var='LIBSOUP_2_29_3')
|
check_pkg ('libsoup-2.4', '2.29.3', False, var='LIBSOUP_2_29_3')
|
||||||
check_pkg ('libsoup-2.4', '2.29.91', False, var='LIBSOUP_2_29_91')
|
check_pkg ('libsoup-2.4', '2.29.91', False, var='LIBSOUP_2_29_91')
|
||||||
check_pkg ('libxml-2.0', '2.6')
|
check_pkg ('libxml-2.0', '2.6')
|
||||||
|
check_pkg ('sqlite3', '3.0', True, var='SQLITE')
|
||||||
|
conf.define ('HAVE_SQLITE', 1)
|
||||||
|
|
||||||
if conf.env['HAVE_LIBSOUP_2_27_90']:
|
if conf.env['HAVE_LIBSOUP_2_27_90']:
|
||||||
idn = 'yes'
|
idn = 'yes'
|
||||||
|
@ -327,7 +320,6 @@ def configure (conf):
|
||||||
print '''
|
print '''
|
||||||
Localization: %(nls)s (intltool)
|
Localization: %(nls)s (intltool)
|
||||||
Icon optimizations: %(icons)s (rsvg-convert)
|
Icon optimizations: %(icons)s (rsvg-convert)
|
||||||
History: %(sqlite)s (sqlite3)
|
|
||||||
Notifications: %(libnotify)s (libnotify)
|
Notifications: %(libnotify)s (libnotify)
|
||||||
|
|
||||||
IDN support: %(idn)s (libidn or libsoup 2.27.90)
|
IDN support: %(idn)s (libidn or libsoup 2.27.90)
|
||||||
|
@ -376,7 +368,6 @@ def set_options (opt):
|
||||||
group = opt.add_option_group ('Optional features', '')
|
group = opt.add_option_group ('Optional features', '')
|
||||||
add_enable_option ('unique', 'single instance support', group)
|
add_enable_option ('unique', 'single instance support', group)
|
||||||
add_enable_option ('libidn', 'international domain name support', group)
|
add_enable_option ('libidn', 'international domain name support', group)
|
||||||
add_enable_option ('sqlite', 'history database support', group)
|
|
||||||
add_enable_option ('libnotify', 'notification support', group)
|
add_enable_option ('libnotify', 'notification support', group)
|
||||||
add_enable_option ('addons', 'building of extensions', group)
|
add_enable_option ('addons', 'building of extensions', group)
|
||||||
add_enable_option ('tests', 'building of tests', group, disable=True)
|
add_enable_option ('tests', 'building of tests', group, disable=True)
|
||||||
|
|
Loading…
Reference in a new issue