Re: mmification of gspell

On Wed, Apr 15, 2020 at 04:53:21PM +0200, Kjell Ahlstedt wrote:
On 2020-04-15 01:51, Emmanuel Gil Peyrot wrote:

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

Thanks, do you have a link to this unfinished attempt?  It might make
future maintainance much less costly than doing everything manually,
especially with the changing APIs surrounding GTK 4.

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. :)



There are some instructions in the gtkmm tutorial, appendix G:
It's not completely up-to-date. It assumes that you will build with
Autotools. I suppose you prefer Meson.

Of course I do. ^^

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.

Thanks, I’ll have a look at this method. :)

Emmanuel Gil Peyrot

Attachment: signature.asc
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]