[Cuis-dev] cuis svg plugin

stes@PANDORA.BE stes at telenet.be
Fri Jul 16 10:29:29 PDT 2021


The reason why I am thinking of making it optional,
is because I have observed over the last weeks/months,
that the version of the plugin must match the Cuis image;
you get strange results when the plugin is installed,
and when the Cuis image expects a different version of the plugin.

In those cases it could be useful from the user point of view,
to have a choice between installing the VM with or without the VectorEnginePlugin.

The name for the IPS package could be squeak-VectorEnginePlugin,
and cog-spur-VectorEnginePlugin but that is a lot of typing.

Maybe squeak-vg and cog-spur-vg where vg would stand for vector graphics.

----- Op 16 jul 2021 om 19:20 schreef Juan Vuletich juan at jvuletich.org:

> On 7/16/2021 1:54 PM, stes--- via Cuis-dev wrote:
>> I've been packaging the VectorEnginePlugin for OpenIndiana as part of the Squeak
>> VM.
>>
>> http://docs.openindiana.org/handbook/community/squeak/index.html
>>
>> Based on my observations so far, at first I thought I'd better add it to the
>> default set of plugins.
>>
>> But now I think about making the SVG (scalable Vector graphics plugin) optional.
>>
>> The plugin could be installed by  :  pkg install squeak-svg
>>
>> or pkg install cog-spur-svg  for the spur VM.
>>
>> Is there a serious reason NOT to call the package squeak-svg ?
>>
>> I like a short name svg better than a fully spelled out VectorEnginePlugin.
>>
>> Regards,
>> David Stes
> 
> Hi David,
> 
> I think that the plugin could be included by default in VMs, The Mac VM
> gets just 2.5% larger with it. Is there any reason for making it optional?
> 
> Reasons why I wouldn't call it "squeak-svg"
> - It is not squeak specific at all. Currently there's no support for it
> in Squeak. I wouldn't prefix it with "Cuis" either, as it is not Cuis
> specific, and maybe Squeak could also use it.
> - It is not about SVG. SVG is a file format. I Cuis, the file format is
> supported by the SVG.pck.st optional package. SVG.pck.st requires
> VectorGraphics, but Cuis can do many things with VectorGraphics without
> using SVG files at all. I wrote SVG.pck.st to show what
> VectorGraphics.pck.st is capable of doing.
> 
> The first name I thought was VectorGraphicsEnginePlugin, as it is the
> plugin used by the VectorGraphicsEngine class hierarchy. Then I
> preferred the shorter, but hopefully still clear VectorEnginePlugin name.
> 
> I hope this makes sense to you.
> 
> Cheers,
> 
> --
> Juan Vuletich
> www.cuis-smalltalk.org
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich


More information about the Cuis-dev mailing list