From 3f1d961ded65cb17dff2b712cd36920b7489f452 Mon Sep 17 00:00:00 2001 From: Dmitry Kalyanov Date: Sun, 25 Oct 2009 00:45:46 +0400 Subject: [PATCH] Correct installation instructions --- doc/gtk.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/gtk.texi b/doc/gtk.texi index 5d84ee9..d340d5b 100644 --- a/doc/gtk.texi +++ b/doc/gtk.texi @@ -294,6 +294,8 @@ The important parts of @code{Gtk+} are: @item @uref{http://common-lisp.net/project/iterate/,,Iterate} (version >= 1.4.3) @item @uref{http://common-lisp.net/project/bordeaux-threads/,,Bordeaux-Threads} (version >= 0.6.0) @item @uref{http://common-lisp.net/project/closer/closer-mop.html,,Closer-MOP} (version >= 0.55) +@item @uref{http://common-lisp.net/project/cl-opengl/,,cl-opengl} (if you intend to use cl-gtk2-cairo) +@item @uref{http://common-lisp.net/project/cl-cairo2/,,cl-cairo2} (if you intend to use cl-gtk2-gtkglext) @end itemize At first, source code should be downloded. Current version of CL-GTK2 can be downloaded from @uref{http://common-lisp.net/project/cl-gtk2/files/cl-gtk2-0.1.tar.gz}. @@ -312,15 +314,21 @@ To be able to compile, load and use @code{cl-gtk2}, you should register the @cod To do this, either add @code{glib}, @code{gdk} and @code{gtk} directories to @code{asdf:*central-registry*}: @lisp (push "/path/to/cl-gtk2/glib" asdf:*central-registry*) +(push "/path/to/cl-gtk2/pango/" asdf:*central-registry*) (push "/path/to/cl-gtk2/gdk" asdf:*central-registry*) (push "/path/to/cl-gtk2/gtk" asdf:*central-registry*) +(push "/path/to/cl-gtk2/gtk-glext/" asdf:*central-registry*) +(push "/path/to/cl-gtk2/cairo/" asdf:*central-registry*) @end lisp or create symlinks to @code{cl-gtk2-glib.asd}, @code{cl-gtk2-gdk.asd} and @code{cl-gtk2-gtk.asd} files in a directory where @code{ASDF} systems are located (it might be @code{/usr/share/common-lisp/systems/} for system-wide installation in Gentoo Linux and Debian Linux, @code{~/.sbcl/systems/} for user installation for SBCL compiler): @example cd ~/.sbcl/systems # depends on your system ln -s /path/to/cl-gtk2/glib/cl-gtk2-glib.asd . +ln -s /path/to/cl-gtk2/pango/cl-gtk2-pango.asd . ln -s /path/to/cl-gtk2/gdk/cl-gtk2-gdk.asd . ln -s /path/to/cl-gtk2/gtk/cl-gtk2-gtk.asd . +ln -s /path/to/cl-gtk2/gtkglext/cl-gtk2-gtkglext.asd . +ln -s /path/to/cl-gtk2/cairo/cl-gtk2-cairo.asd . @end example In Gentoo Linux, it is possible to use layman (see @uref{http://www.gentoo.org/proj/en/overlays/userguide.xml,,Gentoo Overlays Users' Guide}) to add @code{lisp} and @code{cl-gtk2} overlays that contains neccessary ebuilds: -- 2.11.4.GIT