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

[hunspell] 88/98: Imported Debian patch 1.3.2-5



This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch master
in repository hunspell.

commit d5255da45063e8c2276487f96bb97a3479a2d57f
Author: Rene Engelhard <rene@debian.org>
Date:   Tue Nov 12 21:32:11 2013 +0100

    Imported Debian patch 1.3.2-5
---
 debian/changelog         | 12 ++++++++++++
 debian/ispellaff2myspell | 28 +++++++++++++++-------------
 debian/rules             |  2 +-
 3 files changed, 28 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fa5d849..2ca1fbe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+hunspell (1.3.2-5) unstable; urgency=low
+
+  * apply patch from Gregor Hermann, thanks
+   - 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)
+
+ -- Rene Engelhard <rene@debian.org>  Tue, 12 Nov 2013 21:32:11 +0100
+
 hunspell (1.3.2-4) unstable; urgency=low
 
   * upload to unstable 
diff --git a/debian/ispellaff2myspell b/debian/ispellaff2myspell
index 6f2e79e..692571c 100644
--- a/debian/ispellaff2myspell
+++ b/debian/ispellaff2myspell
@@ -98,24 +98,24 @@ sub mylc{
 	}
     } 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 @@ if ( $replacements ){
 
 __END__
 
+=encoding UTF-8
+
 =head1 NAME
 
 B<ispellaff2myspell> - A program to convert ispell affix tables to myspell format.
@@ -402,8 +404,8 @@ flags and pass them unmodified.
 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 @@ If your encoding is currently unsupported you can send me a file with
 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 --git a/debian/rules b/debian/rules
index 5ac62d9..e2c7077 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,7 +52,7 @@ build-stamp:  config.status
 
 	$(MAKE)
 	$(MAKE) check
-	pod2man debian/ispellaff2myspell \
+	pod2man --utf8 debian/ispellaff2myspell \
 		> debian/ispellaff2myspell.1
 
 	touch build-stamp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/hunspell.git


Reply to: