[mcclim-devel] asdf-install ready mcclim.asd
Andreas Fuchs
asf at boinkor.net
Mon Jan 31 13:28:23 UTC 2005
Hello,
I spent the last day hacking the McCLIM system definition.
My goals were:
* Adding real dependency information for files, to improve the
McCLIM user experience (it's notorious for its long compile cycles
after a cvs up)
* Making it ASDF-INSTALLable, via a system called :MCCLIM that pulls
in the :CLIM system and a suitable backend
The .asd file at <URL:http://boinkor.net/lisp/mcclim.asd> is the
result. (Not attached because common-lisp.net doesn't allow .asd files
in attachments.)
As you can see, this drops support for all non-ASDF defsystems, and
gets us halfway through the first goal - I couldn't load all systems
to get dependency information from them (clim-opengl, clim-beagle and
scigraph), but the bigger systems like CLIM-CORE and CLIM are fully
working. After a change to setf-star.lisp, ASDF now recompiles 6 files
instead of 20. (-:
The second goal was easier: what I did was move the system definitions
for clim-clx, clim-opengl and beagle (now clim-beagle for consistency)
into the mcclim.asd file, and frobnicated the CLIM-LOOKS system to
depend on the correct backend system in the right circumstances.
I'm not absolutely sure if CLIM-LOOKS' behavior is correct for Mac
users (it loads beagle). If you have an MCL or OpenMCL installation,
so please test. Really, I only tested it on Linux/x86/X11/SBCL. Other
combinations were not tested. If you want to find out if it will work
for you, install it and run it yourself.
To install the system, follow these steps:
1. put the mcclim.asd file into your McCLIM installation directory
2. symlink it to a directory in your ASDF:*CENTRAL-REPOSITORY* (for
SBCL users, this is ~/.sbcl/systems)
3. On the lisp REPL, (asdf:oos 'asdf:load-op :mcclim)
If anybody does a snapshot of mcclim with this .asd file and puts the
ASDF-INSTALL link on http://cliki.net/mcclim, people will also be able
to asdf-install McClim.
Have fun,
--
Andreas Fuchs, <asf at boinkor.net>, asf at jabber.at, antifuchs--}-<<mixed>>
More information about the mcclim-devel
mailing list