Skip to content
Snippets Groups Projects
README 1.95 KiB
Newer Older
This directory contains CLX, an X11 client library for Common
Lisp. The code was originally taken from a CMUCL distribution, was
modified somewhat in order to make it compile and run under SBCL, then
a selection of patches were added from other CLXes around the net,
 - SHAPE extension support (Gilbert Baumann)
 - X authority support that works with ssh forwarding (Eric Marsden via CMUCL)
 - OPEN-DEFAULT-DISPLAY function, as the name suggests, does that (dan)
 - various bug fixes (mostly thanks to Iban Hatchondo)
dan's avatar
dan committed

dan's avatar
dan committed

0. You need SBCL 0.7.12.25 (CVS version) or any release after that
dan's avatar
dan committed

1. Untar this tree somewhere
dan's avatar
dan committed

2. Add a symlink to clx.asd from one of the directories listed in your
asdf:*central-registry*
dan's avatar
dan committed

3. 
   * (require 'asdf)
   * (require 'clx)
dan's avatar
dan committed

This will load all the files, after compiling anything that needs compiling
dan's avatar
dan committed

4. To test CLX (and get a small amount of Lisp advocacy), try loading
the file "demo/menu", and then executing the function
xlib::just-say-lisp.
dan's avatar
dan committed

   * (load "clx/demo/menu")
   * (xlib::just-say-lisp)
dan's avatar
dan committed

5. If you're new to Lisp, be advised that despite the examples in
demo/, it's generally /not/ considered good style to switch to the
:xlib package and write your code in it.  Spend some time with a
language reference to familiarize yourself with USE-PACKAGE, or 
better yet, the USE option to DEFPACKAGE
dan's avatar
dan committed


dan's avatar
dan committed

1) tests/image.lisp seems not to work.  "On the other hand, it also
seems broken under CMUCL, so it might be something like the current
colour depth."
dan's avatar
dan committed

 
= Bug reports, new features, patches
dan's avatar
dan committed

The best place to send bug reports, especially if you can verify that
some other CLX port (e.g. CMUCL's) also has the problem, is to the
portable-clx-devel list
dan's avatar
dan committed

http://clozure.com/cgi-bin/mailman/listinfo/portable-clx-devel
dan's avatar
dan committed

For packaging or SBCL-specific problems, mail dan at metacircles.com
dan's avatar
dan committed


dan's avatar
dan committed

-- 
Heavy lifting by Raymond.Wiker@fast.no
ASDFized version and ongoing by Daniel Barlow <dan@metacirles.com>