Re: [anjuta-devel] using symbol-db session packages



Hi!

The problem is that Vala doesn't have such 'import' statements. There
are only 'using' statements which are optional (you can just use fully
qualified names) and there is no easy way to map namespaces to packages
(although can try guessing e.g. for namespace Anjuta, we try looking for
regex "(lib)?anjuta-\d.\d"). Gir namespaces map more accurately to Vala,
but they are still not widely used and have some incompatibilities.

OK, didn't know that. Well, I can move some of the non-language-specific
parts to libanjuta (the pkg-config-chooser is already there). It will
basically allow you to get dependencies of a package and the
corresponding include directories. The latter is probably not that
interesting for vala is it has to look up the vapi/gir files.

Stay tuned. But for now you can just use get_packages() and add the
other stuff later. Should be rather easy. Btw, I got lots of warnings
when I tried the vala plugin last time, maybe you can have a look at
that too.

Thanks,
Johannes

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]