[Po4a-devel] Error on 0.37 translated manpages

Neil Williams codehelp at debian.org
Sat Nov 21 00:51:13 UTC 2009


On Sat, 21 Nov 2009 01:31:25 +0100
Omar Campagne <ocampagne at gmail.com> wrote:

> Hello everybody:
> 
> 0.37 just hit the repos, so I downloaded it, and I've encountered some
> issus in the manpages :(

It's a bug. 

Index: share/po4a-build
===================================================================
RCS file: /cvsroot/po4a/po4a/share/po4a-build,v
retrieving revision 1.7
diff -p -u -b -B -r1.7 po4a-build
--- share/po4a-build	13 Nov 2009 12:17:26 -0000	1.7
+++ share/po4a-build	21 Nov 2009 00:49:00 -0000
@@ -317,7 +317,7 @@ for d in $BINARIES; do
 						eval_gettext "Processing \$l translations for \$X (1). . ."; echo
 						MANDIR=$BASEDIR/$P/man/$l/man1/
 						XML_CATALOG_FILES="/etc/xml/catalog" \
-						xsltproc -o $MANDIR --nonet $XSLFILE $XMLDIR/$X
+						xsltproc -o $MANDIR --nonet $XSLFILE $XMLDIR/$l/$X
 					fi
 				done
 				for X3 in $XMLMAN3; do
@@ -325,7 +325,7 @@ for d in $BINARIES; do
 						eval_gettext "Processing \$l translations for \$X3 (3). . ."; echo
 						MANDIR=$BASEDIR/$P/man/$l/man3/
 						XML_CATALOG_FILES="/etc/xml/catalog" \
-						xsltproc -o $MANDIR --nonet $XSLFILE $XMLDIR/$X3
+						xsltproc -o $MANDIR --nonet $XSLFILE $XMLDIR/$l/$X3
 					fi
 				done
 			fi

I'll make an updated release tomorrow.

> One last thing is that, since manpages "changed" section (3pm -> 3), you
> may still get both versions unless you trigger "#mandb" after
> installation. 

Those are cleaned up within the po4a build - check Build.PL
 
> Anyway, the trigger man-db in aptitude install process doesn't clean,
> but add manpages in my system.
> 
> Since 3pm are now "outdated", to which manpage does the
> system default if users don't trigger mandb? This issue might be just
> me, *seriously*, my Debian sometimes doesn't "refresh" random stuff.

3pm was never used as-is, it always went as 3 and the pm got lumped
into the manpage itself.


-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20091121/dc9b7f22/attachment.pgp>


More information about the Po4a-devel mailing list