summaryrefslogtreecommitdiffstats
path: root/runtime/spell
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/spell')
-rw-r--r--runtime/spell/de/de_19.diff6
-rw-r--r--runtime/spell/de/de_20.diff4
-rw-r--r--runtime/spell/de/de_AT.diff19
-rw-r--r--runtime/spell/de/de_DE.diff4
-rw-r--r--runtime/spell/es/main.aap92
-rw-r--r--runtime/spell/main.aap2
6 files changed, 108 insertions, 19 deletions
diff --git a/runtime/spell/de/de_19.diff b/runtime/spell/de/de_19.diff
index a807a8b166..447bb2f0ce 100644
--- a/runtime/spell/de/de_19.diff
+++ b/runtime/spell/de/de_19.diff
@@ -1,5 +1,5 @@
-*** de_19.orig.aff Mon Aug 15 22:45:35 2005
---- de_19.aff Mon Aug 15 22:54:10 2005
+*** de_19.orig.aff Thu Aug 25 11:22:08 2005
+--- de_19.aff Thu Aug 25 11:25:21 2005
***************
*** 3,4 ****
--- 3,24 ----
@@ -24,4 +24,4 @@
+ MAP y˙ũ
+ MAP sß
+
-
+ # (c) copyright by Bjoern Jacke <bjoern@j3e.de>
diff --git a/runtime/spell/de/de_20.diff b/runtime/spell/de/de_20.diff
index 432ad5fd97..dce6fe6b96 100644
--- a/runtime/spell/de/de_20.diff
+++ b/runtime/spell/de/de_20.diff
@@ -1,5 +1,5 @@
-*** de_20.orig.aff Mon Aug 15 22:45:41 2005
---- de_20.aff Mon Aug 15 22:54:16 2005
+*** de_20.orig.aff Thu Aug 25 11:22:14 2005
+--- de_20.aff Thu Aug 25 11:22:14 2005
***************
*** 2,3 ****
--- 2,24 ----
diff --git a/runtime/spell/de/de_AT.diff b/runtime/spell/de/de_AT.diff
index 8256aaf5ff..5947a9874d 100644
--- a/runtime/spell/de/de_AT.diff
+++ b/runtime/spell/de/de_AT.diff
@@ -1,5 +1,5 @@
-*** de_AT.orig.aff Mon Aug 15 22:59:43 2005
---- de_AT.aff Mon Aug 15 23:00:25 2005
+*** de_AT.orig.aff Thu Aug 25 11:22:16 2005
+--- de_AT.aff Thu Aug 25 11:22:16 2005
***************
*** 3,4 ****
--- 3,24 ----
@@ -25,8 +25,8 @@
+ MAP sß
+
-*** de_AT.orig.dic Mon Aug 15 22:59:43 2005
---- de_AT.dic Mon Aug 15 23:11:02 2005
+*** de_AT.orig.dic Thu Aug 25 11:22:16 2005
+--- de_AT.dic Thu Aug 25 11:24:01 2005
***************
*** 18,20 ****
Fleischbänke/N
@@ -36,21 +36,18 @@
***************
*** 151,153 ****
zulieb
-! 77857
- Äbte/N
---- 150,152 ----
- zulieb
-!
+- 77857
Äbte/N
+--- 150,151 ----
***************
*** 18792,18794 ****
Geschwulstherde
- Geselchte/N
Geselle/N
---- 18791,18792 ----
+--- 18790,18791 ----
***************
*** 20472,20474 ****
HTML
- Häfen
Häftling/EPS
---- 20470,20471 ----
+--- 20469,20470 ----
diff --git a/runtime/spell/de/de_DE.diff b/runtime/spell/de/de_DE.diff
index fe33b41b86..89f0a33e4e 100644
--- a/runtime/spell/de/de_DE.diff
+++ b/runtime/spell/de/de_DE.diff
@@ -1,5 +1,5 @@
-*** de_DE.orig.aff Mon Aug 15 22:45:33 2005
---- de_DE.aff Mon Aug 15 22:45:33 2005
+*** de_DE.orig.aff Thu Aug 25 11:22:06 2005
+--- de_DE.aff Thu Aug 25 11:22:06 2005
***************
*** 2,3 ****
--- 2,24 ----
diff --git a/runtime/spell/es/main.aap b/runtime/spell/es/main.aap
new file mode 100644
index 0000000000..9abb72c82a
--- /dev/null
+++ b/runtime/spell/es/main.aap
@@ -0,0 +1,92 @@
+# Aap recipe for Spanish Vim spell files.
+
+# Use a freshly compiled Vim if it exists.
+@if os.path.exists('../../../src/vim'):
+ VIM = ../../../src/vim
+@else:
+ :progsearch VIM vim
+
+REGIONS = ES MX
+ES_REGIONS = es_$*REGIONS
+
+SPELLDIR = ..
+FILES = es_$*(REGIONS).aff es_$*(REGIONS).dic
+
+ZIPFILE_ES = es_ES.zip
+ZIPFILE_MX = es_MX.zip
+ZIPFILES = $ZIPFILE_ES $ZIPFILE_MX
+
+READMES = README_es_$*(REGIONS).txt
+
+all: $SPELLDIR/es.latin1.spl $SPELLDIR/es.utf-8.spl ../README_es.txt
+
+$SPELLDIR/es.latin1.spl : $FILES
+ :sys env LANG=es_ES.ISO8859-1
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/es $ES_REGIONS" -c q
+
+$SPELLDIR/es.utf-8.spl : $FILES
+ :sys env LANG=es_ES.UTF-8
+ $VIM -u NONE -e -c "mkspell! $SPELLDIR/es $ES_REGIONS" -c q
+
+../README_es.txt: $READMES
+ :print es_ES >! $target
+ :cat README_es_ES.txt >> $target
+ :print =================================================== >>$target
+ :print es_MX >> $target
+ :cat README_es_MX.txt >> $target
+
+#
+# Fetching the files from the OpenOffice.org site.
+# The OLDSPELL file comes from elsewhere
+#
+OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+:attr {fetch = $OODIR/%file%} $ZIPFILES
+
+# 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.
+es_ES.aff es_ES.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch $ZIPFILE_ES
+ :sys $UNZIP $ZIPFILE_ES
+ :delete add-to--dictionary.lst.example
+ #:delete $ZIPFILE_ES
+ @if not os.path.exists('es_ES.orig.aff'):
+ :copy es_ES.aff es_ES.orig.aff
+ @if not os.path.exists('es_ES.orig.dic'):
+ :copy es_ES.dic es_ES.orig.dic
+ @if os.path.exists('es_ES.diff'):
+ :sys patch <es_ES.diff
+
+es_MX.aff es_MX.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch $ZIPFILE_MX
+ :print No copyright information for es_MX wordlist >! README_es_MX.txt
+ :sys $UNZIP $ZIPFILE_MX
+ #:delete $ZIPFILE_MX
+ :sys $VIM -e -c "set ff=unix | wq" es_MX.dic
+ @if not os.path.exists('es_MX.orig.aff'):
+ :copy es_MX.aff es_MX.orig.aff
+ @if not os.path.exists('es_MX.orig.dic'):
+ :copy es_MX.dic es_MX.orig.dic
+ @if os.path.exists('es_MX.diff'):
+ :sys patch <es_MX.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 es_ES.orig.aff es_ES.aff >es_ES.diff
+ :sys {force} diff -a -C 1 es_ES.orig.dic es_ES.dic >>es_ES.diff
+ :sys {force} diff -a -C 1 es_MX.orig.aff es_MX.aff >es_MX.diff
+ :sys {force} diff -a -C 1 es_MX.orig.dic es_MX.dic >>es_MX.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:
+ :print TODO!!!!
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/main.aap b/runtime/spell/main.aap
index b33b45e7d3..87eddfdb76 100644
--- a/runtime/spell/main.aap
+++ b/runtime/spell/main.aap
@@ -4,7 +4,7 @@
# aap generate all the .spl files
# aap diff create all the diff files
-LANG = af am bg ca cs da de el en eo fr fo gl he hr it nl ny pl sk th yi hu
+LANG = af am bg ca cs da de el en eo es fr fo gl he hr it nl ny pl sk th yi hu
# "hu" is at the end, because it takes very long.
#