[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#724115: hunspell: FTBFS: POD error



On Fri, 08 Nov 2013 22:06:51 +0100, gregor herrmann wrote:

> here's a patch for this issue.

Now really :)


Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Alanis Morissette: Excuses
diff -u hunspell-1.3.2/debian/rules hunspell-1.3.2/debian/rules
--- hunspell-1.3.2/debian/rules
+++ hunspell-1.3.2/debian/rules
@@ -52,7 +52,7 @@
 
 	$(MAKE)
 	$(MAKE) check
-	pod2man debian/ispellaff2myspell \
+	pod2man --utf8 debian/ispellaff2myspell \
 		> debian/ispellaff2myspell.1
 
 	touch build-stamp
diff -u hunspell-1.3.2/debian/ispellaff2myspell hunspell-1.3.2/debian/ispellaff2myspell
--- hunspell-1.3.2/debian/ispellaff2myspell
+++ hunspell-1.3.2/debian/ispellaff2myspell
@@ -98,24 +98,24 @@
 	}
     } else {
 	if ( $charset eq "latin0" ){
-	    $lowercase='a-z�����������';
-	    $uppercase='A-Z������������������';
+	    $lowercase='a-zàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ½¨¸';
+	    $uppercase='A-ZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¼¦´';
 	} elsif ( $charset eq "latin1" ){
-	    $lowercase='a-z���������;
-	    $uppercase='A-Z���������������';
+	    $lowercase='a-zàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ';
+	    $uppercase='A-ZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ';
 	} elsif ( $charset eq "latin2" ){
-	    $lowercase='a-z�������������������;
-	    $uppercase='A-Z�������������������������';
+	    $lowercase='a-z±³µ¶¹º»¼¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ';
+	    $uppercase='A-Z¡£¥¦©ª«¬®¯ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ';
 	} elsif ( $charset eq "latin3" ){
-	    $lowercase='a-z����������������';
-	    $uppercase='A-Z����������������������;
+	    $lowercase='a-z±¶¹º»¼¿àáâäåæçèéêëìíîïñòóôõö÷øùúûüýþ';
+	    $uppercase='A-Z¡¦©ª«¬¯ÀÁÂÄÅÆÇÈÉÊËÌÍÎÏÑÒÓÔÕÖ×ØÙÚÛÜÝÞ';
 #	} elsif ( $charset eq "other_charset" ){
 #	    die "latin2 still unimplemented";
 	} else {
 	    if ( not $lowercase and not $uppercase ){
 		die "Unsupported charset [$charset]
 
-use explicitely --lowercase=string and --uppercase=string
+use explicitly --lowercase=string and --uppercase=string
 options. Remember that both string must match exactly, but 
 case changed.
 ";
@@ -327,6 +327,8 @@
 
 __END__
 
+=encoding UTF-8
+
 =head1 NAME
 
 B<ispellaff2myspell> - A program to convert ispell affix tables to myspell format.
@@ -402,8 +404,8 @@
 You will need a call to -e for each flag type, e.g., 
 B<-e "\\\\" -e "~\\\\"> (or B<-e '\\' -e '~\\'>). 
 
-When a prefix is explicitely set, the default value (anything starting by B<\>) 
-is disabled and you need to enable it explicitely as in previous example.
+When a prefix is explicitly set, the default value (anything starting by B<\>) 
+is disabled and you need to enable it explicitly as in previous example.
 
 =item B<--lowercase=s>      
 
@@ -442,8 +444,8 @@
 the two strings of lower and uppercase chars. Note that they must match 
 exactly but case changed. It will look something like
 
-  $lowercase='a-z���������;
-  $uppercase='A-Z���������������';
+  $lowercase='a-zàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ';
+  $uppercase='A-ZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ';
 
 =head1 SEE ALSO
 
diff -u hunspell-1.3.2/debian/changelog hunspell-1.3.2/debian/changelog
--- hunspell-1.3.2/debian/changelog
+++ hunspell-1.3.2/debian/changelog
@@ -1,3 +1,15 @@
+hunspell (1.3.2-4.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: POD error":
+    - update POD of ispellaff2myspell: 
+      + convert to UTF-8 and add =encoding directive
+      + additionally fix a typo
+    - call pod2man with --utf8 in debian/rules 
+    (Closes: #724115)
+
+ -- gregor herrmann <gregoa@debian.org>  Fri, 08 Nov 2013 21:59:36 +0100
+
 hunspell (1.3.2-4) unstable; urgency=low
 
   * upload to unstable 

Attachment: signature.asc
Description: Digital signature


Reply to: