Commit graph

197 commits

Author SHA1 Message Date
Christian Dywan
6f69a04905 Add compatibility options to build script to support packaging
Debian CDBS for example can use the 'configure' script in a way
that doesn't require waf specific rules, but it insists on passing
--build and --disable-maintainer-mode.
2009-10-31 22:44:30 +01:00
Avan Anishchuk
1133bc4449 Catch SIGHUP, SIGINT, SIGTERM and SIGQUIT and quit peacefully 2009-10-31 04:49:57 +01:00
Christian Dywan
a712d0ea7a Use old Python decorator syntax to support old Python versions 2009-10-30 21:14:05 +01:00
Christian Dywan
616f62a10e Fix HAVE_HILDON_2_2 define when building with Hildon 2.2 2009-10-28 23:54:26 +01:00
Christian Dywan
c17c6f6151 Define HAVE_HILDON_2_2 if Hildon 2.2 is available 2009-10-26 18:17:27 +01:00
Christian Dywan
715ae2efa4 Only look for the osso folder, not the .defs, to see if it's Maemo 2009-10-22 23:11:57 +02:00
Christian Dywan
6b0f38e51a Install autosuggestcontrol.js/.css into res like the other files 2009-10-22 02:20:26 +02:00
Christian Dywan
d92d96eab7 Bump version to 0.2.0 2009-10-16 00:56:27 +02:00
Alexander Butenko
37e2c84b2b Install formhistory resources, don't fill in passwords
Reading post data is there but nothing is written to disk yet.
2009-10-07 22:30:16 +02:00
Christian Dywan
ce5a959840 Use MIDORI_NLSPATH instead of NLSPATH
A small number of systems uses NLSPATH in a way that breaks
localization in Midori. It is unclear what the correct way is to
use NLSPATH, so we switch to using a prefixed variable.
2009-10-03 02:27:51 +02:00
Christian Dywan
ec81068299 Provide default adblock config with easylist 2009-10-03 01:37:07 +02:00
Christian Dywan
bb0688b796 Don't use libidn if we have libsoup 2.27.90 2009-09-21 22:12:14 +02:00
Christian Dywan
a158ac4585 Disable loop warnings and include warnings, clang dislikes them 2009-09-18 19:37:27 +02:00
Christian Dywan
e23a25bc65 Bump version to 0.1.10 2009-09-12 00:09:38 +02:00
Christian Dywan
ccc76f3fc6 libsoup 2.27.91 is good enough for GNOME password manager 2009-09-06 00:58:23 +02:00
Christian Dywan
af86796eab Use GNOME proxy resolver and GNOME password manager optionally 2009-08-30 04:22:55 +02:00
Christian Dywan
c0ecd79a29 Bump version to 0.1.9 2009-08-01 00:03:19 +02:00
Christian Dywan
20948034d8 Bump version to 0.1.8 2009-07-20 23:16:07 +02:00
Christian Dywan
3a7ae20104 Don't disable JavaScriptCore when building with mingw32 2009-07-20 22:43:34 +02:00
Christian Dywan
021a892678 Add '-mwindows' to LINKFLAGS on Win32 to suppress the console 2009-07-20 07:45:41 +02:00
Christian Dywan
ff104135de Use the 16x16 icon for the Win32 icon 2009-07-20 07:06:59 +02:00
Christian Dywan
78805e5cd4 Don't build Desktop file on Win32 2009-07-09 19:08:37 +01:00
Christian Dywan
1f0f411657 Check for rsvg-convert early to support it when cross compiling 2009-07-09 19:02:23 +01:00
Christian Dywan
087a579450 Create Win32 icon and resorce and build it into the executable 2009-07-09 18:55:41 +01:00
Christian Dywan
e32f252b88 Check for Maemo only if /etc/osso-af-init/osso-gtk.defs exists
A surprisingly high number of users mistakenly installed libhildon1
because they noticed that it wasn't found and later wondered where
the menubar was.

