After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 436241 - POTFILES.skip should allow skipping directories
POTFILES.skip should allow skipping directories
Status: VERIFIED FIXED
Product: intltool
Classification: Deprecated
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: intltool maintainers
intltool maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-06 00:32 UTC by Sven Neumann
Modified: 2008-06-06 08:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Neumann 2007-05-06 00:32:01 UTC
In the gimp module we have multiple text domains and maintain multiple po directories. In each of these, 'intltool-update -m' detects a long list of files that are missing from POTFILES.in. We would like to fix this but maintaining the POTFILES.skip files would be quite a pain.

It would make our lifes a lot easier if POTFILES.skip could contain directory names and intltool-update would then skip the listed directory entirely. That way we could easily exclude plug-ins from the core translation domain and vice versa.

I am filing this as a bug report instead of an enhancement request because with the Makefile.in.in installed by recent versions of intltool, 'intltool-update -m' is run in a distcheck hook. This means that I can't run 'make distcheck' until we fix all POTFILES.skip files. Please either remove this hook or make it easier for us to maintain POTFILES.skip.
Comment 1 Andreas Røsdal 2007-06-05 18:27:31 UTC
The gnome-games module is also annoyed by this bug.
Comment 2 Abel Cheung 2007-06-06 09:05:42 UTC
No matter whether this problem should be fixed in this way or by any other mean, allowing directory to be skipped could be a good thing to add for intltool.
Comment 3 Rodney Dawes 2008-04-12 19:09:40 UTC
Fixed in SVN trunk. You can now ignore directories by simply placing the directory name in POTFILES.skip.

For exmaple to ignore the libgimp/ sub-directory, you can simply just place "libgimp" in po/POTFILES.skip.
Comment 4 Sven Neumann 2008-04-13 17:36:34 UTC
Thanks a lot. Desperately waiting for the next intltool release...
Comment 5 Sven Neumann 2008-06-06 08:46:24 UTC
We are now using this feature in gimp trunk. Seems to work nicely with intltool 0.40.0. Thanks again for this change. It makes maintaining the POTFILES.skip files a lot easier.