Summary: | Add pkg-config and C include information to GIR | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Evan Nemerson <evan> |
Component: | tp-glib | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | minor | ||
Priority: | medium | CC: | bugzilla, danielle, travis.reitter |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | add pkg-config and C header information to GIR |
Description
Evan Nemerson
2010-11-01 03:18:59 UTC
Created attachment 39948 [details] [review] add pkg-config and C header information to GIR I've applied your patch, thanks. Fixed in git for 0.13.4. However, if you want to use telepathy-glib from Vala, you should be probably be configuring it with --enable-vala-bindings, which produces and installs telepathy-glib.{vapi,deps} - unless there's some reason not to do that, that I'm not aware of? (Or, if explicit Vala bindings are no longer necessary and the preferred mechanism is to use the .gir directly, then that's great - let me know which versions of Vala and g-i to recommend, and I can confirm with the authors of libfolks, then delete the .vapi/.deps altogether :-) I'm working on improving Vala's support for GIR. With the patches (almost entirely Luca Bruno's work) that I'm almost ready to push to Vala master and what you just pushed to telepathy-glib you should be able to get rid of those sed invocations in your vala/Makefile.am. GIR is currently missing some features (see https://bugzilla.gnome.org/show_bug.cgi?id=559704) which will likely prevent it from being the preferred mechanism, at least for a while. That said, telepathy-glib is a bit of a special case since you don't seem to actually use any of those features, so theoretically it will soon be possible to use the GIR directly. Whether you want to is another matter. Travis Reitter hangs out in #vala, I'll keep him in the loop. (In reply to comment #3) > I'm working on improving Vala's support for GIR. With the patches (almost > entirely Luca Bruno's work) that I'm almost ready to push to Vala master and > what you just pushed to telepathy-glib you should be able to get rid of those > sed invocations in your vala/Makefile.am. Cutting out this sed hackery is filed as bug 31387. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.