gettext update?

2006-06-15 Thread Michael Gerz

Folks,

I can no longer compile the included gettext on Windows (with mingw/scons).

./intl/VERSION tells me that we use gettext-0.14.1 which is pretty old. 
Unless someone objects, I will upgrade to 0.14.5 later today.


Michael


Re: gettext update?

2006-06-15 Thread Jean-Marc Lasgouttes
 Michael == Michael Gerz [EMAIL PROTECTED] writes:

Michael Folks, I can no longer compile the included gettext on
Michael Windows (with mingw/scons).

Michael ./intl/VERSION tells me that we use gettext-0.14.1 which is
Michael pretty old. Unless someone objects, I will upgrade to 0.14.5
Michael later today.

Please be very careful with this. Do you have any solid reason to
believe that compilation with windows will be improve with latest
version?

I think we have some local modifications to gettext that have to be
merged back.

After looking at the NEWS file, all I see of interest to us is a
possible rewrite of the m4 code (which you do not care about) and
improved support for OSX (which is welcome also).

Did you take into account the remote possibility that scons is a work
in progress, before trying to update gettext just because it is old?

JMarc


Re: gettext update?

2006-06-15 Thread Bo Peng

I can no longer compile the included gettext on Windows (with mingw/scons).

./intl/VERSION tells me that we use gettext-0.14.1 which is pretty old.
Unless someone objects, I will upgrade to 0.14.5 later today.


It is difficult to test scons for all supported platforms, especially
given my limited access to windows. I am playing with lyx/gtk but I
think I will stop expanding scons for now and fix these bugs first.

Michael, could you send me your error message? Did you succeed before
with mingw/scons/gettext? I do not think my recent patches touch the
gettext part.

Cheers,
Bo


Re: gettext update?

2006-06-15 Thread Joost Verburg

Jean-Marc Lasgouttes wrote:

Please be very careful with this. Do you have any solid reason to
believe that compilation with windows will be improve with latest
version?


It is not necessary to change LyX SVN to get a more modern gettext, 
compiling without --with-included-gettext is also possible.


The next build of my installer will have binaries that are linked to an 
external libintl of the latest gettext. Everything seems to work fine.


Joost


Re: gettext update?

2006-06-15 Thread Abdelrazak Younes

Joost Verburg wrote:

Jean-Marc Lasgouttes wrote:

Please be very careful with this. Do you have any solid reason to
believe that compilation with windows will be improve with latest
version?


It is not necessary to change LyX SVN to get a more modern gettext, 
compiling without --with-included-gettext is also possible.


It is possible indeed but does it work? I have also succeded in linking 
with external intl (most recent gnuwin32 gettext complete package) but 
the localization did not work in the resulting executable.


The next build of my installer will have binaries that are linked to an 
external libintl of the latest gettext. Everything seems to work fine.


If it works, I would be interested in a detailled HOWTO...

Abdel.



Re: gettext update?

2006-06-15 Thread Joost Verburg

Abdelrazak Younes wrote:
It is not necessary to change LyX SVN to get a more modern gettext, 
compiling without --with-included-gettext is also possible.


It is possible indeed but does it work?


Yes, it works. The patch you need for Win32 gettext 0.14.5 is (from Cygwin):

http://wiki.lyx.org/uploads/Windows/Tools/gettext-0.14.5-cygwin-rdata.patch

If you set the LC_ALL environment variable before starting LyX 
everything is localized.


Joost


gettext update?

2006-06-15 Thread Michael Gerz

Folks,

I can no longer compile the included gettext on Windows (with mingw/scons).

./intl/VERSION tells me that we use gettext-0.14.1 which is pretty old. 
Unless someone objects, I will upgrade to 0.14.5 later today.


Michael


Re: gettext update?

2006-06-15 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes:

Michael> Folks, I can no longer compile the included gettext on
Michael> Windows (with mingw/scons).

Michael> ./intl/VERSION tells me that we use gettext-0.14.1 which is
Michael> pretty old. Unless someone objects, I will upgrade to 0.14.5
Michael> later today.

Please be very careful with this. Do you have any solid reason to
believe that compilation with windows will be improve with latest
version?

I think we have some local modifications to gettext that have to be
merged back.

After looking at the NEWS file, all I see of interest to us is a
possible rewrite of the m4 code (which you do not care about) and
improved support for OSX (which is welcome also).

Did you take into account the remote possibility that scons is a work
in progress, before trying to update gettext just because it is old?

JMarc


Re: gettext update?

2006-06-15 Thread Bo Peng

I can no longer compile the included gettext on Windows (with mingw/scons).

./intl/VERSION tells me that we use gettext-0.14.1 which is pretty old.
Unless someone objects, I will upgrade to 0.14.5 later today.


It is difficult to test scons for all supported platforms, especially
given my limited access to windows. I am playing with lyx/gtk but I
think I will stop expanding scons for now and fix these bugs first.

Michael, could you send me your error message? Did you succeed before
with mingw/scons/gettext? I do not think my recent patches touch the
gettext part.

