forked from Ferada/cl-cffi-gtk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
67 lines (47 loc) · 2.21 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
With SBCL the command to load the cl-cffi-gtk library is:
(asdf:load-system 'cl-cffi-gtk)
The following libraries are loaded in addition with the above command:
glib, gobject, gdk, pango, cario, gdk-pixbuf, gio .
These libraries can be loaded individually with the commands:
(asdf:load-system 'cl-cffi-gtk-glib)
(asdf:load-system 'cl-cffi-gtk-gobject)
(asdf:load-system 'cl-cffi-gtk-gdk)
(asdf:load-system 'cl-cffi-gtk-pango)
(asdf:load-system 'cl-cffi-gtk-cairo)
(asdf:load-system 'cl-cffi-gtk-gdk-pixbuf)
(asdf:load-system 'cl-cffi-gtk-gio)
It is assumed, that the corresponding system definition files cl-cffi-gtk.asd,
cl-cffi-gtk-glib.asd, cl-cffi-gtk-gobject.asd, cl-cffi-gtk-gdk.asd,
cl-cffi-gtk-pango.asd, cl-cffi-gtk-cairo.asd, cl-cffi-gtk-gdk-pixbuf.asd, and
cl-cffi-gtk-gio.asd are correctly registered to
asdf:*central-registry* or the corresponding symlinks are created.
For example for SBCL on a Linux system the symlinks are added to the directory
~/.sbcl/systems with the commands:
cd ~/.sbcl/systems
ln -s /path-to-cl-cffi-gtk/gtk/cl-cffi-gtk.asd
ln -s /path-to-cl-cffi-gtk/gdk/cl-cffi-gtk-gdk.asd
ln -s /path-to-cl-cffi-gtk/gobject/cl-cffi-gtk-gobject.asd
ln -s /path-to-cl-cffi-gtk/glib/cl-cffi-gtk-glib.asd
ln -s /path-to-cl-cffi-gtk/pango/cl-cffi-gtk-pango.asd
ln -s /path-to-cl-cffi-gtk/cairo/cl-cffi-gtk-cairo.asd
ln -s /path-to-cl-cffi-gtk/gdk-pixbuf/cl-cffi-gtk-gdk-pixbuf.asd
ln -s /path-to-cl-cffi-gtk/gio/cl-cffi-gtk-gio.asd
The cl-cffi-gtk library depends further on the following libraries, which
must be installed:
CFFI Version 0.11.2
see http://common-lisp.net/project/cffi/
Warning: Older versions of CFFI will not work.
Trivial-Garbage
see http://www.cliki.net/trivial-garbage
Iterate
see http://common-lisp.net/project/iterate/
Bordeaux-Threads
see http://common-lisp.net/project/bordeaux-threads/
Closer-MOP
see http://common-lisp.net/project/closer/closer-mop.html
For building the PDF and HTML versions of the tutorial, run:
make -C tutorial
For generating the tutorial it is assumed that GNU Texinfo and a TeX
distribution are installed.
The testsuite can be run with:
(asdf:test-system :cl-cffi-gtk)