I want to write a window manager in Ruby (or at least, write some sort
of prototype to learn how they are made) but all the Xlib bindings
available are years old and/or incomplete.

One project, however, uses SWIG and is fairly complete (though it is a
direct translation of the function calls). I could use it, or at least
turn it into something more ruby-like, but it's pretty out of date.
That is, it won't compile on my machine. I spent a while looking into
the errors, but I've never used SWIG before, so I didn't get very far.

Would anyone with SWIG experience be willing to bring it up to speed to
some current-ish version of SWIG? As a head start, there's a patch that
does some of the work, though it just gives me different errors.

project page: http://sourceforge.net/projects/ruby-xlib-wrap/

patch:
http://sourceforge.net/tracker/index.php?func=detail&aid=756724&group_id=36722&atid=417702

Thanks