summaryrefslogtreecommitdiffstats
path: root/runtime/spell/el
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:44:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:44:24 +0000
commit8baab3c8d7a6f22888bd581cd5c6098fd2e4b5a8 (patch)
tree3537e168b860f2742f6029d70501b5ed7d15d345 /runtime/spell/el
parentInitial commit. (diff)
downloadvim-upstream.tar.xz
vim-upstream.zip
Adding upstream version 2:8.1.0875.upstream/2%8.1.0875upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'runtime/spell/el')
-rw-r--r--runtime/spell/el/el_GR.diff204
-rw-r--r--runtime/spell/el/main.aap78
2 files changed, 282 insertions, 0 deletions
diff --git a/runtime/spell/el/el_GR.diff b/runtime/spell/el/el_GR.diff
new file mode 100644
index 0000000..4d74ec6
--- /dev/null
+++ b/runtime/spell/el/el_GR.diff
@@ -0,0 +1,204 @@
+*** el_GR.orig.aff Tue Aug 16 18:02:27 2005
+--- el_GR.aff Thu Sep 29 22:28:12 2005
+***************
+*** 572,574 ****
+ SFX J ù ïíôáò . # äÝíù > äÝíïíôáò
+!
+ SFX K Y 4
+--- 572,574 ----
+ SFX J ù ïíôáò . # äÝíù > äÝíïíôáò
+!
+ SFX K Y 4
+***************
+*** 619,621 ****
+
+!
+ SFX R Y 4
+--- 619,621 ----
+
+!
+ SFX R Y 4
+***************
+*** 626,628 ****
+
+!
+ SFX S Y 4
+--- 626,628 ----
+
+!
+ SFX S Y 4
+***************
+*** 646,648 ****
+
+!
+ SFX V Y 5
+--- 646,648 ----
+
+!
+ SFX V Y 5
+***************
+*** 686,688 ****
+
+!
+ SFX b Y 4
+--- 686,688 ----
+
+!
+ SFX b Y 4
+***************
+*** 758 ****
+--- 758,911 ----
+ SFX n ïò ï . # äñüìïò > äñüìï
++
++ # sound folding from Aspell
++ # version 0.0 03/14/2002
++ # 03/14/2002 Evripidis Papakostas <evris@source.gr>
++
++ # all the following double letters are pronounced as one
++ SAL ÂÂ- _
++ SAL Â Â
++ SAL ÃÃ ÃÊ
++ SAL Ã Ã
++ SAL ÄÄ- _
++ SAL Ä Ä
++ SAL ÆÆ- _
++ SAL Æ Æ
++ SAL ÈÈ- _
++ SAL È È
++ SAL ÊÊ- _
++ SAL ÊÓ Î
++ SAL Ê Ê
++ SAL ËË- _
++ SAL Ë Ë
++ SAL ÌÌ- _
++ SAL Ì Ì
++ SAL ÍÍ- _
++ SAL Í Í
++ SAL ÐÐ- _
++ SAL ÐÓ Ø
++ SAL Ð Ð
++ SAL ÑÑ- _
++ SAL Ñ Ñ
++ SAL ÓÓ- _
++ SAL Ó Ó
++ SAL ÔÔ- _
++ SAL Ô Ô
++ SAL ÖÖ- _
++ SAL Ö Ö
++ SAL ××- _
++ SAL × ×
++
++ # alpha + (ypsilon or ypsilon tonos) becomes alpha + beta
++ SAL Á¾< ÁÕ
++ SAL ÁÕÍÔ-- ÁÂ
++ SAL ÁÕÃÊ-- ÁÂ
++ SAL ÁÕÔÆ-- ÁÂ
++ SAL ÁÕ(ÃÄÆËÌÍÑ)- ÁÂ
++ SAL ÁÕÂ ÁÂ
++ SAL ÁÕ(ÁÅÇÉÏÙÕ¶¸¹º¼¿¾)- ÁÂ
++
++ # alpha + (ypsilon or ypsilon tonos) becomes alpha + phi
++ SAL ÁÕÖ ÁÖ
++ SAL ÁÕÔÓ-- ÁÖ
++ SAL ÁÕ(ÈÊÐÓÔ×)- ÁÖ
++ SAL ÁÕÎ- ÁÖ
++ SAL ÁÕØ- ÁÖ
++
++ # alpha + (iota or iota tonos) becomes epsilon
++ SAL Á(ɺ) Å
++
++ # alpha is alpha
++ SAL Á Á
++
++ # epsilon + (ypsilon or ypsilon tonos) becomes epsilon + vita
++ SAL ž< Õ
++ SAL ÅÕÍÔ-- ÅÂ
++ SAL ÅÕÃÊ-- ÅÂ
++ SAL ÅÕÔÆ-- ÅÂ
++ SAL ÅÕ(ÃÄÆËÌÍÑ)- ÅÂ
++ SAL ÅÕÂ ÅÂ
++ SAL ÅÕ(ÁÅÇÉÏÙÕ¶¸¹º¼¿¾)- ÅÂ
++
++ # epsilon + (ypsilon or ypsilon tonos) becomes epsilon + phi
++ SAL ÅÕÖ ÅÖ
++ SAL ÅÕÔÓ-- ÅÖ # GUESSED!
++ SAL ÅÕ(ÈÊÐÓÔ×)- ÅÖ
++ SAL ÅÕÎ- ÅÖ
++ SAL ÅÕØ- ÅÖ
++
++ # epsilon + (iota or iota tonos) becomes iota
++ SAL Å(ɺ) É
++
++ # epsilon is epsilon
++ SAL Å Å
++
++
++ # omikron + (iota or iota tonos) becomes iota
++ SAL Ï(ɺ) É
++
++ # omikron + (ypsilon or ypsilon tonos) becomes u
++ SAL Ï(Õ¾) ÏÕ
++
++ # omikron is omikron
++ SAL Ï Ï
++
++ # wmega becomes omikron
++ SAL Ù Ï
++
++ # ita becomes iota
++ SAL Ç É
++
++ # ypsilon + iota becomes iota
++ SAL ÕÉ É
++
++ # ypsilon becomes iota
++ SAL Õ É
++
++ # iota is iota
++ SAL É É
++
++ # double ksi becomes ksi
++ SAL ÎÎ- _
++
++ # ksi + sigma becomes ksi
++ SAL ÎÓ Î
++
++ # ksi is ksi
++ SAL Î Î
++
++ # psi + psi becomes psi
++ SAL ØØ- _
++
++ # psi + sigma becomes psi
++ SAL ØÓ Ø
++
++ # psi is psi
++ SAL Ø Ø
++
++
++ # iota dialitika becomes iota
++ SAL Ú É
++
++ # ypsilon dialitika becomes I
++ SAL Û É
++
++ # alpha tonos becomes alpha
++ SAL ¶ Á
++
++ # omikron tonos becomes omikron
++ SAL ¼ Ï
++
++ # iota tonos becomes iota
++ SAL º É
++
++ # epsilon tonos becomes epsilon
++ SAL ¸ Å
++
++ # ypsilon tonos becomes ypsilon
++ SAL ¾ Õ
++
++ # wmega tonos becomes omikron
++ SAL ¿ Ï
++
++ # ita tonos becomes iota
++ SAL ¹ É
diff --git a/runtime/spell/el/main.aap b/runtime/spell/el/main.aap
new file mode 100644
index 0000000..51fa0d3
--- /dev/null
+++ b/runtime/spell/el/main.aap
@@ -0,0 +1,78 @@
+# Aap recipe for Greek Vim spell files.
+
+# Use a freshly compiled Vim if it exists.
+@if os.path.exists('../../../src/vim'):
+ VIM = ../../../src/vim
+@else:
+ :progsearch VIM vim
+
+SPELLDIR = ..
+FILES = el_GR.aff el_GR.dic
+
+all: $SPELLDIR/el.iso-8859-7.spl $SPELLDIR/el.utf-8.spl ../README_el.txt
+
+$SPELLDIR/el.iso-8859-7.spl : $FILES
+ :sys env LANG=el_GR.ISO8859-7
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/el el_GR" -c q
+
+$SPELLDIR/el.utf-8.spl : $FILES
+ :sys env LANG=el_GR.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/el el_GR" -c q
+
+../README_el.txt : README_el_GR.txt
+ :copy $source $target
+
+#
+# Fetching the files from OpenOffice.org.
+#
+OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+:attr {fetch = $OODIR/%file%} el_GR.zip
+
+# The files don't depend on the .zip file so that we can delete it.
+# Only download the zip file if the targets don't exist.
+el_GR.aff el_GR.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch el_GR.zip
+ :sys $UNZIP el_GR.zip
+ :delete el_GR.zip
+ @if not os.path.exists('el_GR.orig.aff'):
+ :copy el_GR.aff el_GR.orig.aff
+ @if not os.path.exists('el_GR.orig.dic'):
+ :copy el_GR.dic el_GR.orig.dic
+ @if os.path.exists('el_GR.diff'):
+ :sys patch <el_GR.diff
+
+
+# Generate diff files, so that others can get the OpenOffice files and apply
+# the diffs to get the Vim versions.
+
+diff:
+ :assertpkg diff
+ :sys {force} diff -a -C 1 el_GR.orig.aff el_GR.aff >el_GR.diff
+ :sys {force} diff -a -C 1 el_GR.orig.dic el_GR.dic >>el_GR.diff
+
+
+# Check for updated OpenOffice spell files. When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+ :assertpkg unzip diff
+ :fetch el_GR.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../el_GR.zip
+ :sys {force} diff ../el_GR.orig.aff el_GR.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy el_GR.aff ../el_GR.new.aff
+ :sys {force} diff ../el_GR.orig.dic el_GR.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy el_GR.dic ../el_GR.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete el_GR.zip
+
+
+# vim: set sts=4 sw=4 :