GNOME Bugzilla – Bug 122803
Conglomerate generates empty pot file name
Last modified: 2009-08-15 18:40:50 UTC
When running "intltool-update --pot" in the po dir of conglomerate to generate a pot file, the result is named ".pot". This is a serious problem as there are plenty of good reasons for not storing generated files such as pot files in cvs but of course we need a way of reliably generating it then.
Created attachment 20133 [details] [review] Proposed patch.
The problem was: intltool-update reads configure.in and uses the GETTEXT_PACKAGE variable for its POT file. In your version it was generated at autoconf time, so for configure.in it is an empty variable. So I simply hardcoded it. regs, Chris
Whoops, I've already commited a slightly different patch: --- configure.in.~1.44.~ Sun Sep 21 16:00:24 2003 +++ configure.in Sun Sep 21 16:07:27 2003 @@ -23,7 +23,7 @@ AM_PROG_LIBTOOL AC_PROG_INTLTOOL -GETTEXT_PACKAGE=$PACKAGE_NAME +GETTEXT_PACKAGE=AC_PACKAGE_NAME AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext]) So, this seems to be the correct way to do it, but I'm not entirely sure about it.
I've build Conglomerate from CVS with these changes, and everything seems to work just fine (crashes frequently but that doesn't seem related to this issue; translations are showing up correctly).
This really should be fixed in intltool-update. I've not been able to make it handle all possible cases of GETTEXT_PACKAGE. So please don't close this bug even if configure.in is changed with above patch. That would be a good reminder to fix intltool.
It is all ready in CVS. Resolution set to fixed. BTW: I don't like open bugs on a product for an other product.
Agreed. deaddog, if you think intltool needs improvement on this area then open an intltool bug report. You can still link to this bug report in that new one. But this bug report is about conglomerate's perviously broken pot file name, not intltools behavior nor anything else.
That's fine, I'll open intltool bug later. Though the root cause is intltool, not conglomerate.
closing deaddog favorite bug :-)