Le 19/12/2010 16:05, Colomban Wendling a écrit :
> [...]
>
> So I'll stop here, thank you for your time reading and let you test
> this, right? :)

I forgot to link to MIO, the tiny library used for in-memory operations.
Obviously, you'll need it:
http://gitorious.org/mio

Also, I created a small patch to make the Waf build system work with the
changes (thanks Thomas for pointing this out), you can find it joined as
0001-Update-Waf-build-system-form-in-memory-tag-parsing-c.patch

Regards,
Colomban
>From 13a4e8daca2efe0b8873dd190611fbe7729a957a Mon Sep 17 00:00:00 2001
From: Colomban Wendling <b...@herbesfolles.org>
Date: Sun, 19 Dec 2010 18:10:43 +0100
Subject: [PATCH] Update Waf build system form in-memory tag parsing changes

---
 wscript |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/wscript b/wscript
index a6dfa5e..2e3ed2c 100644
--- a/wscript
+++ b/wscript
@@ -171,6 +171,9 @@ def configure(conf):
     else:
         gtk_version = 'Unknown'
     conf.check_cfg(package='gio-2.0', uselib_store='GIO', args='--cflags --libs', mandatory=False)
+    # MIO check
+    conf.check_cfg(package='mio', atleast_version='0.1', uselib_store='MIO',
+        mandatory=True, args='--cflags --libs')
 
     # Windows specials
     if is_win32:
@@ -309,7 +312,7 @@ def build(bld):
         target          = 'tagmanager',
         includes        = ['.', 'tagmanager/include/'],
         defines         = 'G_LOG_DOMAIN="Tagmanager"',
-        uselib          = 'GTK',
+        uselib          = ['GTK', 'MIO'],
         install_path    = None) # do not install this library
 
 
@@ -338,7 +341,7 @@ def build(bld):
         source          = geany_sources,
         includes        = ['.', 'scintilla/include/', 'tagmanager/include/'],
         defines         = ['G_LOG_DOMAIN="Geany"', 'GEANY_PRIVATE'],
-        uselib          = ['GTK', 'GIO', 'WIN32', 'SUNOS_SOCKET'],
+        uselib          = ['GTK', 'GIO', 'WIN32', 'SUNOS_SOCKET', 'MIO'],
         use             = ['scintilla', 'tagmanager'])
 
     # geanyfunctions.h
-- 
1.7.2.3

_______________________________________________
Geany-devel mailing list
Geany-devel@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to