Cheers,
Bo


Re: gettext update?

2006-06-15 Thread Joost Verburg

Jean-Marc Lasgouttes wrote:

Please be very careful with this. Do you have any solid reason to
believe that compilation with windows will be improve with latest
version?


It is not necessary to change LyX SVN to get a more modern gettext, 
compiling without --with-included-gettext is also possible.


The next build of my installer will have binaries that are linked to an 
external libintl of the latest gettext. Everything seems to work fine.


Joost


Re: gettext update?

2006-06-15 Thread Abdelrazak Younes

Joost Verburg wrote:

Jean-Marc Lasgouttes wrote:

Please be very careful with this. Do you have any solid reason to
believe that compilation with windows will be improve with latest
version?


It is not necessary to change LyX SVN to get a more modern gettext, 
compiling without --with-included-gettext is also possible.


It is possible indeed but does it work? I have also succeded in linking 
with external intl (most recent gnuwin32 gettext complete package) but 
the localization did not work in the resulting executable.


The next build of my installer will have binaries that are linked to an 
external libintl of the latest gettext. Everything seems to work fine.


If it works, I would be interested in a detailled HOWTO...

Abdel.



Re: gettext update?

2006-06-15 Thread Joost Verburg

Abdelrazak Younes wrote:
It is not necessary to change LyX SVN to get a more modern gettext, 
compiling without --with-included-gettext is also possible.


It is possible indeed but does it work?


Yes, it works. The patch you need for Win32 gettext 0.14.5 is (from Cygwin):

http://wiki.lyx.org/uploads/Windows/Tools/gettext-0.14.5-cygwin-rdata.patch

If you set the LC_ALL environment variable before starting LyX 
everything is localized.


Joost


Re: gettext update?

2005-09-19 Thread Jean-Marc Lasgouttes
 Michael == Michael Gerz [EMAIL PROTECTED] writes:

Michael Hello, last time I checked LyX/Win 1.4-MinGW, it crashed
Michael right after the start. The debugger pointed to some
Michael gettext-related problem.

Could we see the backtrace?

Michael Yesterday, I tried to recompile the whole sources and - by
Michael accident - I noticed a compiler warning in
Michael intl/printf-args.c, line 83. gcc told me that the wrong type
Michael of parameter is passed and that the program will stop at
Michael run-time if this line of code is reached (no joke).

Michael AFAICS, the sources in ./intl are based on gettext 0.14.1. I
Michael looked at the GNU server: version 0.14.5 is available.

Michael I can't tell you right now whether the new version actually
Michael fixes the problem but shouldn't we update gettext anyway?

What are the changes between these version. I'd rather avoid updating
if we are not sure this is useful.

JMarc


Re: gettext update?

2005-09-19 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes:

Michael> Hello, last time I checked LyX/Win 1.4-MinGW, it crashed
Michael> right after the start. The debugger pointed to some
Michael> gettext-related problem.

Could we see the backtrace?

Michael> Yesterday, I tried to recompile the whole sources and - by
Michael> accident - I noticed a compiler warning in
Michael> intl/printf-args.c, line 83. gcc told me that the wrong type
Michael> of parameter is passed and that the program will stop at
Michael> run-time if this line of code is reached (no joke).

Michael> AFAICS, the sources in ./intl are based on gettext 0.14.1. I
Michael> looked at the GNU server: version 0.14.5 is available.

Michael> I can't tell you right now whether the new version actually
Michael> fixes the problem but shouldn't we update gettext anyway?

What are the changes between these version. I'd rather avoid updating
if we are not sure this is useful.

JMarc


gettext update?

2005-09-16 Thread Michael Gerz

Hello,

last time I checked LyX/Win 1.4-MinGW, it crashed right after the start. 
The debugger pointed to some gettext-related problem.


Yesterday, I tried to recompile the whole sources and - by accident - I 
noticed a compiler warning in intl/printf-args.c, line 83. gcc told me 
that the wrong type of parameter is passed and that the program will 
stop at run-time if this line of code is reached (no joke).


AFAICS, the sources in ./intl are based on gettext 0.14.1. I looked at 
the GNU server: version 0.14.5 is available.


I can't tell you right now whether the new version actually fixes the 
problem but shouldn't we update gettext anyway?


Michael


gettext update?

2005-09-16 Thread Michael Gerz

Hello,

last time I checked LyX/Win 1.4-MinGW, it crashed right after the start. 
The debugger pointed to some gettext-related problem.


Yesterday, I tried to recompile the whole sources and - by accident - I 
noticed a compiler warning in intl/printf-args.c, line 83. gcc told me 
that the wrong type of parameter is passed and that the program will 
stop at run-time if this line of code is reached (no joke).


AFAICS, the sources in ./intl are based on gettext 0.14.1. I looked at 
the GNU server: version 0.14.5 is available.


I can't tell you right now whether the new version actually fixes the 
problem but shouldn't we update gettext anyway?


Michael