jhass / crystal-gobject

gobject-introspection for Crystal
BSD 3-Clause "New" or "Revised" License
127 stars 13 forks source link

rename Libcairo #6

Closed aeosynth closed 8 years ago

aeosynth commented 8 years ago

i created some bindings to cairo.h, and naturally i want to name the lib LibCairo, which causes confusion with Libcairo from this repo.

edit: alternatively, generate and include the cairo.h bindings here

jhass commented 8 years ago

I made sure it's generated as LibCairo now. If you have a better typelib available for it, we can look into using that to include a more complete binding for it. Until then I recommend you to just reopen the lib definition to add any methods you miss. I had to do that for example for GIRepository too: https://github.com/jhass/crystal-gobject/blob/ceab30cce37cab4d15a6cebefe07a368fb6a590e/src/g_i_repository/g_i_repository.cr#L4-L9

aeosynth commented 8 years ago

https://developer.gnome.org/gdk3/stable/gdk3-Cairo-Interaction.html

GDK does not wrap the cairo API

nothing on this page is generated: https://developer.gnome.org/cairo/stable/cairo-cairo-t.html

jhass commented 8 years ago

Yes, yet there's a typelib for the stuff that's referenced by Gdk and Gtk and I have to generate that part, else the Gdk and Gtk wrappers can't compile.