[cells-gtk-devel] SBCL patches

Andras Simon asimon at math.bme.hu
Tue May 30 13:27:13 UTC 2006


Hi Peter,

Are you considering applying Marco's patches
(http://common-lisp.net/pipermail/cells-gtk-devel/2006-May/000171.html)?
I tested them (except for the one in gtk-ffi.lisp which wraps
defpackage in an eval-when, because I think that the defpackage should
go instead in a separate file), and they not only make SBCL, but also
ACL 6.2 happy; and I see no regression in LWL either. (The context
menu in the Menu tab still doesn't work in LWL, but it didn't before
either.)

Also, something like

--- gtk-ffi/gtk-ffi.lisp        19 Feb 2006 20:17:41 -0000      1.19 
+++ gtk-ffi/gtk-ffi.lisp        30 May 2006 13:13:43 -0000 
@@ -133,12 +133,13 @@
                                  #+win32 "libgtk-win32-2.0-0.dll"
                                  #+macosx "libgtk-win32-2.0-0.dylib")
        #+libcellsgtk 
-      (cffi:load-foreign-library #+cffi-features:unix "libcellsgtk.so" 
+      (cffi:load-foreign-library #+cffi-features:unix 
+                                (merge-pathnames "libcellsgtk.so" #.*compile-file-pathname*)
                                  #+win32 "libcellsgtk.dll"
                                  #+macosx "libcellsgtk.dylib")))
  ) ; eval

might be a good idea. Or is there a better way to ensuring that
libcellsgtk.so is found?

Andras



More information about the cells-gtk-devel mailing list