Revision: 524
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=524&view=rev
Author: eht16
Date: 2009-03-05 13:12:31 +0000 (Thu, 05 Mar 2009)
Log Message:
-----------
For now, open the website only when Plugin Help is requested.
Modified Paths:
--------------
trunk/spellcheck/src/scplugin.c
Modified: trunk/spellcheck/src/scplugin.c
===================================================================
--- trunk/spellcheck/src/scplugin.c 2009-03-02 22:12:12 UTC (rev 523)
+++ trunk/spellcheck/src/scplugin.c 2009-03-05 13:12:31 UTC (rev 524)
@@ -260,6 +260,7 @@
void plugin_help(void)
{
+/*
gchar *readme = g_build_filename(DOCDIR, "README", NULL);
if (g_file_test(readme, G_FILE_TEST_EXISTS))
@@ -271,6 +272,8 @@
utils_open_browser("http://plugins.geany.org/spellcheck/");
}
g_free(readme);
+*/
+ utils_open_browser("http://plugins.geany.org/spellcheck/");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 521
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=521&view=rev
Author: eht16
Date: 2009-03-02 18:56:17 +0000 (Mon, 02 Mar 2009)
Log Message:
-----------
Add command line option --target-win32 for 'waf build' when cross-compiling for win32.
Modified Paths:
--------------
trunk/wscript
Modified: trunk/wscript
===================================================================
--- trunk/wscript 2009-03-02 14:02:26 UTC (rev 520)
+++ trunk/wscript 2009-03-02 18:56:17 UTC (rev 521)
@@ -3,7 +3,7 @@
#
# WAF build script for geany-plugins
#
-# Copyright 2008 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2008-2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -294,6 +294,8 @@
opt.add_option('--skip-plugins', action='store', default='',
help='plugins which should not be built, ignored when --enable-plugins is set, same format as --enable-plugins' % \
{ '1' : plugins[0].name, '2' : plugins[1].name }, dest='skip_plugins')
+ opt.add_option('--target-win32', action='store_true', default=False,
+ help='Cross-compile for Win32', dest='target_win32')
def build(bld):
@@ -337,7 +339,12 @@
# Build the plugins
- bld.env['shlib_PATTERN'] = '%s.so'
+ if Options.options.target_win32:
+ bld.env['shlib_CCFLAGS'] = '' # disable default -fPIC flag
+ bld.env['shlib_PATTERN'] = '%s.dll'
+ else:
+ bld.env['shlib_PATTERN'] = '%s.so'
+
for p in plugins:
if not p.name in bld.env['enabled_plugins']:
continue;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.