[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] gettext-0.10.40 installs files in the wrong directories
From: |
Adrian Bunk |
Subject: |
Re: [patch] gettext-0.10.40 installs files in the wrong directories |
Date: |
Mon, 29 Oct 2001 13:41:38 +0100 (CET) |
On Fri, 26 Oct 2001, Bruno Haible wrote:
> > The following patch against gettext-0.10.40 fixes this:
>
> --- po/Makefile.in.in.old Sun Oct 7 22:58:26 2001
> +++ po/Makefile.in.in Sun Oct 7 22:59:12 2001
> @@ -106,7 +106,7 @@
> @catalogs='$(CATALOGS)'; \
> for cat in $$catalogs; do \
> cat=`basename $$cat`; \
> - lang=`echo $$cat | sed 's/\.gmo$$//'`; \
> + lang=`echo $$cat | sed 's/\.gmo$$//' | sed 's/\.mo$$//'`; \
> dir=$(localedir)/$$lang/LC_MESSAGES; \
> $(mkinstalldirs) $(DESTDIR)$$dir; \
> if test -r $$cat; then \
>
> There must be a version mismatch somewhere on your side. If the
> package is using the corresponding gettext.m4 macro from
> gettext-0.10.40, the elements of $(CATALOGS) and $(GMOFILES) will all
> end in .gmo, not .mo. For a correct use of gettext (i.e. take both
> m4/gettext.m4 and po/Makefile.in.in from the same version), your patch
> is a nop.
Ah, thanks for this explanation!
I saw this problem in several GNOME programs and I'll send bug reports
that they have to upgrade the gettext macros.
> Bruno
cu
Adrian
--
Get my GPG key: finger address@hidden | gpg --import
Fingerprint: B29C E71E FE19 6755 5C8A 84D4 99FC EA98 4F12 B400