[Geany-devel] ANN: Configurable Build Menu Alpha in SVN

Lex Trotman elextr at xxxxx
Tue Jul 21 03:45:16 UTC 2009


2009/7/21 Lex Trotman <elextr at gmail.com>:
>>>TODO List (Major items only)
>>>
>>>I don't know what the impact on plugins is yet, I tried to build the
>>
>> Any problems will quickly show up once the code is in trunk.
>>
>
> Plugins won't build, filetype.h now uses build.h which isn't installed
> to /usr/local/include/geany/
>
> I'm AC_illiterate, where do I put build.h to get it installed, is it
> geany_include_HEADERS in src/Makefile.am ?
>
> Or alternatively I could make the requirement go away since now the
> GeanyFiletype structure only has pointers to GeanyBuildCommand, so it
> doesn't actually need the definition.
>
> Which is preferable from your point of view??
>
> Cheers
> Lex
>

Update, making the requirement go away allows geany-plugins combined
release to build & seems to workl!!!

So now the question is should plugins be able to access the build
menu.  I would think that there could be uses for it and would be
happy to add two functions to build.h

gchar *get_build_cmd_field( GeanyBuildGroup group, gint cmdindex,
GeanyBuildCmdEntries field);
void set_build_cmd_field( GeanyBuildGroup group, gint cmdindex,
GeanyBuildCmdEntries field, const gchar *value );

that are documented for use by plugins. and allow build_menu_update to
be used by plugins unless there is another way of triggering it.

Then we need to install build.h

Cheers
Lex

>>
>>>Has anyone tried to build it on Windows?  I don't have windows build
>>>capability.
>>
>> I will try building it on Windows next week. I don't expect much
>> problems, at least not more than usual with build stuff on Windows...:)
>>
>> Regards,
>> Enrico
>>
>> --
>> Get my GPG key from http://www.uvena.de/pub.asc
>>
>> _______________________________________________
>> Geany-devel mailing list
>> Geany-devel at uvena.de
>> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>
>>
>



More information about the Devel mailing list