It is not that simple. The baseline expects that you will have a pharo
repository clone in a folder named 'pharo-core' in your working directory.
Then you need data  like files or icons.

set -e
wget http://files.pharo.org/sources/PharoV60.sources
unzip pharo-core/resources/fonts/BitmapDejaVuSans.fuel -d .
mkdir icon-packs
cd icon-packs
wget http://github.com/pharo-project/pharo-icon-packs/archive/idea11.zip
cd ..
pharo Pharo7.0-metacello-32bit-82ecd43.image --no-default-preferences eval
--save "Metacello new baseline: 'UI';repository:
'filetree://pharo-core/src'; load"

Unfortunatelly the resultant image is not usable - it immediately falls
into the emergency evaluator - because of the dependencies on translation
and fast table. We need to provide some care to it again because it is not
generated regularly -> it gets quickly broken.

-- Pavel


2017-08-28 13:47 GMT+02:00 Thierry Goubier <thierry.goub...@gmail.com>:

> Hi Pavel,
>
> what would be the expression for building such an intermediate image out
> of the minimal image? This?
>
> Metacello new
>   baseline: 'BasicTools';
>   repository: 'github://pharo-project/pharo:master/src';
>   load
>
> Regards,
>
> Thierry
>
>
> 2017-08-28 13:24 GMT+02:00 Pavel Krivanek <pavel.kriva...@gmail.com>:
>
>> What do you expect from such minimal image? Because we can produce
>> several intermediate steps on the way to the standard full Pharo image
>> (BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
>> BaselineOfBasicTools...)
>>
>> -- Pavel
>>
>> 2017-08-28 13:17 GMT+02:00 Dimitris Chloupis <kilon.al...@gmail.com>:
>>
>>> oh , then its not what I am thinking as minimal image. Pity, oh well , I
>>> will wait for bootstrap to mature then :)
>>>
>>> On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek <pavel.kriva...@gmail.com>
>>> wrote:
>>>
>>>> The minimal image is headless image without any GUI. It is useless to
>>>> try to open it this way.
>>>>
>>>> -- Pavel
>>>>
>>>> 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis <kilon.al...@gmail.com>:
>>>>
>>>>> hmm does not work for me, it open the icon of pharo on macos sierra
>>>>> dock and it stays there doing nothing
>>>>> right clicking on it and choosing quit does nothing, so I am have to
>>>>> use force quit to make it close
>>>>>
>>>>> I have downloaded pharo 6.1 from the website, default download, 32
>>>>> bit, minimal 32 bit image. I drag and drop image on top of pharo.
>>>>>
>>>>> On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek <
>>>>> pavel.kriva...@gmail.com> wrote:
>>>>>
>>>>>> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis <kilon.al...@gmail.com>:
>>>>>>
>>>>>>> I remember that the website used to link to a minimal image download
>>>>>>> but it does not seem there is one anymore
>>>>>>>
>>>>>>> Is still minimal image maintained ?
>>>>>>>
>>>>>>
>>>>>> yes, as part of the bootstrap process
>>>>>>
>>>>>>
>>>>>>> Are there ways to make a image minimal ?
>>>>>>>
>>>>>>
>>>>>> it is created in bootstrap/scripts/build.sh under
>>>>>> name Pharo7.0-metacello-* and saved on files.pharo.org as
>>>>>> http://files.pharo.org/image/70/latest-minimal-32.zip or
>>>>>> http://files.pharo.org/image/70/latest-minimal-64.zip
>>>>>>
>>>>>> So you do not need to do it by yourself.
>>>>>>
>>>>>> -- Pavel
>>>>>>
>>>>>
>>>>
>>
>

Reply via email to