Bug#1100054: gir-rust-code-generator: Does not grok output of newer gobject-introspection

Simon McVittie smcv at debian.org
Mon Mar 10 21:03:29 GMT 2025


On Mon, 10 Mar 2025 at 21:44:22 +0100, Matthias Geiger wrote:
>On Mon, 10 Mar 2025 19:31:04 +0100 Samuel Thibault <sthibault at debian.org> wrote:
>>After e.g. rebuilding gtk4 with the latest gobject-introspection
>>(1.83.2-2), e.g. Gdk-4.0.gir contains an additional line:
>>
>>   <include name="cairo" version="1.0"/>
>>   <package name="gtk4"/>
>>   <c:include name="gdk/gdk.h"/>
>>+  <doc:format name="unknown"/>
>>   <namespace name="Gdk"
>>              version="4.0"
>>              shared-library="libgtk-4.so.1"
>
>Do you happen 
>to know if that field only appears in Gdk-4.0.gir or in other .gir 
>files too ?

It will likely appear in any GIR XML that gets rebuilt with the new 
gobject-introspection. The same change caused a build-time test failure 
in glib2.0 (although I'm about to upload a fix for that one in glib2.0) 
when the equivalent line appeared in GLib's own GIR XML.

     smcv



More information about the pkg-gnome-maintainers mailing list