On Fri, 23 May 2008, Allin Cottrell wrote:
On Fri, 23 May 2008, Riccardo (Jack) Lucchetti wrote:
> I'm sure there are very good reasons to use an in-house version
> of gtksourceview, but generally speaking, there are many
> advantages from linking to an external library; could you please
> explain what the disadvantages are in this case?
On second thoughts, my arguments for always using the bundled
version of gtksourceview (which we use on Windows and OSX) were a
The changes in API from 1.0 to 2.0 of this library were not all
that substantial. So I've figured out the required changes and
reinstated the possibility of using an installed libgtksourceview,
with support for version 2.0. What should now happen on Linux at
configure time is:
* If the option --without-gtksourceview is given, we don't look
for an installed version and use the bundled one. (Can be
useful if you're trying to avoid dragging extra dependencies
into a build of gretl -- since gtksourceview 1.0 requires
libgnomeprint and v 2.0 requires GTK 2.12.)
* Otherwise we look for version 2.0 and use it if found.
* Failing that we look for version 1.0 and use it if found.
* And failing that we fall back on the bundled version.
Please let me know of any build problems.