Re: localising base-config - end game

2002-03-17 Thread Petter Reinholdtsen
[Petter Reinholdtsen] > The following patch should do the job, assuming the debconf and > locales package is available. Here is a new one, without debconf. If the CD is built using the standard debian-cd package, the locales package will be available. It is in section base and priority standard

Re: localising base-config - end game

2002-03-09 Thread Petter Reinholdtsen
[Joey Hess] > Why do people keep mumbling about reconfiguring debconf as part of > the install process? That is utterly not needed. No idea. Someone told me locales depended on debconf, and that it had to be listed in the --includes list, and I believed it. Checking 'debootstrap --print-deps w

Re: localising base-config - end game

2002-03-09 Thread Joey Hess
Petter Reinholdtsen wrote: > Hm, perhaps base-config need to reconfigure debconf if it was > installed by debootstrap? My previous patch for base-config did not > implement that. Why do people keep mumbling about reconfiguring debconf as part of the install process? That is utterly not needed.

Re: localising base-config - end game

2002-03-09 Thread Philip Blundell
On Sat, 2002-03-09 at 20:26, Petter Reinholdtsen wrote: > +#ifdef USE_LANGUAGE_CHOOSER > + /* Needed to generate locale data */ > + /* Hm, need to make sure these packages are available */ > + argv[argnum++] = "--include=debconf,locales"; > +#endif /* USE_LANGUAGE_CHOOSER */ Can you remind me

Re: localising base-config - end game

2002-03-09 Thread Petter Reinholdtsen
[Eduard Bloch] > Yes. But I still don't see why you need the massive changes in > dbootstrap if base-config is doing the job. The following patch should do the job, assuming the debconf and locales package is available. Hm, perhaps base-config need to reconfigure debconf if it was installed by d

Re: localising base-config - end game

2002-03-09 Thread Petter Reinholdtsen
[Eduard Bloch] > In generaly the second, but the first is also okay _if_ you run > dpkg-reconfigure locales somewhere in base-config. Well, I thing the second is outside the scope of the install system. I have a new patch which should take care of both. > Yes. But I still don't see why you need

Re: localising base-config - end game

2002-03-07 Thread Junichi Uekawa
Eduard Bloch <[EMAIL PROTECTED]> cum veritate scripsit: > A while ago, you discussed on debian-boot about better boot-floppies and > base-config localisation. I did the same thing, but due to lack of time > and more important tasks, this was not possible. Now, some weeks later, > we created some

Re: localising base-config - end game

2002-03-07 Thread Petter Reinholdtsen
[Phil Blundell] > I don't think setting a system-wide default locale is within the > boot-floppies remit at this time. I agree. > As to the extract_base.c patch: it's kind of tempting to say that > locales should just be installed by default. Those who want the > disk space more than the i18n

Re: localising base-config - end game

2002-03-07 Thread Eduard Bloch
#include Petter Reinholdtsen wrote on Thu Mar 07, 2002 um 03:17:22PM: > - use the current language during the second stage installation >(base-config) > - use the current language and locale as the system default for all >users after the second stage installer is finished. > > Which o

Re: localising base-config - end game

2002-03-07 Thread Phil Blundell
On Thu, 2002-03-07 at 14:17, Petter Reinholdtsen wrote: > - use the current language and locale as the system default for all >users after the second stage installer is finished. I don't think setting a system-wide default locale is within the boot-floppies remit at this time. We should pro

Re: localising base-config - end game

2002-03-07 Thread Petter Reinholdtsen
[Anthony Towns] > I'm not really happy with this. Adding random new features to > boot-floppies right now is a very very bad idea. Our goals right now > are to make sure what we've currently got works for doing installs > on all architectures, not making stuff more elegant, and whatever. Well, I

Re: localising base-config - end game

2002-03-07 Thread Petter Reinholdtsen
I've been studying your patch, and have some comments and an improved patch. [Eduard Bloch] > Now, some weeks later, we created some infrastructure (*) and you > discussed about possible implementations (patches attached). So the > concret plans of mine: > > - add additional prompt, asking the

Re: localising base-config - end game

2002-03-07 Thread Phil Blundell
On Thu, 2002-03-07 at 13:35, Petter Reinholdtsen wrote: > > [Philip Blundell] > > Given a locale string in german.src of "de_DE.ISO-8859-15@euro", you > > ideally want to be writing "de_DE@euro ISO-8859-15" into > > /etc/locale.gen and setting LANG to "de_DE@euro". > > There is no need to rewrit

Re: localising base-config - end game

2002-03-07 Thread Phil Blundell
On Thu, 2002-03-07 at 13:33, Petter Reinholdtsen wrote: > Could someone add this patch: Seems safe enough. I've checked it in. p. > Index: util.c > === > RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/util.c,v > ret

Re: localising base-config - end game

2002-03-07 Thread Petter Reinholdtsen
[Philip Blundell] > Given a locale string in german.src of "de_DE.ISO-8859-15@euro", you > ideally want to be writing "de_DE@euro ISO-8859-15" into > /etc/locale.gen and setting LANG to "de_DE@euro". There is no need to rewrite the LANG content. "de_DE.ISO-8859-15@euro" is a synonym for "de_DE@e

Re: localising base-config - end game

2002-03-07 Thread Petter Reinholdtsen
[Eduard Bloch] > Look okay. Few questions: > > - we use weird locales strings on BFs, in the form of >xx_YY.charset@euro. You extract this with re on >my ($locale) = $LANG =~ m/^([^.@]+)/; >and write this into /etc/locale.gen. I am not sure, but IMHO this >extracts only the xx_

Re: localising base-config - end game

2002-03-06 Thread Anthony Towns
On Wed, Mar 06, 2002 at 08:17:05PM +0100, Eduard Bloch wrote: > (*) BFs can install additional packages when isntalling from CD or from > net. There should still be one hook to disable wants_locale if we are > isntalling from prepared basedebs.tar. I'm not really happy with this. Adding random ne

Re: localising base-config - end game

2002-03-06 Thread Philip Blundell
On Wed, 2002-03-06 at 22:21, Eduard Bloch wrote: > As said, please first check the expressions, and compare with mine. This > all was needed to extract charset and lang string (inc. @euro) and > fixing the charset (ISO88... -> ISO-88...). If some piece of software can't cope with "ISO8859-1" as a

Re: localising base-config - end game

2002-03-06 Thread Eduard Bloch
#include Petter Reinholdtsen wrote on Wed Mar 06, 2002 um 10:16:01PM: > Yes. I even submitted some patches, bug #135565 "base-config: > Improved handling of LANG and LANGUAGE during install". Joey said the > patches looked sane, but wanted me to test them properly before he Look okay. Few que

Re: localising base-config - end game

2002-03-06 Thread Petter Reinholdtsen
[Eduard Bloch] > A while ago, you discussed on debian-boot about better boot-floppies and > base-config localisation. Yes. I even submitted some patches, bug #135565 "base-config: Improved handling of LANG and LANGUAGE during install". Joey said the patches looked sane, but wanted me to test t

localising base-config - end game

2002-03-06 Thread Eduard Bloch
A while ago, you discussed on debian-boot about better boot-floppies and base-config localisation. I did the same thing, but due to lack of time and more important tasks, this was not possible. Now, some weeks later, we created some infrastructure (*) and you discussed about possible implementatio