Squeak OPIE IPAQ port (was Re: Squeak on QTOPIA on Linux IPAQ)

Lars Dornheim Lars.Dornheim at Student.Uni-Magdeburg.DE
Mon May 19 20:21:35 UTC 2003


Yoshiki.Ohshima at acm.org wrote:

>>  Try the source file in
>>http://www.is.titech.ac.jp/~ohshima/squeak/zaurus/
>>
>>  It has better chance to work on iPAQ.  Let me know how it goes.
> 

There were a lot of problems: missing ZAURUS specific libs, no correct
displaying, no (emulated) keyboard, no hardware buttons. So I sat down
the last days and tried to get these things running on the IPAQ. With
success! :) Squeak is now really fun on that little device!

- framebuffer is now used correctly.
- landscape works now properly (via command line option)
- fullscreen mode is available (also via command line option)
- software keyboard works and squeak will be resized correctly now when
using it
- hardware buttons are working (I use them for emulating the middle and
right mouse button per default, which makes using Squeak on this PDA
much more easy)
- file selector works


You can get the archive containing the updated file from:

http://lisa.math.uni-magdeburg.de/~eldeh/squeak/sqQPEWindow-eldeh.tar.bz2


Lars


> 
>   I actually have forgotten to mention that it is not going to work as
> is.  If you know how to use FileSelector of Qtopia, replace
> SL-specific SlFileSelector with FileSelector, and let me know how to
> do it:-)
> 

I've used the standard QPE file selector. The point was, that you have
to provide as first argument a MIME filter and not start path. But the
problem with the MIME types is, that some types (e.g.
application/octet-stream) were not displayed by this file selector, even
if you request them explicitly via the MIME filter argument. So I
assigned .image files the type plain/text to get it running for the moment.

>   Thanks,
> 
> -- Yoshiki


PS:

To get the changes compiled for the IPAQ, I had to change some
additional things according to your memo file:

- in your provided top level makefile your specific home dir paths were
hardcoded
- remove "-lsl -lzdtm" from LIBS in the top level makefile
- do not use -DUSE_SL_FILESELECTOR but the new introduced -DIPAQ in
vm/Makefile for the sqQPEWindow.o target


PPS:

I tried to make the changes in a way, that keeps the sources valid for
the Zaurus, so that you can adopt them very easy. Hope, that works.




More information about the Squeak-dev mailing list