Bug#364385: localechooser almost tripled in size...

2006-04-23 Thread Christian Perrier
 Breakdown on size increase since 1.03 is:
 
 - 30k added to templates file
 - 1k added to /usr/bin/localechooser
 - 1k added to /usr/lib/post-base-installer.d/05localechooser
 - 1k removed from languagelist
 
 I don't see how this could sum to the 230k indicated by what you pasted
 though.


In 1.06, I introduced a bug when I removed the crafted intltool-merge
which allowed partial translations for country names.

I unfortunately ommited the document this properly because it was
discovered while working on something else (beat me) but then it got
fixed and localechooser got the country names translations back...and
its huge size back

In the meantime, some languages were added, which explains the
templates file size increase noticed by Joey.

Of course, the size of this templates file is a problem but I fail to
see how to do differently if we want to have the country names
translated.

The scripts in localechooser are heavily commented. One way to grab
some bytes back could be filtering these comments during the package
build. This would of course make debugging a little more complicated
when working in the installer itself but that could be worth it. This
saves about 5k in /usr/bin/localechooser







signature.asc
Description: Digital signature


Bug#364385: localechooser almost tripled in size...

2006-04-23 Thread Christian Perrier
 A check against an older image shows that the main culprit is 
 localechooser:
108758 B - 136 blocks - 10 files from localechooser.udeb (version 1.06)
344544 B - 360 blocks - 10 files from localechooser.udeb (version 1.12)
 
 Is it possible to bring that down again a bit please?

Don't we already drop translations in floppy builds. Which means that
the main culprit, ie the templates file, should be shorten down.

-- 




signature.asc
Description: Digital signature


Bug#364385: localechooser almost tripled in size...

2006-04-22 Thread Frans Pop
Package: localechooser
Version: 1.12
Severity: important

On IRC someone mentioned that the PPC root floppy image was too large.

A check against an older image shows that the main culprit is 
localechooser:
   108758 B - 136 blocks - 10 files from localechooser.udeb (version 1.06)
   344544 B - 360 blocks - 10 files from localechooser.udeb (version 1.12)

Is it possible to bring that down again a bit please?


pgp252YPykuZ6.pgp
Description: PGP signature


Bug#364385: localechooser almost tripled in size...

2006-04-22 Thread Joey Hess
Frans Pop wrote:
 On IRC someone mentioned that the PPC root floppy image was too large.
 
 A check against an older image shows that the main culprit is 
 localechooser:
108758 B - 136 blocks - 10 files from localechooser.udeb (version 1.06)
344544 B - 360 blocks - 10 files from localechooser.udeb (version 1.12)
 
 Is it possible to bring that down again a bit please?

Breakdown on size increase since 1.03 is:

- 30k added to templates file
- 1k added to /usr/bin/localechooser
- 1k added to /usr/lib/post-base-installer.d/05localechooser
- 1k removed from languagelist

I don't see how this could sum to the 230k indicated by what you pasted
though.

The debian-installer/fallbacklocale question is internal use only, it's
never shown to the user AFAICS, so I made it not translated and this
saved 10k.

226k are used to store translated country names and that's IMHO the main
thing that needs to be fixed in localechooser's size.

-- 
see shy jo


signature.asc
Description: Digital signature