[mcclim-devel] McCLIM on the Mac

Christian Lynbech christian at defun.dk
Mon May 7 18:22:36 UTC 2007


My patch is attached below. 

It is really quite simple. First of all it enables the beagle backend provided
you do not have clx and do have mcl|openmcl. That should be safe enough.

The fix itself goes into "Backends/beagle/beagle-backend.asd" and here things
are more fishy. Well, the fix itself is innocent enough, it fixes the imports
of two unknown symbols. 

The first fix `%set-port-keyboard-focus' is just outcommented since this is
not referenced anywhere other than in beagle-backend.asd.

The other fix relates to `keyboard-input-focus' which also is no longer known. The
patch changes that into `port-keyboard-input-focus' but judging from a comment
of its only usage in `beagle-notification-to-clim-event' in
"Backends/beagle/input/events.lisp" there must have been a subtle difference
between `keyboard-input-focus' and `port-keyboard-input-focus'.

Anyway, we never get to that point, the process breaks down long before,
suggesting problems in the ObjC bridge.

I am using OpenMCL 1.0 rather than the latest snapshot because that gives me a
weird compilation error, but that may improve matters.

I also attach the script I have used to start up McCLIM on openmcl, the
instructions in "Backends/beagle/README.txt" does not seem to match reality all
that well.

                                 -- Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff:mcclim
Type: application/octet-stream
Size: 2055 bytes
Desc: Diff to make McCLIM compile on OpenMCL 1.0
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20070507/f2eebae5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openmcl-load-up.lisp
Type: application/octet-stream
Size: 341 bytes
Desc: Forms to load McCLIM on openmcl 1.0
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20070507/f2eebae5/attachment-0001.obj>
-------------- next part --------------


------------------------+-----------------------------------------------------
Christian Lynbech       | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic at hal.com (Michael A. Petonic)


More information about the mcclim-devel mailing list