Thanks as always Bert:
You answer everything almost immediately - when do you sleep? :)
A few notes inline
On December 20, 2009, Bert Freudenberg wrote:
On 21.12.2009, at 00:04, Milan Zimmermann wrote:
Hi :
I finally got back to this.
I tried to follow instructions below how to make a Squeakland release but failed to understand several points. I modified the original text created by Yoshiki thinking I will add details but probably just added confusion. In any case i was unable to understan what to do start to end.
http://wiki.squeakland.org/display/sq/Creating+Etoys+Release+for+Squeakla nd%2C+OLPC%2C+or+Etoys-to-go
Would someone who knows this process have time to clarify this page at some point, and add answers to the TODO's etc?
Thanks!
Milan
Just a few data points:
The 4.0 dev image at etoys.laptop.org is identical to the original tinlizzie one except it has been saved at 800x600 pixels and Pango was disabled. See
svn log http://etoys.laptop.org/svn/trunk/etoys/etoys-dev.image
thanks.
I made the Sugar release image from that dev image by running these scripts in Linux:
http://etoys.laptop.org/svn/trunk/etoys/mkRelease.sh http://etoys.laptop.org/svn/trunk/etoys/mkRelease.st
I saw them but did not know what exactly are they used for. I introduced them to the wiki page:
http://wiki.squeakland.org/display/sq/Creating+Etoys+Release+for+Squeakland%... to-go
(though for the 4.0.2339 release I cheated and re-saved the release image while running in a 1200x900 Sugar emulator [being careful to first enter the empty top project] so that on startup on the XO the menu bar does not have to be rebuild)
The Mac release and To-Go release I built on a Mac using the scripts that formerly resided at
http://svn.squeakland.org/installers/
There was buildImage.sh / buildImage.st that updated the image, and makeEtoysMac / makeEtoysToGo to create the app bundles. I ran the setVersion script between building the image and bundling the app to adjust the version numbers while avoiding manual errors when it was getting late.
Also added this to wiki. Do we need to advocate Tim to get those files back?
I have a question that you may have a pointer to: Do you know what Yoshiki is refering to when he said, regarding making the MSI installer (it is in the same page on wiki):
Execute exportAssetsFromToGo.sh - where can I find this script?
Thanks,
Milan
- Bert -
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
On 21.12.2009, at 06:56, Milan Zimmermann wrote:
The Mac release and To-Go release I built on a Mac using the scripts that formerly resided at
http://svn.squeakland.org/installers/
There was buildImage.sh / buildImage.st that updated the image, and makeEtoysMac / makeEtoysToGo to create the app bundles. I ran the setVersion script between building the image and bundling the app to adjust the version numbers while avoiding manual errors when it was getting late.
Also added this to wiki. Do we need to advocate Tim to get those files back?
I think he's working on it.
Note however that I don't think it is wise to use those scripts yourself. Just read them and understand what they do, then write your own or do it manually, whatever you prefer. Personal styles differ and in doing a release you need to be confident to know what's going on. There is no magic to it, Squeak thankfully is pretty simple in that regard.
But e.g. to the next person who builds a Mac installer it is necessary to get familiar with Apple's packaging tools. No way around that.
I have a question that you may have a pointer to: Do you know what Yoshiki is refering to when he said, regarding making the MSI installer (it is in the same page on wiki): Execute exportAssetsFromToGo.sh - where can I find this script? Thanks, Milan
Don't know. I assume it will simply export the files from svn to the right location in the installer.
- Bert -
On December 21, 2009, Bert Freudenberg wrote:
On 21.12.2009, at 06:56, Milan Zimmermann wrote:
The Mac release and To-Go release I built on a Mac using the scripts that formerly resided at
http://svn.squeakland.org/installers/
There was buildImage.sh / buildImage.st that updated the image, and makeEtoysMac / makeEtoysToGo to create the app bundles. I ran the setVersion script between building the image and bundling the app to adjust the version numbers while avoiding manual errors when it was getting late.
Also added this to wiki. Do we need to advocate Tim to get those files back?
I think he's working on it.
ok
Note however that I don't think it is wise to use those scripts yourself. Just read them and understand what they do, then write your own or do it manually, whatever you prefer. Personal styles differ and in doing a release you need to be confident to know what's going on. There is no magic to it, Squeak thankfully is pretty simple in that regard.
Sure, I am trying to put together and document on wiki where things are (svn misc helper files for all the platforms), and summarize the known steps to make an installer. Next step for me will be to try to make the windows MSI. I will not try Mac. Later hopefully document what is required to be in a Linux tarball (e.g. should there be one tarball for image and one for VM etc)
Start is here:
http://wiki.squeakland.org/display/sq/Creating+Etoys+Release+for+Squeakland%... to-go
But e.g. to the next person who builds a Mac installer it is necessary to get familiar with Apple's packaging tools. No way around that.
Well I guess same for Windows but there is more awareness. Linux is per distro.
I have a question that you may have a pointer to: Do you know what Yoshiki is refering to when he said, regarding making the MSI installer (it is in the same page on wiki): Execute exportAssetsFromToGo.sh - where can I find this script? Thanks, Milan
Don't know. I assume it will simply export the files from svn to the right location in the installer.
Yoshiki replied :)
thanks, Milan
- Bert -
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
At Mon, 21 Dec 2009 00:56:19 -0500, Milan Zimmermann wrote:
Execute exportAssetsFromToGo.sh - where can I find this script?
This is superceded by (or reverted back to) exportAssets.sh.
-- Yoshiki
On December 21, 2009, you wrote:
At Mon, 21 Dec 2009 00:56:19 -0500,
Milan Zimmermann wrote:
Execute exportAssetsFromToGo.sh - where can I find this script?
This is superceded by (or reverted back to) exportAssets.sh.
Yoshiki, where can I find it though? I am trying to document the locations of various build /release related files and steps here:
http://wiki.squeakland.org/display/sq/Creating+Etoys+Release+for+Squeakland%... to-go
But I cannot find the exportAssets.sh in any of these
http://etoys.laptop.org/svn/trunk/etoys/ http://tinlizzie.org/olpc/
is there another place or am i misunderstanding something?
Thanks,
Milan
-- Yoshiki
Hi, Milan,
At Tue, 22 Dec 2009 23:53:22 -0500, Milan Zimmermann wrote:
On December 21, 2009, you wrote:
At Mon, 21 Dec 2009 00:56:19 -0500,
Milan Zimmermann wrote:
Execute exportAssetsFromToGo.sh - where can I find this script?
This is superceded by (or reverted back to) exportAssets.sh.
Yoshiki, where can I find it though? I am trying to document the locations of various build /release related files and steps here:
http://wiki.squeakland.org/display/sq/Creating+Etoys+Release+for+Squeakland%... to-go
But I cannot find the exportAssets.sh in any of these
http://etoys.laptop.org/svn/trunk/etoys/ http://tinlizzie.org/olpc/
is there another place or am i misunderstanding something?
It was also in:
http://svn.squeakland.org/installers/
(at http://svn.squeakland.org/installers/win32/olpc)
In a sense, what Bert wrote applies to this script, too; this script is a mod to the older exportAsset.bat (which presumably by Michael) at the same directory. Because of different installation of supporting tools (such as svn on my computer is cygwin, but the one .bat expected was something else), I rewrote it a bit to make it work in my cygwin environment. But probably a better to use TortoiseSVN (which I think Michael used), and use it instead.
-- Yoshiki
Hi Yoshiki:
On December 23, 2009, Yoshiki Ohshima wrote:
Hi, Milan,
At Tue, 22 Dec 2009 23:53:22 -0500,
Milan Zimmermann wrote:
On December 21, 2009, you wrote:
At Mon, 21 Dec 2009 00:56:19 -0500,
Milan Zimmermann wrote:
Execute exportAssetsFromToGo.sh - where can I find this script?
This is superceded by (or reverted back to) exportAssets.sh.
Yoshiki, where can I find it though? I am trying to document the locations of various build /release related files and steps here:
http://wiki.squeakland.org/display/sq/Creating+Etoys+Release+for+Squeakla nd%2C+OLPC%2C+or+Etoys- to-go
But I cannot find the exportAssets.sh in any of these
http://etoys.laptop.org/svn/trunk/etoys/ http://tinlizzie.org/olpc/
is there another place or am i misunderstanding something?
It was also in:
I think it is not open externally:
svn checkout http://svn.squeakland.org/installers/
svn: OPTIONS of 'http://svn.squeakland.org/installers': 200 OK (http://svn.squeakland.org)
But from your explanation it sounds like it is just doing some manipulation (copying files and maybe running the ReleaseBuilderSqueakland new prepareReleaseImageForSqueakland?) So, anyway if it has something important please attach it if possible, otherwise don't worry about it.
I have a additional question. When creating the Windows Nullsoft installer, what version of VM do you use, do you always go for the latest, and also what plugins do you include, all plugins there are?
Thanks, Milan
In a sense, what Bert wrote applies to this script, too; this script is a mod to the older exportAsset.bat (which presumably by Michael) at the same directory. Because of different installation of supporting tools (such as svn on my computer is cygwin, but the one .bat expected was something else), I rewrote it a bit to make it work in my cygwin environment. But probably a better to use TortoiseSVN (which I think Michael used), and use it instead.
-- Yoshiki
Hi, Milan,
At Wed, 23 Dec 2009 23:21:06 -0500, Milan Zimmermann wrote:
I think it is not open externally:
The old site has been shut down (on purpose) to avoid confusion with the new server. The new server seems to be taking some time to get up (I gather that there was a plan to hook the squeakland.org accounts to the SVN accounts, which I would think overkill).
But from your explanation it sounds like it is just doing some manipulation (copying files and maybe running the ReleaseBuilderSqueakland new prepareReleaseImageForSqueakland?)
It copies files, and the image file is supposed to be already properly setup before running it, as we are supposed to have the latest deployable image on the SVN server.
So, anyway if it has something important please attach it if possible, otherwise don't worry about it.
See the snipped below at the end of this email.
I have a additional question. When creating the Windows Nullsoft installer, what version of VM do you use, do you always go for the latest, and also what plugins do you include, all plugins there are?
The VM is basically the latest mainstream squeak VM that Andreas releases, but with the icon resource swapped by ResHack program (I do it manually, but you only need to do it every once a while). The plugins are just the ones that are the in the SVN directory. We now have:
FT2Plugin.dll (comes with the stock VM) ImmWin32Plugin.dll KedamaPlugin.dll KedamaPlugin2.dll Mpeg3Plugin.dll OggPlugin.dll ScratchPlugin.dll localePlugin.dll
Milan, thank you very much for taking on this!
-- Yoshiki
--- exportAssets.sh --- #!/bin/sh -v cd assets rsync -rva --exclude=.svn/ --delete ../../../Etoys.app/ Etoys.app chmod -R +w Etoys.app find Etoys.app -name .svn | xargs rm -rf cat ../../../Etoys.app/Contents/Resources/LICENSE | sed 's/$/\r/' > LICENSE cat ../../../Etoys.app/Contents/Resources/NOTICE | sed 's/$/\r/' > NOTICE cat ../../../NEWS | sed 's/$/\r/' > NEWS cd Etoys.app rm -rf etoys.sh etoys.ini cd Contents rm -rf ._Info.plist Info.plist Linux-i686 Linux686 MacOS PkgInfo cd Resources rm -rf *.bundle *.icns cd locale mkdir ../tmp mv de el en es fa_AF fr ht it ja pt pt_BR si sv tr tr_latin1 ../tmp rm -rf ?? ??_* mv ../tmp/* . rmdir ../tmp
Thanks Yoshiki.
My first goal is to collect up all known (no matter how dispersed and haphazard collection) information on how to prepare the various Etoys images (Sugar, Windows Squeakland, Mac Squeakland) and the installer (restricting on Windows Squeakland). After I paste info from your reply, this will I think be close to "most information collected":
http://wiki.squeakland.org/display/sq/Creating+Etoys+Release+for+Squeakland%... to-go
Next goal is to make and document, on the above page, repeatable steps (perhaps automated through scripts). These steps should actually create images for Sugar, Windows, Mac, AND the Windows installer.
How far I will get I am not sure. But in the next 3 months my time should be much more predictable then last 4 months so I hope :) (of course there is also another Etoys/Sugar thing I started in the summer but left unfinished...)
Thanks for your help,
Milan
On December 23, 2009, Yoshiki Ohshima wrote:
Hi, Milan,
At Wed, 23 Dec 2009 23:21:06 -0500,
Milan Zimmermann wrote:
I think it is not open externally:
The old site has been shut down (on purpose) to avoid confusion with the new server. The new server seems to be taking some time to get up (I gather that there was a plan to hook the squeakland.org accounts to the SVN accounts, which I would think overkill).
But from your explanation it sounds like it is just doing some manipulation (copying files and maybe running the ReleaseBuilderSqueakland new prepareReleaseImageForSqueakland?)
It copies files, and the image file is supposed to be already properly setup before running it, as we are supposed to have the latest deployable image on the SVN server.
So, anyway if it has something important please attach it if possible, otherwise don't worry about it.
See the snipped below at the end of this email.
I have a additional question. When creating the Windows Nullsoft installer, what version of VM do you use, do you always go for the latest, and also what plugins do you include, all plugins there are?
The VM is basically the latest mainstream squeak VM that Andreas releases, but with the icon resource swapped by ResHack program (I do it manually, but you only need to do it every once a while). The plugins are just the ones that are the in the SVN directory. We now have:
FT2Plugin.dll (comes with the stock VM) ImmWin32Plugin.dll KedamaPlugin.dll KedamaPlugin2.dll Mpeg3Plugin.dll OggPlugin.dll ScratchPlugin.dll localePlugin.dll
Milan, thank you very much for taking on this!
-- Yoshiki
--- exportAssets.sh --- #!/bin/sh -v cd assets rsync -rva --exclude=.svn/ --delete ../../../Etoys.app/ Etoys.app chmod -R +w Etoys.app find Etoys.app -name .svn | xargs rm -rf cat ../../../Etoys.app/Contents/Resources/LICENSE | sed 's/$/\r/' > LICENSE cat ../../../Etoys.app/Contents/Resources/NOTICE | sed 's/$/\r/' > NOTICE cat ../../../NEWS | sed 's/$/\r/' > NEWS cd Etoys.app rm -rf etoys.sh etoys.ini cd Contents rm -rf ._Info.plist Info.plist Linux-i686 Linux686 MacOS PkgInfo cd Resources rm -rf *.bundle *.icns cd locale mkdir ../tmp mv de el en es fa_AF fr ht it ja pt pt_BR si sv tr tr_latin1 ../tmp rm -rf ?? ??_* mv ../tmp/* . rmdir ../tmp
etoys-dev@lists.squeakfoundation.org