On Mon, 19 Apr 1999 15:33:21 +0200 (MET DST), Jean-Marc Lasgouttes
wrote:

>>>>>> "Arnd" == Arnd Hanses <[EMAIL PROTECTED]> writes:
>
>Arnd> Hi, there is a new port by Hung-Chi Chu
>Arnd> <[EMAIL PROTECTED]> of GNU gettext-0.10.35 for
>Arnd> emx-0.9c/os2. It includes ported autoconfig m4 macros, which
>Arnd> should work on OS/2 emx, cygwin and UNIX.
>
>In 1.1, we use the macros installed by gettext, so things might become
>a bit complicated (due to automake)...

Yes those macros are for automake and slightly changed.
>
>Arnd> Has this already be tested with LyX? Should it be made standard
>Arnd> and checked for in configure/configure.cmd? Some additional
>Arnd> defines found in the OS/2 patched libintl.h of the included
>Arnd> LyX/intl gettext are missing, should this be synchronized?
>
>Could send me a set of changes for this (gettext)?

I'm not so sure, what set of changes you want: I don't think you need
the actual GNU changes for 0.10.35, surely you already have them. Mime
attached I'll send the OS/2 diff (9kb).

Greets,

        Arnd


Meanwhile I'll forward some comments of SMiyata:


===================BEGIN FORWARDED MESSAGE===================
>The switch is performed in 1.1.x  You just use not
>--with-include-gettext
>With LyX 1.0.x, don't bother.  

>One more remark.
>I really appreciate that "Hung-Chi Chu" <[EMAIL PROTECTED]>
>sets two types of entry points in the library intl.dll GNU gettext mangles its 
>function name when it is compiled independent
>of libc, opposed to when it is compiled as a part of libc.
>I've noted elsewhere that a mailing list was flooded with bug reports
>of freeBSD users who were mixing incompatible versions of gettext.
>
>FYI libintl comes with LyX 1.0 is compiled independent of libc, and
>both src/os2_defines.h in LyX 1.0 and src/include/os2_defines.h in
>LyX 1.1 assume such convention.  If we are going to use the DLL,
>then we can remove the two hackish #define's.

===================END FORWARDED MESSAGE===================

PS.
I just compiled and installed the new de.po and linked with his his dll
dynamically. No visible problems. [If I have the necessary time and
energy I may even try to shorten the translation, step by step, where I
find the form truncating in german especially annoying, so that it fits
better into the forms.]

PPS.
Just another remark to S.Miyata:
I asked:
#ifdef __EMX__
#undef GNULOCALEDIR
#define GNULOCALEDIR "/XFree86/lib/X11/locale"
#include <X11/Xlocale.h>

is only in your patch. 

I was in doubt whether

        SET LOCALEDIR=D:/XFREE86/LIB/X11/LOCALE

which is mandatory in XFree/2 would suffice?

Now I see GNULOCALEDIR has to be indicated somewhere for linking, e.g.
by configure.

gettext-0.10.35.diff.bz2

Reply via email to