[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] getting gettext files automatically
From: |
Bruno Haible |
Subject: |
Re: [Bug-gnulib] getting gettext files automatically |
Date: |
Mon, 14 Jul 2003 20:08:28 +0200 |
User-agent: |
KMail/1.5 |
Paul Eggert wrote:
> Here's a proposed gnulib patch to automate the process of
> incorporating gettext's source files into gnulib.
Thanks, it will make my task easier in the future.
I'd prefer if you could use the appended additional patch on top of yours.
It changes two things:
- Take the localcharset module from intl/ not lib/ (they are identical
though).
- Add a comment about the wrong-looking (but currently correct)
vasprintf.h.
> It is a little weird that vasprintf.h comes from gettext-tools/lib
> whereas vasprintf.c comes from gettext-runtime/libasprintf, but right
> now I'm just documenting where the current sources come from, rather
> than changing what they do.
This is confusing me too, but it is correct. The module 'vasprintf'
is specified to provide the function if and only if the system has
no vasprintf(). Whereas libasprintf/vasprintf.h deals with the case
of a vasprintf() function that exists but is not POSIX compliant...
Bruno
*** config/srclist.txt.bak Mon Jul 14 19:32:04 2003
--- config/srclist.txt Mon Jul 14 19:59:38 2003
***************
*** 27,42 ****
$GETTEXT/gettext-runtime/libasprintf/vasnprintf.c lib gpl
$GETTEXT/gettext-runtime/libasprintf/vasnprintf.h lib gpl
$GETTEXT/gettext-runtime/libasprintf/vasprintf.c lib gpl
! $GETTEXT/gettext-tools/lib/config.charset lib gpl
$GETTEXT/gettext-tools/lib/gettext.h lib gpl
- $GETTEXT/gettext-tools/lib/localcharset.c lib gpl
- $GETTEXT/gettext-tools/lib/localcharset.h lib gpl
$GETTEXT/gettext-tools/lib/mkdtemp.c lib gpl
- $GETTEXT/gettext-tools/lib/ref-add.sin lib gpl
- $GETTEXT/gettext-tools/lib/ref-del.sin lib gpl
$GETTEXT/gettext-tools/lib/setenv.c lib gpl
$GETTEXT/gettext-tools/lib/unsetenv.c lib gpl
- $GETTEXT/gettext-tools/lib/vasprintf.h lib gpl
#
$LIBCSRC/argp/argp-ba.c lib gpl
$LIBCSRC/argp/argp-eexst.c lib gpl
--- 27,46 ----
$GETTEXT/gettext-runtime/libasprintf/vasnprintf.c lib gpl
$GETTEXT/gettext-runtime/libasprintf/vasnprintf.h lib gpl
$GETTEXT/gettext-runtime/libasprintf/vasprintf.c lib gpl
! # Ugly: we currently need to take vasprintf.h from the wrong directory.
! #$GETTEXT/gettext-runtime/libasprintf/vasprintf.h lib gpl (not yet)
! $GETTEXT/gettext-tools/lib/vasprintf.h lib gpl
!
! $GETTEXT/gettext-runtime/intl/config.charset lib gpl
! $GETTEXT/gettext-runtime/intl/localcharset.c lib gpl
! $GETTEXT/gettext-runtime/intl/localcharset.h lib gpl
! $GETTEXT/gettext-runtime/intl/ref-add.sin lib gpl
! $GETTEXT/gettext-runtime/intl/ref-del.sin lib gpl
!
$GETTEXT/gettext-tools/lib/gettext.h lib gpl
$GETTEXT/gettext-tools/lib/mkdtemp.c lib gpl
$GETTEXT/gettext-tools/lib/setenv.c lib gpl
$GETTEXT/gettext-tools/lib/unsetenv.c lib gpl
#
$LIBCSRC/argp/argp-ba.c lib gpl
$LIBCSRC/argp/argp-eexst.c lib gpl