From: Duilio J. P. <dp...@fc...> - 2005-03-22 12:35:52
|
Here is a patch to make libvisual have i18n using GNU gettext only. Please do the following: - Make a fresh checkout - Apply the patch - Make 'export NOCONFIGURE=1' (on bash) - Run autogen.sh - At some point, autogen.sh will stop it, and it will print the message: >Please use AM_GNU_GETTEXT([external]) in order to cause >autoconfiguration >to look for an external libintl. >Please create po/Makevars from the template in po/Makevars.template. >You can then remove po/Makevars.template. >Please run 'aclocal -I m4' to regenerate the aclocal.m4 file. >You need aclocal from GNU automake 1.5 (or newer) to do this. >Then run 'autoconf' to regenerate the configure file. >Please run 'automake m4/Makefile' to create m4/Makefile.in >You might also want to copy the convenience header file gettext.h >from the /usr/share/gettext directory into your package. >It is a wrapper around <libintl.h> that implements the configure -- >disable-nls >option. >Press Return to acknowledge the previous five paragraphs. - Keep going with autogen.sh, and when it finish, copy the attached Makevars file to the created 'po' subdir. - Copy also es_ES.po, es_AR.po, libvisual.pot, LINGUAS and POTFILES.in files to 'po' subdir. - Then run 'aclocal -I m4' - Then run 'automake m4/Makefile' - Then copy the attached gettext.h to 'libvisual' subdir. - Then run 'aclocal'. - Then run 'autoconf'. - Then run 'configure'. Let me known your results. Bye, Duilio. |