|
From: | H.G. Muller |
Subject: | Re: [XBoard-devel] possible gettext solution |
Date: | Sun, 21 Sep 2014 10:29:42 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
http://hgm.nubati.net/gettexttest.tar.gzThis is a DISTRIBUTION tar ball, made through 'make dist' on my system, after I gettextized (-f) the project for 0.17, and deleted m4/*. For me this builds without problems (as expected) after unpacking the tar ball in a fresh directory, starting with ./configure. I am curious whether it will also work for people that have a different gettext than 0.17 version installed.
I think it is important to make sure that making a distro tar ball on a machine with one gettext version and building it on one with another works, because that is eventually what we want to do. That is works on the same machine as where you invoke ./autogen.sh is IMO not conclusive evidence, as ./autogen.sh seems to take the liberty to mess with the gettext macros.
One thing that I noticed is that configure.ac now contains AM_GNU_GETTEXT_VERSION([0.17])(with extra square brackets); I have no idea whether this is significant. Of course the po/Makefile.in.in now also contains
GETTEXT_MACRO_VERSION = 0.17I also noticed that in this file there is a comparizon between $(GETTEXT_MACRO_VERSION) and @GETTEXT_MACRO_VERSION@ that triggers the "infrastructure mismatch" message when different, and that in po/Makefile.in the same line occurs with the @...@ changed into a hard 0.17.
aclocal.m4 contains AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) More about the other solutions later. H.G. Arun Persaud schreef op 9/20/2014 7:30 PM:
Hi I created two branches https://github.com/arunpersaud/xboard/tree/gettext-test https://github.com/arunpersaud/xboard/tree/gettext2 The first one removes the gettext version info in configure.ac, runs gettextize and has all files in git, whereas the second one removes all generated files from git and usees autopoint. Both seem to work on my computer, but then again, it also used to run on my computer before with the mixed setup. It would be great, if you could try both branches and let me know if you run into any problems. For both you should clone, run autogen.sh, configure and make (they probably still don't have the typo fix for the gtk branch, so just build the X version). Also try running autoreconfig (https://savannah.gnu.org/bugs/?39970). Currently I'll prefer the gettext2 branch, since there are less files in git... thanks Arun
[Prev in Thread] | Current Thread | [Next in Thread] |