[squeak-dev] Unity Happens One Step at a Time (was Re: Porting my programs from Squeak 3.10.2 to 3.5)

Kjell Godo squeaklist at gmail.com
Fri Sep 25 23:55:12 UTC 2020


could this text be included in this Squeak PharoLauncher somehow as a help
text

On Fri, Sep 25, 2020 at 14:03 Jakob Reschke <forums.jakob at resfarm.de> wrote:

> Hello,
>
> Here is what I had to do to have the Pharo launcher launch a Squeak image:
>
> - Download and extract a Squeak VM and a supported image with .changes.
> - Download and install the latest Pharo Launcher release.
> - Start the launcher.
> - Open Settings > Pharo Launcher > edit the folder paths to my likings.
> - Click Store Settings at the top right.
> - Move the Squeak VM directory below the VM directory entered in the
> settings. Do not move the image yet.
> - Press shift+return, type vmExecutableName and open the method
> WindowsResolver>>#vmExecutableName.
> - Change WindowsResolver>>#vmExecutableName to return 'Squeak.exe'.
> - Close the system browser window.
> - Press the VMs button on the top right. It should now list the Squeak
> VM, for example 'squeak.cog.spur_win64x64_202003021730'. Close the VMs
> window.
> - Press Import at the top, choose the extracted image. It will be
> moved to the images directory from the Settings!
> - The image should now appear in the main list of the launcher window.
> - In the new directory of the image, put a file named "pharo.version"
> with the contents "0" next to the image. This will prevent the
> launcher from trying to find out the Pharo version of the image by
> running a pharo-version.st script with --headless on the image. Squeak
> does not support this.
> - Back in the launcher, in the combo box next to the Launch button at
> the top, drop down the list and select Edit Configurations.
> - For the Default configuration, select your Squeak VM instead of
> "0-x64" on the right. The latter would try and fail to download a
> fitting Pharo VM again.
> - Close the window with "Save & Select".
> - Now I am able to launch the Squeak image.
>
> To preserve the changes to the launcher image:
> - Press shift+return, enter Playground and press return to open a
> Workspace.
> - Evaluate the following: Smalltalk snapshot: true andQuit: true.
>
> Kind regards,
> Jakob
>
>
> Am Mi., 2. Sept. 2020 um 18:20 Uhr schrieb Sean DeNigris
> <sean at clipperadams.com>:
> >
> > I've been pontificating about unity between dialects, convinced more
> than ever that we need each other and have more of a simple (not easy)
> communication problem than anything else, and pestering the principals of
> various communities, so I decided to put some concrete action behind it -
> some "skin in the game" as we say in the U.S.
> >
> > After reading Trygve's frustration with Squeak image/VM management, and
> Eliot's mention of Pharo's solution, I've extended PharoLauncher to manage
> and run Squeak (and GToolkit) VMs/images.
> >
> > The current limitation vs. launching standard Pharo images is that you
> have to download the VMs and images and manually install them due to
> differences in URL and other conventions. However once the files are in
> place, you can create templates allowing images to be created at will from
> different Squeak versions and automatically run with the correct VM.
> Auto-installation could probably be done if someone cares enough but it
> scratched my itch for the moment to manage GT images. I’m sure Cuis support
> could be added, but the hooks are now available and someone more familiar
> with its VM/image installation might have an easier time.
> >
> > Until my latest PR [1] is merged, brave souls can play with it and give
> feedback by loading my issue branch [2] into the latest Launcher release
> [3]. NB only tested on Mac.
> >
> > It seemed Trygve was at his wits' end, but maybe this and other small
> gestures will let him know how important he is to our community if not
> motivate him to resume his important work.
> >
> > I challenge you, as a member of our wider Squeak/Pharo/Cuis family: what
> small action can you take today that unites us rather than divides us? We
> can be each others' supporters even if technical, vision and other
> differences keep our codebases somewhat distinct. I believe the seeds of
> wars are planted when I lack the grace to give those around me the benefit
> of the doubt that they mean well and are trying their best. There is more
> than enough of that already in the world. Let’s invent a *better* future…
> >
> > Your brother,
> > Sean
> >
> > 1. https://github.com/pharo-project/pharo-launcher/pull/503
> > 2.
> https://github.com/seandenigris/pharo-launcher/tree/enh_vm-image-custom-hooks
> > 3. https://pharo.org/download
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200925/804c82c5/attachment.html>


More information about the Squeak-dev mailing list