~mdw
/
clg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pixmap API updated
[clg]
/
README
diff --git
a/README
b/README
index
06932db
..
f40642b
100644
(file)
--- a/
README
+++ b/
README
@@
-1,22
+1,23
@@
-This package contains Common Lisp bindings to GTK+ v2.
0
. It currently
-only works with CMUCL 19
a and SBCL. Ports to other CL implementations
-may be added later.
+This package contains Common Lisp bindings to GTK+ v2.
x
. It currently
+only works with CMUCL 19
and SBCL 0.9, but ports to other CL
+
implementations
may be added later.
New versions
------------
New versions
------------
-The most recent version of this package can be found: in CVS
+The most recent version of this package can be downloaded from
+http://sourceforge.net/projects/clg.
Build instructions
------------------
Build instructions
------------------
-1.
When building for SBCL (at least 0.8.19 or earlier) you first need
- to add callback support, since SBCL does not yet has a native
- callback facility. The following instructions are borrowed from the
- Common Music installation guide:
+1.
If you are using a version of SBCL without native callback support
+ you need to upgrade or add third party callback code. The following
+ instructions of how to add third party callback support, are borrowed
+
from the
Common Music installation guide:
1. Download Thomas Burdick's Alien Function package¹ and restore it
to a directory on your machine.
1. Download Thomas Burdick's Alien Function package¹ and restore it
to a directory on your machine.
@@
-30,13
+31,16
@@
Build instructions
$ mv /tmp/sbcl.core .
$ mv /tmp/sbcl.core .
- ¹ http://pinhead.music.uiuc.edu/~hkt/sbcl-af-2004-10-22.tgz
+ ¹ A slightly modified version which works with SBCL 0.8.21 or newer
+ could be found at
+ http://jupiter.td.org.uit.no/lisp/sbcl-0.8.21-af.tar.gz
-2. Set up paths to
reflect
your system:
+2. Set up paths to
match
your system:
- Add a logical-pathname-translation to the clg root directory in
- Add a logical-pathname-translation to the clg root directory in
- ~/.cmucl-init.lisp, ~/.sbclrc or some other startup file. Example:
+ ~/.cmucl-init.lisp, ~/.sbclrc or some other startup file, like
+ this:
(setf
(logical-pathname-translations "clg")
(setf
(logical-pathname-translations "clg")
@@
-47,27
+51,34
@@
Build instructions
environment variable before starting lisp.
- Make sure ASDF finds the system definition files:
environment variable before starting lisp.
- Make sure ASDF finds the system definition files:
- $ cd ~/.clc/systems
- $ find <path to clg> -name '*.asd' -exec ln -s {} . \;
+
+ (push
+ (logical-pathname-translations "clg:systems;")
+ asdf:*central-registry*)
+
+ When checking out of CVS also do the following:
+ $ cd <clg toplevel>
+ $ mkdir systems && cd systems
+ $ find .. -name '*.asd' -exec ln -s {} . \;
3. Compile and load the system:
(asdf:oos 'asdf:load-op :gtk)
3. Compile and load the system:
(asdf:oos 'asdf:load-op :gtk)
- In CMUCL
this will currently
fail with:
+ In CMUCL
19a this will
fail with:
Error in function KERNEL::%REDEFINE-DEFSTRUCT:
Redefining class PCL::SLOT-INFO incompatibly with the current definition.
Just accept the redefinition (restart 1) to continue building or
Error in function KERNEL::%REDEFINE-DEFSTRUCT:
Redefining class PCL::SLOT-INFO incompatibly with the current definition.
Just accept the redefinition (restart 1) to continue building or
- loading. To avoid doing this every time clg is loaded,
one may
- compile and load glib/pcl.lisp in newly started CMUCL process and
-
save an
new core image.
+ loading. To avoid doing this every time clg is loaded,
compile
+ and load glib/pcl.lisp in newly started CMUCL process and save a
+ new core image.
If you are running SBCL with Slime you need to put the following
If you are running SBCL with Slime you need to put the following
-
line
in ~/.swank.lisp to prevent Slime from spawning multiple
- threads, since G
tk+ is not
thread safe:
+ in ~/.swank.lisp to prevent Slime from spawning multiple
+ threads, since G
TK+ is not really
thread safe:
#+sbcl(setq swank:*communication-style* :fd-handler)
#+sbcl(setq swank:*communication-style* :fd-handler)
@@
-81,8
+92,8
@@
Guidelines for using the GTK+ API documentation
-----------------------------------------------
Here are some brief guidelines for using the GTK+ API documentation. A
-----------------------------------------------
Here are some brief guidelines for using the GTK+ API documentation. A
-lot of (both intentional
ly and unintentionally) inconsistencies
-
exists,
so it is also wise to check the source code.
+lot of (both intentional
and unintentional) inconsistencies exists,
+so it is also wise to check the source code.
- library prefixes are stripped from all symbols
- library prefixes are stripped from all symbols
@@
-111,6
+122,5
@@
exists, so it is also wise to check the source code.
-
Send comments and patches to clg-devel@lists.sourceforge.net or
espen@users.sourceforge.net.
Send comments and patches to clg-devel@lists.sourceforge.net or
espen@users.sourceforge.net.