Closed ivanbakel closed 4 years ago
This can be solved by renaming the .typelib
file to have the correct version in the name - 4.3.2
. This works as normal, even while the gir
file has version 4.0
in the name.
I ran into the same issue when using guile-gi. I am working around it for now by renaming the typelib file as ivanbakel suggests.
Ist this related to issue #13 ?
I don't know what the gir file in #13 is for, but certainly the typelib has the wrong version in its filename.
Thank you for reporting. I will check it out when making next release.
With meson build, typelib file is named GtkSheet-4.3.4.typelib and g-ir-inspect is working. When using ./configure, output files have wrong names.
I found a way to fix hardcoded gir filenames in Makefile.am: https://stackoverflow.com/questions/34205092/autotool-automake-output-executable-filename-with-version
pushed fix to branch gtk3_fixes
To git@github.com:fpaquet/gtksheet.git b148681..7c8078c gtk3_fixes -> gtk3_fixes
This came about trying to use
haskell-gi
to autogenerate bindings to GtkSheet using the introspection features.GtkSheet seems to conflictingly report its own version as
4.3.2
in files and4.0
in filenames. This apparently breaks thegir
repository, which is unable to find the.typelib
file for GtkSheet with the (reported) version 4.3.2, but is able to find the one with version 4.0, though it then complains that there's a version mismatch.This can be tested with
Which fails, not finding the
.typelib
file, andWhich initially succeeds, but then errors as the
.typelib
contains the wrong version number.