[packagekit] PackageKit DBus Interface in Ubuntu - It is the API that matters!

Martin Pitt martin.pitt at ubuntu.com
Thu Nov 17 10:01:00 PST 2011


Barry Warsaw [2011-11-17 11:03 -0500]:
> FWIW, I am currently working on a Python 3 port of python-dbus.  Can you
> provide more information about what is missing for Python 3 server-side GDBus
> support?  Maybe I can help with that.

https://bugzilla.gnome.org/show_bug.cgi?id=656325 tracks adding some
sugar/overrides to Gio to provide a nice and smooth server-side dbus
support. However, this is blocked by making the last piece
introspectable:

  https://bugzilla.gnome.org/show_bug.cgi?id=656325

There is a patch, but it's a bit hackish and upstream doesn't like it.
The way to do it properly is to introduce a new API using closures
instead of passing raw structs, but that doesn't work right now:

  https://bugzilla.gnome.org/show_bug.cgi?id=656554

I tried fixing this for several hours, but failed so far. The clean
solution would need some bigger refactoring in pygobject to only use
one set of marshallers instead of two. I wasn't able to come up with a
small patch to create Python wrappers for GVariant struct objects.

Martin



-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20111117/661870d3/attachment-0004.pgp>


More information about the PackageKit mailing list