Bill Allombert <[EMAIL PROTECTED]> (14/12/2005):
> On Wed, Dec 14, 2005 at 08:34:58AM +0100, Christian Perrier wrote:
> > What I can't figure out is whether you don't want to use po4a at
> > all....or just avoid shipping PO files in your tarball.
> 
> I don't want the _upstream_ build system to require po4a. I don't mind
> about the Debian build system, provide the translation are not specific
> t Debian.

You can add an autoconf check. Please see the two patches attached. Once
applied, just do not remove the regenerated manpages. If there is po4a
on the system, then po files will be updated and manpages regenerated.
If not, it is just the same as the current situation.

> There are other issues with po4a, mainly that the output does not match
> the currentl manpage layout, so it make harder to review, but that can
> probably be fixed.

Do you have an example of this layout dismatch? I am sure the po4a
developers are willing to fix these bugs... if they are aware of them.

> > > Yes, but given the current state of the English manpages, does it worth
> > > the trouble ? I don't mind the French translation since I can fix both
> > > the English and French at once.
> > > 
> > > If the manpages are important enough to be translated, they must probably 
> > > be rewritten first. Which I am doing slowly, but I am not a good English
> > > writer anyway.
> > 
> > Manpages are always important. And translated manpages are important
> > *as long as they are up-to-date*.
> > 
> > The usual objection against translated manpages is that they're often
> > outdated...which is true with a manual translation system.
> 
> That not the issue either. The issue is that some of the _original_ 
> manpages are not up-to-date and poorly written. Whatever process we use,
> the translations are not going to be up-to-date either, and probably
> full of mistake because the original was unclear.

To be translated is one of the best way to be reviewed. Tranlators
should tell the maintainer if some sentences are not understandable.
To ship out-of-date manpages is another problem...


Christian Perrier <[EMAIL PROTECTED]> (14/12/2005):
> (surrealistic discussion we have among 3 French-speaking
> people...:-)))

+1

Cheers,

-- 
Thomas Huriaux
--- configure.ac        2005-10-31 20:36:50.000000000 +0100
+++ configure.ac.new    2005-12-15 16:29:31.000000000 +0100
@@ -8,6 +8,14 @@
 dnl Checks for programs.
 AC_PROG_CXX
 
+AC_PATH_PROG(PO4A, po4a)
+if test "x$PO4A" = "x" ; then
+  AM_CONDITIONAL(USE_PO4A, false)
+else
+  AM_CONDITIONAL(USE_PO4A, true)
+fi
+
 AC_PROG_INSTALL
 
 dnl Checks for libraries.
--- Makefile.am 2005-12-11 21:21:54.000000000 +0100
+++ Makefile.am.new     2005-12-15 16:30:50.000000000 +0100
@@ -26,8 +26,6 @@
 
 %.gz:   %
        gzip --best --force --stdout $< > $@
-clean-local:
-       rm -f menu-one-file.html
 
 maintainer-clean-local: 
        rm -rf menu.html *.info* *.txt*
@@ -60,3 +58,23 @@
        rm -r $(DESTDIR)$(pkgdocdir)
        rm -r $(DESTDIR)$(pkgdatadir)/default
        rm    $(DESTDIR)$(infodir)/menu.info.gz
+
+
+if USE_PO4A
+
+BUILT_SOURCES = po4a-all
+
+po4a-all:
+       $(PO4A) po4a/po4a.cfg
+
+po4a-clean:
+       $(PO4A) po4a/po4a.cfg
+
+clean-local: po4a-clean
+       rm -f menu-one-file.html
+
+else
+clean-local:
+       rm -f menu-one-file.html
+
+endif

Attachment: signature.asc
Description: Digital signature

Reply via email to