All Maemo releases have the file osso-gtk.defs, including Mer, so
we only check for libhildon1 and libosso if it is present.
If needed --enable-hildon still enforces its use.
2009-06-18 03:24:32 +02:00
Christian Dywan
9f7d89c7a8 Add -c (cache) to intltool flags to be forward compatible with waf 2009-06-18 02:51:35 +02:00
Christian Dywan
ccd6b3c201 Use an appropriate mingw-ar if none was specified 2009-06-16 01:47:45 +02:00
Christian Dywan
3bcd8b6615 Copy libsylph socket.c as fallback for single instance libunique
This socket code makes single instance a mandatory feature assuming
if libunique is not available we can use sockets.
A bit of refactoring of MidoriApp is involved to make the command
logic independant of the nature of the instance handling.
2009-06-16 01:46:22 +02:00
Christian Dywan
84f5e94c08 Reformat optional feature overview shown after waf configuration 2009-06-14 21:35:24 +02:00
Christian Dywan
5416008f28 Error out if libhildon is available but not libosso
libhildon remains optional but we assume that it makes no sense
to use it without libosso.
2009-06-14 21:25:33 +02:00
Christian Dywan
4e19617fdc Use MDATADIR, import os and don't use waf_config_files 2009-06-09 02:02:43 +02:00
Enrico Tröger
ea35ca0422 Split the value of "CC" so that "ccache gcc" works 2009-06-07 18:42:48 +02:00
Christian Dywan
71a4daa605 Move DOCDIR below definition of MDATADIR 2009-06-06 21:41:26 +02:00
Christian Dywan
db2ef8dcf4 Correctly specify the HAVE_JSCORE define as 1 or 0 2009-06-06 19:47:10 +02:00
Christian Dywan
c3cb3a20e2 Support waf '--run' with wine 2009-06-06 19:38:53 +02:00
Christian Dywan
0f5e13e706 Allow building without JSCore and do so for mingw 2009-06-06 18:51:57 +02:00
Christian Dywan
39434709b7 Follow up on the target and MDATA changes 2009-06-06 18:43:40 +02:00
Christian Dywan
80b47120ef Pass win32 target to package config if building for Win32 2009-06-06 06:58:50 +02:00
Christian Dywan
923841e079 Store 'addons' and 'docs' configure options persistently 2009-06-06 06:37:55 +02:00
Christian Dywan
27c3c2a26c Ensure that docs, localizations and other data build last 2009-06-06 06:32:20 +02:00
Christian Dywan
ba04eccf14 Add mingw cross compiling support to the build script 2009-06-06 06:30:34 +02:00
Christian Dywan
fb316e7873 Use MDATA instead of DATA to avoid naming conflict
The header file objidl.h on Windows uses DATA in a different way,
so we need to avoid that name.
2009-06-06 06:22:35 +02:00
Christian Dywan
e19d038b53 Adjust enabling and disabling of options again 2009-06-05 23:14:53 +02:00
Christian Dywan
752ced73be Correct --enable-foo/ --disable-foo configuration options 2009-06-03 01:49:47 +02:00
Christian Dywan
a6cb1d8450 Use getattr instead of eval in the wscript 2009-05-30 23:56:31 +02:00
Christian Dywan
eff875e2e3 Bump version to 0.1.7 2009-05-28 23:44:17 +02:00
Christian Dywan
4897dc9da5 Use absolute path to generate locale symlinks for --run 2009-05-25 18:18:29 +02:00
Christian Dywan
b47ee725fd Catch non-existance of os.path.relpath 2009-05-17 13:07:15 +02:00
Christian Dywan
3395d0a0f2 Shorten the paths used for --run to make them more easily reusable 2009-05-15 20:30:24 +02:00
Jean-François Guchens
760553f374 Store speed dial as JSON instead of actual HTML source
This will make it possible to change the layout of the page
without losing shortcuts.
2009-05-13 23:56:55 +02:00
Jean-François Guchens
bd6c23cc71 Allow adding speed dial shortcuts from the context menu 2009-05-09 16:41:01 +02:00
Christian Dywan
5a64656847 Remove 'Optional run time dependencies' text from waf output 2009-05-09 15:41:50 +02:00
Jean-François Guchens
c89651c05f Implement quick launch page code named Tandoori
The quick launch page replaces the blank page unless it turns out
to be a bad idea.
2009-05-07 22:22:43 +02:00
Christian Dywan
ca98c68e70 Support error pages with the load-error signal in WebKitGTK+ 1.1.6 2009-05-02 21:44:20 +02:00
Christian Dywan
8f58355014 Bump version to 0.1.6 2009-04-19 22:15:25 +02:00
Christian Dywan
19c57b4da7 Make sure to create 'data' folder if NLS is disabled 2009-04-19 17:03:55 +02:00
Sebastian Andrzej Siewior
b8f9571783 Don't add optimization flags for "--debug-level none"
Choosing 'none' now means no changes to CFLAGS whilst the 'debug'
and 'full' still add optimizations among other options because
they can have a significant effect on generated code.
2009-04-17 03:56:10 +02:00
Faheem Pervez
0ffda1fe27 Initizalize and deinitialize the osso context 2009-04-07 23:23:27 +02:00
Sebastian Andrzej Siewior
461b831d97 Shift selection of debug-level
Currently configure switches on gcc to debug mode what means -O0. Adding
-d none does not help because it is filtered out earlier. -d bla would
help if bla were an allowed keyword.
This patch simply shifts the "compiler is gcc" block to the left so -O2 is
selected if the user selected -d none on the command line. Other compilers
remain with no extra switches.
2009-03-28 23:00:32 +01:00
Christian Dywan
600168b614 Bump version to 0.1.5 2009-03-22 22:38:24 +01:00
Christian Dywan
5d41589437 Bump requirements to WebKitGTK+, Glib 2.16 and libsoup 2.25.2 2009-03-16 01:18:22 +01:00
Christian Dywan
bc3e1408b7 Check for and link with libm 2009-03-12 18:20:14 +01:00
Christian Dywan
58920912fc Bump version to 0.1.4 2009-03-01 21:11:31 +01:00
Christian Dywan
d8bcecc99d Only add the git hash to the version if it's not empty 2009-02-23 01:03:59 +01:00
Christian Dywan
e3485dfbfb Bump version to 0.1.3 2009-02-22 23:37:51 +01:00
Enrico Tröger
40a3eeb94d Cache libSoup version and remove an extra space 2009-02-22 23:34:17 +01:00
Christian Dywan
5e14715d2f Print actual libSoup version if found, otherwise required versions 2009-02-22 23:17:36 +01:00
Christian Dywan
15cbd44f06 Use existing utility functions of WAF rather than our own 2009-02-19 02:07:03 +01:00
Christian Dywan
4314623138 Update WAF to 1.5.3 rv5749, fixing --destdir with relative paths 2009-02-19 01:00:19 +01:00
Christian Dywan
bbe809cacf Support IDN by decoding domain names in magic_uri 2009-02-17 00:16:14 +01:00
Christian Dywan
8d3d76ed8f Default sysconfdir to /etc if the prefix is /usr 2009-02-02 01:10:30 +01:00
Christian Dywan
135b1be01e Provide default search engines 2009-01-31 19:07:27 +01:00
Christian Dywan
a1e8089ad3 Do not use grep for the libsoup check 2009-01-30 18:33:04 +01:00
Christian Dywan
e9460d3ed4 Use ldd and grep when checking if WebKit was built with libsoup 2009-01-30 18:06:40 +01:00
Christian Dywan
a995a66d02 Fix non-localized build after move of midori.desktop.in 2009-01-30 14:15:15 +01:00
Christian Dywan
7f5ad69b86 Correct POTFILES.in and non-hildon installation path 2009-01-28 01:03:16 +01:00
Christian Dywan
181aa10b9d Integrate Midori with Maemo, use a Hildon window and adjust the interface
To make Midori play nicely with Maemo the menubar is now integrated, we
have a service file, a specific toolbar layout, no statusbar and icon styles.

