Re: [anjuta-devel] using symbol-db session packages
- From: "Johannes Schmid" <jhs jsschmid de>
- To: "Abderrahim Kitouni" <a kitouni gmail com>
- Cc: anjuta-devel-list gnome org
- Subject: Re: [anjuta-devel] using symbol-db session packages
- Date: Fri, 23 Jul 2010 10:32:45 +0200 (CEST)
Hi!
I've been using get_packages since the beginning, the problem for now is
that "local" packages aren't included in the list (e.g. libanjuta-1.0
for language-support-vala) and the fact that vapi files aren't always
installed system-wide. Ideally, I'd parse the VALAFLAGS for --pkg and
--vapidir but I don't know how to get that from the project manager and
I guess it wouldn't work for anything but automake with vala support
(but this shouldn't be a problem since get_packages itself only works
with automake AFAICT).
I think the problem with local libraries is very specific and maybe it's
not worth putting too much effort into this. I don't think the
project-manager has an interface to get this information from autoconf and
maybe it will never have as it is pretty automake specific.
btw, how do I get all the sources that make up the target to which a
given file belongs? (the project manager uses GFile everywhere so I'm a
bit lost).
Use ianjuta_project_manager_get_children() and use the file(name) of the
target as argument.
Regards,
Johannes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]