diff --git a/office/dictionary/hunspell-dict-en/actions.py b/office/dictionary/hunspell-dict-en/actions.py new file mode 100644 index 0000000000..b732b19af1 --- /dev/null +++ b/office/dictionary/hunspell-dict-en/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools + +WorkDir = "wordlist" + +def install(): + pisitools.insinto("/usr/share/hunspell/", "en_*.dic") + pisitools.insinto("/usr/share/hunspell/", "en_*.aff") + + for f in ("en_AU", "en_BS", "en_BW", "en_BZ", "en_DK", "en_GH", "en_HK", "en_IE", "en_IN", "en_JM", "en_NA", "en_NG", "en_NZ", "en_SG", "en_TT", "en_ZA", "en_ZW"): + pisitools.dosym("en_GB-large.dic", "/usr/share/hunspell/%s.dic" % f) + pisitools.dosym("en_GB-large.aff", "/usr/share/hunspell/%s.aff" % f) + + pisitools.dosym("en_US.dic", "/usr/share/hunspell/en_PH.dic") + pisitools.dosym("en_US.aff", "/usr/share/hunspell/en_PH.aff") + + pisitools.dodoc("README*", "README*") diff --git a/office/dictionary/hunspell-dict-en/files/en_GB-singleletters.patch b/office/dictionary/hunspell-dict-en/files/en_GB-singleletters.patch new file mode 100644 index 0000000000..014929af7c --- /dev/null +++ b/office/dictionary/hunspell-dict-en/files/en_GB-singleletters.patch @@ -0,0 +1,56 @@ +--- wordlist.orig/en_GB.dic 2005-05-26 11:49:30.000000000 +0100 ++++ wordlist/en_GB.dic 2008-11-28 10:01:37.000000000 +0000 +@@ -1,4 +1,4 @@ +-46280 ++46286 + abaft + abbreviation/M + abdicate/DNGSn +@@ -2278,6 +2278,7 @@ + hysterectomy/SM + Hyundai/M + ICC/M ++i + icebox/SM + icicle/SM + iconoclasm/MS +@@ -2470,6 +2471,7 @@ + Ithacan + its + ix ++j + jackknife/DGMS + Jacqueline + Jaeger/M +@@ -2764,6 +2766,7 @@ + Mabel/M + Macedon + Macedonia/M ++m + macintosh/SM + MacIntyre + Mackenzie +@@ -3222,6 +3225,7 @@ + nuttiness/S + nymphomaniac/S + Oakland/M ++o + ob. + obeyer/EM + obfuscation/M +@@ -4797,6 +4801,7 @@ + tyro/SM + UFO/S + Ukrainian/S ++u + ulcerate/SGNDn + ulcerous + Ulrika/M +@@ -4962,6 +4967,7 @@ + vulnerability/SI + vulva/M + WAC ++w + wagon/SM + waitress/MS + Waldemar/M diff --git a/office/dictionary/hunspell-dict-en/files/en_US-strippedabbrevs.patch b/office/dictionary/hunspell-dict-en/files/en_US-strippedabbrevs.patch new file mode 100644 index 0000000000..0f4e1eee8e --- /dev/null +++ b/office/dictionary/hunspell-dict-en/files/en_US-strippedabbrevs.patch @@ -0,0 +1,8 @@ +--- wordlist/scowl/speller/en.dic.supp.orig 2008-11-28 10:10:01.000000000 +0000 ++++ wordlist/scowl/speller/en.dic.supp 2008-11-28 10:10:10.000000000 +0000 +@@ -21,3 +21,5 @@ + 7th/pt + 8th/pt + 9th/pt ++e.g. ++i.e. diff --git a/office/dictionary/hunspell-dict-en/files/mozilla_words.patch b/office/dictionary/hunspell-dict-en/files/mozilla_words.patch new file mode 100644 index 0000000000..23e33d88c9 --- /dev/null +++ b/office/dictionary/hunspell-dict-en/files/mozilla_words.patch @@ -0,0 +1,45 @@ +--- wordlist.orig/scowl/r/special/proper-names 2008-02-08 11:53:27.000000000 +0000 ++++ wordlist/scowl/r/special/proper-names 2008-02-08 12:06:00.000000000 +0000 +@@ -3,7 +3,9 @@ + Barack + Bernanke + Biden ++Camino + Bugzilla ++ChatZilla + Debian + Emacs + Gentoo +@@ -11,10 +13,14 @@ + ISO + Ispell + LyX ++Mandriva + Mozilla ++MySpell + PayPal ++SeaMonkey + SUSE + Slackware ++Sunbird + Thunderbird + Ubuntu + XEmacs +--- wordlist.orig/scowl/speller/en.aff 2008-02-08 20:28:24.000000000 +0000 ++++ wordlist/scowl/speller/en.aff 2008-02-08 20:28:45.000000000 +0000 +@@ -110,13 +110,14 @@ + SFX L Y 1 + SFX L 0 ment . + +-REP 88 ++REP 89 + REP a ei + REP ei a + REP a ey + REP ey a + REP ai ie + REP ie ai ++REP alot a_lot + REP are air + REP are ear + REP are eir diff --git a/office/dictionary/hunspell-dict-en/pspec.xml b/office/dictionary/hunspell-dict-en/pspec.xml new file mode 100644 index 0000000000..d02a26ccc9 --- /dev/null +++ b/office/dictionary/hunspell-dict-en/pspec.xml @@ -0,0 +1,53 @@ + + + + + hunspell-dict-en + http://wordlist.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + LGPLv2+ + BSD + locale:en + data + English hunspell dictionaries + hunspell-dict-en includes English (US, UK, etc.) hunspell dictionaries. + http://downloads.sourceforge.net/project/wordlist/speller/2015.05.18/hunspell-en_US-2015.05.18.zip + http://downloads.sourceforge.net/project/wordlist/speller/2015.05.18/hunspell-en_CA-2015.05.18.zip + http://downloads.sourceforge.net/project/wordlist/speller/2015.05.18/hunspell-en_GB-large-2015.05.18.zip + + + + hunspell-dict-en + + /usr/share + /usr/share/doc + + + + + + 2015-10-05 + 2015.05.18 + version bump + Ayhan Yalcinsoy + ayhanyalcinsoy@pisilinux.org + + + 2014-02-17 + 0.0_20090319 + Rebuild + Kamil Atlı + suvarice@gmail.com + + + 2010-10-13 + 0.0_20090319 + First release + Pisi Linux Admins + admins@pisilinux.org + + + \ No newline at end of file diff --git a/office/dictionary/hunspell-dict-en/translations.xml b/office/dictionary/hunspell-dict-en/translations.xml new file mode 100644 index 0000000000..ca3ff82f13 --- /dev/null +++ b/office/dictionary/hunspell-dict-en/translations.xml @@ -0,0 +1,8 @@ + + + + hunspell-dict-en + İngilizce hunspell sözlükleri + hunspell-dict-en İngilizce (US, UK vs.) hunspell sözlüklerini içerir. + +