Python <--> d-bus <--> c++ woes

Kip Warner kip at thevertigo.com
Mon Mar 25 14:55:49 PDT 2013


On Mon, 2013-03-25 at 12:25 +0000, Simon McVittie wrote:
> On 21/03/13 01:24, Kip Warner wrote:
> > As I understand it, at
> > least in the context of Ubuntu Precise and later, if using the GDBus
> > bindings from Python3, an application should only need to rely on the
> > python3-gi package being installed, and not python3-dbus?
> 
> Correct. The naming convention used for Python stuff in Debian and
> Ubuntu is that if you "import foo" then the binary package should be
> called python-foo or python3-foo, regardless of its upstream name (the
> same way we nearly always package libthing.so.2 as libthing2, even if
> its upstream calls it thinglib or something).
> 
> As a result, the project whose upstream name is PyGI gets packaged as
> python[3]-gi, and the project whose upstream name is dbus-python gets
> packaged as python[3]-dbus.
> 
> Fedora sticks more closely to projects' upstream names, so their package
> names for both C and Python libraries are usually different.
> 
> >> On Debian/Ubuntu, the runtime library, libgio-2.0.so.0, is part of the
> >> libglib2.0-0 package
> > 
> > Would you say that under Ubuntu, just checking to make sure python3-gi
> > is installed is sufficient?
> 
> Yes, because python[3]-gi depends on the introspection data for GLib,
> GObject and GIO already.

Thanks a lot, Simon. Much appreciated. Very helpful as usual.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130325/1092eda2/attachment.pgp>


More information about the dbus mailing list