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

Mike Frysinger vapier at gentoo.org
Thu Oct 1 06:55:40 UTC 2009


On Monday 07 September 2009 18:01:14 Nicolas François wrote:
> On Sun, Aug 30, 2009 at 10:30:19PM +0200, Nicolas François wrote:
> > 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.
> 
> This did not work.
> 
> I applied the attached patch, which should behave correctly (not really
> tested either with make -j or not). I.e. it should allow to
>  * keep the variables in the POT and PO files
>  * build the manpages with the expanded entities.
>  * does not require screwing with config.xml

just tried a `make -j` with a quad core system and it indeed seems to work.  
thanks !
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20091001/9a198e3f/attachment.pgp>


More information about the Pkg-shadow-devel mailing list