Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

clg 0.94 & sbcl 1.0.40.0.debian & debian squeeze

31 views
Skip to first unread message

Arseny Slobodyuk

unread,
Oct 5, 2012, 8:31:55 AM10/5/12
to
Hi!
I'm currently checking CL UI libs existing in linux for some project and have managed to run the subject combination. Probably the following could help someone. It may look ugly or improper for somebody though. Also, I realize that clg is unmaintained and purged from next debian distribution (but it was in it!).

I renamed all C file references in /usr/share/common-lisp/source/clg/*.asd so that now

/usr/share/common-lisp/source/clg$grep -ri SOURCE-FILE *
cairo/cairo.asd: :components ((:c-source-file "cairo-jpeg.c"
... (more matches)

It may make sense to change the 'input-files' method in clg/tools/asdf-extensions.lisp instead.

I had to find where is TYPE-EXPAND have gone from SBCL - it is used by clg. Interesting, there's such a symbol in SB-KERNEL, but is not fbound anymore. The new name for this function is SB-EXT:TYPEXPAND. So I had to do this before loading the examples:

(in-package "SB-KERNEL")
(defun type-expand (type &optional env) (sb-ext:typexpand type env))
(in-package "COMMON-LISP-USER")

I believe symbol-macrolet won't work here because TYPE-EXPAND symbol exists and exported from SB-KERNEL.

Now large part of the examples from /usr/share/doc/cl-clg/examples could be ran. Apps look nicer than mcclim's should I say. Will look next at cl-gtk2.
0 new messages