On Tue, 6 Sep 2011, Berend Hasselman wrote:
On 05-09-2011, at 22:02, Allin Cottrell wrote:
> [...] I'm therefore thinking of (a) removing the "bundled"
> gtksourceview from gretl CVS, and (b) specifying
> gtksourceview-2.0 as a gretl dependency.
>
> Does anyone have any objection to this?
Not really.
I compile Gretl on the Mac using the GTK 2.14 framework (using as few .dylibs as
possible).
It would be nice if I could still do that.
So:
- which version of gtksourceview have you used for Mac OS X?
(if it's version 2.0.2 there shouldn't be any problem)
- what do I need to compile gtksourceview on the mac?
Good questions. For the Mac package I'm using the latest
stable gtksourceview-2.0, namely version 2.10.5. The
dependencies for building this are satisfied by what's in the
GTK 2.14 framework plus what's on OS X already (e.g. libxml2).
With one exception: there are a few lines of code that depend
on GTK 2.16, but these are not essential and I have a small
patch that fixes that.
I can easily make available in some public place (a) my patch
and/or (b) a (universal or single-architecture) package
containing the dylib and headers for gtksourceview 2.10.5.
In fact, I might as well attach the patch here in case you'd
like to try it yourself.
Allin