[Gtk-sharp-list] task list
Sat, 24 Apr 2004 14:52:13 -0400
On Sat, 2004-04-24 at 13:45 +0100, Jeremy Wells wrote:
> ok, i found the generator readme and tried to do as it said, i created
> an xml file for libwnck:
> <api filename="api/wnck-api.raw">
> <library name="libwnck-1.so.4">
> <namespace name="Wnck">
> and then ran gapi-parser libwnck.xml and a lot of numbers n stuff
> flashes past as it runs, but then it exits with the following error:
> at /usr/local/bin/gapi2xml.pl line 852, <STDIN> line 1621.
> I/O warning : failed to load external entity "api/wnck-api.raw.pre"
> ** (process:12377): WARNING **: File api/wnck-api.raw.pre empty or not
> it doesn't matter how i change the location of the api filename or
> anything, it always comes out with the same error.
> am i doing something wrong or am i barking up the wrong tree completely
> trying to do it like this?
You are doing it mostly right, except that the parser cannot parse
libwnck. This is probably due to minor coding style problems for which
you can either patch the source of libwnck before you parse it, or add
support for it to the Gtk# parser.
A few minor things:
you may want to use the gnome2.2 version of libwnck
<api filename="wnck/wnck-api.raw"> (wnck should be a directory at
<library name="libwnck-1.so"> (and then add the minor version