HUGE compling speedup
Christian Stimming
stimming at tuhh.de
Sun Aug 17 20:39:46 CDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Sonntag, 17. August 2003 18:40, Jon Lapham wrote:
> Could someone tell me again why we don't run "msgmerge" on the .po files
> in CVSand save the merged files?
Because the .po files are the sole responsibility of the translators. *They*
should run "msgmerge" every once in a while. We shouldn't.
> On my PIII800 a gazillion minutes of compiling GnuCash is spent running
> msgmerge, every friggin' time I recompile.
That's this stupid gettext/intltool/whatever version. Even running "msgmerge"
on our own doesn't help, because the recompiling of the .po catalogs will
happen after every single change any c code file. We had some discussion
about this earlier. I ended up editing the po/Makefile.in.in file and
commenting out the line where the INTLTOOL_UPDATE command is called. I think
it was this one (commenting out is achieved by adding the 'echo' in front):
$(POFILES): $(srcdir)/$(DOMAIN).pot
@lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}$(INTLTOOL_UPDATE) $${lang}.po";
This manual workaround has to be done every time when ./autogen.sh is called,
i.e., on the stable branch probably seldomly.
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iQCUAwUBPz+94mXAi+BfhivFAQGzFwP0DVYQc4mEldbkf0AFSVoOtiX05KmsEvTv
F+/w3JMMtN63+1EMVBWPMLA2AtwwOQok48klM5FyBaI1qVtJ0SRG3ZqhCRSqWYbQ
FsHfbsslOZ1nWmBb3m+HQRGUl0rtw14Pg45PsFnIVHiTwnShfnSynhq2EqBbWGs6
LUzLgo02qg==
=tkQ/
-----END PGP SIGNATURE-----
More information about the gnucash-devel
mailing list