[squeak-dev] NuScratch source on SqueakMap

tim Rowledge tim at rowledge.org
Wed Jun 22 19:53:41 UTC 2016


> On 22-06-2016, at 10:59 AM, Yoshiki Ohshima <Yoshiki.Ohshima at acm.org> wrote:
> 
> On Fri, Jun 17, 2016 at 7:19 PM, tim Rowledge <tim at rowledge.org> wrote:
>> There is now a SM entry pointing to a SqueakSource copy of the current NuScratch as per the Raspberry 

{snip}
> 
> Great!  And let us know about the status of /usr/bin/scratch shell
> script.  We have people lined up to test things out so it'd be good if
> we make sure it works smoothly on the next release.

Excellent; I’ve been trying to get around to talking with you about this but the number of things that can get in the way is amazing.

We seem to have all the image parts fixed. We appear to have all the VM parts working too. I’ve been able to  make it all work together, though it can be very confusing to an english-only user when all the menus and dialogues are in a very out-of-band script. So I can’t offer any opinion of whether it works ‘properly’ or not. 

I guess we need a script to go alongside the timidity midi-synth install script, that can load the ibus and relevant fonts etc. We’ll want some good documentation about what to do to both install and use *and* stop using it that can be put on the Pi website.

I can’t offer any opinion on the shell script since it simply makes no sense to me at all; I have no idea why we need to do things like 
BIN=`/usr/bin/dirname $VM`
etc. Nor why we have to mess around with env LD_LIBRARY_PATH… how did we end up with such a deranged OS?

I’ve tried a quick test of your script and it just doesn’t want to work for me.
a) with only the 5.0-3663 vm in the ‘official’ place we get a failure because -composition-input on its own doesn't work; it needs the x11 thing too I suppose.

b) after copying my latest 3758 vm to /usr/lib/squeak the VM=`echo /usr….`` line results in listing two vm directories, which seems plain wrong. It certainly looks like it breaks the later ldd related code. Whatever it is that that is supposed to do… 

c) In fact it appears that the `sort -r` produces exactly the same output as `sort`, so that would appear to be a problem? And then the `head` returns both paths too. Sigh. So the way of finding the latest vm available is just not working

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: HCFI: Halt and Catch Fire Immediate




More information about the Squeak-dev mailing list