Bug#859013: libgirepository1.0-dev: consider separating development files for gir1.2-glib-2.0 vs. gir1.2-freedesktop
Thomas Uhle
thomas.uhle at mailbox.tu-dresden.de
Thu Jun 29 14:45:44 BST 2023
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
More information about the pkg-gnome-maintainers
mailing list