Re: mmification of gspell
Kjell Ahlstedt via gtkmm-list <[email protected]>
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <[email protected]> |
On 2020-04-15 01:51, Emmanuel Gil Peyrot wrote: > 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 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. > 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. _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list