After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764327 - Incompatible version 1.0 (supported: 1.2)
Incompatible version 1.0 (supported: 1.2)
Product: gobject-introspection
Classification: Platform
Component: g-ir-doctool
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Reported: 2016-03-29 18:49 UTC by Simón
Modified: 2018-02-08 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Simón 2016-03-29 18:49:32 UTC
I've generated the gir file of St library:

g-ir-generate /usr/lib/gnome-shell/St-1.0.typelib > st.gir

Then I want to generate the page files with:

g-ir-doc-tool --language gjs st.gir -o st


st.gir: Incompatible version 1.0 (supported: 1.2)
Comment 1 Emmanuele Bassi (:ebassi) 2017-05-04 21:01:19 UTC
This is really three bugs:

 1. g-ir-generate should be updated to generate a 1.2 repository version
 2. g-ir-generate does not allow roundtripping between GIR and typelib because the binary format is lossy (we added more features to the XML, in order to have better code generators, whereas dynamic languages can deal with the existing level of metadata)
 3. g-ir-doc-tool is essentially a toy and it's currently unmaintained

I can easily fix (1), but (2) and (3) are going to be much more problematic.
Comment 2 GNOME Infrastructure Team 2018-02-08 12:41:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: