Package: man2html
Version: 1.6c-2
Severity: minor
Tags: patch l10n

Hello,

Debian's man-db expects the French manpages to be encoded in ISO-8859-1,
not UTF-8.

This patch recode the distributed man pages during the build process.

Kind Regards,
-- 
Nekral
--- debian/rules.orig   2006-04-13 23:21:53.000000000 +0200
+++ debian/rules        2006-04-18 21:22:52.000000000 +0200
@@ -70,6 +70,10 @@
        install -m644 debian/lintian 
$(DESTDIR)/usr/share/lintian/overrides/man2html
        install -m644 debian/linda $(DESTDIR)/usr/share/linda/overrides/man2html
 
+       find $(BUILD_TREE)/man/fr -name 'man2html.*' -o -name 'hman.*' | while 
read mp; do \
+               iconv -o "$$mp.recoded" -f utf-8 -t latin1 "$$mp"|| exit 1; \
+               mv "$$mp.recoded" "$$mp"; \
+       done
        find $(BUILD_TREE)/man -name 'man2html.*' -o -name 'hman.*' | while 
read mp; do \
                lang=`echo $$mp| sed -e 's|.*/\(..\)/[^/]*$$|\1|'` ; \
                echo "Installing $$mp man page ($$lang)" ; \

Reply via email to