summaryrefslogtreecommitdiff
path: root/runtime/spell
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-01 20:46:49 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-01 20:46:49 +0000
commite344bead3ecc16a0982d157e8c19050f6dff4e0c (patch)
tree34da48120172b9e2efc8c559733c2b69db5a24ba /runtime/spell
parentda2303d96b0f55d30e9b5b57d3459d5e1ea22ec2 (diff)
downloadvim-git-e344bead3ecc16a0982d157e8c19050f6dff4e0c.tar.gz
updated for version 7.0140v7.0140
Diffstat (limited to 'runtime/spell')
-rw-r--r--runtime/spell/cy/cy_GB.diff9
-rw-r--r--runtime/spell/cy/main.aap82
-rw-r--r--runtime/spell/da/main.aap1
-rw-r--r--runtime/spell/en.ascii.splbin566616 -> 566617 bytes
-rw-r--r--runtime/spell/en.latin1.splbin568720 -> 568721 bytes
-rw-r--r--runtime/spell/en.utf-8.splbin569151 -> 569152 bytes
-rw-r--r--runtime/spell/fo/main.aap1
-rw-r--r--runtime/spell/fr/main.aap4
-rw-r--r--runtime/spell/ga/ga_IE.diff27
-rw-r--r--runtime/spell/ga/main.aap79
-rw-r--r--runtime/spell/gd/gd_GB.diff26
-rw-r--r--runtime/spell/gd/main.aap78
-rw-r--r--runtime/spell/hr/main.aap4
-rw-r--r--runtime/spell/id/id_ID.diff22
-rw-r--r--runtime/spell/id/main.aap79
-rw-r--r--runtime/spell/it/main.aap5
-rw-r--r--runtime/spell/ku/ku_TR.diff0
-rw-r--r--runtime/spell/ku/main.aap82
-rw-r--r--runtime/spell/la/la.diff12
-rw-r--r--runtime/spell/la/main.aap78
-rw-r--r--runtime/spell/lt/lt_LT.diff0
-rw-r--r--runtime/spell/lt/main.aap78
-rw-r--r--runtime/spell/lv/main.aap83
-rw-r--r--runtime/spell/main.aap7
-rw-r--r--runtime/spell/mg/main.aap79
-rw-r--r--runtime/spell/mg/mg_MG.diff26
-rw-r--r--runtime/spell/mi/main.aap80
-rw-r--r--runtime/spell/mi/mi_NZ.diff10
-rw-r--r--runtime/spell/ms/main.aap81
-rw-r--r--runtime/spell/ms/ms_MY.diff24
-rw-r--r--runtime/spell/nb/main.aap78
-rw-r--r--runtime/spell/nb/nb_NO.diff63
-rw-r--r--runtime/spell/nn/main.aap78
-rw-r--r--runtime/spell/nn/nn_NO.diff25
-rw-r--r--runtime/spell/pt/main.aap123
-rw-r--r--runtime/spell/pt/pt_BR.diff46
-rw-r--r--runtime/spell/pt/pt_PT.diff27
-rw-r--r--runtime/spell/ro/main.aap81
-rw-r--r--runtime/spell/ro/ro_RO.diff42
-rw-r--r--runtime/spell/rw/main.aap79
-rw-r--r--runtime/spell/rw/rw_RW.diff13
-rw-r--r--runtime/spell/sl/main.aap81
-rw-r--r--runtime/spell/sl/sl_SI.diff11
-rw-r--r--runtime/spell/sv/main.aap79
-rw-r--r--runtime/spell/sv/sv_SE.diff40
-rw-r--r--runtime/spell/sw/main.aap79
-rw-r--r--runtime/spell/sw/sw_KE.diff13
-rw-r--r--runtime/spell/tl/main.aap78
-rw-r--r--runtime/spell/tl/tl_PH.diff18
-rw-r--r--runtime/spell/tn/main.aap82
-rw-r--r--runtime/spell/tn/tn_ZA.diff10
-rw-r--r--runtime/spell/uk/main.aap57
-rw-r--r--runtime/spell/uk/uk_UA.diff17
-rw-r--r--runtime/spell/yi/!yi.diff8
-rw-r--r--runtime/spell/yi/!yi_tr.diff8
-rw-r--r--runtime/spell/zu/main.aap83
-rw-r--r--runtime/spell/zu/zu_ZA.diff8
57 files changed, 2359 insertions, 25 deletions
diff --git a/runtime/spell/cy/cy_GB.diff b/runtime/spell/cy/cy_GB.diff
new file mode 100644
index 000000000..511e7188b
--- /dev/null
+++ b/runtime/spell/cy/cy_GB.diff
@@ -0,0 +1,9 @@
+*** cy_GB.orig.aff Wed Aug 31 21:42:03 2005
+--- cy_GB.aff Wed Aug 31 21:43:10 2005
+***************
+*** 81,82 ****
+--- 81,84 ----
+
++ MIDWORD '-
++
+ PFX M Y 18
diff --git a/runtime/spell/cy/main.aap b/runtime/spell/cy/main.aap
new file mode 100644
index 000000000..ce6cb840f
--- /dev/null
+++ b/runtime/spell/cy/main.aap
@@ -0,0 +1,82 @@
+# Aap recipe for Welsh 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 = cy_GB.aff cy_GB.dic
+
+all: $SPELLDIR/cy.iso-8859-14.spl $SPELLDIR/cy.utf-8.spl \
+ ../README_cy.txt
+
+$SPELLDIR/cy.iso-8859-14.spl : $FILES
+ :sys $VIM -u NONE -e -c "set enc=iso-8859-14"
+ -c "mkspell! $SPELLDIR/cy cy_GB" -c q
+
+$SPELLDIR/cy.utf-8.spl : $FILES
+ :sys $VIM -u NONE -e -c "set enc=utf-8"
+ -c "mkspell! $SPELLDIR/cy cy_GB" -c q
+
+../README_cy.txt : README_cy_GB.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%} cy_GB.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.
+cy_GB.aff cy_GB.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch cy_GB.zip
+ :sys $UNZIP cy_GB.zip
+ :delete cy_GB.zip
+ :sys $VIM cy_GB.aff -e -c "set ff=unix" -c update -c q
+ :sys $VIM cy_GB.dic -e -c "set ff=unix" -c update -c q
+ :sys $VIM README_cy_GB.txt -e -c "set ff=unix" -c update -c q
+ @if not os.path.exists('cy_GB.orig.aff'):
+ :copy cy_GB.aff cy_GB.orig.aff
+ @if not os.path.exists('cy_GB.orig.dic'):
+ :copy cy_GB.dic cy_GB.orig.dic
+ @if os.path.exists('cy_GB.diff'):
+ :sys patch <cy_GB.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 cy_GB.orig.aff cy_GB.aff >cy_GB.diff
+ :sys {force} diff -a -C 1 cy_GB.orig.dic cy_GB.dic >>cy_GB.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 cy_GB.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../cy_GB.zip
+ :sys {force} diff ../cy_GB.orig.aff cy_GB.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy cy_GB.aff ../cy_GB.new.aff
+ :sys {force} diff ../cy_GB.orig.dic cy_GB.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy cy_GB.dic ../cy_GB.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete cy_GB.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/da/main.aap b/runtime/spell/da/main.aap
index b84a80f93..65e1a2f7d 100644
--- a/runtime/spell/da/main.aap
+++ b/runtime/spell/da/main.aap
@@ -35,6 +35,7 @@ da_DK.aff da_DK.dic: {buildcheck=}
:fetch da_DK.zip
:sys $UNZIP da_DK.zip
:delete da_DK.zip
+ :delete contributors COPYING Makefile da_DK.excluded
@if not os.path.exists('da_DK.orig.aff'):
:copy da_DK.aff da_DK.orig.aff
@if not os.path.exists('da_DK.orig.dic'):
diff --git a/runtime/spell/en.ascii.spl b/runtime/spell/en.ascii.spl
index 360e1ae9c..0bbe6998f 100644
--- a/runtime/spell/en.ascii.spl
+++ b/runtime/spell/en.ascii.spl
Binary files differ
diff --git a/runtime/spell/en.latin1.spl b/runtime/spell/en.latin1.spl
index 03820d56f..4d6f5ae62 100644
--- a/runtime/spell/en.latin1.spl
+++ b/runtime/spell/en.latin1.spl
Binary files differ
diff --git a/runtime/spell/en.utf-8.spl b/runtime/spell/en.utf-8.spl
index 1013907ee..d630a7663 100644
--- a/runtime/spell/en.utf-8.spl
+++ b/runtime/spell/en.utf-8.spl
Binary files differ
diff --git a/runtime/spell/fo/main.aap b/runtime/spell/fo/main.aap
index 948d4a472..b9be542cf 100644
--- a/runtime/spell/fo/main.aap
+++ b/runtime/spell/fo/main.aap
@@ -35,6 +35,7 @@ fo_FO.aff fo_FO.dic: {buildcheck=}
:fetch fo_FO.zip
:sys $UNZIP fo_FO.zip
:delete fo_FO.zip
+ :delete contributors fo_FO.excluded Makefile COPYING
@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'):
diff --git a/runtime/spell/fr/main.aap b/runtime/spell/fr/main.aap
index e7424326d..1b70b83d7 100644
--- a/runtime/spell/fr/main.aap
+++ b/runtime/spell/fr/main.aap
@@ -19,8 +19,8 @@ $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
-../README_fr.txt : README_fr_FR.txt
- :copy $source $target
+../README_fr.txt : README_fr_FR.txt lisez-moi.txt
+ :cat $source >!$target
#
# Fetching the files from OpenOffice.org.
diff --git a/runtime/spell/ga/ga_IE.diff b/runtime/spell/ga/ga_IE.diff
new file mode 100644
index 000000000..9b72853dc
--- /dev/null
+++ b/runtime/spell/ga/ga_IE.diff
@@ -0,0 +1,27 @@
+*** ga_IE.orig.aff Wed Aug 31 16:48:49 2005
+--- ga_IE.aff Wed Aug 31 16:49:43 2005
+***************
+*** 37,38 ****
+--- 37,58 ----
+
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MIDWORD '-
++
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
++
+ PFX S Y 18
diff --git a/runtime/spell/ga/main.aap b/runtime/spell/ga/main.aap
new file mode 100644
index 000000000..d745de5f4
--- /dev/null
+++ b/runtime/spell/ga/main.aap
@@ -0,0 +1,79 @@
+# Aap recipe for Irish 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 = ga_IE.aff ga_IE.dic
+
+all: $SPELLDIR/ga.latin1.spl $SPELLDIR/ga.utf-8.spl ../README_ga.txt
+
+# I don't have an Irish locale, use the Dutch one instead.
+$SPELLDIR/ga.latin1.spl : $FILES
+ :sys env LANG=nl_NL.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/ga ga_IE" -c q
+
+$SPELLDIR/ga.utf-8.spl : $FILES
+ :sys env LANG=nl_NL.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/ga ga_IE" -c q
+
+../README_ga.txt : README_ga_IE.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%} ga_IE.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.
+ga_IE.aff ga_IE.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch ga_IE.zip
+ :sys $UNZIP ga_IE.zip
+ :delete ga_IE.zip
+ @if not os.path.exists('ga_IE.orig.aff'):
+ :copy ga_IE.aff ga_IE.orig.aff
+ @if not os.path.exists('ga_IE.orig.dic'):
+ :copy ga_IE.dic ga_IE.orig.dic
+ @if os.path.exists('ga_IE.diff'):
+ :sys patch <ga_IE.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 ga_IE.orig.aff ga_IE.aff >ga_IE.diff
+ :sys {force} diff -a -C 1 ga_IE.orig.dic ga_IE.dic >>ga_IE.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 ga_IE.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../ga_IE.zip
+ :sys {force} diff ../ga_IE.orig.aff ga_IE.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy ga_IE.aff ../ga_IE.new.aff
+ :sys {force} diff ../ga_IE.orig.dic ga_IE.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy ga_IE.dic ../ga_IE.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete ga_IE.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/gd/gd_GB.diff b/runtime/spell/gd/gd_GB.diff
new file mode 100644
index 000000000..616bae724
--- /dev/null
+++ b/runtime/spell/gd/gd_GB.diff
@@ -0,0 +1,26 @@
+*** gd_GB.orig.aff Wed Aug 31 20:50:02 2005
+--- gd_GB.aff Wed Aug 31 20:50:43 2005
+***************
+*** 19 ****
+--- 19,39 ----
+ TRY ahinrdesclgoutmbàf-òACìTùBpGSDMèIRPLNEFéO'UóÀÒÌÙHÉÈ
++
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MIDWORD '-
++
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
diff --git a/runtime/spell/gd/main.aap b/runtime/spell/gd/main.aap
new file mode 100644
index 000000000..8992f032c
--- /dev/null
+++ b/runtime/spell/gd/main.aap
@@ -0,0 +1,78 @@
+# Aap recipe for Scottish Gaelic 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 = gd_GB.aff gd_GB.dic
+
+all: $SPELLDIR/gd.latin1.spl $SPELLDIR/gd.utf-8.spl ../README_gd.txt
+
+$SPELLDIR/gd.latin1.spl : $FILES
+ :sys env LANG=gd_GB.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/gd gd_GB" -c q
+
+$SPELLDIR/gd.utf-8.spl : $FILES
+ :sys env LANG=gd_GB.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/gd gd_GB" -c q
+
+../README_gd.txt : README_gd_GB.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%} gd_GB.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.
+gd_GB.aff gd_GB.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch gd_GB.zip
+ :sys $UNZIP gd_GB.zip
+ :delete gd_GB.zip
+ @if not os.path.exists('gd_GB.orig.aff'):
+ :copy gd_GB.aff gd_GB.orig.aff
+ @if not os.path.exists('gd_GB.orig.dic'):
+ :copy gd_GB.dic gd_GB.orig.dic
+ @if os.path.exists('gd_GB.diff'):
+ :sys patch <gd_GB.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 gd_GB.orig.aff gd_GB.aff >gd_GB.diff
+ :sys {force} diff -a -C 1 gd_GB.orig.dic gd_GB.dic >>gd_GB.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 gd_GB.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../gd_GB.zip
+ :sys {force} diff ../gd_GB.orig.aff gd_GB.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy gd_GB.aff ../gd_GB.new.aff
+ :sys {force} diff ../gd_GB.orig.dic gd_GB.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy gd_GB.dic ../gd_GB.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete gd_GB.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/hr/main.aap b/runtime/spell/hr/main.aap
index 699d61fe7..1b998ca0e 100644
--- a/runtime/spell/hr/main.aap
+++ b/runtime/spell/hr/main.aap
@@ -9,8 +9,8 @@
SPELLDIR = ..
FILES = hr_HR.aff hr_HR.dic
-all: $SPELLDIR/hr.iso-8859-2.spl $SPELLDIR/pl.utf-8.spl \
- $SPELLDIR/hr.cp1250.spl ../README_pl.txt
+all: $SPELLDIR/hr.iso-8859-2.spl $SPELLDIR/hr.utf-8.spl \
+ $SPELLDIR/hr.cp1250.spl ../README_hr.txt
$SPELLDIR/hr.iso-8859-2.spl : $FILES
:sys env LANG=hr_HR.ISO8859-2 $VIM -u NONE -e -c "mkspell! $SPELLDIR/hr hr_HR" -c q
diff --git a/runtime/spell/id/id_ID.diff b/runtime/spell/id/id_ID.diff
new file mode 100644
index 000000000..d0273ae6d
--- /dev/null
+++ b/runtime/spell/id/id_ID.diff
@@ -0,0 +1,22 @@
+*** id_ID.orig.aff Wed Aug 31 16:41:11 2005
+--- id_ID.aff Wed Aug 31 16:43:29 2005
+***************
+*** 18,19 ****
+--- 18,26 ----
+
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
+ PFX A Y 1
+*** id_ID.orig.dic Wed Aug 31 16:41:11 2005
+--- id_ID.dic Wed Aug 31 16:41:35 2005
+***************
+*** 21729,21731 ****
+ berabarkan
+- buletin
+ kernu
+--- 21729,21730 ----
diff --git a/runtime/spell/id/main.aap b/runtime/spell/id/main.aap
new file mode 100644
index 000000000..8c04b5541
--- /dev/null
+++ b/runtime/spell/id/main.aap
@@ -0,0 +1,79 @@
+# Aap recipe for Indonesian 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 = id_ID.aff id_ID.dic
+
+all: $SPELLDIR/id.latin1.spl $SPELLDIR/id.utf-8.spl ../README_id.txt
+
+# I don't have an Indonesian locale, use the Dutch one instead.
+$SPELLDIR/id.latin1.spl : $FILES
+ :sys env LANG=nl_NL.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/id id_ID" -c q
+
+$SPELLDIR/id.utf-8.spl : $FILES
+ :sys env LANG=nl_NL.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/id id_ID" -c q
+
+../README_id.txt : README_id_ID.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%} id_ID.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.
+id_ID.aff id_ID.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch id_ID.zip
+ :sys $UNZIP id_ID.zip
+ :delete id_ID.zip
+ @if not os.path.exists('id_ID.orig.aff'):
+ :copy id_ID.aff id_ID.orig.aff
+ @if not os.path.exists('id_ID.orig.dic'):
+ :copy id_ID.dic id_ID.orig.dic
+ @if os.path.exists('id_ID.diff'):
+ :sys patch <id_ID.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 id_ID.orig.aff id_ID.aff >id_ID.diff
+ :sys {force} diff -a -C 1 id_ID.orig.dic id_ID.dic >>id_ID.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 id_ID.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../id_ID.zip
+ :sys {force} diff ../id_ID.orig.aff id_ID.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy id_ID.aff ../id_ID.new.aff
+ :sys {force} diff ../id_ID.orig.dic id_ID.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy id_ID.dic ../id_ID.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete id_ID.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/it/main.aap b/runtime/spell/it/main.aap
index eaced6802..f1bd74290 100644
--- a/runtime/spell/it/main.aap
+++ b/runtime/spell/it/main.aap
@@ -19,8 +19,8 @@ $SPELLDIR/it.utf-8.spl : $FILES
:sys env LANG=it_IT.UTF-8
$VIM -u NONE -e -c "mkspell! $SPELLDIR/it it_IT" -c q
-../README_it.txt : README_it_IT.txt
- :copy $source $target
+../README_it.txt : README_it_IT.txt README.txt
+ :cat $source >! $target
#
# Fetching the files from OpenOffice.org.
@@ -35,6 +35,7 @@ it_IT.aff it_IT.dic: {buildcheck=}
:fetch it_IT.zip
:sys $UNZIP it_IT.zip
:delete it_IT.zip
+ :delete GPL.txt history.txt license.txt notes.txt statistiche.sxc thanks.txt
@if not os.path.exists('it_IT.orig.aff'):
:copy it_IT.aff it_IT.orig.aff
@if not os.path.exists('it_IT.orig.dic'):
diff --git a/runtime/spell/ku/ku_TR.diff b/runtime/spell/ku/ku_TR.diff
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/runtime/spell/ku/ku_TR.diff
diff --git a/runtime/spell/ku/main.aap b/runtime/spell/ku/main.aap
new file mode 100644
index 000000000..200fb2f1e
--- /dev/null
+++ b/runtime/spell/ku/main.aap
@@ -0,0 +1,82 @@
+# Aap recipe for Kurdish 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 = ku_TR.aff ku_TR.dic
+
+# I don't have a Kurdish locale, us the Turkish one.
+all: $SPELLDIR/ku.iso-8859-9.spl $SPELLDIR/ku.utf-8.spl \
+ ../README_ku.txt
+
+$SPELLDIR/ku.iso-8859-9.spl : $FILES
+ :sys env LANG=tr_TR.ISO8859-9 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ku ku_TR" -c q
+
+$SPELLDIR/ku.utf-8.spl : $FILES
+ :sys env LANG=tr_TR.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ku ku_TR" -c q
+
+../README_ku.txt: README_ku_TR.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%} ku_TR.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.
+# This is a bit tricky, since the file name includes the date.
+ku_TR.aff ku_TR.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch ku_TR.zip
+ :sys $UNZIP ku_TR.zip
+ :delete ku_TR.zip
+ :sys $VIM ku_TR.aff -e -c "set ff=unix" -c update -c q
+ :sys $VIM ku_TR.dic -e -c "set ff=unix" -c update -c q
+ :sys $VIM README_ku_TR.txt -e -c "set ff=unix" -c update -c q
+ @if not os.path.exists('ku_TR.orig.aff'):
+ :copy ku_TR.aff ku_TR.orig.aff
+ @if not os.path.exists('ku_TR.orig.dic'):
+ :copy ku_TR.dic ku_TR.orig.dic
+ @if os.path.exists('ku_TR.diff'):
+ :sys patch <ku_TR.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 ku_TR.orig.aff ku_TR.aff >ku_TR.diff
+ :sys {force} diff -a -C 1 ku_TR.orig.dic ku_TR.dic >>ku_TR.diff
+
+
+# Check for updated spell files. When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+ :assertpkg unzip diff
+ :fetch ku_TR.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../ku_TR.zip
+ :sys {force} diff ../ku_TR.orig.aff ku_TR.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy ku_TR.aff ../ku_TR.new.aff
+ :sys {force} diff ../ku_TR.orig.dic ku_TR.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy ku_TR.dic ../ku_TR.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete ku_TR.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/la/la.diff b/runtime/spell/la/la.diff
new file mode 100644
index 000000000..787b09155
--- /dev/null
+++ b/runtime/spell/la/la.diff
@@ -0,0 +1,12 @@
+*** la.orig.aff Wed Aug 31 17:09:50 2005
+--- la.aff Wed Aug 31 17:10:42 2005
+***************
+*** 2,3 ****
+--- 2,8 ----
+ TRY esianrtolcdugmphbyfvkw
++
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
+ SFX a Y 124
diff --git a/runtime/spell/la/main.aap b/runtime/spell/la/main.aap
new file mode 100644
index 000000000..0cf1d8ab3
--- /dev/null
+++ b/runtime/spell/la/main.aap
@@ -0,0 +1,78 @@
+# Aap recipe for Latin 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 = la.aff la.dic
+
+all: $SPELLDIR/la.latin1.spl $SPELLDIR/la.utf-8.spl ../README_la.txt
+
+$SPELLDIR/la.latin1.spl : $FILES
+ :sys env LANG=la_LN.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/la la" -c q
+
+$SPELLDIR/la.utf-8.spl : $FILES
+ :sys $VIM -u NONE -e -c "set enc=utf-8"
+ -c "mkspell! $SPELLDIR/la la" -c q
+
+../README_la.txt : README_la.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%} la.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.
+la.aff la.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch la.zip
+ :sys $UNZIP la.zip
+ :delete la.zip
+ @if not os.path.exists('la.orig.aff'):
+ :copy la.aff la.orig.aff
+ @if not os.path.exists('la.orig.dic'):
+ :copy la.dic la.orig.dic
+ @if os.path.exists('la.diff'):
+ :sys patch <la.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 la.orig.aff la.aff >la.diff
+ :sys {force} diff -a -C 1 la.orig.dic la.dic >>la.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 la.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../la.zip
+ :sys {force} diff ../la.orig.aff la.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy la.aff ../la.new.aff
+ :sys {force} diff ../la.orig.dic la.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy la.dic ../la.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete la.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/lt/lt_LT.diff b/runtime/spell/lt/lt_LT.diff
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/runtime/spell/lt/lt_LT.diff
diff --git a/runtime/spell/lt/main.aap b/runtime/spell/lt/main.aap
new file mode 100644
index 000000000..92edad21d
--- /dev/null
+++ b/runtime/spell/lt/main.aap
@@ -0,0 +1,78 @@
+# Aap recipe for Lithuanian 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 = lt_LT.aff lt_LT.dic
+
+all: $SPELLDIR/lt.iso-8859-13.spl $SPELLDIR/lt.utf-8.spl \
+ ../README_lt.txt
+
+$SPELLDIR/lt.iso-8859-13.spl : $FILES
+ :sys env LANG=lt_LT.ISO8859-13 $VIM -u NONE -e -c "mkspell! $SPELLDIR/lt lt_LT" -c q
+
+$SPELLDIR/lt.utf-8.spl : $FILES
+ :sys env LANG=lt_LT.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/lt lt_LT" -c q
+
+../README_lt.txt: README_lt_LT.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%} lt_LT.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.
+# This is a bit tricky, since the file name includes the date.
+lt_LT.aff lt_LT.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch lt_LT.zip
+ :sys $UNZIP lt_LT.zip
+ :delete lt_LT.zip
+ @if not os.path.exists('lt_LT.orig.aff'):
+ :copy lt_LT.aff lt_LT.orig.aff
+ @if not os.path.exists('lt_LT.orig.dic'):
+ :copy lt_LT.dic lt_LT.orig.dic
+ @if os.path.exists('lt_LT.diff'):
+ :sys patch <lt_LT.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 lt_LT.orig.aff lt_LT.aff >lt_LT.diff
+ :sys {force} diff -a -C 1 lt_LT.orig.dic lt_LT.dic >>lt_LT.diff
+
+
+# Check for updated spell files. When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+ :assertpkg unzip diff
+ :fetch lt_LT.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../lt_LT.zip
+ :sys {force} diff ../lt_LT.orig.aff lt_LT.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy lt_LT.aff ../lt_LT.new.aff
+ :sys {force} diff ../lt_LT.orig.dic lt_LT.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy lt_LT.dic ../lt_LT.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete lt_LT.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/lv/main.aap b/runtime/spell/lv/main.aap
new file mode 100644
index 000000000..10cacd82a
--- /dev/null
+++ b/runtime/spell/lv/main.aap
@@ -0,0 +1,83 @@
+# Aap recipe for Latvian 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 = lv_LV.aff lv_LV.dic
+
+# I don't have a Latvian locale, use Lithuanian instead.
+all: $SPELLDIR/lv.iso-8859-13.spl $SPELLDIR/lv.utf-8.spl \
+ ../README_lv.txt
+
+$SPELLDIR/lv.iso-8859-13.spl : $FILES
+ :sys env LANG=lt_LT.ISO8859-13 $VIM -u NONE -e -c "mkspell! $SPELLDIR/lv lv_LV" -c q
+
+$SPELLDIR/lv.utf-8.spl : $FILES
+ :sys env LANG=lt_LT.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/lv lv_LV" -c q
+
+../README_lv.txt: README_lv_LV.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%} lv_LV.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.
+# This is a bit tricky, since the file name includes the date.
+lv_LV.aff lv_LV.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch lv_LV.zip
+ :sys $UNZIP lv_LV.zip
+ :delete lv_LV.zip
+ :delete changelog.txt gpl.txt lin-lv_LV_add.sh win-lv_LV_add.bat
+ :sys $VIM lv_LV.aff -e -N -c "%s/\r//" -c update -c q
+ :sys $VIM lv_LV.dic -e -N -c "%s/\r//" -c update -c q
+ :sys $VIM README_lv_LV.txt -e -c "set ff=unix" -c update -c q
+ @if not os.path.exists('lv_LV.orig.aff'):
+ :copy lv_LV.aff lv_LV.orig.aff
+ @if not os.path.exists('lv_LV.orig.dic'):
+ :copy lv_LV.dic lv_LV.orig.dic
+ @if os.path.exists('lv_LV.diff'):
+ :sys patch <lv_LV.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 lv_LV.orig.aff lv_LV.aff >lv_LV.diff
+ :sys {force} diff -a -C 1 lv_LV.orig.dic lv_LV.dic >>lv_LV.diff
+
+
+# Check for updated spell files. When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+ :assertpkg unzip diff
+ :fetch lv_LV.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../lv_LV.zip
+ :sys {force} diff ../lv_LV.orig.aff lv_LV.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy lv_LV.aff ../lv_LV.new.aff
+ :sys {force} diff ../lv_LV.orig.dic lv_LV.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy lv_LV.dic ../lv_LV.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete lv_LV.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/main.aap b/runtime/spell/main.aap
index ffb16b818..5be445412 100644
--- a/runtime/spell/main.aap
+++ b/runtime/spell/main.aap
@@ -4,10 +4,11 @@
# aap generate all the .spl files
# aap diff create all the diff files
-LANG = af am bg ca cs da de el en eo es fr fo gl he hr it nl ny pl ru sk
- th yi hu
+LANG = af am bg ca cs cy da de el en eo es fr fo ga gd gl he hr id it ku
+ la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
+ tet th tl tn uk yi zu hu
-# "hu" is at the end, because it takes very long.
+# "hu" is at the end, because it takes a very long time.
#
# TODO:
# Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
diff --git a/runtime/spell/mg/main.aap b/runtime/spell/mg/main.aap
new file mode 100644
index 000000000..77860bf5f
--- /dev/null
+++ b/runtime/spell/mg/main.aap
@@ -0,0 +1,79 @@
+# Aap recipe for Malagasy 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 = mg_MG.aff mg_MG.dic
+
+# I don't have a Malagasy locale, use the Dutch one instead.
+all: $SPELLDIR/mg.latin1.spl $SPELLDIR/mg.utf-8.spl ../README_mg.txt
+
+$SPELLDIR/mg.latin1.spl : $FILES
+ :sys env LANG=nl_NL.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/mg mg_MG" -c q
+
+$SPELLDIR/mg.utf-8.spl : $FILES
+ :sys env LANG=nl_NL.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/mg mg_MG" -c q
+
+../README_mg.txt : README_mg_MG.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%} mg_MG.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.
+mg_MG.aff mg_MG.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch mg_MG.zip
+ :sys $UNZIP mg_MG.zip
+ :delete mg_MG.zip
+ @if not os.path.exists('mg_MG.orig.aff'):
+ :copy mg_MG.aff mg_MG.orig.aff
+ @if not os.path.exists('mg_MG.orig.dic'):
+ :copy mg_MG.dic mg_MG.orig.dic
+ @if os.path.exists('mg_MG.diff'):
+ :sys patch <mg_MG.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 mg_MG.orig.aff mg_MG.aff >mg_MG.diff
+ :sys {force} diff -a -C 1 mg_MG.orig.dic mg_MG.dic >>mg_MG.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 mg_MG.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../mg_MG.zip
+ :sys {force} diff ../mg_MG.orig.aff mg_MG.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy mg_MG.aff ../mg_MG.new.aff
+ :sys {force} diff ../mg_MG.orig.dic mg_MG.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy mg_MG.dic ../mg_MG.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete mg_MG.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/mg/mg_MG.diff b/runtime/spell/mg/mg_MG.diff
new file mode 100644
index 000000000..92149a162
--- /dev/null
+++ b/runtime/spell/mg/mg_MG.diff
@@ -0,0 +1,26 @@
+*** mg_MG.orig.aff Wed Aug 31 17:58:59 2005
+--- mg_MG.aff Wed Aug 31 18:00:42 2005
+***************
+*** 19 ****
+--- 19,39 ----
+ TRY anyiotrmehsfkdzl'vpbg-AMjNTFIRHJSKàVDELPBGZOôò
++
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MIDWORD '-
++
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
diff --git a/runtime/spell/mi/main.aap b/runtime/spell/mi/main.aap
new file mode 100644
index 000000000..a1a6713bc
--- /dev/null
+++ b/runtime/spell/mi/main.aap
@@ -0,0 +1,80 @@
+# Aap recipe for Maori 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 = mi_NZ.aff mi_NZ.dic
+
+all: $SPELLDIR/mi.latin1.spl $SPELLDIR/mi.utf-8.spl ../README_mi.txt
+
+$SPELLDIR/mi.latin1.spl : $FILES
+ :sys $VIM -u NONE -e -c "set enc=iso-8859-4"
+ -c "mkspell! $SPELLDIR/mi mi_NZ" -c q
+
+$SPELLDIR/mi.utf-8.spl : $FILES
+ :sys $VIM -u NONE -e -c "set enc=utf-8"
+ -c "mkspell! $SPELLDIR/mi mi_NZ" -c q
+
+../README_mi.txt : README_mi_NZ.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%} mi_NZ.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.
+mi_NZ.aff mi_NZ.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch mi_NZ.zip
+ :sys $UNZIP mi_NZ.zip
+ :delete mi_NZ.zip
+ # Fix missing end of line.
+ :print >>mi_NZ.aff
+ @if not os.path.exists('mi_NZ.orig.aff'):
+ :copy mi_NZ.aff mi_NZ.orig.aff
+ @if not os.path.exists('mi_NZ.orig.dic'):
+ :copy mi_NZ.dic mi_NZ.orig.dic
+ @if os.path.exists('mi_NZ.diff'):
+ :sys patch <mi_NZ.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 mi_NZ.orig.aff mi_NZ.aff >mi_NZ.diff
+ :sys {force} diff -a -C 1 mi_NZ.orig.dic mi_NZ.dic >>mi_NZ.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 mi_NZ.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../mi_NZ.zip
+ :sys {force} diff ../mi_NZ.orig.aff mi_NZ.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy mi_NZ.aff ../mi_NZ.new.aff
+ :sys {force} diff ../mi_NZ.orig.dic mi_NZ.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy mi_NZ.dic ../mi_NZ.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete mi_NZ.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/mi/mi_NZ.diff b/runtime/spell/mi/mi_NZ.diff
new file mode 100644
index 000000000..85ace6fc9
--- /dev/null
+++ b/runtime/spell/mi/mi_NZ.diff
@@ -0,0 +1,10 @@
+*** mi_NZ.orig.aff Wed Aug 31 18:22:03 2005
+--- mi_NZ.aff Wed Aug 31 18:21:56 2005
+***************
+*** 2,3 ****
+--- 2,6 ----
+ TRY aàikturoheºïòþnpgwmAÀIKTUROHEªÏÒÞNPGWM
++
++ MIDWORD -
++
+ REP 30
diff --git a/runtime/spell/ms/main.aap b/runtime/spell/ms/main.aap
new file mode 100644
index 000000000..5716b3b69
--- /dev/null
+++ b/runtime/spell/ms/main.aap
@@ -0,0 +1,81 @@
+# Aap recipe for Malay 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 = ms_MY.aff ms_MY.dic
+
+# I do not have a Malay locale, use the Dutch one instead.
+all: $SPELLDIR/ms.latin1.spl $SPELLDIR/ms.utf-8.spl ../README_ms.txt
+
+$SPELLDIR/ms.latin1.spl : $FILES
+ :sys env LANG=nl_NL.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/ms ms_MY" -c q
+
+$SPELLDIR/ms.utf-8.spl : $FILES
+ :sys env LANG=nl_NL.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/ms ms_MY" -c q
+
+../README_ms.txt : README_ms_MY.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%} ms_MY.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.
+ms_MY.aff ms_MY.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch ms_MY.zip
+ :sys $UNZIP ms_MY.zip
+ :delete ms_MY.zip
+ :sys $VIM ms_MY.aff -e -c "set ff=unix" -c update -c q
+ :sys $VIM ms_MY.dic -e -c "set ff=unix" -c update -c q
+ @if not os.path.exists('ms_MY.orig.aff'):
+ :copy ms_MY.aff ms_MY.orig.aff
+ @if not os.path.exists('ms_MY.orig.dic'):
+ :copy ms_MY.dic ms_MY.orig.dic
+ @if os.path.exists('ms_MY.diff'):
+ :sys patch <ms_MY.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 ms_MY.orig.aff ms_MY.aff >ms_MY.diff
+ :sys {force} diff -a -C 1 ms_MY.orig.dic ms_MY.dic >>ms_MY.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 ms_MY.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../ms_MY.zip
+ :sys {force} diff ../ms_MY.orig.aff ms_MY.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy ms_MY.aff ../ms_MY.new.aff
+ :sys {force} diff ../ms_MY.orig.dic ms_MY.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy ms_MY.dic ../ms_MY.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete ms_MY.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/ms/ms_MY.diff b/runtime/spell/ms/ms_MY.diff
new file mode 100644
index 000000000..8bde595a9
--- /dev/null
+++ b/runtime/spell/ms/ms_MY.diff
@@ -0,0 +1,24 @@
+*** ms_MY.orig.aff Wed Aug 31 18:09:58 2005
+--- ms_MY.aff Wed Aug 31 18:12:51 2005
+***************
+*** 25,26 ****
+--- 25,35 ----
+
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MIDWORD -
++
+ PFX B Y 2
+*** ms_MY.orig.dic Wed Aug 31 18:09:58 2005
+--- ms_MY.dic Wed Aug 31 18:12:48 2005
+***************
+*** 4939,4941 ****
+ datin
+- Dato’
+ datuk/b
+--- 4939,4940 ----
diff --git a/runtime/spell/nb/main.aap b/runtime/spell/nb/main.aap
new file mode 100644
index 000000000..f7805ea1c
--- /dev/null
+++ b/runtime/spell/nb/main.aap
@@ -0,0 +1,78 @@
+# Aap recipe for Dutch 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 = nb_NO.aff nb_NO.dic
+
+all: $SPELLDIR/nb.latin1.spl $SPELLDIR/nb.utf-8.spl ../README_nb.txt
+
+$SPELLDIR/nb.latin1.spl : $FILES
+ :sys env LANG=no_NO.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/nb nb_NO" -c q
+
+$SPELLDIR/nb.utf-8.spl : $FILES
+ :sys env LANG=no_NO.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/nb nb_NO" -c q
+
+../README_nb.txt : README_nb_NO.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%} nb_NO.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.
+nb_NO.aff nb_NO.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch nb_NO.zip
+ :sys $UNZIP nb_NO.zip
+ :delete nb_NO.zip
+ @if not os.path.exists('nb_NO.orig.aff'):
+ :copy nb_NO.aff nb_NO.orig.aff
+ @if not os.path.exists('nb_NO.orig.dic'):
+ :copy nb_NO.dic nb_NO.orig.dic
+ @if os.path.exists('nb_NO.diff'):
+ :sys patch <nb_NO.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 nb_NO.orig.aff nb_NO.aff >nb_NO.diff
+ :sys {force} diff -a -C 1 nb_NO.orig.dic nb_NO.dic >>nb_NO.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 nb_NO.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../nb_NO.zip
+ :sys {force} diff ../nb_NO.orig.aff nb_NO.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy nb_NO.aff ../nb_NO.new.aff
+ :sys {force} diff ../nb_NO.orig.dic nb_NO.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy nb_NO.dic ../nb_NO.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete nb_NO.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/nb/nb_NO.diff b/runtime/spell/nb/nb_NO.diff
new file mode 100644
index 000000000..751eb5b98
--- /dev/null
+++ b/runtime/spell/nb/nb_NO.diff
@@ -0,0 +1,63 @@
+*** nb_NO.orig.aff Wed Aug 31 18:29:43 2005
+--- nb_NO.aff Wed Aug 31 18:35:09 2005
+***************
+*** 7,8 ****
+--- 7,26 ----
+
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
++
+ PFX a Y 1
+*** nb_NO.orig.dic Wed Aug 31 18:29:43 2005
+--- nb_NO.dic Wed Aug 31 18:38:02 2005
+***************
+*** 2,4 ****
+ a.a
+- a.a
+ a.a.C
+--- 2,3 ----
+***************
+*** 15054,15056 ****
+ cand
+- cand/
+ cand.act
+--- 15053,15054 ----
+***************
+*** 28532,28534 ****
+ f.o.r
+- fôr
+ fora/G
+--- 28530,28531 ----
+***************
+*** 28980,28982 ****
+ fordøyelsessystem/BCEFGH
+- fôre
+ fôre/BEJtz
+--- 28977,28978 ----
+***************
+*** 43532,43534 ****
+ Idar/J
+- idé
+ idé/AEFGH[z
+--- 43528,43529 ----
+***************
+*** 57490,57492 ****
+ Lambertseter/J
+- lamé
+ lamé/A
+--- 57485,57486 ----
diff --git a/runtime/spell/nn/main.aap b/runtime/spell/nn/main.aap
new file mode 100644
index 000000000..da71b209a
--- /dev/null
+++ b/runtime/spell/nn/main.aap
@@ -0,0 +1,78 @@
+# Aap recipe for Dutch 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 = nn_NO.aff nn_NO.dic
+
+all: $SPELLDIR/nn.latin1.spl $SPELLDIR/nn.utf-8.spl ../README_nn.txt
+
+$SPELLDIR/nn.latin1.spl : $FILES
+ :sys env LANG=no_NO.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/nn nn_NO" -c q
+
+$SPELLDIR/nn.utf-8.spl : $FILES
+ :sys env LANG=no_NO.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/nn nn_NO" -c q
+
+../README_nn.txt : README_nn_NO.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%} nn_NO.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.
+nn_NO.aff nn_NO.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch nn_NO.zip
+ :sys $UNZIP nn_NO.zip
+ :delete nn_NO.zip
+ @if not os.path.exists('nn_NO.orig.aff'):
+ :copy nn_NO.aff nn_NO.orig.aff
+ @if not os.path.exists('nn_NO.orig.dic'):
+ :copy nn_NO.dic nn_NO.orig.dic
+ @if os.path.exists('nn_NO.diff'):
+ :sys patch <nn_NO.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 nn_NO.orig.aff nn_NO.aff >nn_NO.diff
+ :sys {force} diff -a -C 1 nn_NO.orig.dic nn_NO.dic >>nn_NO.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 nn_NO.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../nn_NO.zip
+ :sys {force} diff ../nn_NO.orig.aff nn_NO.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy nn_NO.aff ../nn_NO.new.aff
+ :sys {force} diff ../nn_NO.orig.dic nn_NO.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy nn_NO.dic ../nn_NO.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete nn_NO.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/nn/nn_NO.diff b/runtime/spell/nn/nn_NO.diff
new file mode 100644
index 000000000..c0e3581ad
--- /dev/null
+++ b/runtime/spell/nn/nn_NO.diff
@@ -0,0 +1,25 @@
+*** nn_NO.orig.aff Wed Aug 31 18:40:26 2005
+--- nn_NO.aff Wed Aug 31 18:42:00 2005
+***************
+*** 7,8 ****
+--- 7,26 ----
+
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
++
+ PFX a Y 1
diff --git a/runtime/spell/pt/main.aap b/runtime/spell/pt/main.aap
new file mode 100644
index 000000000..91c689bf7
--- /dev/null
+++ b/runtime/spell/pt/main.aap
@@ -0,0 +1,123 @@
+# Aap recipe for Portuguese 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 = pt_PT.aff pt_PT.dic
+ pt_BR.aff pt_BR.dic
+
+all: $SPELLDIR/pt.latin1.spl $SPELLDIR/pt.utf-8.spl \
+ ../README_pt.txt
+
+$SPELLDIR/pt.latin1.spl : $FILES
+ :sys env LANG=pt_PT.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/pt pt_PT pt_BR" -c q
+
+$SPELLDIR/pt.utf-8.spl : $FILES
+ :sys env LANG=pt_PT.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/pt pt_PT pt_BR" -c q
+
+../README_pt.txt: README_pt_PT.txt README_pt_BR.txt
+ :print pt_PT >!$target
+ :cat README_pt_PT.txt | :eval re.sub('\r', '', stdin) >>$target
+ :print =================================================== >>$target
+ :print pt_BR: >>$target
+ :cat README_pt_BR.txt | :eval re.sub('\r', '', stdin) >>$target
+
+#
+# Fetching the files from OpenOffice.org.
+#
+OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+:attr {fetch = $OODIR/%file%} pt_PT.zip pt_BR.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.
+pt_PT.aff pt_PT.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch pt_PT.zip
+ :sys $UNZIP pt_PT.zip
+ :delete pt_PT.zip
+ :sys $VIM pt_PT.dic -e -c "set ff=unix" -c update -c q
+ :sys $VIM README_pt_PT.txt -e -c "set ff=unix" -c update -c q
+ @if not os.path.exists('pt_PT.orig.aff'):
+ :copy pt_PT.aff pt_PT.orig.aff
+ @if not os.path.exists('pt_PT.orig.dic'):
+ :copy pt_PT.dic pt_PT.orig.dic
+ @if os.path.exists('pt_PT.diff'):
+ :sys patch <pt_PT.diff
+
+pt_BR.aff pt_BR.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch pt_BR.zip
+ :sys $UNZIP pt_BR.zip
+ :delete pt_BR.zip
+ :sys $VIM pt_BR.aff -e -c "set ff=unix" -c update -c q
+ :sys $VIM pt_BR.dic -e -c "set ff=unix" -c update -c q
+ :sys $VIM README_pt_BR.txt -e -c "set ff=unix" -c update -c q
+ @if not os.path.exists('pt_BR.orig.aff'):
+ :copy pt_BR.aff pt_BR.orig.aff
+ @if not os.path.exists('pt_BR.orig.dic'):
+ :copy pt_BR.dic pt_BR.orig.dic
+ @if os.path.exists('pt_BR.diff'):
+ :sys patch <pt_BR.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 pt_PT.orig.aff pt_PT.aff >pt_PT.diff
+ :sys {force} diff -a -C 1 pt_PT.orig.dic pt_PT.dic >>pt_PT.diff
+ :sys {force} diff -a -C 1 pt_BR.orig.aff pt_BR.aff >pt_BR.diff
+ :sys {force} diff -a -C 1 pt_BR.orig.dic pt_BR.dic >>pt_BR.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: check-us check-au
+
+check-us:
+ :assertpkg unzip diff
+ :fetch pt_PT.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../pt_PT.zip
+ :sys {force} diff ../pt_PT.orig.aff pt_PT.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy pt_PT.aff ../pt_PT.new.aff
+ :sys {force} diff ../pt_PT.orig.dic pt_PT.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy pt_PT.dic ../pt_PT.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete pt_PT.zip
+
+check-au:
+ :assertpkg unzip diff
+ :fetch pt_BR.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../pt_BR.zip
+ :sys {force} diff ../pt_BR.orig.aff pt_BR.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy pt_BR.aff ../pt_BR.new.aff
+ :sys {force} diff ../pt_BR.orig.dic pt_BR.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy pt_BR.dic ../pt_BR.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete pt_BR.zip
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/pt/pt_BR.diff b/runtime/spell/pt/pt_BR.diff
new file mode 100644
index 000000000..10b1d7aac
--- /dev/null
+++ b/runtime/spell/pt/pt_BR.diff
@@ -0,0 +1,46 @@
+*** pt_BR.orig.aff Wed Aug 31 20:05:18 2005
+--- pt_BR.aff Wed Aug 31 20:05:18 2005
+***************
+*** 3,4 ****
+--- 3,22 ----
+
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
++
+ # Plural apenas
+***************
+*** 526,534 ****
+ SFX I ar ês dar
+! SFX I iar eia [^]iar
+! SFX I iar eiam [^]iar
+! SFX I iar eias [^]iar
+! SFX I iar eie [^]iar
+! SFX I iar eiem [^]iar
+! SFX I iar eies [^]iar
+! SFX I iar eio [^]iar
+ SFX I oiar óia oiar
+--- 544,552 ----
+ SFX I ar ês dar
+! SFX I iar eia [^o]iar
+! SFX I iar eiam [^o]iar
+! SFX I iar eias [^o]iar
+! SFX I iar eie [^o]iar
+! SFX I iar eiem [^o]iar
+! SFX I iar eies [^o]iar
+! SFX I iar eio [^o]iar
+ SFX I oiar óia oiar
diff --git a/runtime/spell/pt/pt_PT.diff b/runtime/spell/pt/pt_PT.diff
new file mode 100644
index 000000000..653a2d2de
--- /dev/null
+++ b/runtime/spell/pt/pt_PT.diff
@@ -0,0 +1,27 @@
+*** pt_PT.orig.aff Wed Aug 31 20:05:16 2005
+--- pt_PT.aff Wed Aug 31 20:05:16 2005
+***************
+*** 3,4 ****
+--- 3,24 ----
+
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MIDWORD '
++
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
++
+ PFX A Y 1
diff --git a/runtime/spell/ro/main.aap b/runtime/spell/ro/main.aap
new file mode 100644
index 000000000..c07e2712c
--- /dev/null
+++ b/runtime/spell/ro/main.aap
@@ -0,0 +1,81 @@
+# Aap recipe for Romanian 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 = ro_RO.aff ro_RO.dic
+
+all: $SPELLDIR/ro.iso-8859-2.spl $SPELLDIR/ro.utf-8.spl \
+ $SPELLDIR/ro.cp1250.spl ../README_ro.txt
+
+$SPELLDIR/ro.iso-8859-2.spl : $FILES
+ :sys env LANG=ro_RO.ISO8859-2 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ro ro_RO" -c q
+
+$SPELLDIR/ro.utf-8.spl : $FILES
+ :sys env LANG=ro_RO.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ro ro_RO" -c q
+
+$SPELLDIR/ro.cp1250.spl : $FILES
+ :sys $VIM -u NONE -e -c "set enc=cp1250" -c "mkspell! $SPELLDIR/ro ro_RO" -c q
+
+../README_ro.txt: README_ro_RO.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%} ro_RO.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.
+# This is a bit tricky, since the file name includes the date.
+ro_RO.aff ro_RO.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch ro_RO.zip
+ :sys $UNZIP ro_RO.zip
+ :delete ro_RO.zip
+ @if not os.path.exists('ro_RO.orig.aff'):
+ :copy ro_RO.aff ro_RO.orig.aff
+ @if not os.path.exists('ro_RO.orig.dic'):
+ :copy ro_RO.dic ro_RO.orig.dic
+ @if os.path.exists('ro_RO.diff'):
+ :sys patch <ro_RO.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 ro_RO.orig.aff ro_RO.aff >ro_RO.diff
+ :sys {force} diff -a -C 1 ro_RO.orig.dic ro_RO.dic >>ro_RO.diff
+
+
+# Check for updated spell files. When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+ :assertpkg unzip diff
+ :fetch ro_RO.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../ro_RO.zip
+ :sys {force} diff ../ro_RO.orig.aff ro_RO.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy ro_RO.aff ../ro_RO.new.aff
+ :sys {force} diff ../ro_RO.orig.dic ro_RO.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy ro_RO.dic ../ro_RO.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete ro_RO.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/ro/ro_RO.diff b/runtime/spell/ro/ro_RO.diff
new file mode 100644
index 000000000..5477030ab
--- /dev/null
+++ b/runtime/spell/ro/ro_RO.diff
@@ -0,0 +1,42 @@
+*** ro_RO.orig.aff Wed Aug 31 20:34:38 2005
+--- ro_RO.aff Wed Aug 31 20:39:57 2005
+***************
+*** 3,4 ****
+--- 3,8 ----
+
++ FOL ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ LOW ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ UPP ¡¢£¥¦¨©ª«¬®¯±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
++
+ PFX E Y 1
+***************
+*** 12,15 ****
+ SFX L 0 l u
+! SFX L 0 le [^cg] i
+! SFX L 0 i [cg] i
+ SFX L 0 le e
+--- 16,19 ----
+ SFX L 0 l u
+! SFX L 0 le [^cg]i
+! SFX L 0 i [cg]i
+ SFX L 0 le e
+***************
+*** 18,20 ****
+ SFX U 0 a re
+! SFX U 0 i [^i] ii
+
+--- 22,24 ----
+ SFX U 0 a re
+! SFX U 0 i [^i]ii
+
+***************
+*** 38,41 ****
+ SFX I 0 ului [^ua]
+! SFX I a ii [gc] a
+! SFX I a ei [^cg] a
+
+--- 42,45 ----
+ SFX I 0 ului [^ua]
+! SFX I a ii [gc]a
+! SFX I a ei [^cg]a
+
diff --git a/runtime/spell/rw/main.aap b/runtime/spell/rw/main.aap
new file mode 100644
index 000000000..0eda99d7d
--- /dev/null
+++ b/runtime/spell/rw/main.aap
@@ -0,0 +1,79 @@
+# Aap recipe for Kinyarwanda (Rwanda) 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 = rw_RW.aff rw_RW.dic
+
+all: $SPELLDIR/rw.latin1.spl $SPELLDIR/rw.utf-8.spl ../README_rw.txt
+
+# I don't have a Kinyarwanda locale, use the Dutch one instead.
+$SPELLDIR/rw.latin1.spl : $FILES
+ :sys env LANG=nl_NL.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/rw rw_RW" -c q
+
+$SPELLDIR/rw.utf-8.spl : $FILES
+ :sys env LANG=nl_NL.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/rw rw_RW" -c q
+
+../README_rw.txt : README_rw_RW.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%} rw_RW.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.
+rw_RW.aff rw_RW.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch rw_RW.zip
+ :sys $UNZIP rw_RW.zip
+ :delete rw_RW.zip
+ @if not os.path.exists('rw_RW.orig.aff'):
+ :copy rw_RW.aff rw_RW.orig.aff
+ @if not os.path.exists('rw_RW.orig.dic'):
+ :copy rw_RW.dic rw_RW.orig.dic
+ @if os.path.exists('rw_RW.diff'):
+ :sys patch <rw_RW.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 rw_RW.orig.aff rw_RW.aff >rw_RW.diff
+ :sys {force} diff -a -C 1 rw_RW.orig.dic rw_RW.dic >>rw_RW.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 rw_RW.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../rw_RW.zip
+ :sys {force} diff ../rw_RW.orig.aff rw_RW.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy rw_RW.aff ../rw_RW.new.aff
+ :sys {force} diff ../rw_RW.orig.dic rw_RW.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy rw_RW.dic ../rw_RW.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete rw_RW.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/rw/rw_RW.diff b/runtime/spell/rw/rw_RW.diff
new file mode 100644
index 000000000..7de37cd1a
--- /dev/null
+++ b/runtime/spell/rw/rw_RW.diff
@@ -0,0 +1,13 @@
+*** rw_RW.orig.aff Wed Aug 31 16:53:08 2005
+--- rw_RW.aff Wed Aug 31 16:53:46 2005
+***************
+*** 19 ****
+--- 19,26 ----
+ TRY aiuenorbkmygwthszd'cIAjKUvfNMplBGYRPTHSDWCOZELV-JF
++
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
diff --git a/runtime/spell/sl/main.aap b/runtime/spell/sl/main.aap
new file mode 100644
index 000000000..4b142bb7a
--- /dev/null
+++ b/runtime/spell/sl/main.aap
@@ -0,0 +1,81 @@
+# Aap recipe for Slovenian 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 = sl_SI.aff sl_SI.dic
+
+all: $SPELLDIR/sl.iso-8859-2.spl $SPELLDIR/sl.utf-8.spl \
+ $SPELLDIR/sl.cp1250.spl ../README_sl.txt
+
+$SPELLDIR/sl.iso-8859-2.spl : $FILES
+ :sys env LANG=sl_SI.ISO8859-2 $VIM -u NONE -e -c "mkspell! $SPELLDIR/sl sl_SI" -c q
+
+$SPELLDIR/sl.utf-8.spl : $FILES
+ :sys env LANG=sl_SI.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/sl sl_SI" -c q
+
+$SPELLDIR/sl.cp1250.spl : $FILES
+ :sys $VIM -u NONE -e -c "set enc=cp1250" -c "mkspell! $SPELLDIR/sl sl_SI" -c q
+
+../README_sl.txt: README_sl_SI.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%} sl_SI.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.
+# This is a bit tricky, since the file name includes the date.
+sl_SI.aff sl_SI.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch sl_SI.zip
+ :sys $UNZIP sl_SI.zip
+ :delete sl_SI.zip
+ @if not os.path.exists('sl_SI.orig.aff'):
+ :copy sl_SI.aff sl_SI.orig.aff
+ @if not os.path.exists('sl_SI.orig.dic'):
+ :copy sl_SI.dic sl_SI.orig.dic
+ @if os.path.exists('sl_SI.diff'):
+ :sys patch <sl_SI.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 sl_SI.orig.aff sl_SI.aff >sl_SI.diff
+ :sys {force} diff -a -C 1 sl_SI.orig.dic sl_SI.dic >>sl_SI.diff
+
+
+# Check for updated spell files. When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+ :assertpkg unzip diff
+ :fetch sl_SI.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../sl_SI.zip
+ :sys {force} diff ../sl_SI.orig.aff sl_SI.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy sl_SI.aff ../sl_SI.new.aff
+ :sys {force} diff ../sl_SI.orig.dic sl_SI.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy sl_SI.dic ../sl_SI.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete sl_SI.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/sl/sl_SI.diff b/runtime/spell/sl/sl_SI.diff
new file mode 100644
index 000000000..4ca310bde
--- /dev/null
+++ b/runtime/spell/sl/sl_SI.diff
@@ -0,0 +1,11 @@
+*** sl_SI.orig.aff Wed Aug 31 20:54:48 2005
+--- sl_SI.aff Wed Aug 31 20:55:37 2005
+***************
+*** 3,4 ****
+--- 3,8 ----
+
++ FOL ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ LOW ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ UPP ¡¢£¥¦¨©ª«¬®¯±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
++
+ PFX B Y 1
diff --git a/runtime/spell/sv/main.aap b/runtime/spell/sv/main.aap
new file mode 100644
index 000000000..fc45fcfa7
--- /dev/null
+++ b/runtime/spell/sv/main.aap
@@ -0,0 +1,79 @@
+# Aap recipe for Swedish 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 = sv_SE.aff sv_SE.dic
+
+all: $SPELLDIR/sv.latin1.spl $SPELLDIR/sv.utf-8.spl ../README_sv.txt
+
+$SPELLDIR/sv.latin1.spl : $FILES
+ :sys env LANG=sv_SE.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/sv sv_SE" -c q
+
+$SPELLDIR/sv.utf-8.spl : $FILES
+ :sys env LANG=sv_SE.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/sv sv_SE" -c q
+
+../README_sv.txt : README_sv_SE.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%} sv_SE.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.
+sv_SE.aff sv_SE.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch sv_SE.zip
+ :sys $UNZIP sv_SE.zip
+ :delete sv_SE.zip
+ :delete hyph_sv_SE.dic
+ @if not os.path.exists('sv_SE.orig.aff'):
+ :copy sv_SE.aff sv_SE.orig.aff
+ @if not os.path.exists('sv_SE.orig.dic'):
+ :copy sv_SE.dic sv_SE.orig.dic
+ @if os.path.exists('sv_SE.diff'):
+ :sys patch <sv_SE.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 sv_SE.orig.aff sv_SE.aff >sv_SE.diff
+ :sys {force} diff -a -C 1 sv_SE.orig.dic sv_SE.dic >>sv_SE.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 sv_SE.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../sv_SE.zip
+ :sys {force} diff ../sv_SE.orig.aff sv_SE.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy sv_SE.aff ../sv_SE.new.aff
+ :sys {force} diff ../sv_SE.orig.dic sv_SE.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy sv_SE.dic ../sv_SE.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete sv_SE.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/sv/sv_SE.diff b/runtime/spell/sv/sv_SE.diff
new file mode 100644
index 000000000..859b22599
--- /dev/null
+++ b/runtime/spell/sv/sv_SE.diff
@@ -0,0 +1,40 @@
+*** sv_SE.orig.aff Wed Aug 31 21:00:19 2005
+--- sv_SE.aff Wed Aug 31 21:02:53 2005
+***************
+*** 6,7 ****
+--- 6,25 ----
+
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
++
+ SFX A Y 1
+***************
+*** 15,17 ****
+
+! SFX C Y 16
+ SFX C 0 t [aeiouyåäöé]
+--- 33,35 ----
+
+! SFX C Y 15
+ SFX C 0 t [aeiouyåäöé]
+***************
+*** 30,32 ****
+ SFX C en nets en
+- SFX C 0 net nets [^e]n
+ SFX C 0 nets [^e]n
+--- 48,49 ----
diff --git a/runtime/spell/sw/main.aap b/runtime/spell/sw/main.aap
new file mode 100644
index 000000000..ef47585f6
--- /dev/null
+++ b/runtime/spell/sw/main.aap
@@ -0,0 +1,79 @@
+# Aap recipe for Kiswahili 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 = sw_KE.aff sw_KE.dic
+
+all: $SPELLDIR/sw.latin1.spl $SPELLDIR/sw.utf-8.spl ../README_sw.txt
+
+# I don't have a Kiswahili locale, use the Dutch one instead.
+$SPELLDIR/sw.latin1.spl : $FILES
+ :sys env LANG=nl_NL.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/sw sw_KE" -c q
+
+$SPELLDIR/sw.utf-8.spl : $FILES
+ :sys env LANG=nl_NL.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/sw sw_KE" -c q
+
+../README_sw.txt : README_sw_KE.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%} sw_KE.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.
+sw_KE.aff sw_KE.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch sw_KE.zip
+ :sys $UNZIP sw_KE.zip
+ :delete sw_KE.zip
+ @if not os.path.exists('sw_KE.orig.aff'):
+ :copy sw_KE.aff sw_KE.orig.aff
+ @if not os.path.exists('sw_KE.orig.dic'):
+ :copy sw_KE.dic sw_KE.orig.dic
+ @if os.path.exists('sw_KE.diff'):
+ :sys patch <sw_KE.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 sw_KE.orig.aff sw_KE.aff >sw_KE.diff
+ :sys {force} diff -a -C 1 sw_KE.orig.dic sw_KE.dic >>sw_KE.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 sw_KE.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../sw_KE.zip
+ :sys {force} diff ../sw_KE.orig.aff sw_KE.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy sw_KE.aff ../sw_KE.new.aff
+ :sys {force} diff ../sw_KE.orig.dic sw_KE.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy sw_KE.dic ../sw_KE.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete sw_KE.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/sw/sw_KE.diff b/runtime/spell/sw/sw_KE.diff
new file mode 100644
index 000000000..b084db6ff
--- /dev/null
+++ b/runtime/spell/sw/sw_KE.diff
@@ -0,0 +1,13 @@
+*** sw_KE.orig.aff Wed Aug 31 16:57:00 2005
+--- sw_KE.aff Wed Aug 31 16:57:28 2005
+***************
+*** 21 ****
+--- 21,28 ----
+ TRY aiunkemohwtlsgybzpdrfjcv'KMSAWTLBNEYDUGHPFIROZJC-V
++
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
diff --git a/runtime/spell/tl/main.aap b/runtime/spell/tl/main.aap
new file mode 100644
index 000000000..0145e4abc
--- /dev/null
+++ b/runtime/spell/tl/main.aap
@@ -0,0 +1,78 @@
+# Aap recipe for Tagalog 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 = tl_PH.aff tl_PH.dic
+
+all: $SPELLDIR/tl.latin1.spl $SPELLDIR/tl.utf-8.spl ../README_tl.txt
+
+$SPELLDIR/tl.latin1.spl : $FILES
+ :sys env LANG=tl_PH.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/tl tl_PH" -c q
+
+$SPELLDIR/tl.utf-8.spl : $FILES
+ :sys env LANG=tl_PH.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/tl tl_PH" -c q
+
+../README_tl.txt : README_tl_PH.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%} tl_PH.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.
+tl_PH.aff tl_PH.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch tl_PH.zip
+ :sys $UNZIP tl_PH.zip
+ :delete tl_PH.zip
+ @if not os.path.exists('tl_PH.orig.aff'):
+ :copy tl_PH.aff tl_PH.orig.aff
+ @if not os.path.exists('tl_PH.orig.dic'):
+ :copy tl_PH.dic tl_PH.orig.dic
+ @if os.path.exists('tl_PH.diff'):
+ :sys patch <tl_PH.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 tl_PH.orig.aff tl_PH.aff >tl_PH.diff
+ :sys {force} diff -a -C 1 tl_PH.orig.dic tl_PH.dic >>tl_PH.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 tl_PH.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../tl_PH.zip
+ :sys {force} diff ../tl_PH.orig.aff tl_PH.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy tl_PH.aff ../tl_PH.new.aff
+ :sys {force} diff ../tl_PH.orig.dic tl_PH.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy tl_PH.dic ../tl_PH.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete tl_PH.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/tl/tl_PH.diff b/runtime/spell/tl/tl_PH.diff
new file mode 100644
index 000000000..70208e722
--- /dev/null
+++ b/runtime/spell/tl/tl_PH.diff
@@ -0,0 +1,18 @@
+*** tl_PH.orig.aff Wed Aug 31 21:12:20 2005
+--- tl_PH.aff Wed Aug 31 21:13:16 2005
+***************
+*** 19 ****
+--- 19,31 ----
+ TRY angisotmklypubrhdewAP-SKMINDTHB'LEJGUvWCcORfjYzqFxVQZ
++
++ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
++ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
++
++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
++
++ MIDWORD '-
++
++ MAP 1
++ MAP nñ
diff --git a/runtime/spell/tn/main.aap b/runtime/spell/tn/main.aap
new file mode 100644
index 000000000..61af16183
--- /dev/null
+++ b/runtime/spell/tn/main.aap
@@ -0,0 +1,82 @@
+# Aap recipe for Setswana 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 = tn_ZA.aff tn_ZA.dic
+
+# I don't have a Setswana locale, use Romanian instead.
+all: $SPELLDIR/tn.iso-8859-2.spl $SPELLDIR/tn.utf-8.spl \
+ $SPELLDIR/tn.cp1250.spl ../README_tn.txt
+
+$SPELLDIR/tn.iso-8859-2.spl : $FILES
+ :sys env LANG=ro_RO.ISO8859-2 $VIM -u NONE -e -c "mkspell! $SPELLDIR/tn tn_ZA" -c q
+
+$SPELLDIR/tn.utf-8.spl : $FILES
+ :sys env LANG=ro_RO.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/tn tn_ZA" -c q
+
+$SPELLDIR/tn.cp1250.spl : $FILES
+ :sys $VIM -u NONE -e -c "set enc=cp1250" -c "mkspell! $SPELLDIR/tn tn_ZA" -c q
+
+../README_tn.txt: README_tn_ZA.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%} tn_ZA.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.
+# This is a bit tricky, since the file name includes the date.
+tn_ZA.aff tn_ZA.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch tn_ZA.zip
+ :sys $UNZIP tn_ZA.zip
+ :delete tn_ZA.zip
+ @if not os.path.exists('tn_ZA.orig.aff'):
+ :copy tn_ZA.aff tn_ZA.orig.aff
+ @if not os.path.exists('tn_ZA.orig.dic'):
+ :copy tn_ZA.dic tn_ZA.orig.dic
+ @if os.path.exists('tn_ZA.diff'):
+ :sys patch <tn_ZA.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 tn_ZA.orig.aff tn_ZA.aff >tn_ZA.diff
+ :sys {force} diff -a -C 1 tn_ZA.orig.dic tn_ZA.dic >>tn_ZA.diff
+
+
+# Check for updated spell files. When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+ :assertpkg unzip diff
+ :fetch tn_ZA.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../tn_ZA.zip
+ :sys {force} diff ../tn_ZA.orig.aff tn_ZA.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy tn_ZA.aff ../tn_ZA.new.aff
+ :sys {force} diff ../tn_ZA.orig.dic tn_ZA.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy tn_ZA.dic ../tn_ZA.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete tn_ZA.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/tn/tn_ZA.diff b/runtime/spell/tn/tn_ZA.diff
new file mode 100644
index 000000000..dace0d4e3
--- /dev/null
+++ b/runtime/spell/tn/tn_ZA.diff
@@ -0,0 +1,10 @@
+*** tn_ZA.orig.aff Wed Aug 31 20:46:24 2005
+--- tn_ZA.aff Wed Aug 31 20:47:01 2005
+***************
+*** 21 ****
+--- 21,25 ----
+ TRY aeoltinsghkmbdwrpufyMjSDBKPTL-AJREGNcIvFCUWYáz
++
++ FOL ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ LOW ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ UPP ¡¢£¥¦¨©ª«¬®¯±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
diff --git a/runtime/spell/uk/main.aap b/runtime/spell/uk/main.aap
new file mode 100644
index 000000000..3a0fe6d1c
--- /dev/null
+++ b/runtime/spell/uk/main.aap
@@ -0,0 +1,57 @@
+# Aap recipe for Ukrainian 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 = uk_UA.aff uk_UA.dic
+
+all: $SPELLDIR/uk.koi8-u.spl $SPELLDIR/uk.utf-8.spl \
+ ../README_uk.txt
+
+$SPELLDIR/uk.koi8-u.spl : $FILES
+ :sys env LANG=uk_UA.KOI8-U $VIM -u NONE -e -c "mkspell! $SPELLDIR/uk uk_UA" -c q
+
+$SPELLDIR/uk.utf-8.spl : $FILES
+ :sys env LANG=uk_UA.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/uk uk_UA" -c q
+
+../README_uk.txt: README_uk_UA.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%} uk_UA.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.
+# This is a bit tricky, since the file name includes the date.
+uk_UA.aff uk_UA.dic: {buildcheck=}
+ :assertpkg unzip
+ :fetch uk_UA.zip
+ :sys unzip uk_UA.zip
+ :delete uk_UA.zip
+ @if not os.path.exists('uk_UA.orig.aff'):
+ :copy uk_UA.aff uk_UA.orig.aff
+ @if not os.path.exists('uk_UA.orig.dic'):
+ :copy uk_UA.dic uk_UA.orig.dic
+ @if os.path.exists('uk_UA.diff'):
+ :sys patch <uk_UA.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 uk_UA.orig.aff uk_UA.aff >uk_UA.diff
+ :sys {force} diff -a -C 1 uk_UA.orig.dic uk_UA.dic >>uk_UA.diff
+
+# Check for updated spell files. When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+ :print Doesn't work yet.
diff --git a/runtime/spell/uk/uk_UA.diff b/runtime/spell/uk/uk_UA.diff
new file mode 100644
index 000000000..8e23dc2c0
--- /dev/null
+++ b/runtime/spell/uk/uk_UA.diff
@@ -0,0 +1,17 @@
+*** uk_UA.orig.aff Wed Aug 31 21:28:03 2005
+--- uk_UA.aff Wed Aug 31 21:29:53 2005
+***************
+*** 2,5 ****
+ TRY ÏÁÎɦÒ×ÔÅÓËÌÄÕÐÍÚÑØÇÂÞÈÊÃÀÖ§Û¤ÆÝ­ïáîé¶ò÷ôåóëìäõðíúñøçâþèêãàö·û´æý½'
+! LOWER ÁÂ×ÇĭŤÖÚɦ§ÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÀÑ'
+! UPPER áâ÷çä½å´öú鶷êëìíîïðòóôõæèãþûýøàñ'
+
+--- 2,9 ----
+ TRY ÏÁÎɦÒ×ÔÅÓËÌÄÕÐÍÚÑØÇÂÞÈÊÃÀÖ§Û¤ÆÝ­ïáîé¶ò÷ôåóëìäõðíúñøçâþèêãàö·û´æý½'
+!
+! FOL ÁÂ×ÇĭŤÖÚɦ§ÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÀÑ'
+! LOW ÁÂ×ÇĭŤÖÚɦ§ÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÀÑ'
+! UPP áâ÷çä½å´öú鶷êëìíîïðòóôõæèãþûýøàñ'
+!
+! MIDWORD '-
+
diff --git a/runtime/spell/yi/!yi.diff b/runtime/spell/yi/!yi.diff
deleted file mode 100644
index 484dc69f7..000000000
--- a/runtime/spell/yi/!yi.diff
+++ /dev/null
@@ -1,8 +0,0 @@
-*** wordlist.utf8.txt Thu Aug 11 19:49:22 2005
---- yi.dic Thu Aug 11 19:49:23 2005
-***************
-*** 1,2 ****
---- 1,3 ----
-+ 999999
- גרונטעלעמענט
- דזש×ָבענדיקס
diff --git a/runtime/spell/yi/!yi_tr.diff b/runtime/spell/yi/!yi_tr.diff
deleted file mode 100644
index 5d8183f7d..000000000
--- a/runtime/spell/yi/!yi_tr.diff
+++ /dev/null
@@ -1,8 +0,0 @@
-*** wordlist.txt Tue Aug 16 10:46:26 2005
---- yi_tr.dic Tue Aug 16 10:46:42 2005
-***************
-*** 1,2 ****
---- 1,3 ----
-+ 84608
- gruntelement
- dzhobendiks
diff --git a/runtime/spell/zu/main.aap b/runtime/spell/zu/main.aap
new file mode 100644
index 000000000..7805d7678
--- /dev/null
+++ b/runtime/spell/zu/main.aap
@@ -0,0 +1,83 @@
+# Aap recipe for Zulu 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 = zu_ZA.aff zu_ZA.dic
+
+# There is no Zulu locale, use the Dutch one instead.
+all: $SPELLDIR/zu.latin1.spl $SPELLDIR/zu.utf-8.spl \
+ $SPELLDIR/zu.ascii.spl ../README_zu.txt
+
+$SPELLDIR/zu.latin1.spl : $FILES
+ :sys env LANG=nl_NL.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/zu zu_ZA" -c q
+
+$SPELLDIR/zu.utf-8.spl : $FILES
+ :sys env LANG=nl_NL.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/zu zu_ZA" -c q
+
+$SPELLDIR/zu.ascii.spl : $FILES
+ :sys $VIM -u NONE -e -c "mkspell! -ascii $SPELLDIR/zu zu_ZA" -c q
+
+../README_zu.txt : README_zu_ZA.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%} zu_ZA.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.
+zu_ZA.aff zu_ZA.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch zu_ZA.zip
+ :sys $UNZIP zu_ZA.zip
+ :delete zu_ZA.zip
+ @if not os.path.exists('zu_ZA.orig.aff'):
+ :copy zu_ZA.aff zu_ZA.orig.aff
+ @if not os.path.exists('zu_ZA.orig.dic'):
+ :copy zu_ZA.dic zu_ZA.orig.dic
+ @if os.path.exists('zu_ZA.diff'):
+ :sys patch <zu_ZA.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 zu_ZA.orig.aff zu_ZA.aff >zu_ZA.diff
+ :sys {force} diff -a -C 1 zu_ZA.orig.dic zu_ZA.dic >>zu_ZA.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 zu_ZA.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../zu_ZA.zip
+ :sys {force} diff ../zu_ZA.orig.aff zu_ZA.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy zu_ZA.aff ../zu_ZA.new.aff
+ :sys {force} diff ../zu_ZA.orig.dic zu_ZA.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy zu_ZA.dic ../zu_ZA.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete zu_ZA.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/zu/zu_ZA.diff b/runtime/spell/zu/zu_ZA.diff
new file mode 100644
index 000000000..d44d02905
--- /dev/null
+++ b/runtime/spell/zu/zu_ZA.diff
@@ -0,0 +1,8 @@
+*** zu_ZA.orig.aff Wed Aug 31 21:49:18 2005
+--- zu_ZA.aff Wed Aug 31 21:49:52 2005
+***************
+*** 21 ****
+--- 21,23 ----
+ TRY eanuolkihmgwzbtsypdqfcjvxr
++
++ MIDWORD -