Commit graph

173 commits

Author SHA1 Message Date
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
Christian Dywan 604c0e6e59 Hack to store cookies on disk with libSoup 2.25.2
Note that if the WebKit build doesn't use libSoup
cookies will never be loaded or saved just like before.
2008-12-06 04:46:20 +01:00
Christian Dywan c2c031e041 Bump version to 0.1.1 2008-11-30 01:48:04 +01:00
Christian Dywan 5f149946d6 Implement MIDORI_CHECK_VERSION for use in extensions 2008-11-30 01:22:03 +01:00
Christian Dywan 3cd50f419b Introduce a C extension interface 2008-11-18 02:07:53 +01:00
Christian Dywan 7863d0f7fd Introduce unit tests for automated testing
The first one is a test for sokoke_magic_uri and
it already helped improving the function.
2008-11-14 02:46:23 +01:00
Christian Dywan 22a9bf1bc1 Print warnings after configuring if packages are missing 2008-11-10 22:18:35 +01:00
Christian Dywan 0bfb12f0b1 Faciliate translation workflow, look at TRANSLATE for details
Also three strings are marked untranslatable since they never
appear in the user interface and 'Unhandled settings value'
is reworded to 'Invalid configuration value'.
2008-11-10 01:08:38 +01:00
Christian Dywan 9abb753cc4 Remove sqlite header check, it turns out to be wrong 2008-11-08 13:12:54 +01:00
Christian Dywan 32d8503bfc Add file TRANSLATE with tips for translating Midori 2008-11-03 00:19:11 +01:00
Christian Dywan b931e1bf53 Improve OSX adjustments in various places 2008-10-26 00:54:57 +02:00
Christian Dywan d26c50f2d4 Explicitly build with GIO again, Gtk < 2.14 needs that 2008-10-24 00:19:04 +02:00
Christian Dywan ce66f54620 Suppress error when not building from git 2008-10-21 23:07:07 +02:00
Christian Dywan c9920a10b7 Install the EXPAT license file 2008-10-21 22:53:06 +02:00
Christian Dywan e848d1df6e Require Gtk 2.10 and don't treat GIO specially anymore 2008-10-20 00:41:52 +02:00
Christian Dywan cf854d9617 Remove support for GtkSourceView 2008-10-19 22:53:51 +02:00
Christian Dywan a6e4d7b84b Load and cache favicons with libsoup instead of GIO
The previous code relied on GIO implementing HTTP
with libsoup, so this is effectively not a new
dependency. And since many people don't have GVfs
and even if they do, somehow GIO doesn't work as
good as one should expect, direct use of libsoup
is actually an improvement. Plus the new code
caches icons on disk which we didn't do before.
2008-10-19 22:18:07 +02:00
Christian Dywan c2cba4899a Bump version to 0.1.0 2008-10-19 00:35:23 +02:00
Christian Dywan 7849f28e08 Display a shaded logo in error pages 2008-10-16 03:51:39 +02:00
Christian Dywan 68cf3388f6 Make sqlite history storage truly optional 2008-10-13 17:50:07 +02:00
Christian Dywan c1aff9030f Add license note to lots of files and add EXPAT file. 2008-10-11 07:27:52 +02:00
Dale Whittaker d445745787 Implement navigation history backed by sqlite
The implementation relies on KatzeArray for the
most part and only does the storage with sqlite
behind the scenes. The change includes a working
History panel. Changes to the database are
committed in realtime.
2008-10-07 02:19:33 +02:00
Christian Dywan e4238d7c73 Initial attempt at user documentation 2008-10-03 22:14:14 +02:00
Christian Dywan ee33d8e3dd Add option to generate API documentation 2008-09-07 21:48:04 +02:00
Christian Dywan 065cfd0816 Disable localization file updates and make them optional 2008-09-03 03:20:35 +02:00