Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-13 Thread Sven Joachim
Norbert Preining wrote: From NEWS.Debian: * Please not that [...] ^^^ Should read "Please note" ;-) Otherwise, this seems good to me. [...] with release 4.8-7 the behaviour of makeinfo with respect to locales has changed. Up to 4.8-6 the locale settings of the calling

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-13 Thread Norbert Preining
On Fre, 10 Mär 2006, Sven Joachim wrote: > Norbert Preining wrote: > Fine with me, but consider the possibility that a few people > might have actually relied on the "feature" that the locale > settings changed the translation of keywords; they may now > need to test for the texinfo version. Menti

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-10 Thread Karl Berry
Will this patch also be applied upstream? Some variation thereof. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-10 Thread Sven Joachim
Norbert Preining wrote: old_locale = setlocale(LC_ALL, NULL); save_locale = strdup (old_locale); xstrdup is recommended. You see that I'm unfamiliar with the texinfo source, I did not know that it has its own version of strdup. ;-) Ok, next version of texinfo will include this patch. F

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-09 Thread Norbert Preining
On Die, 07 Mär 2006, preining wrote: > Short description: makeinfo: locale settings should not influence output > files Here is an updated patch including Svens fixed locale hack and Karls xstrdup vs strdup. Still missing: Setting the interface_language global variable from the cm_documentlanguag

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-09 Thread Norbert Preining
On Don, 09 Mär 2006, Sven Joachim wrote: > The libc info page for setlocale tells you what's wrong with it: Ahhh, thanks. > old_locale = setlocale(LC_ALL, NULL); > save_locale = strdup (old_locale); xstrdup is recommended. Ok, next version of texinfo will include this patch. Best wishes N

Bug#355367: Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-09 Thread Sven Joachim
Norbert Preining wrote: 1) The header of the info files is in German: Dies ist fixed. Can you send a patch? 2) Error messages by makeinfo are printed in English, which I noticed by running "makeinfo --html" from the lispref directory in the Emacs sources. Hmm, this is strange, ver

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-08 Thread Norbert Preining
Hi Sven, hi all! On Mit, 08 Mär 2006, Sven Joachim wrote: > When do you sleep, Norbert? ;-) Debian is more important than sleep!!! (THis was targeted to my Application Manager ;-) Seriously, I am currently in Japan, +0900 from GMT, this might explain a bit ;-) > 1) The header of the info files

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-08 Thread Sven Joachim
Norbert Preining wrote: If you generate html, do you have "nächstes" or "Next"? With the unpatched version, I got "nächstes", with your patch I got "Next". But I also got makeinfo's error messages in English. Maybe make info used a unpatched makeinfo? I think I double-checked that it didn

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-08 Thread Sven Joachim
When do you sleep, Norbert? ;-) Norbert Preining wrote: Next version of the patch, please comment on it. Still missing: The transition from documentlanguage -> interface_language and the extension of language codes from de to de_DE etc. On Die, 07 Mär 2006, Sven Joachim wrote: With LANG=de_D

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-08 Thread Sven Joachim
Norbert Preining wrote: On Die, 07 Mär 2006, Sven Joachim wrote: thanks a lot for working on this! I tried out your patch, but for my testcase, which is the Emacs Lisp Reference Manual in Emacs CVS (available for Debian in the emacs-snapshot package), it had no effect. :-( Can you send me th

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-07 Thread Norbert Preining
Next version of the patch, please comment on it. Still missing: The transition from documentlanguage -> interface_language and the extension of language codes from de to de_DE etc. On Die, 07 Mär 2006, Sven Joachim wrote: > With LANG=de_DE.UTF-8 and running "make info" from the Emacs top > level

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-07 Thread Norbert Preining
Hi Karl! One more thing I forgot: On Die, 07 Mär 2006, Karl Berry wrote: > but how to expand the 2 letter code to a full setting? > > Well, although I see the manual says a two-letter code, clearly that is > not completely correct, although I don't recall anyone writing to me > about it. If

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-07 Thread Norbert Preining
On Die, 07 Mär 2006, Sven Joachim wrote: > thanks a lot for working on this! I tried out your patch, but > for my testcase, which is the Emacs Lisp Reference Manual in > Emacs CVS (available for Debian in the emacs-snapshot package), > it had no effect. :-( Can you send me the input file tar.gz fo

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-07 Thread Norbert Preining
Hi Sven! On Die, 07 Mär 2006, Sven Joachim wrote: > thanks a lot for working on this! I tried out your patch, but > for my testcase, which is the Emacs Lisp Reference Manual in > Emacs CVS (available for Debian in the emacs-snapshot package), > it had no effect. :-( If you generate html, do you h

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-07 Thread Karl Berry
Maybe make info used a unpatched makeinfo? Info output must not and does not translate Next: and so on, because they are effectively keywords -- Info readers would stop working if they were translated. Norbert's patch changed the HTML output, which is fine. -- To UNSUBSCRIBE, email to [EMA

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-07 Thread Karl Berry
but what I did is the following: Wow, thanks!! I tested the attached patch against texinfo/makeinfo 4.8 and it worked, Please say exactly how you tested it, ie, which environment variables you set to what, what the makeinfo invocation was, what the input file was. I have had a great dea

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-07 Thread Sven Joachim
Hello Norbert, thanks a lot for working on this! I tried out your patch, but for my testcase, which is the Emacs Lisp Reference Manual in Emacs CVS (available for Debian in the emacs-snapshot package), it had no effect. :-( With LANG=de_DE.UTF-8 and running "make info" from the Emacs top level d

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-07 Thread Norbert Preining
Dear Karl, dear all! Short description: makeinfo: locale settings should not influence output files Long description: see http://bugs.debian.org/113988 You already mention in the TODO file that it would be good to use the document language instead of LANG for translating some messages (l

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-06 Thread Sven Joachim
Norbert Preining wrote: AFAIS there is nothing wrong with makeinfo. I strongly disagree with that and support Yann's and Josip's point of view in their messages for #113988. You could have a wishlist that makeinfo ignores the locales, but this could also be a conscious decision of the author

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-06 Thread Norbert Preining
Hi all! On Son, 05 Mär 2006, Julian Gilbey wrote: > This texinfo bug has further ramifications: [texinfo and locales] Ok, I picked up the bug and tried to understand. It is *really* old. AFAIS there is nothing wrong with makeinfo. You could have a wishlist that makeinfo ignores the locales, but

Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build

2006-03-05 Thread Julian Gilbey
Hi Norbert! This texinfo bug has further ramifications: On Sun, Mar 05, 2006 at 10:45:52AM +0100, Sven Joachim wrote: > Package: devscripts > Version: 2.9.15 > Severity: normal > > It is sad but true, the locale settings can have an influence on the output > of info files due to a bug in makeinf