On Sunday, 18 December, 2011 01:39 AM, Sébastien Granjoux wrote:
These are the patches then. I also updated the .vapi for the changes in the project property interface, though other changes are also included (shouldn't we add some targets in the makefiles for updating this if Anjuta-3.0.gir is modified and vapigen is available in the system?).Hi, Le 17/12/2011 18:27, Arnel A. Borja a écrit :I get these errors after pulling from git:kyoushuu kyoushuu-netbook:~/Devel/Git/compiled-anjuta/plugins/language-support-vala$make CC plugin.lo plugin.c: In function 'vala_plugin_add_project_files': plugin.c:1045:22: error: 'AnjutaProjectProperty' has no member named 'native'plugin.c:1046:22: error: 'AnjutaProjectProperty' has no member named 'id'plugin.c:1102:23: error: 'AnjutaProjectProperty' has no member named 'native'plugin.c:1103:23: error: 'AnjutaProjectProperty' has no member named 'id'make: *** [plugin.lo] Error 1I haven't seen it because I haven't compiled the vala plugin here because some dependencies are missing. Moreover, I don't know vala.I think Abderrahim will fix it. But in the meantime, you can try to replace 'native' by 'info'. If the bindings are generated automatically it could work. If it fixes the issue, I will even commit this change.
By the way, this is how I updated the Vala API files:vapigen --pkg gtk+-3.0 --girdir ../../libanjuta --library libanjuta ../../libanjuta/Anjuta-3.0.gir vapigen --pkg gtk+-3.0 --girdir ../../libanjuta --library libanjuta-interfaces ../../libanjuta/IAnjuta-3.0.gir
cat libanjuta.vapi libanjuta-interfaces.vapi > libanjuta-3.0.vapiIt's my first time to use vapigen, and I don't know much about Vala; I'm not sure if what I've is correct.
Note: Feel free to change the git commit messages if you like, I know that they are badly written :)
Best Regards, Sébastien
Attachment:
0001-language-support-vala-update-the-.vapi.patch
Description: Text Data
Attachment:
0002-language-support-vala-update-project-property-interf.patch
Description: Text Data