ganv requires cairo 1.10, but doesn't check for it
|Reported by:||colinf||Owned by:||dave|
I suppose I'm an old stick-in-the-mud for persisting with Ubuntu 10.04 LTS when there is so much new shiny in the world, but I'm not quite ready to jump to anythig newer just yet.
Anyway, current svn fails to build on that platform, which has libcairo2-1.8.10.
ganv/ganv/canvas-base.h uses the cairo_region_t type, which was introduced in libcairo 1.10, leading to:
In file included from /home/colinf/src/drobilla-lad/ganv/ganv/canvas.h:19,
/home/colinf/src/drobilla-lad/ganv/ganv/canvas-base.h:259:2: error: ISO C++ forbids declaration of ‘cairo_region_t’ with no type
Trying to hack around that with 'typedef GdkRegion? cairo_region_t;' just leads to a slew more build errors, so it looks like the dependency on the newer version is not trivially revertible.
It'd be nice to be able to build with older libcairo, but I guess if versions older than 1.10 really aren't supported any more, ./waf configure should at least check this.