I don't know for sure, but I think gobject-introspection did not exist when glibmm and friends were first created. Then no one has taken the time to learn gobject-introspection and to convert everything. I think there once was an attempt to generate glibmm from gobject-introspection, but it was not finished.Hi, In Inkscape[1] I’ve been trying to replace[2] both GtkSpell and aspell with gspell[3], but I couldn’t find any gspellmm library. I’ve been looking through your mm libraries to see how to generate it, but it seems you write almost all of the code, instead of generating it from gobject-introspection like in other languages, is there any reason for that?
I’d be interested in creating such a library if no one else already has something, do you have any pointer for where to start from? The API surface is small enough I could do it from scratch, but it would most likely integrate better taking your advices. :) Thanks! [1] https://inkscape.org/ [2] https://gitlab.com/inkscape/inkscape/-/merge_requests/1756 [3] https://wiki.gnome.org/Projects/gspell
There are some instructions in the gtkmm tutorial, appendix G: https://developer.gnome.org/gtkmm-tutorial/stable/chapter-wrapping-c-libraries.html.en. It's not completely up-to-date. It assumes that you will build with Autotools. I suppose you prefer Meson.
mm-common contains the skeletonmm directory with files you can
start with. The skeletonmm project contains files for building
with Meson. If you decide to use it, I recommend that you clone
mm-common from the git repo with the latest commits.