On Wed, 29 Mar 2017, Simon McVittie wrote:

[...]

While looking into this I noticed that gir1.2-freedesktop depends on
libcairo-gobject2 but no other shared libraries. This seems really
weird: I would expect it to either depend on all the others (libdbus,
etc.), or on no shared libraries.


Hello Simon,

although DBusGLib-1.0.gir (and DBusGLib-1.0.typelib) has a reference to dbus_g_proxy_get_type() from libdbus-glib-1.so.2, the corresponding attribute 'shared-library' has yet been missing in the XML element 'namespace'. On the other hand in cairo-1.0.gir, the namespace element has this attribute. That is why dh_girepository (together with dpkg-shlibdeps) is able to determine the dependency on libcairo-gobject2 but not on libdbus-glib-1-2 for instance. There is just the same issue with DBus-1.0.gir (and DBus-1.0.typelib) that has a reference to dbus_connection_get_type() from libglib-2.0.so.0.

Best regards,

Thomas Uhle

Reply via email to