Meson: introspected API generation not complete
GIMP version: master
Operating System: Linux (and probably all but only tested when building on Linux)
Description of the bug
I have added build rules to generate HTML docs for the Python and javascript API with g-ir-doc-tool
with both meson and autotools. It's working except I realize that the generated docs by the meson build are incomplete. All object methods seem to be missing.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Configure an autotools build with
--enable-g-ir-doc
and build. - In another directory, configure a meson build with
-Dg-ir-doc=true
- On both build directories, you should find the directory
devel-docs/g-ir-docs/html/
with insidegjs/
andpython/
directories. Browse them in a web browser.
Expected result: the data should match.
Actual result: look for instance at devel-docs/g-ir-docs/html/python/Gimp-3.0/Gimp.Drawable.html
on both builds.
The docs page looks like this with the autotools build:
In particular with a short descriptive line, methods, static functions and fields. On the other side, the one generated by meson is pretty bare:
Additional information
For anyone wishing to look into it, the Makefile rules are in devel-docs/g-ir-docs/Makefile.am
and meson rules are in devel-docs/g-ir-docs/meson.build
.
That looks pretty similar to me, but maybe I am missing something. And anyway the meson version is a mess because I have been constantly trying to work around meson limitations. So I would welcome someone to look these and maybe revamp these with better rules.