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

[hunspell] 31/98: Imported Debian patch 1.1.5-5



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

rene pushed a commit to branch master
in repository hunspell.

commit f58abe564eccbada61e6eb9841188c738ab5d331
Author: Rene Engelhard <rene@debian.org>
Date:   Wed Apr 11 16:11:04 2007 +0200

    Imported Debian patch 1.1.5-5
---
 debian/changelog                     |  7 ++++++
 debian/patches/00list                |  1 +
 debian/patches/14_aspell_conv.dpatch | 49 ++++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 829846b..5f6854f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+hunspell (1.1.5-5) unstable; urgency=low
+
+  * add info to hunspell(4) from SF tracker #1610863 how to convert aspell
+    dicts (closes: #324639)
+
+ -- Rene Engelhard <rene@debian.org>  Wed, 11 Apr 2007 16:11:04 +0200
+
 hunspell (1.1.5-4) unstable; urgency=low
 
   * upload to unstable 
diff --git a/debian/patches/00list b/debian/patches/00list
index d953c54..15f8a57 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -6,4 +6,5 @@
 11_tools_headers
 12_get_csconv
 13_badheader
+14_aspell_conv
 99_build_stuff
diff --git a/debian/patches/14_aspell_conv.dpatch b/debian/patches/14_aspell_conv.dpatch
new file mode 100644
index 0000000..56fada8
--- /dev/null
+++ b/debian/patches/14_aspell_conv.dpatch
@@ -0,0 +1,49 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 14_aspell_conv.dpatch by  <rene@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad hunspell-1.1.5~/man/hunspell.4 hunspell-1.1.5/man/hunspell.4
+--- hunspell-1.1.5~/man/hunspell.4	2007-03-14 14:37:31.000000000 +0100
++++ hunspell-1.1.5/man/hunspell.4	2007-04-11 14:36:27.000000000 +0200
+@@ -1023,6 +1023,38 @@
+ Hunspell has supported only the first 65536 characters (Basic Multilingual Plane)
+ of Unicode Standard, yet.
+ 
++.SH "Conversion of aspell dictionaries"
++Aspell dictionaries can be easily converted into hunspell. Conversion steps:
++
++\fBdictionary (xx.cwl -> xx.wl):\fR
++
++.nf
++preunzip xx.cwl
++wc -l < xx.wl > xx.dic
++cat xx.wl >> xx.dic
++.fi
++
++\fBaffix file\fR
++
++If the affix file exists, copy it:
++.nf
++cp xx_affix.dat xx.aff
++.fi
++If not, create it with the suitable character encoding (see xx.dat)
++.nf
++echo "SET ISO8859-x" > xx.aff
++.fi
++or
++.nf
++echo "SET UTF-8" > xx.aff
++.fi
++
++It's useful to add a TRY option with the characters of the dictionary with
++frequency order to set edit distance suggestions:
++.nf
++echo "TRY qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM" >>xx.aff
++.fi
++
+ .SH "SEE ALSO"
+ .B hunspell (1),
+ .B ispell (1),

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


Reply to: