<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Shaping,<br>
<br>
I think I understood the source of the problems you are having. It
is for starting with an existing main folder, that includes older
Cuis stuff.<br>
<br>
The reason for needing to start in a new, empty folder, is that Cuis
will look for packages in sibling folders to Cuis-Smalltalk-Dev.
This, in your case, most likely resulted in loading outdated
versions of packages, that were in some old folder. The result is
all the breakage you experience.<br>
<br>
This should be stated clearly in GettingStarted.md. I'll add it.<br>
<br>
And the reason for loading packages from sibling folders is to allow
having packages in different Git repos. If we required all packages
to be in Cuis-Smalltalk-Dev, the Cuis-Smalltalk-Dev would always be
"dirty" because of your code.<br>
<br>
Thanks,<br>
<br>
On 5/15/2022 8:16 PM, Juan Vuletich via Cuis-dev wrote:
<blockquote cite="mid:628189D8.8030104@zoho.com" type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<title></title>
Hi Shaping,<br>
<br>
Please follow Documentation/GettingStarted.md. It results in a
good folder structure, where you can have many repos with
packages, in addition to Cuis-Smalltalk-Dev. You can follow the
same structure for your own code. That's what I use, and it works
well. There is additional documentation there. It was written to
help you.<br>
<br>
WRT optional packages, there are many of them, they are written
and maintained by different people, and they do different things.
You may not need all of them. In any case, take them one at a
time. Read the documentation. Understand what it is for. Then load
it in your image, and run tests and examples.<br>
<br>
Only once you are familiar with Cuis and the packages you are
interested on, then it is OK to "break the rules". Find whatever
folder structure and process that works for you. And when you find
trouble, most likely you'll know Cuis well enough to fix your
process yourself, or post fixes to this mail list if you actually
found a bug.<br>
<br>
Cheers,<br>
<br>
On 5/15/2022 3:00 PM, Shaping via Cuis-dev wrote:
<blockquote cite="mid:00b701d86885$bbb46350$331d29f0$@uurda.org"
type="cite">
<div>
<div>
<div>
<div>
<p>Hi all. </p>
<p> </p>
<p>I cloned the latest Cuis repo at <code><span><a
moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev.git">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev.git</a>.
</span></code></p>
<p> </p>
<p>Then I cloned the 21 package repos listed in <code><span>clonePackageRepos.sh.
</span></code></p>
<p><code><span> </span></code></p>
<p>They are: </p>
<p> </p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/SVG.git">https://github.com/Cuis-Smalltalk/SVG.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/EnhancedText.git">https://github.com/Cuis-Smalltalk/EnhancedText.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Erudite.git">https://github.com/Cuis-Smalltalk/Erudite.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/StyledTextEditor.git">https://github.com/Cuis-Smalltalk/StyledTextEditor.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Measures.git">https://github.com/Cuis-Smalltalk/Measures.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Calendars.git">https://github.com/Cuis-Smalltalk/Calendars.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/CodeExamples.git">https://github.com/Cuis-Smalltalk/CodeExamples.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Games.git">https://github.com/Cuis-Smalltalk/Games.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Morphic.git">https://github.com/Cuis-Smalltalk/Morphic.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Cairo.git">https://github.com/Cuis-Smalltalk/Cairo.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI.git">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/OSProcess.git">https://github.com/Cuis-Smalltalk/OSProcess.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Numerics.git">https://github.com/Cuis-Smalltalk/Numerics.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/GeographicInformationSystems.git">https://github.com/Cuis-Smalltalk/GeographicInformationSystems.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Parsers.git">https://github.com/Cuis-Smalltalk/Parsers.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Machine-Learning.git">https://github.com/Cuis-Smalltalk/Machine-Learning.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/AMQP.git">https://github.com/Cuis-Smalltalk/AMQP.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/firmata.git">https://github.com/Cuis-Smalltalk/firmata.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/VMMaker.git">https://github.com/Cuis-Smalltalk/VMMaker.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Learning-Cuis.git">https://github.com/Cuis-Smalltalk/Learning-Cuis.git</a>
</span></p>
<p><span>git clone <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/TheCuisBook.git">https://github.com/Cuis-Smalltalk/TheCuisBook.git</a>
</span></p>
<p><br>
<br>
</p>
<p>Then I cloned and unzipped the Windows VM at<span> <a
moz-do-not-send="true"
href="https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/202112201228/squeak.cog.spur_win64x64.zip">https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/202112201228/squeak.cog.spur_win64x64.zip</a>
</span></p>
<p><span> </span></p>
<p><span>I made a shortcut icon to the engine and image,
and double-clicked it. </span></p>
<p><span> </span></p>
<p><span>Cuis started, and I saved it down to another
name (you can’t specify a file path when you do
this, only a leaf name; you then must copy the three
new files to whatever location you want). </span></p>
<p><span> </span></p>
<p><span>One of the first things I did was: Load All
TrueType Fonts. This created a walkback complaining
about how MorphicCanvas already has ivar <i>engine</i>
defined. Why would this be a problem? We could
just redefine the class, and continue. </span></p>
<p><span> </span></p>
<p><span>I then started over with a fresh image, and
opened Package Installer. I don’t know which
package(s) to load to fix the morphic TTfont
problem. So I chose the first of the three
VectorGraphics packages. This caused the same
walkback. I’ll continue to work thru the packages.
</span></p>
<p><span> </span></p>
<p><span>Is there a smoother way to get something beyond
a plain-vanilla Cuis set up? </span></p>
<p><span> </span></p>
<p><span> </span></p>
<p><span> </span></p>
<p><span>I’m trying to port all my work from VisualWorks
to Pharo or Cuis, which looks cleaner and easier to
work with in some ways. Does anyone have a
well-tested procedure for converting VW to
Pharo/Cuis? I posted the same question in Pharo
Discord, but didn’t see a Discord or Pharo subgroup
for Cuis. </span></p>
<p><span> </span></p>
<p><span> </span></p>
<p><span>Shaping</span><span> </span></p>
<p> </p>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre>--
Juan Vuletich
<a moz-do-not-send="true" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a moz-do-not-send="true" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a moz-do-not-send="true" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a moz-do-not-send="true" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a moz-do-not-send="true" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a moz-do-not-send="true" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a moz-do-not-send="true" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a moz-do-not-send="true" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a class="moz-txt-link-freetext" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</body>
</html>