[Pkg-shadow-devel] [PATCH] man pages: dont muck around with config.xml

Nicolas François nicolas.francois at centraliens.net
Sun Aug 30 20:30:19 UTC 2009


Hello Mike,

On Thu, Aug 27, 2009 at 06:54:04AM -0400, vapier at gentoo.org wrote:
> Screwing with config.xml like this causes massive breakage in parallel
> builds and forcing an already slow generation step to run with one job
> makes it so much slower.
> 
> I don't really know what the purpose of this code was originally, but
> removing the moving of config.xml doesn't prevent generation of man pages
> on my system ...

This is a limitation of xml2po.
It needs to be called with --expand-all-entities, but this unfortunately
expand the config.xml entity, which forbid to change the configuration in
the translated manpages.
Removing the config.xml file before the generation of the POT and
translated xml files permits to reuse the same PO file for each configure
options.

This can probably be fixed by
 * moving the config.xml file
 * generating all the translated xml
 * moving back the config.xml file
 * generating all the manpages

I will have a look, but this might be tricky because of automake.

Best Regards,
-- 
Nekral



More information about the Pkg-shadow-devel mailing list