On Tue, 13 Sep 2011, Riccardo (Jack) Lucchetti wrote:
On Mon, 5 Sep 2011, Allin Cottrell wrote:
> But now time has moved on: I've successfully built full
> gtksourceview-2.0 libraries for Windows and OS X, and it's
> quite standard in Linux distros. I'm therefore thinking of (a)
> removing the "bundled" gtksourceview from gretl CVS, and (b)
> specifying gtksourceview-2.0 as a gretl dependency.
For those building gretl on Debian/Ubuntu: you may need to install the
libgtksourceview2.0-dev package (before the recent changes, it was not
required; it is now). Otherwise, your build may stop with gcc complaining
about "gtk_source_buffer_get_highlight_matching_brackets" being missing.
BTW: I guess some adjustments to configure.in are needed.
Sorry, we're in a slightly broken state right now, as you say.
Either we (a) fix things so that it's still possible to use
gtksourceview-1.0 (without printing support), and to use the
bundled version of gtksourceview-1.0 as a fallback, or (b)
we remove support for gtksourceview-1.0 altogether and adjust
configure.in to insist on gtksourceview-2.0.
I'm inclined towards (b), but I'd be OK with (a) for gretl
1.9.6, at least.
Allin