[Geany-devel] Webhelper Waf

Colomban Wendling lists.ban at xxxxx
Sun Mar 27 15:38:57 UTC 2011


Le 27/03/2011 12:50, Enrico Tröger a écrit :
> On Sun, 27 Mar 2011 03:18:28 -0700, Matthew wrote:
> 
>> Hi,
>>
>> I have no idea about Waf, but I just updated Devhelp Waf script.  Is
>> it ok?
>>
>> Also, Webhelper should need the attached update?
> 
> Your code checks for 'gthread-2.0' in the configure part. The result is
> stored in 'GTHREAD'.
> So, until this you only checked for the presence of the gthread-2.0
> module, it isn't used at all so far.
> 
> To use it, i.e. to tell Waf it should add --cflags and --libs during
> compilation/linking, you need to add GTHREAD to the list of
> libraries in wscript_build.
> 
> Anyway, as I said in the g_thread_init() thread, I also think we should
> initialise threads in Geany itself, so this patch isn't needed anymore
> then.

IIRC it is until I drop the g_thread_init() call in the plugin... maybe
dropping it and depend on the new SVN revision is the better solution,
since it maybe be a problem to initialize from plugins anyway.
Any way to make the plugin depend on r5637?

Cheers,
Colomban



More information about the Devel mailing list