Re: [RFC] Install introspection files v2



Am Montag, 5. Mai 2008 13:18:51 schrieb Dan Williams:
> On Mon, 2008-05-05 at 10:13 +0200, Helmut Schaa wrote:
> > Nevertheless I was able to build NM with the splitted file. Are there any
> > other problems I did not notice?
>
> I think the symptom would be NM just not responding to some dbus methods
> or emitting some signals.  The calls to
> dbus_g_object_type_install_info() install the methods and singals that
> the object will respond to, and the type information passed in as the
> second argument there comes directly from the files processed by
> dbus-glib-binding-tool (the -glue.h files).  When the file gets split,
> only part of the information previously in the -glue.h file will be
> added to the object.

Ok. I'll prepare a new version of the patch without the split :)

> I did notice that your patch split out the files, but didn't actually
> remove the additional interfaces from the existing .xml files that you'd
> split out.

Oops. That wasn't by intention.

> > The introspection files are needed at compile time to create the needed
> > proxy-classes in KNM (or any other frontend). Getting the XML through a
> > D-Bus call is not an option here.
>
> What I mean is that it might still be possible to generate the .xml
> files at build time from _NM_ using introspection XML, like dbus
> apparently does right now.  Shouldn't matter though; we'll cross that
> bridge when we come to it.

I thought you were referring to runtime introspection. As long as the 
introspection data can be used during compilation everything is fine for me.

Helmut


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]