[Gtk-sharp-list] Issues with generating bindings for telepathy-glib and telepathy-mission-control via GAPI

Mike Kestner mkestner at gmail.com
Sat Jun 28 14:56:13 EDT 2008

On Sat, 2008-06-28 at 14:07 -0400, William Farrington wrote:

> As part of my SoC project, I've got to create bindings for telepathy- 
> glib and telepathy-mission-control for C#. Things were generally going  
> well, however, I've now hit a point were a handful of header files are  
> inexplicably *not* being generated into C# code.

I tried telepathy-glib-sharp and see some obvious problems.  You are
setting up the parser source file to scan the installed headers.  This
isn't going to work, since the parser also needs to scan the source
files to get at things like class init funcs and type initializations.

The typical approach for GAPI projects is to set a makefile target to
download a source tarball to be used by the make api target and to
configure your parse to access the sources from the downloaded and
extracted target.  You can see examples of this in the gtk-sharp/sources
directory where the gapi2-parser step is performed in Gtk#.

Unless you have a good reason to vary from the typical project layout, I
would recommend sticking to it.  This project layout is fairly well
described on:



More information about the Gtk-sharp-list mailing list