Bug#560704: intltool: please ignore “translations” in .pc folder

Yves-Alexis Perez corsac at debian.org
Fri Dec 11 14:40:06 UTC 2009


Package: intltool
Version: 0.40.6-2
Severity: normal

Hi,

I got a new bug report saying that one package FTBFS because of an error
from intltool-update. I got that error multiple time (this is the first
time it appears in a rebuild for a package already in the archive, I
find that weird but maybe intltool behavior changed).

The problem is shown in the following build log part:

----
make[2]: Entering directory `/build/user-xfce4-timer-plugin_0.6.1-2-amd64-hCQRpu/xfce4-timer-plugin-0.6.1/po'
XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8" INTLTOOL_EXTRACT=/usr/bin/intltool-extract srcdir=. /usr/bin/intltool-update --gettext-package xfce4-timer-plugin --pot
rm -f missing notexist
srcdir=. /usr/bin/intltool-update -m
The following files contain translations and are currently not in use. Please consider adding these to the POTFILES.in file, located in the po/ directory.

.pc/01_improve-timer-stop.patch/src/xfcetimer.c

If some of these files are left out on purpose then please add them to
POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list of left out files has been written in the current directory.
Please report to ilgar_eroglu at yahoo.com
if [ -r missing -o -r notexist ]; then \
    exit 1; \
  fi
make[2]: *** [check] Error 1
make[2]: Leaving directory `/build/user-xfce4-timer-plugin_0.6.1-2-amd64-hCQRpu/xfce4-timer-plugin-0.6.1/po'
----

Basically, one patch I added to the package contains translatable
strings (sometimes even only in the context) and so the file in .pc
contains them too. But there's no point in having them checked by
intltool-update since .pc is just a quilt stuff.

I guess it should be automagically ignored, so it'd be nice if the
feature was added to intltool.

What do you think?

Cheers,
--
Yves-Alexis Perez

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-rc8-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages intltool depends on:
ii  automake [automaken]         1:1.11-1    A tool for generating GNU Standard
ii  automake1.7 [automaken]      1.7.9-9     A tool for generating GNU Standard
ii  file                         5.03-4      Determines file type using "magic"
ii  gettext                      0.17-8      GNU Internationalization utilities
ii  libxml-parser-perl           2.36-1.1+b1 Perl module for parsing XML files
ii  patch                        2.6-2       Apply a diff file to an original
ii  perl                         5.10.1-8    Larry Wall's Practical Extraction 

intltool recommends no packages.

intltool suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list