The changes are applied if hildon is available, and can of course be
manually enabled or disabled.
2009-01-27 02:57:40 +01:00
Christian Dywan
a63942cd79 Respect NLSPATH in Midori and use it for ./waf build --run 2009-01-22 01:59:23 +01:00
Christian Dywan
a81405dcf0 Show optional dependency summary at the end of configuration 2009-01-20 04:53:01 +01:00
Christian Dywan
235df3f04d Catch incompatible waf early, ie. with a globally installed waf 2009-01-19 01:12:43 +01:00
Christian Dywan
07bcc0acfa Load extensions from the build folder if ./waf --run is used 2009-01-16 20:27:56 +01:00
Christian Dywan
b146350d58 Bump version to 0.1.2 2009-01-14 00:23:35 +01:00
Christian Dywan
7601ff8865 Fix installing of data files 2009-01-13 00:50:01 +01:00
Christian Dywan
39d2b36b00 Always define HAVE_FOO for unique, libsoup and sqlite 2009-01-12 21:23:32 +01:00
Christian Dywan
266e319451 Apply the default debug level dependend on the compiler 2009-01-10 00:35:10 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
43f48a9b43 Let glib-genmarshal write our marshallers 2009-01-08 02:29:07 +01:00
Christian Dywan
4e84376e28 Require libSoup 2.23.1 instead of 2.23.0 2009-01-08 01:54:08 +01:00
Christian Dywan
0c7034f69c Warn in red font if unique 1.0.4 is used 2009-01-08 01:43:36 +01:00
Christian Dywan
25e07232ac Rewrite try: except: finally: so it is python 2.4 friendly 2009-01-05 22:08:52 +01:00
Christian Dywan
ee9e8d77e5 Update Waf to 1.5.1 and update build scripts accordingly 2009-01-04 21:38:06 +01:00
Christian Dywan
df6afd7caa Add a --run switch to wscript, to run Midori after building 2008-12-12 10:10:10 +01:00
Christian Dywan
270822a0c4 Perform more fine grained libSoup version checks 2008-12-09 20:04:04 +01:00
Christian Dywan
e1075f1aae Link to GThread, to fix non-soup Midori with soup-WebKit 2008-12-08 23:15:05 +01:00
Christian Dywan
7e68ef90c0 Fix prefix and datadir usage 2008-12-07 05:58:40 +01:00
Christian Dywan
588744fdda Generate and install desktop file also without intltool 2008-12-07 05:10:08 +01:00
Christian Dywan
ae2b0c1700 Group build options and warn if docutils or gtk-doc is missing 2008-12-07 04:00:00 +01:00
Christian Dywan
09a334c3e2 Refactor waf options to allow enable/disable consistently
Particularly Gentoo's way of packaging allows users to
specify all features of a package manually, therefore we
allow enabling options and cause a fatal error if the
dependency is not satisfied.
2008-12-07 01:56:42 +01:00
Christian Dywan
c94258fe67 Fix translation updating in build script 2008-12-06 05:43:24 +01:00
Christian Dywan
d3a00cecac Update translation template 2008-12-06 05:35:28 +01:00