[etoys-dev] Compressing sources

Hilaire Fernandes hilaire.fernandes at edu.ge.ch
Thu Jan 14 01:59:53 EST 2010


Why the .sourche and .change files are need in the shipped Etoys ?
Should it not be in etoys-dev only?
Hilaire

2010/1/14 Ricardo Moran <richi.moran at gmail.com>

> What about using Smalltalk abandonSources as Eliot suggested on squeak-dev?
> I just tried with and etoys-dev image and it complained about a syntax
> error in MMetaParser>>mExpr so I blindly removed the whole package and tried
> again.
> It finished without errors and the image seems to be working ok.
>
>
> On Wed, Jan 13, 2010 at 9:24 PM, Bert Freudenberg <bert at freudenbergs.de>wrote:
>
>> Maybe someone can help with
>>
>> http://tracker.squeakland.org/browse/SQ-647
>>
>> This is what led to it:
>>
>> [23:15:52] <Mitch_Bradley> bertf: ping
>> [23:16:08] <bertf> Mitch_Bradley: pong
>> [23:16:32] <Mitch_Bradley> we are looking at disk-space-saving
>> opportunities
>> [23:16:41] <Mitch_Bradley> I want to ask about etoys possibilities
>> [23:16:53] <bertf> Mitch_Bradley: for 1.5?
>> [23:17:03] <Mitch_Bradley> Could /usr/share/etoys/EtoysV4.sources be
>> compressed?
>> [23:17:07] <Mitch_Bradley> yes, for 1.5
>> [23:17:41] <bertf> I thought that had larger disk than before?
>> [23:17:48] <Mitch_Bradley> it does
>> [23:18:04] <bertf> can't be compressed easily, no
>> [23:18:13] <Mitch_Bradley> and that fact is being used by *everybody* as a
>> justification for pissing it all away
>> [23:18:26] <bertf> understood
>> [23:18:46] <Mitch_Bradley> under what circumstances is .sources used, as
>> opposed to .image
>> [23:19:17] <bertf> whenever you look at the source code. the image stores
>> file offsets
>> [23:19:22] <Mitch_Bradley> how about decompress-on-first-use?
>> [23:19:33] <bertf> can't write there
>> [23:20:07] <bertf> there was a hack once allowing to compress it. not sure
>> how stable that is
>> [23:22:04] <bertf> I'll try to find that hack
>> [23:23:57] <Mitch_Bradley> how about locales - could we prune
>> /usr/share/etoys/locales ?
>> [23:25:08] <Mitch_Bradley> it is ironic that smalltalk is so large
>> [23:25:44] <Mitch_Bradley> not as ironic as "Micro"soft, though
>> [23:27:33] <bertf> well if you're sure that some locale is not needed, you
>> can just delete the .mo file, yes
>> [23:34:03] <Mitch_Bradley> decompressing EtoysV4.sources.gz to ram takes
>> 0.7 seconds.
>> [23:35:51] <bertf> not bad :)
>>
>> [00:01:04] <bertf> Mitch_Bradley: I found the sources hack
>> http://wiki.squeak.org/squeak/3510 in what time frame would we have to
>> incorporate that?
>> [00:02:36] <Mitch_Bradley> bertf: I don't know what our current release
>> train looks like, but I think that we would probably want to fold in the
>> space-saving change whenever it is available.
>> [00:03:05] <bertf> Mitch_Bradley: when would it be too late?
>> [00:03:32] <cjb> bertf: within 7 days should be ok
>> [00:04:41] <bertf> cjb: okay. can't promise anything but I'll see what I
>> can do. or get someone to do.
>> [00:04:49] <Mitch_Bradley> thanks!
>>
>>
>> - Bert -
>>
>>
>> _______________________________________________
>> etoys-dev mailing list
>> etoys-dev at squeakland.org
>> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>>
>
>
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
>


-- 
http://blog.ofset.org/hilaire
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? enlev?e...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100114/fc468074/attachment.html


More information about the etoys-dev mailing list