gir-missing-typelib-dependency
Development packages that contain GObject-Introspection XML files
(/usr/share/gir-1.0/Foo-23.gir
) must depend on the package
containing the corresponding binary typelib, which is conventionally named
gir1.2-foo-23
. The dependency must be strictly versioned
(for example gir1.2-foo-23 (= ${binary:Version})
when using
debhelper).
If multiple typelibs are shipped in the same package, then that package
should have versioned Provides
for the names that would have been
used for separate packages. In this case, Lintian does not emit this tag
when a group of binary packages from the same source is checked together.
For example, libgtk-3-dev
contains Gtk-3.0.gir
,
Gdk-3.0.gir
and GdkX11-3.0.gir
.
gir1.2-gtk-3.0
contains all three corresponding typelibs,
so it is sufficient for libgtk-3-dev
to depend on
gir1.2-gtk-3.0
. Giving gir1.2-gtk-3.0
Provides
entries for gir1.2-gdk-3.0 (= ${binary:Version})
and gir1.2-gdkx11-3.0 (= ${binary:Version})
signals this
situation to Lintian.
For more information please consult:
The tag is present in Lintian version 2.114.163
.
That is the most recent version we know about.
We use semantic versions.
The patch number is a commit step indicator relative to the
2.114.0
release tag in our Git
repository.
You can find the detection logic for this version at commit c1c05b0. For merge requests, please use the latest version in the Lintian check desktop/gnome/gir.
Visibility: warning