LiveCD optimisations

2010-05-20 Thread Louis Simard
Greetings ubuntu-devel-discuss :) I have a proposal for you, and I'll present it simply with the 5 W's. -- WHAT? -- Optimise the PNG images and SVG files on the Ubuntu LiveCD. Optimise the Ubuntu LiveCD by putting start-up files and programs near the end of the CD. -- WHY? -- Optimising the PN

Re: LiveCD optimisations

2010-05-20 Thread Louis Simard
At 2010-05-21 04:41 GMT, Martin Owens wrote: > Hey Louis, Hey Martin, thanks for the reply! > Sounds great and looks like a pretty good script, I have some comments: > > You may be able to make it a little faster by using the find results in > one like like this: > > find / -type f -name "*.svg"

LiveCD optimisations explained

2010-05-21 Thread Louis Simard
At 2001-05-21 14:48 GMT, Phillip Susi wrote: > When attaching scripts please make sure they are attached with an inline > disposition so they are readily reviewable while reading the email > instead of having to save them and open them in another text editor. Err... While I know what you want me

Re: LiveCD optimisations

2010-05-22 Thread Louis Simard
At 2010-05-21 04:41 GMT, Martin Owens wrote: > Are there no more things that could be optimised? For instance does > using xmllint with --noblanks on the 12496 xml files save any space? My testing with XML files is done now, and here are the results! (And the modified script, attached to this ema

Re: LiveCD optimisations

2010-05-22 Thread Louis Simard
At 2010-05-22 09:06 GMT, Didier Roche wrote: > (is 0.79 MB containing the whole optimization or just the xml one?) > [snip] > Not sure it worths the risk if the real size gain in the iso is only > 0.79 MB. 0.79 MB (on the squashfs) is for XML files only, and is HIGHLY error-prone due to applicati

Re: LiveCD optimisations

2010-05-22 Thread Louis Simard
At 2010-05-22 10:59 GMT, Dmitrijs Ledkovs wrote: > Is it due to them using GMarkup instead of libxml to parse XML's? > > I yes it's a bug in glib then =) i would be cool to compress xml's as > much as possible. Afterall people should be getting the source > packages to edit those and apps should p

Re: LiveCD optimisations

2010-06-03 Thread Louis Simard
to another mailing list, like ubuntu-devel or debian-devel? Regards, - Louis [1] https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2010-May/thread.html [2] https://code.launchpad.net/~louis-simard/scour/rework -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu

Re: Tomcat permissions and class loading

2010-07-15 Thread Louis Simard
Forgot to post the mail to the list. Here goes... At 2010-07-15 21:57 GMT, I wrote: >> If I add the following permission in the file >> /etc/tomcat6/policy.d/50local.policy, everything's fine: >> >>    grant codeBase "file:${catalina.base}/webapps/mywebapp/-" { >>        permission java.security.A

Re: Tomcat permissions and class loading

2010-07-15 Thread Louis Simard
At 2010-07-15 22:25 GMT, Florent Georges wrote: > Louis Simard wrote: > >  Hi, > >> Would this do the trick: > >  Thanks for your response. > >> permission java.lang.RuntimePermission "getClassLoader"; >> permission java.lang.RuntimePermission &

Re: Where to find this

2010-07-20 Thread Louis Simard
At 2010-07-20 14:19 GMT, aakash pandey wrote: > I need a non brown ambiance theme with full black panels . This question looks completely off-topic for the ubuntu-devel list. You should ask it on ubuntu-users instead. Regards, Louis -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lis

Re: Apache2 in default Ubuntu install

2010-08-13 Thread Louis Simard
At 2010-08-13 08:39 GMT, Joshua Timberman wrote: > Hello! > > On Aug 13, 2010, at 12:37 AM, Micah Gersten wrote: > >> Because sensible defaults are necessary.  You get your choice of Apache >> or something else.  If you selected another httpd on install and php5 >> dragged in apache, that might qu

Re: More LiveCD space optimizations

2010-10-06 Thread Louis Simard
GMT John McCabe-Dansted : > In May, Louis Simard proposed rencoding PNG files and SVG files to > reduce their size [Quoted 1]. I note that we can save further space by: > > 1) Using advdef on the png files in addition to optipng. This is what > optimizegraphics does, and this shrin

Re: More LiveCD space optimizations

2010-10-07 Thread Louis Simard
2010-10-07 16:29 GMT Martin Owens : > On Fri, 2010-10-08 at 00:07 +0800, John McCabe-Dansted wrote: >> Strangely, even running advzip -z -0 >> images_human.zip shrinks it by 3%, and even shrinks the corresponding >> images_human.zip.gz file > > That's not strange, that's just entropic packing princ

Re: More LiveCD space optimizations

2010-10-07 Thread Louis Simard
* LONG MESSAGE WARNING * While I've tried to reduce the quotes and quote nesting as much as I could, this message is still long. It is still important to read, when you have time. 2010-10-07 16:07 GMT John McCabe-Dansted : > On Thu, Oct 7, 2010 at 10:05 AM, Louis Simard wrote: >>

Re: More LiveCD space optimizations

2010-10-08 Thread Louis Simard
2010-10-08 09:54 GMT Matthias Klose : > In the past we did see wasted space: > >  - Packages which should not be on the CD.  Some things should not be >   on the CD at all.  Looking at the current live CD log, a typical >   candidate for this would be tcl8.4. Why is it there, and how can >   it be

Re: More LiveCD space optimizations

2010-10-08 Thread Louis Simard
2010-10-07 16:07 GMT John McCabe-Dansted : > On Thu, Oct 7, 2010 at 10:05 AM, Louis Simard wrote: >> Do you want me to add to my script any of the optimisations discussed >> in your email? They are: Using AdvanceCOMP to recompress .png images >> and gzipped files; using e

Re: More LiveCD space optimizations

2010-10-08 Thread Louis Simard
Apologies for the previous attachment, it didn't have the addition for man-page symbolic links. I attach the proper one this time. - Louis ubuntu-opt.tar.gz Description: GNU Zip compressed data -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubs

Re: More LiveCD space optimizations

2010-10-10 Thread Louis Simard
Sorry for the 4th post in a row, but I added a script that uses AdvanceCOMP to recompress the .gz files that aren't man pages, and I had to share my findings. AdvanceCOMP? | ISO size (B) | Install (KiB) No | 711,032,832 | 2,474,660 Yes |

Re: LiveCD optimisations

2010-11-01 Thread Louis Simard
. I'm the co-maintainer for Scour since June 2010, but even if I can't do releases, I can commit to the trunk. [1] https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2010-October/012181.html Regards, -- Louis Simard -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@li

Space optimisations: OpenJDK runtime .jar

2010-11-06 Thread Louis Simard
s. [1] https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2010-October/012183.html -- Louis Simard ClassLoadTest.java.gz Description: GNU Zip compressed data -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss