Re: mmification of gspell



Check this project https://gitlab.com/mnauw/cppgir 

Worth checking upfront.

On Wed, 2020-04-15 at 18:19 +0200, Emmanuel Gil Peyrot wrote:
On Wed, Apr 15, 2020 at 04:53:21PM +0200, Kjell Ahlstedt wrote:
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.

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

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.

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

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list



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