[mcclim-devel] help needed with the beagle backend
Tom Winchester
tom.winchester at internode.on.net
Tue Mar 1 12:33:22 UTC 2005
Hi there.
I'm sending to the list the patches that Christopher has prodded me
into generating. They are the output of diff.
The patches attached when applied to the files in
Backends/beagle/events.lisp, and Backends/beagle/package.lisp work in
the sense that on my system (mac os x 10.3.8, openmcl from darwinports)
the nerw files compile, and produce clim windows similar to ones thrown
up by a google search.
They were tested by pasting the following lines into an OpenMCL
Listener (use (require "cocoa") in a command line openmcl, or launch
the .app version):
;;;; Load asdf.
#-:asdf (load "/opt/local/share/openmcl/0.14.2-p1/tools/asdf")
(pushnew "/Users/tom/.asdf-install-openmcl-dir/systems/"
asdf:*central-registry*)
#-:asdf-install (asdf:operate 'asdf:load-op :asdf-install)
;;;; Load mcclim.
(asdf:operate 'asdf:load-op :mcclim)
(asdf:operate 'asdf:load-op :clim-examples)
(asdf:operate 'asdf:load-op :clim-listener)
(asdf:operate 'asdf:load-op :clouseau)
;;;; Load the beagle backend
(asdf:operate 'asdf:load-op :beagle)
(setf climi::*default-server-path* :beagle)
The listener is launched by (clim-listener:run-listener :new-process t).
I include this description of the invocation as the method in the
README file in the beagle directory has hard coded paths (mentioned in
a page google threw up), and clearly precedes the recent introduction
of the mcclim.asd file.
Of course, as it stands the beagle backend is not that functional, but
that is another story.
Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-events
Type: application/octet-stream
Size: 1946 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20050301/aa943293/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-package
Type: application/octet-stream
Size: 728 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20050301/aa943293/attachment-0001.obj>
-------------- next part --------------
On 01/03/2005, at 5:52 PM, Christophe Rhodes wrote:
> Tom Winchester <tom.winchester at internode.on.net> writes:
>
>> On 28/02/2005, at 5:35 PM, Christophe Rhodes wrote:
>>
>>>>> Error in process Listener(3): Cannot IMPORT
>>>> "SET-PORT-KEYBOARD-FOCUS" from package "CLIMI"
>>>
>>> I believe that the backend protocol changed recently, and this symbol
>>> was renamed to %set-port-keyboard-focus. Try changing uses of it in
>>> the beagle backend (and adding a timestamp keyword argument to the
>>> method definition).
>>
>> Thanks for the tip.
>>
>> I have done this (events.lisp, and package.lisp), and the listener
>> comes up as stated. It also has the problems discussed eleswhere, but
>> that is another story.
>
> Since you've tested it, could you send a patch to this list? As you
> may be aware, the mcclim developers are attempting to put a release
> together for this weekend, and I'm pretty sure that elementary build
> fixes are in scope.
>
> Cheers,
>
> Christophe
>
More information about the mcclim-devel
mailing list