GNOME Bugzilla – Bug 639831
Add shared-library to cairo-1.0.gir
Last modified: 2015-02-07 17:01:53 UTC
So bindings don't need to link to libcairo-gobject.so by themselves
Created attachment 178610 [details] [review] Add shared-library to cairo-1.0.gir So libcairo-gobject gets loaded.
Review of attachment 178610 [details] [review]: It does seem unlikely anything will be using cairo.gir without also having the ability to use cairo-gobject. But yes conditionalizing it would be nice; move it to cairo-1.0.gir.in, then substitute in the value.
Created attachment 178706 [details] [review] Depend on cairo-gobject if available And set library-name and package accordingly in the cairo .gir
Created attachment 178707 [details] [review] Depend on cairo-gobject if available And set library-name and package accordingly in the cairo .gir
Review of attachment 178707 [details] [review]: I have not much experience with autoconf, but the patch looks fine to me.
Review of attachment 178707 [details] [review]: It's bit weird that the cairo gir represents different things depending on if cairo. But I can't find of any better solutions, and GIRs are already pretty much tied to the system they are generated on.
Attachment 178707 [details] pushed as 934729d - Depend on cairo-gobject if available
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]