[etoys-dev] Re: npsqueakrun hack on Ubuntu
Bert Freudenberg
bert at freudenbergs.de
Fri May 21 03:49:10 EDT 2010
On 20.05.2010, at 20:45, K. K. Subramaniam wrote:
>
> Hi,
>
> I had to hack npsqueakrun script to workaround a problem in npsqueakrun that
> caused it to fail in Ubuntu. The seventh argument (script) is empty and gets
> lost in the last exec. So the startup code in the image got one argument less
> and that messed up the param value pairs. I passed /dev/null to workaround
> this problem.
Which npsqueakrun script was this? The document arg should just be an empty string.
- Bert -
> With this hack, npsqueak.so plugin works with any image ($IMAGEFILE), vm
> (VMDIR) and no root permissions
>
> mkdir ~/.npsqueak
> cp npsqueak.so ~/.npsqueak
> ln -s ~/.npsqueak/npsqueak.so ~/.mozilla/plugins
>
> cp $IMAGEFILE ~/.npsqueak/SqueakPlugin.image
> ln -s $VMDIR ~/.npsqueak/vmdir
>
> Turn off 'warn if ...' preferences in Preferences->general for a development
> image. Copy attached npsqueakrun file to $HOME/.npsqueak/ directory.
>
> I was able to browse through projects in showcase using Firefox and Konqueror.
> Konqi crashes in npsqueak.so sometimes while exiting projects but the project
> itself works fine.
>
> I am posting the hack to discuss if we really need a separate npsqueakrun
> script? if npsqueak passes /dev/null for script then npsqueak can be symlinked
> directly to vmdir/bin/squeak.
>
> Subbu
> <npsqueakrun>
More information about the etoys-dev
mailing list