Re: [anjuta-devel] The new parser-engine Plugin
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: ritze skweez net
- Cc: anjuta-devel-list gnome org
- Subject: Re: [anjuta-devel] The new parser-engine Plugin
- Date: Sat, 21 Jul 2012 16:30:32 +0100
Hello Moritz,
في خ، 19-07-2012 عند 20:34 +0200 ، كتب Moritz Lüdecke:
Hi,
I am not entirely sure, check the vapigen documentation and/or ask on
#vala. And if you found out - document it somewhere ;)
You have to execute this in the Anjuta root folder:
vapigen --pkg gtk+-3.0 --library libanjuta-3.0 --vapidir .
--metadatadir libanjuta/ libanjuta/Anjuta-3.0.gir
vapigen --pkg gtk+-3.0 --library libanjuta-interfaces --vapidir .
--metadatadir libanjuta/ libanjuta/IAnjuta-3.0.gir
Since we don't have any metadata, you don't need --metadatadir.
Maybe we can include this in the configure.ac?
vapigen --pkg gtk+-3.0 --library libanjuta-3.0 --vapidir .
--metadatadir libanjuta/ libanjuta/Anjuta-3.0.gir
vapigen --pkg gtk+-3.0 --library libanjuta-interfaces --vapidir .
--metadatadir libanjuta/ libanjuta/IAnjuta-3.0.gir
cat libanjuta-interfaces.vapi >> libanjuta-3.0.vapi
rm -I libanjuta-interfaces.vapi
mv libanjuta-3.0.vapi plugins/language-support-vala/
Here are the commands I use myself:
vapigen --pkg gtk+-3.0 Anjuta-3.0.gir --library libanjuta
vapigen --girdir . --pkg gtk+-3.0 IAnjuta-3.0.gir --library libanjuta-interfaces
cat libanjuta.vapi libanjuta-interfaces.vapi > libanjuta-3.0.vapi
mv libanjuta-3.0.vapi ../plugins/language-support-vala/
But they don't belong in the configure.ac, they should be executed after
the vapi is generated. I could do it, but that should wait for bug
670673 to be fixed. In the meantime, it can be generated manually with
the patch attached to that bug applied.
https://bugzilla.gnome.org/show_bug.cgi?id=670673
Regards,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]