On Friday 04 June 2010 16:41:29 you wrote:
On Fri, 2010-06-04 at 15:15 +0100, Sascha Peilicke wrote:
> On Friday 04 June 2010 16:06:53 Sascha Peilicke wrote:
> > Hi,
> >
> > it would be great of the D-Bus interface XML files would be installed
> > into /usr/share/dbus-1/interfaces (or to whatever directory that is
> > configured). The KDE frontend is using them to generate Qt classes
> > directly from the interface definition rather than by tinkering with
> > the glib-centric syncevo- dbus-* headers.
That's indeed the approach that I would suggest.
> > Currently we simply copy those XML files from the
> > Git source.
>
> Preferably in that form:
>
> /usr/share/dbus-1/interfaces/org.syncevolution.Server.xml
> /usr/share/dbus-1/interfaces/org.syncevolution.Session.xml
> /usr/share/dbus-1/interfaces/org.syncevolution.Connection.xml
That belongs into a development package, right? I don't want to disrupt
the work already done on packaging 1.0, so I'll put this change into a
1.0.1 update.
I'm fine with that, thanks.
As far as I know, Qt D-Bus needs annotations to define the
corresponding
local types. How do you intend to add them to the installed files?
Uhm, currently I
added those locally. I agree, we'd have to parse those XML
files and add corresponding annotations. Maybe someone already wrote a tool
for that. As an alternative, we could simply add those annotations to the
provided files as they shouldn't hurt.
FYI, I have asked whether we can get at least that part of the work
which was already done for a Qt app published quickly.
That would be awesome and
for sure save some work for Ravi.
--
Sascha Peilicke
http://saschpe.wordpress.com