Re: mmification of gspell

Emmanuel Gil Peyrot <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <20200415161930.a5z4mpgnpngb5n5l@luna>
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. :)

-- 
Emmanuel Gil Peyrot

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEjrVT1SzTln43kCLJOWgfYkb2LpAFAl6XNA8ACgkQOWgfYkb2
LpDA9AgAlL7xTwKB1zJixVZ3bDapIzEsA0/ooH5BwBVeA2+sci4F1EUx/+1FoJHM
wkYh8ACIdS3zgtQSQac19ACKZoSb6B8PKICpG5dzzX1wRBdQA0yr6lRlFSUMYEZb
Zt4tVZS+IfeRJI2kU7wRhpxqfO+hctgbJldT1QrQTkhuxuopIWu3LLtIG5a5OzXx
/nAS++mVHRdLljdpMbhvufCOpquMakf/9sE6QN7yN54YsaSrxVJSqky+N6tGlx4w
ipQp++yrSPFxfPxz3Qa4hRSr/fMvmaujKTiBKlwmrblhzZgxLq6xiMNS+24ZaVvM
RlXp3qLXsTzLmcNgvYzorkzmYkgdXg==
=TaxE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.