i needed the typemaps from cairo, so i patched cairo-perl to use ExtUtils::Depends and install the typemaps. that's also attached.
GtkCairo's "paint" signal uses the G_TYPE_POINTER type for its cairo_t argument; this is not very nice, and should be changed to use at least a boxed type. in lieu of that, i had to write a custom marshaler for the bindings, which in turn copied the code from the CAIRO_T typemap to create a blessed Cairo object. i'm a little uncomfortable with that, as it assumes internals knowledge, but with the current state of things, it's the only way.
as for where these should go, cvs-wise, i would presume you'd want to keep them as close to gtkcairo as possible, which means in cairo's cvs repository.
Attachment:
cairo-perl.diff
Description: Binary data
Attachment:
Gtk2-Cairo-0.001.tar.gz
Description: GNU Zip compressed data
-- I don't have a drinking problem, 'cept when i can't get drink. -- Tom Waits