diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-16 23:01:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-16 23:01:50 +0000 |
commit | 5b8d8fdb526bd21dbac64a3ea815a1e628b93b41 (patch) | |
tree | b5374790a1bada07bc6aa142919591fc4898e0bb /runtime/spell | |
parent | ae5bce1c127136a650ee25c4c78d3d334cc07859 (diff) |
updated for version 7.0131v7.0131
Diffstat (limited to 'runtime/spell')
40 files changed, 752 insertions, 100 deletions
diff --git a/runtime/spell/af/main.aap b/runtime/spell/af/main.aap index d393c5fe67..ec5382509f 100644 --- a/runtime/spell/af/main.aap +++ b/runtime/spell/af/main.aap @@ -11,11 +11,11 @@ FILES = af_ZA.aff af_ZA.dic all: $SPELLDIR/af.latin1.spl $SPELLDIR/af.utf-8.spl ../README_af.txt -$SPELLDIR/af.latin1.spl : $VIM $FILES +$SPELLDIR/af.latin1.spl : $FILES :sys env LANG=af_ZA.ISO8859-1 $VIM -u NONE -e -c "mkspell! $SPELLDIR/af af_ZA" -c q -$SPELLDIR/af.utf-8.spl : $VIM $FILES +$SPELLDIR/af.utf-8.spl : $FILES :sys env LANG=af_ZA.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/af af_ZA" -c q diff --git a/runtime/spell/bg/main.aap b/runtime/spell/bg/main.aap index 7849526ed0..5d984be51e 100644 --- a/runtime/spell/bg/main.aap +++ b/runtime/spell/bg/main.aap @@ -1,4 +1,4 @@ -# Aap recipe for Czech Vim spell files. +# Aap recipe for Bulgarian Vim spell files. # Use a freshly compiled Vim if it exists. @if os.path.exists('../../../src/vim'): @@ -11,14 +11,15 @@ FILES = bg_BG.aff bg_BG.dic all: $SPELLDIR/bg.cp1251.spl $SPELLDIR/bg.utf-8.spl ../README_bg.txt -$SPELLDIR/bg.cp1251.spl : $VIM $FILES +$SPELLDIR/bg.cp1251.spl : $FILES :sys env LANG=bg_BG.CP1251 $VIM -u NONE -e -c "mkspell! $SPELLDIR/bg bg_BG" -c q -$SPELLDIR/bg.utf-8.spl : $VIM $FILES +$SPELLDIR/bg.utf-8.spl : $FILES :sys env LANG=bg_BG.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/bg bg_BG" -c q ../README_bg.txt: README_bg_BG.txt :copy $source $target + :sys $VIM $target -e -c "set ff=unix" -c wq # # Fetching the files from OpenOffice.org. diff --git a/runtime/spell/ca/main.aap b/runtime/spell/ca/main.aap index b2f7350b6d..2182f29164 100644 --- a/runtime/spell/ca/main.aap +++ b/runtime/spell/ca/main.aap @@ -11,11 +11,11 @@ FILES = ca_ES.aff ca_ES.dic all: $SPELLDIR/ca.latin1.spl $SPELLDIR/ca.utf-8.spl ../README_ca.txt -$SPELLDIR/ca.latin1.spl : $VIM $FILES +$SPELLDIR/ca.latin1.spl : $FILES :sys env LANG=ca_ES.ISO8859-1 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ca ca_ES" -c q -$SPELLDIR/ca.utf-8.spl : $VIM $FILES +$SPELLDIR/ca.utf-8.spl : $FILES :sys env LANG=ca_ES.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ca ca_ES" -c q diff --git a/runtime/spell/cs/main.aap b/runtime/spell/cs/main.aap index 5ead6d0a33..53ae46fea1 100644 --- a/runtime/spell/cs/main.aap +++ b/runtime/spell/cs/main.aap @@ -12,13 +12,13 @@ FILES = cs_CZ.aff cs_CZ.dic all: $SPELLDIR/cs.iso-8859-2.spl $SPELLDIR/cs.utf-8.spl \ $SPELLDIR/cs.cp1250.spl ../README_cs.txt -$SPELLDIR/cs.iso-8859-2.spl : $VIM $FILES +$SPELLDIR/cs.iso-8859-2.spl : $FILES :sys env LANG=cs_CZ.ISO8859-2 $VIM -u NONE -e -c "mkspell! $SPELLDIR/cs cs_CZ" -c q -$SPELLDIR/cs.utf-8.spl : $VIM $FILES +$SPELLDIR/cs.utf-8.spl : $FILES :sys env LANG=cs_CZ.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/cs cs_CZ" -c q -$SPELLDIR/cs.cp1250.spl : $VIM $FILES +$SPELLDIR/cs.cp1250.spl : $FILES :sys $VIM -u NONE -e -c "set enc=cp1250" -c "mkspell! $SPELLDIR/cs cs_CZ" -c q ../README_cs.txt: README_cs_CZ.txt diff --git a/runtime/spell/da/da_DK.diff b/runtime/spell/da/da_DK.diff new file mode 100644 index 0000000000..afcb8d3bcb --- /dev/null +++ b/runtime/spell/da/da_DK.diff @@ -0,0 +1,16 @@ +*** da_DK.orig.aff Sun Aug 14 20:04:31 2005 +--- da_DK.aff Mon Aug 15 14:03:06 2005 +*************** +*** 6,7 **** +--- 6,16 ---- + ++ FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ++ ++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿ ++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? ++ ++ MIDWORD '- ++ + # Foranstilling af u- diff --git a/runtime/spell/da/main.aap b/runtime/spell/da/main.aap index 53e3716483..b84a80f932 100644 --- a/runtime/spell/da/main.aap +++ b/runtime/spell/da/main.aap @@ -1,4 +1,4 @@ -# Aap recipe for French Vim spell files. +# Aap recipe for Danish Vim spell files. # Use a freshly compiled Vim if it exists. @if os.path.exists('../../../src/vim'): @@ -11,11 +11,11 @@ FILES = da_DK.aff da_DK.dic all: $SPELLDIR/da.latin1.spl $SPELLDIR/da.utf-8.spl ../README_da.txt -$SPELLDIR/da.latin1.spl : $VIM $FILES +$SPELLDIR/da.latin1.spl : $FILES :sys env LANG=da_DK.ISO8859-1 $VIM -u NONE -e -c "mkspell! $SPELLDIR/da da_DK" -c q -$SPELLDIR/da.utf-8.spl : $VIM $FILES +$SPELLDIR/da.utf-8.spl : $FILES :sys env LANG=da_DK.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/da da_DK" -c q diff --git a/runtime/spell/de/main.aap b/runtime/spell/de/main.aap index df608e1b7f..718e78c6ff 100644 --- a/runtime/spell/de/main.aap +++ b/runtime/spell/de/main.aap @@ -32,11 +32,11 @@ READMES = README_de_$*(REGIONS).txt all: $SPELLDIR/de.latin1.spl $SPELLDIR/de.utf-8.spl ../README_de.txt -$SPELLDIR/de.latin1.spl : $VIM $FILES +$SPELLDIR/de.latin1.spl : $FILES :sys env LANG=de_DE.ISO8859-1 $VIM -u NONE -e -c "mkspell! $SPELLDIR/de $DE_REGIONS" -c q -$SPELLDIR/de.utf-8.spl : $VIM $FILES +$SPELLDIR/de.utf-8.spl : $FILES :sys env LANG=de_DE.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/de $DE_REGIONS" -c q diff --git a/runtime/spell/el/main.aap b/runtime/spell/el/main.aap new file mode 100644 index 0000000000..51fa0d36ec --- /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 : diff --git a/runtime/spell/en.ascii.spl b/runtime/spell/en.ascii.spl Binary files differindex c77ef9af79..9d2b068c44 100644 --- a/runtime/spell/en.ascii.spl +++ b/runtime/spell/en.ascii.spl diff --git a/runtime/spell/en.latin1.spl b/runtime/spell/en.latin1.spl Binary files differindex 851f7141ff..95b5363947 100644 --- a/runtime/spell/en.latin1.spl +++ b/runtime/spell/en.latin1.spl diff --git a/runtime/spell/en.utf-8.spl b/runtime/spell/en.utf-8.spl Binary files differindex d6b7836444..8b2edc6923 100644 --- a/runtime/spell/en.utf-8.spl +++ b/runtime/spell/en.utf-8.spl diff --git a/runtime/spell/en/en_AU.diff b/runtime/spell/en/en_AU.diff index c0ee62d6bb..2d6e42c561 100644 --- a/runtime/spell/en/en_AU.diff +++ b/runtime/spell/en/en_AU.diff @@ -2352,7 +2352,7 @@ ! SFX 3 o ist's o ! SFX 3 0 ist's [^eoy] *** en_AU.orig.dic Fri Apr 15 13:20:36 2005 ---- en_AU.dic Sun Jul 3 17:11:07 2005 +--- en_AU.dic Tue Aug 16 17:03:44 2005 *************** *** 912,914 **** Alaska/M @@ -2603,25 +2603,26 @@ Vilnius/M ! vim/M vinaigrette/MS ---- 43742,43744 ---- +--- 43742,43745 ---- Vilnius/M ! Vim/M +! vim/? vinaigrette/MS *************** *** 45494,45496 **** yippee - y/K YMCA ---- 45487,45488 ---- +--- 45488,45489 ---- *************** *** 45586,45588 **** zap/SGRD - z/d Zealanders ---- 45578,45579 ---- +--- 45579,45580 ---- *************** *** 45655 **** ---- 45646,45653 ---- +--- 45647,45654 ---- zymurgy/S + nd + the the/! diff --git a/runtime/spell/en/en_CA.diff b/runtime/spell/en/en_CA.diff index 904e0c6203..c6319ce865 100644 --- a/runtime/spell/en/en_CA.diff +++ b/runtime/spell/en/en_CA.diff @@ -165,7 +165,7 @@ ! SFX G 0 ing [^e] *** en_CA.orig.dic Sat Apr 16 14:40:06 2005 ---- en_CA.dic Sun Jul 3 17:09:40 2005 +--- en_CA.dic Tue Aug 16 17:03:55 2005 *************** *** 46,48 **** R/G @@ -405,6 +405,15 @@ + Moolenaar/M Bresenham/M *************** +*** 40455,40457 **** + proneness/MS +! transl + Conchita/M +--- 40454,40456 ---- + proneness/MS +! transl. + Conchita/M +*************** *** 50272,50273 **** --- 50271,50273 ---- Dutch/M @@ -415,19 +424,20 @@ hatchery/MS ! vim/SM compatriot/MS ---- 52565,52567 ---- +--- 52565,52568 ---- hatchery/MS ! Vim/SM +! vim/? compatriot/MS *************** *** 53490,53491 **** ---- 53490,53492 ---- +--- 53491,53493 ---- unsearchable + searchable felicitous/IY *************** *** 62341 **** ---- 62342,62349 ---- +--- 62343,62350 ---- data/M + et al. + the the/! diff --git a/runtime/spell/en/en_GB.diff b/runtime/spell/en/en_GB.diff index 6032c25588..714077d4b9 100644 --- a/runtime/spell/en/en_GB.diff +++ b/runtime/spell/en/en_GB.diff @@ -2356,7 +2356,7 @@ ! SFX 3 o ist's o ! SFX 3 0 ist's [^eoy] *** en_GB.orig.dic Sun Jul 3 18:05:07 2005 ---- en_GB.dic Sun Jul 3 18:19:25 2005 +--- en_GB.dic Tue Aug 16 17:05:18 2005 *************** *** 630,632 **** Byrne/M @@ -2482,7 +2482,7 @@ vindaloo/S --- 30760,30763 ---- villein/SM -! vim/M? +! vim/? ! Vim/M vindaloo/S *************** diff --git a/runtime/spell/en/en_NZ.diff b/runtime/spell/en/en_NZ.diff index 4e28fff4ed..3eee718515 100644 --- a/runtime/spell/en/en_NZ.diff +++ b/runtime/spell/en/en_NZ.diff @@ -2353,7 +2353,7 @@ ! SFX 3 o ist's o ! SFX 3 0 ist's [^eoy] *** en_NZ.orig.dic Fri Apr 15 13:20:36 2005 ---- en_NZ.dic Sun Jul 3 17:11:34 2005 +--- en_NZ.dic Tue Aug 16 17:05:28 2005 *************** *** 4,6 **** 2ZB @@ -2591,82 +2591,83 @@ Vilnius/M ! vim/M vinaigrette/MS ---- 44313,44315 ---- +--- 44313,44316 ---- Vilnius/M ! Vim/M +! vim/? vinaigrette/MS *************** *** 45906,45908 **** y'all - prey/M yacht/M5SmGD ---- 45885,45886 ---- +--- 45886,45887 ---- *************** *** 46198,46200 **** rata/M - kaka/M waka/M ---- 46176,46177 ---- +--- 46177,46178 ---- *************** *** 46216,46218 **** jandal/MS - Swanndri/M hoon/MS ---- 46193,46194 ---- +--- 46194,46195 ---- *************** *** 46242,46244 **** Invercargill/M - Te Alexandra/M ---- 46218,46219 ---- +--- 46219,46220 ---- *************** *** 46261,46263 **** Kawerau/M - Kerikeri/M Lyttelton/M ---- 46236,46237 ---- +--- 46237,46238 ---- *************** *** 46491,46493 **** Waianakarua - Hakatere Swin ---- 46465,46466 ---- +--- 46466,46467 ---- *************** *** 46690,46692 **** Omarama/M - Wairarapa/M Kilda/M ---- 46663,46664 ---- +--- 46664,46665 ---- *************** *** 46711,46713 **** Wellsford/M - Akaroa/M Avonhead/M ---- 46683,46684 ---- +--- 46684,46685 ---- *************** *** 46838,46840 **** Ballantyne's - DB Monteith's ---- 46809,46810 ---- +--- 46810,46811 ---- *************** *** 46920,46922 **** Egmont/M - Waitaki/M katipo/M ---- 46890,46891 ---- +--- 46891,46892 ---- *************** *** 46956,46958 **** Sunnyside/M - Wairau/M Waikoropupu ---- 46925,46926 ---- +--- 46926,46927 ---- *************** *** 47141,47142 **** Burkina ! Faso/M \ No newline at end of file ---- 47109,47117 ---- +--- 47110,47118 ---- Burkina ! Faso/M ! nd diff --git a/runtime/spell/en/en_US.diff b/runtime/spell/en/en_US.diff index 99ddf0a18b..17051dcf8c 100644 --- a/runtime/spell/en/en_US.diff +++ b/runtime/spell/en/en_US.diff @@ -172,7 +172,7 @@ + REP ie y REP i ee *** en_US.orig.dic Fri Apr 15 13:20:36 2005 ---- en_US.dic Sun Jul 3 16:59:28 2005 +--- en_US.dic Tue Aug 16 17:03:31 2005 *************** *** 5944,5946 **** bk @@ -467,6 +467,15 @@ ! sings sybarite/MS *************** +*** 56906,56908 **** + transit/SGVMD +! transl + translatability/M +--- 56905,56907 ---- + transit/SGVMD +! transl. + translatability/M +*************** *** 57728,57730 **** TX ! t/XTJBG @@ -501,16 +510,17 @@ vi/MDR ! vim/MS vinaigrette/MS ---- 59537,59539 ---- +--- 59537,59540 ---- vi/MDR ! Vim/MS +! vim/? vinaigrette/MS *************** *** 61534,61536 **** WWW ! w/XTJGV WY ---- 61533,61536 ---- +--- 61534,61537 ---- WWW ! wens ! wings @@ -520,19 +530,19 @@ yew/SM - y/F Yggdrasil/M ---- 61750,61751 ---- +--- 61751,61752 ---- *************** *** 62058,62060 **** Zsigmondy/M ! z/TGJ Zubenelgenubi/M ---- 62057,62059 ---- +--- 62058,62060 ---- Zsigmondy/M ! zings Zubenelgenubi/M *************** *** 62077 **** ---- 62076,62083 ---- +--- 62077,62084 ---- zymurgy/S + nd + the the/! diff --git a/runtime/spell/en/main.aap b/runtime/spell/en/main.aap index 37a9ed10e1..9e4b98ea75 100644 --- a/runtime/spell/en/main.aap +++ b/runtime/spell/en/main.aap @@ -16,17 +16,17 @@ FILES = en_US.aff en_US.dic all: $SPELLDIR/en.latin1.spl $SPELLDIR/en.utf-8.spl \ $SPELLDIR/en.ascii.spl ../README_en.txt -$SPELLDIR/en.latin1.spl : $VIM $FILES +$SPELLDIR/en.latin1.spl : $FILES :sys env LANG=en_US.ISO8859-1 $VIM -u NONE -e -c "mkspell! $SPELLDIR/en en_US en_AU en_CA en_GB en_NZ" -c q -$SPELLDIR/en.utf-8.spl : $VIM $FILES +$SPELLDIR/en.utf-8.spl : $FILES :sys env LANG=en_US.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/en en_US en_AU en_CA en_GB en_NZ" -c q -$SPELLDIR/en.ascii.spl : $VIM $FILES +$SPELLDIR/en.ascii.spl : $FILES :sys $VIM -u NONE -e -c "mkspell! -ascii $SPELLDIR/en en_US en_AU en_CA en_GB en_NZ" -c q diff --git a/runtime/spell/eo/eo_l3.diff b/runtime/spell/eo/eo_l3.diff new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/runtime/spell/eo/eo_l3.diff diff --git a/runtime/spell/eo/main.aap b/runtime/spell/eo/main.aap new file mode 100644 index 0000000000..19b7555ab5 --- /dev/null +++ b/runtime/spell/eo/main.aap @@ -0,0 +1,80 @@ +# Aap recipe for Esperanto 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 = eo_l3.aff eo_l3.dic + +all: $SPELLDIR/eo.iso-8859-3.spl $SPELLDIR/eo.utf-8.spl ../README_eo.txt + +$SPELLDIR/eo.iso-8859-3.spl : $FILES + :sys $VIM -u NONE -e -c "set enc=iso-8859-3" + -c "mkspell! $SPELLDIR/eo eo_l3" -c q + +$SPELLDIR/eo.utf-8.spl : $FILES + :sys $VIM -u NONE -e -c "set enc=utf-8" + -c "mkspell! $SPELLDIR/eo eo_l3" -c q + +../README_eo.txt : README_eo_l3.txt + :copy $source $target + # fix missing newline + :sys $VIM $target -e -c "set ff=unix" -c wq + +# +# Fetching the files from OpenOffice.org. +# +OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries +:attr {fetch = $OODIR/%file%} eo.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. +eo_l3.aff eo_l3.dic: {buildcheck=} + :assertpkg unzip patch + :fetch eo.zip + :sys $UNZIP eo.zip + :delete eo.zip + @if not os.path.exists('eo_l3.orig.aff'): + :copy eo_l3.aff eo_l3.orig.aff + @if not os.path.exists('eo_l3.orig.dic'): + :copy eo_l3.dic eo_l3.orig.dic + @if os.path.exists('eo_l3.diff'): + :sys patch <eo_l3.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 eo_l3.orig.aff eo_l3.aff >eo_l3.diff + :sys {force} diff -a -C 1 eo_l3.orig.dic eo_l3.dic >>eo_l3.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 eo.zip + :mkdir tmp + :cd tmp + @try: + @import stat + :sys $UNZIP ../eo.zip + :sys {force} diff ../eo_l3.orig.aff eo_l3.aff >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy eo_l3.aff ../eo_l3.new.aff + :sys {force} diff ../eo_l3.orig.dic eo_l3.dic >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy eo_l3.dic ../eo_l3.new.dic + @finally: + :cd .. + :delete {r}{f}{q} tmp + :delete eo.zip + + +# vim: set sts=4 sw=4 : diff --git a/runtime/spell/fo/fo_FO.diff b/runtime/spell/fo/fo_FO.diff new file mode 100644 index 0000000000..212befe8d0 --- /dev/null +++ b/runtime/spell/fo/fo_FO.diff @@ -0,0 +1,14 @@ +*** fo_FO.orig.aff Tue Aug 16 17:39:22 2005 +--- fo_FO.aff Tue Aug 16 17:41:00 2005 +*************** +*** 6 **** +--- 6,14 ---- + ++ FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ++ ++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿ ++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? ++ ++ MIDWORD '- diff --git a/runtime/spell/fo/main.aap b/runtime/spell/fo/main.aap new file mode 100644 index 0000000000..948d4a472d --- /dev/null +++ b/runtime/spell/fo/main.aap @@ -0,0 +1,78 @@ +# Aap recipe for Faroese 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 = fo_FO.aff fo_FO.dic + +all: $SPELLDIR/fo.latin1.spl $SPELLDIR/fo.utf-8.spl ../README_fo.txt + +$SPELLDIR/fo.latin1.spl : $FILES + :sys env LANG=fo_FO.ISO8859-1 + $VIM -u NONE -e -c "mkspell! $SPELLDIR/fo fo_FO" -c q + +$SPELLDIR/fo.utf-8.spl : $FILES + :sys env LANG=fo_FO.UTF-8 + $VIM -u NONE -e -c "mkspell! $SPELLDIR/fo fo_FO" -c q + +../README_fo.txt : README_fo_FO.txt Copyright + :cat $source >! $target + +# +# Fetching the files from OpenOffice.org. +# +OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries +:attr {fetch = $OODIR/%file%} fo_FO.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. +fo_FO.aff fo_FO.dic: {buildcheck=} + :assertpkg unzip patch + :fetch fo_FO.zip + :sys $UNZIP fo_FO.zip + :delete fo_FO.zip + @if not os.path.exists('fo_FO.orig.aff'): + :copy fo_FO.aff fo_FO.orig.aff + @if not os.path.exists('fo_FO.orig.dic'): + :copy fo_FO.dic fo_FO.orig.dic + @if os.path.exists('fo_FO.diff'): + :sys patch <fo_FO.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 fo_FO.orig.aff fo_FO.aff >fo_FO.diff + :sys {force} diff -a -C 1 fo_FO.orig.dic fo_FO.dic >>fo_FO.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 fo_FO.zip + :mkdir tmp + :cd tmp + @try: + @import stat + :sys $UNZIP ../fo_FO.zip + :sys {force} diff ../fo_FO.orig.aff fo_FO.aff >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy fo_FO.aff ../fo_FO.new.aff + :sys {force} diff ../fo_FO.orig.dic fo_FO.dic >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy fo_FO.dic ../fo_FO.new.dic + @finally: + :cd .. + :delete {r}{f}{q} tmp + :delete fo_FO.zip + + +# vim: set sts=4 sw=4 : diff --git a/runtime/spell/fr/main.aap b/runtime/spell/fr/main.aap index 9e51039a43..e7424326d5 100644 --- a/runtime/spell/fr/main.aap +++ b/runtime/spell/fr/main.aap @@ -11,11 +11,11 @@ FILES = fr_FR.aff fr_FR.dic all: $SPELLDIR/fr.latin1.spl $SPELLDIR/fr.utf-8.spl ../README_fr.txt -$SPELLDIR/fr.latin1.spl : $VIM $FILES +$SPELLDIR/fr.latin1.spl : $FILES :sys env LANG=fr_FR.ISO8859-1 $VIM -u NONE -e -c "mkspell! $SPELLDIR/fr fr_FR" -c q -$SPELLDIR/fr.utf-8.spl : $VIM $FILES +$SPELLDIR/fr.utf-8.spl : $FILES :sys env LANG=fr_FR.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/fr fr_FR" -c q diff --git a/runtime/spell/gl/gl_ES.diff b/runtime/spell/gl/gl_ES.diff new file mode 100644 index 0000000000..1ddcf78528 --- /dev/null +++ b/runtime/spell/gl/gl_ES.diff |