On Tue, 11 Nov 2003 02:54:42 -0800 (PST) "Ben Rockwood" <[EMAIL PROTECTED]>
babbled:

> Since someone suggested a possible change for the next DR16 release would
> be to shrink the package size I poked around.  BrusedMetal is big, 3.7M
> big.
> The current package contains 4 themes, BrushedMetal (3.7M), ShinyMetal
> (1.2M), BlueSteel (650K), and Ganymede (2.4M).  The other killer is dox,
> the pretty spiffy oh so awsome help system that most people look at once
> and then never again.  This is arguable, but I'd imagine that being as
> DR16 is pretty well understood, we won't get many first time users, and
> the fact that most new users probly don't read any of it anyway... not to
> mention the fact that you still have tooltips, we can just dump dox which
> accounts for another 2.5M.
> 
> If you take Edox out completely, then remove the default themes and then
> add in just 23oz and Axios you get a compressed tarball (tgz) at 2.4M
> instead of the current 12M.
> 
> But dumping dox is I admit a contrivursial idea, so I'm just tossing it
> out there.

ok. yes shrinking the tarball would be good...

1. lets nuke themes other than brushed metal (for now)
2. lets optimize brushed metal
3. lets optimize dox documentation

ok - how to do this?
1. delete ganymede and shinymetal for now.

2. resample the sounds in brushed metal.. unpacked they use up 3.7Mb on their
own. see the audio is 22.05Khz 16bit. moving to 8bit 11.025Khz will shave off
75% of their space usage. also replacing "long" samples with much shorter ones.
anyone interested in audio and sampling should look at this. ie someone with a
good collection of free samples - or someone able to make good ones.
of COURSE the BEST solution is to stop using .wav format. E uses libaudiofile to
load the samples. if they were in a lossy format (mp3. vorbis) they would use
only a few kb (literally) because they could be encoded lossily. maybe the
solution is to add libvorbis support (lets say) to be able to load .oog's and
convert samples in the default theme to ogg.

now you don't lose the feature, you can still show it off, and the theme will be
massively reduced in size.

the backgrounds directory also is a large space user. the png's could be
converted to .jpg (at carefully selected quality settings) and reduced markedly
in size saving another 100k or so. also remember to fix the definitions of these
bg's to point to these jpg files instead of png.

3. convert images that are not "transparent) (ie square) into .jpg and change
docs to point to these

the reason for dox was that when it was written mozilla was just beginning to
work at all. netscape 4.x was still the browser of the day. it took 6-15 seconds
to start. we wanted documentation available instantly at a click and not after
10 seconds of wait  and having to wrestle with the usual problems of a browser.
we waned diagrams and links. thus dox was born. it's still useful. u can nuke
the tarball down a lot by just doing the above and not lose any features really.

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君                         [EMAIL PROTECTED]
Mobile Phone: +61 (0)413 451 899    Home Phone: 02 9698 8615


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to