HelloDaiki,

Thanks for the explanation.

On 05/28/2015 03:26 AM, Daiki Ueno wrote:
Assaf Gordon <[email protected]> writes:
It seems that 'PO_DEPENDS_ON_POT' is not defined anywhere

Actually, that variable is set to 'yes' in po/Makevars.template
...
However, if you request a gettext infrastructure of version '0.19',
po/Makevars.template is not upgraded.  That was a mistake in the 0.19

Trying to see how I ended up with version 0.19 - could it be not because of the 
installed 'gettext' on my system (which was 0.19.4), but because of the version 
currently in gnulib?

To demonstrate with GNU Hello:

    # installed version is  0.19.4
    $ gettext --version  |head -n1
    gettext (GNU gettext-runtime) 0.19.4

    # Start with a fresh copy
    $ git clone git://git.sv.gnu.org/hello.git
    $ cd hello
    $ ./bootstrap

    # Which version is used?
    $ grep ^GETTEXT po/Makefile.in.in
    GETTEXT_MACRO_VERSION = 0.18

    # Pull latest gnulib version
    $ git submodule update --remote
    $ git add gnulib
    $ git ci -m 'maint: update gnulib\n'
    $ ./bootstrap

    # Updated to version 0.19
    $ grep ^GETTEXT po/Makefile.in.in
    GETTEXT_MACRO_VERSION = 0.19

    # But no PO_DEPENDS?
    $ grep PO_DEPENDS po/Makevars.template || echo not found
    not found

If this is the reason, what's the best way to fix it?
Will running "gettextize -f" fix it, and will not be overridden next time I run 
"./bootstrap" ?

Thanks,
 - assaf


Reply via email to