I recently upgraded my cairo bindings to 1.8, and my ruby-gnome2
bindings to
0.18.1.
Everything seems to be working nicely (less leaks!), with one exception:
after loading the rsvg2 bindings, my cairo contexts don’t have the
render_rsvg_handle method added to them.
I’ve traced this issue to the check_cairo refactor in revison 3294.
The temporary solution I used as a workaround was to add the following
line to rsvg/extconf.rb
have_header(“librsvg/rsvg-cairo.h”)
It appears that line doesn’t get called in the new check_cairo function,
so the Makefile generated for the rsvg bindings doesn’t add
-DHAVE_LIBRSVG_RSVG_CAIRO_H to CPP_FLAGS.
– James H. Thu, 06 Nov 2008 22:58:16 +1100