On Mon, May 16, 2016 at 1:23 PM, David T. Lewis lewis@mail.msen.com wrote:
I have not actually looked at the /usr/bin/scratch script, but I do know that the use of /usr/bin/squeak (or /usr/local/bin/squeak) is already overloaded depending on what flavor of VM was installed most recently. I suspect that it would be better to have a /usr/bin/scratch script that does exactly what you want it to do, possibly not relying at all on the /usr/bin/squeak script.
Tim, when someone installs Scratch on their Pi, does that installation include the VM? Or does it expect a VM to be installed separately? I am assuming that the Scratch installation would include a VM and with the Scratch plugins, and that you would not want other installations of VMs to affect the Scratch application. Is that right?
The "nuscratch" package comes with the following files (besides some other files). The thing is that the package seems to have dependency on the scratch package, which in turn has dependency on squeak-vm. Note that both /usr/bin/squeak and /usr/bin/scratch are replaced with the ones that come in the nuscratch package and old ones are renamed to /usr/bin/squeak.old and /usr/bin/scratch.old.
Yes, I think it is good that the nuscratch package only replaces /usr/bin/scratch, and not depend on the squeak-vm package.
nuscratch: /usr/bin/scratch nuscratch: /usr/bin/squeak nuscratch: /usr/lib/squeak/5.0-3663/LocalePlugin nuscratch: /usr/lib/squeak/5.0-3663/Squeak3D nuscratch: /usr/lib/squeak/5.0-3663/SqueakFFIPrims nuscratch: /usr/lib/squeak/5.0-3663/SqueakSSL nuscratch: /usr/lib/squeak/5.0-3663/UUIDPlugin nuscratch: /usr/lib/squeak/5.0-3663/UnicodePlugin nuscratch: /usr/lib/squeak/5.0-3663/UnixOSProcessPlugin nuscratch: /usr/lib/squeak/5.0-3663/WeDoPlugin nuscratch: /usr/lib/squeak/5.0-3663/XDisplayControlPlugin nuscratch: /usr/lib/squeak/5.0-3663/squeak nuscratch: /usr/lib/squeak/5.0-3663/vm-display-X11 nuscratch: /usr/lib/squeak/5.0-3663/vm-display-null nuscratch: /usr/lib/squeak/5.0-3663/vm-sound-ALSA nuscratch: /usr/lib/squeak/5.0-3663/vm-sound-OSS nuscratch: /usr/lib/squeak/5.0-3663/vm-sound-null nuscratch: /usr/share/scratch/NuScratch02052016.image ...