Re: Glib: AM_GLIB_GNU_GETTEXT



Hi Javier,

On 16/09/12 16:26, Javier Jardón wrote:
On 15 September 2012 20:16, Lanoxx <lanoxx gmx net> wrote:
Hi there,
Hey

# This will initialize the internationalization
# capabilities of glib (glib/gi18n.h) and gettext
IT_PROG_INTLTOOL([0.41.0])
AM_GNU_GETTEXT_VERSION([0.18.1])
AM_GNU_GETTEXT([external])

and in autogen.sh i only call autoreconf -ivs
Yeah this is correct. In general avoid the use of AM_GLIB_GNU_GETTEXT.
Check [1] for more info

If you want to use intltool, you have 2 options: remove the gettext
macros or keep them and add something like this to your autogen.sh:

autopoint --force
AUTOPOINT='intltoolize --automake --copy' autoreconf -ivs
thanks a lot for these comments. That makes it a lot more clear. It would be awesome if these explanations could be included into the API Docs [1]. I'm curious, what are the reasons that the glib-gettext macros were never deprecated? If they should not be used, then a deprecation warning would be quite useful.

[1] http://developer.gnome.org/glib/2.31/glib-I18N.html

Regards
Lanoxx

Regards

[1] http://blogs.gnome.org/jjardon/2010/10/08/use-upstream-gettext-instead-the-glib-one/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]