tags 317880 patch
thanks

Hello,

I had a look at this bug.

It seems to me that the manuals and tutorials (not only the French ones)
were generated by upstream with a buggy docbook2html.

This bug can be fixed by regerating the documentation.
This can be done at build time until upstream regenerates them. This
require a build dependency on docbook-utils.

The HTML pages also need to be recoded in UTF-8.

Kind Regards,
-- 
Nekral
diff -rauN ../orig/hydrogen-0.9.2final/debian/control 
./hydrogen-0.9.2final/debian/control
--- ../orig/hydrogen-0.9.2final/debian/control  2006-02-10 21:14:14.000000000 
+0100
+++ ./hydrogen-0.9.2final/debian/control        2006-02-10 21:19:27.000000000 
+0100
@@ -2,7 +2,7 @@
 Section: sound
 Priority: optional
 Maintainer: Guenter Geiger (Debian/GNU) <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 3.0.0), cdbs, libqt3-mt-dev, libz-dev, 
pkg-config, libaudiofile-dev, libjack-dev, liblrdf-dev, libsndfile1-dev, 
libflac++-dev, libflac-dev (>= 1.1.1-3), libasound2-dev [!kfreebsd-i386]
+Build-Depends: debhelper (>> 3.0.0), cdbs, libqt3-mt-dev, libz-dev, 
pkg-config, libaudiofile-dev, libjack-dev, liblrdf-dev, libsndfile1-dev, 
libflac++-dev, libflac-dev (>= 1.1.1-3), libasound2-dev [!kfreebsd-i386], 
docbook-utils
 Standards-Version: 3.6.2
 
 Package: hydrogen
diff -rauN ../orig/hydrogen-0.9.2final/debian/patches/03_update_manuals.patch 
./hydrogen-0.9.2final/debian/patches/03_update_manuals.patch
--- ../orig/hydrogen-0.9.2final/debian/patches/03_update_manuals.patch  
1970-01-01 01:00:00.000000000 +0100
+++ ./hydrogen-0.9.2final/debian/patches/03_update_manuals.patch        
2006-02-11 00:54:22.000000000 +0100
@@ -0,0 +1,24 @@
+iIn the French manuals, the accentuated characters are missing.
+In the Spanish manuals, the accentuated characters don't have the right
+encodings.
+These manuals need to be recoded, and the html pages need to be
+regenerated until the generated files are fixed upstream.
+This requires a dependency on docbook-utils.
+
+--- /tmp/Makefile.in.orig      2006-02-10 23:55:12.000000000 +0100
++++ Makefile.in        2006-02-10 23:57:16.000000000 +0100
+@@ -214,6 +214,14 @@
+       @make -f hydrogenCUI.mak hydrogenCUI
+ 
+ install:
++      # The accentuated caracters are missing or badly encoded in the
++      # translated manuals. Recode the docbook files and regenerate the
++      # manuals.
++      cd data/doc/ && ./updateManuals.sh
++      for f in data/doc/*.html; do \
++          iconv -f latin1 -t utf8 < $$f > $$f.recoded; \
++          mv $$f.recoded $$f; \
++      done
+       @install -vD hydrogen $(DESTDIR)$(prefix)/bin/hydrogen
+       @install -vD hydrogenPlayer $(DESTDIR)$(prefix)/bin/hydrogenPlayer
+       @rm -rf $(DESTDIR)$(prefix)/share/hydrogen

Reply via email to