Closed werdahias closed 1 year ago
Did you check the fixup scripts in the gir-files
repo? Generally, any .gir files that are not the ones from there are unsupported and it's your job to fix them up in a way that things succeed.
Also you want to make sure they're exactly from the same version, otherwise you will generate bindings with more (newer) or less (older) API, broken API (annotations that were fixed in the meantime), etc.
ah, thanks, running xmlstarlet on freetype solved this. sorry for the noise.
Make sure to diff the generated code against the one from the actual releases to catch any API difference or bugs.
thanks, will do before upload.
I tried to regenerate the bindings for gdk4-wayland-sys but had no sucess so far. I copied the relevant gir files from the -dev packages in debian to the build directory and deleted the lines from the freetype2 gir file before generation so it can be run. This fails though:
after sed'ing the freetype gir file it looks like this:
Any idea what I am missing here ?