Re: testcairo.lisp?

Espen S Johnsen <[email protected]> 30 Oct 2005 11:04:17 +0100
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
For those reading this on the clg-devel mailing list, I made a new
release of clg a few days ago. This is from the release notes on
SourceForge:

  This release should work with any version of CMUCL 19 and SBCL 0.9.

  Changes:
  * minor changes required by recent versions of SBCL
  * bindings to Gtk+ 2.8 added


"Stephan Beyer" <[email protected]> writes:

> Today I downloaded the latest version of clg and became very happy
> after I saw a "examples/testcairo.lisp", because I wanted to play with
> cairo and gtk a bit...  Soon I noticed, that clg does not contain any
> CL bindings for "cairo" nor "svg-cairo" so I browsed through the web
> and looked for them...

Those files were included by accident, though I do have a more or less
complete cairo bindings for clg. But I have not yet checked it in to CVS
and therefore didn't got included in the release.

> I only found cl-cairo, which needs CFFI (btw, don't know how good CFFI
> really is, but according to their homepage callbacks work with sbcl
> and cffi, at least on x86), but - of course - the example didn't work
> with cl-cairo.

Other bindings did not exist at the time I started to play with cairo,
so I had to create my own based on the ffi abstraction layer included in
clg. One of the reasons that I didn't include this code in the current
release is that I am in the process of factoring out the ffi layer into
it's own module. By doing this, bindings to other libraries could be
made without having to depend on the glib module. And at the same time I
am trying to create a Clisp port.

> So where can I find those Cairo bindings for Common Lisp?
> Or is testcairo.lisp just an imaginary example?

I will import what I have so far into CVS, and also look into the
possibility of using cl-cairo with clg.

-- 
Espen


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information