[Pharo-project] Minimal buildable Pharo image with GUI?
Stephane Ducasse wrote:
I would love that too. Just no time to work on it :((((((((( Too many admin tasks. I will try to create more space for me.
OK, maybe I should just try? But I need to understand where the starting point is. Say, I pick a bare PharoKernel, and load it into a VM (headless) with a script like this (I hope Gofer it is there, but if it's not, what else to use?): "-------------------------------------------------------------------------------------------------" Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfXXX load. ((Smalltalk at: #ConfigurationOfXXX) project version: 'X.Y') load. (Smalltalk saveAs: 'minimal.image') ifFalse: [ Smalltalk snapshot: false andQuit: true ] "-------------------------------------------------------------------------------------------------" This is a variation of LoadVMMaker.st which is used to load the VM building stuff into Pharo Core. What XXX (packages) are needed to be loaded to get at least minimal GUI? Now, if in headless mode something fails, where will I see the error dump? Thanks. Anyway, in the light of Android usage, such specialized images will be needed for one-tap installable applications. -- Dimitry Golubovsky Anywhere on the Web
On Fri, Sep 16, 2011 at 8:24 PM, Dimitry Golubovsky <golubovsky@gmail.com> wrote:
Stephane Ducasse wrote:
I would love that too. Just no time to work on it :((((((((( Too many admin tasks. I will try to create more space for me.
OK, maybe I should just try?
But I need to understand where the starting point is. Say, I pick a bare PharoKernel, and load it into a VM (headless) with a script like this (I hope Gofer it is there, but if it's not, what else to use?):
"-------------------------------------------------------------------------------------------------" Gofer new     squeaksource: 'MetacelloRepository';     package: 'ConfigurationOfXXX     load.
((Smalltalk at: #ConfigurationOfXXX) project version: 'X.Y') load.
(Smalltalk saveAs: 'minimal.image') Â Â Â Â ifFalse: [ Smalltalk snapshot: false andQuit: true ] "-------------------------------------------------------------------------------------------------"
This is a variation of LoadVMMaker.st which is used to load the VM building stuff into Pharo Core.
What XXX (packages) are needed to be loaded to get at least minimal GUI?
Now, if in headless mode something fails, where will I see the error dump?
Metacello is currently not supported by PharoKernel Gofer image. You must load packages manulay (something like http://gitorious.org/pharo-build/pharo-build/blobs/master/scripts/pharo/Kern...) We have no list of packages you need. But you may try the same mechanism used in uMorphic to get code necessary for you applications. -- Pavel
Thanks.
Anyway, in the light of Android usage, such specialized images will be needed for one-tap installable applications.
-- Dimitry Golubovsky
Anywhere on the Web
Pavel, Pavel wrote:
Metacello is currently not supported by PharoKernel Gofer image. You must load packages manulay (something like http://gitorious.org/pharo-build/pharo-build/blobs/master/scripts/pharo/Kern...)
We have no list of packages you need. But you may try the same mechanism used in uMorphic to get code necessary for you applications.
Well, a script like this would perhaps be a good starting point. I need a minimal GUI functionality to show a simple dialog form, and network. A typical task I need to solve is to download an image to the Android device. So the form would ask the image file URL, whether to use HTTP proxy, where to save on SD card. Another task: to show list of installed images, let a user tap on one, (re-)launch the VM with that image. I might do this in Java, but why? ;) Few points to clarify: - The "PharoKernel with Gofer" image: where to download? - My script would probably load some Morphic packages (where the example script loads Seaside): does there exist a dependency graph of them? Or any idea which one to load first (e. g. Morphic-kernel or Morphic-basic), and others in which sequence? Thanks. PS uMorphic is also interesting: the message you referred to is of August: has there been any progress since? -- Dimitry Golubovsky Anywhere on the Web
participants (2)
-
Dimitry Golubovsky -
Pavel Krivanek