chiark / gitweb /
Added more entries
[clg] / README
1 This package contains Common Lisp bindings to GTK+ v2.0. It currently
2 only works with CMUCL, but ports to other CL implementations may be
3 added later.
4
5
6 New versions
7 ------------
8
9 The most recent version of this package can be found at:
10
11
12
13 Build instructions
14 ------------------
15
16 1. When building for CMUCL, first obtain a matching binary and source
17    tree (the only source file you will actually need is lisp.h, which
18    have to be copied or linked to your CMUCL_LIB directory).  On ELF
19    systems you may also have to rebuild lisp with -rdynamic added to
20    OS_LINK_FLAGS.
21
22 2. Edit clg.system to reflect the paths on your system:
23
24    - Edit the logical-pathname-translations to point to the
25      place where the sources actually are, or set the translations
26      somewhere else, like ~/.cmucl-init.lisp.
27
28    - Edit the pkg-config search path if your gtk+ installation is in 
29      an unusual place.
30
31    - Edit *cmucl-include-path* to point to the directory where the
32      lisp.h file resides, if it is not auto detected.  Try "locate 
33      '*/lisp.h'" if you don't know the location.
34
35 3. Compile and load clg:
36    (load "clg.system")
37    (mk:oos :clg :compile)
38    (mk:oos :clg :load)
39
40 4. If everything worked, try (load "hello-world") to see a small
41    window pop up.
42
43 Send comments and patches to clg-devel@lists.sourceforge.net
44
45
46
47