[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#288476: Problems with fr_CA installs



Il giorno gio, 06-01-2005 alle 00:08 +0100, Christian Perrier ha
scritto:
> Quoting Giuseppe Sacco (eppesuig@debian.org):
> > Il giorno mer, 05-01-2005 alle 18:52 +0100, Christian Perrier ha
> > scritto:
> > [...]
> > > However, locales have LC_PAPER precisely for this purpose, so I think
> > > that correctly handling the defaults really should be done in
> > > libpaper1 config script, by using LC_PAPER of course.
> > 
> > Actually, the default papersize is read from /etc/papersize. I may
> > change the config script so that it checks for this file or othewise use
> > LC_PAPER before asking for a manual selection.
> > 
> > Would this be the solution?
> 
> Well, that seems logical to me, yes. And not very likely to break
> things, indeed. You're left with the problem of dealing with LC_PAPER
> which indeed is not "a4", "letter" or whatever else, but just contains
> the value of the locale used for paper settings (LC_PAPER=it_IT and so
> on...)
> 
> Then, as far as D-I is concerned we could decide (or not) to set
> LC_PAPER in /etc/environment according to the locale used during the
> install.

Hi Christian,
I spent some time trying to find a nice solution for this problem. I
created a new libpaper1.config (attached) that might be the solution you
asked for, but, it will require libpaper1 depends on libpaper-utils and
it would work only in some circumstances, i.e., when the paper size
specified in the locales isn't rounded. This work for A4 but doesn't for
letter.

Do you, or anyone else, have a better solution for this problem?

Thanks,
Giuseppe

Attachment: libpaper1.config
Description: application/shellscript


Reply to: