From 8baab3c8d7a6f22888bd581cd5c6098fd2e4b5a8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:44:24 +0200 Subject: Adding upstream version 2:8.1.0875. Signed-off-by: Daniel Baumann --- runtime/spell/el/el_GR.diff | 204 ++++++++++++++++++++++++++++++++++++++++++++ runtime/spell/el/main.aap | 78 +++++++++++++++++ 2 files changed, 282 insertions(+) create mode 100644 runtime/spell/el/el_GR.diff create mode 100644 runtime/spell/el/main.aap (limited to 'runtime/spell/el') 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 ++ ++ # 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 + :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 : -- cgit v1.2.3