annotate runtime/spell/de/main.aap @ 20596:4ec94bcaef86

Added tag v8.2.0851 for changeset 3609e842f8229ebc52cbb5e172eabcf75be81e2b
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 20:00:04 +0200
parents 2704c4e3e20a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
446
7472c565592a updated for version 7.0117
vimboss
parents: 388
diff changeset
1 # Aap recipe for German Vim spell files.
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
2 #
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
3 # Since there is a big discussion about whether to use the old or the new
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
4 # spelling rules, both have been included.
15640
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
5 # "de": new German spelling
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
6 # "de_de": old and new German spelling
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
7 # "de_19": old German spelling
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
8 # "de_20": new German spelling
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
9 # "de_AT": Austrian spelling
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
10 # "de_CH": Swiss spelling
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
11
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
12 # Use a freshly compiled Vim if it exists.
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
13 @if os.path.exists('../../../src/vim'):
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
14 VIM = ../../../src/vim
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
15 @else:
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 448
diff changeset
16 :progsearch VIM vim
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
17
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
18 REGIONS = DE 19 20 AT CH
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
19 DE_REGIONS = de_$*REGIONS
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
20
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
21 SPELLDIR = ..
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
22 FILES = de_$*(REGIONS).aff de_$*(REGIONS).dic
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
23
15640
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
24 # The de_20 is the same as de_DE dictionary and only uses the
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
25 # new revised orthography
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
26 FILE_DE_AFF = de_DE_frami.aff
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
27 FILE_DE_DIC = de_DE_frami.dic
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
28 FILE_20_AFF = de_DE_frami.aff
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
29 FILE_20_DIC = de_DE_frami.dic
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
30 FILE_AT_AFF = de_AT_frami.aff
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
31 FILE_AT_DIC = de_AT_frami.dic
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
32 FILE_CH_AFF = de_CH_frami.aff
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
33 FILE_CH_DIC = de_CH_frami.dic
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
34 #ZIPFILES = $ZIPFILE_DE $ZIPFILE_20 $ZIPFILE_AT $ZIPFILE_CH
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
35 ZIPFILE_19 = de_OLDSPELL.zip # unmaintained
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
36 DICT_FILES = $FILE_20_AFF $FILE_20_DIC $FILE_AT_AFF $FILE_AT_DIC $FILE_CH_AFF $FILE_CH_DIC
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
37
17571
2704c4e3e20a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15640
diff changeset
38 # frami files adjusted for Vim are found here
2704c4e3e20a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15640
diff changeset
39 YAMAGIDIR = https://raw.githubusercontent.com/Yamagi/vim-german-dictionaries/master
2704c4e3e20a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15640
diff changeset
40
2704c4e3e20a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15640
diff changeset
41 READMES = README.md
2704c4e3e20a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15640
diff changeset
42 :attr {fetch = $YAMAGIDIR/%file%} $READMES
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
43
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
44 all: $SPELLDIR/de.latin1.spl $SPELLDIR/de.utf-8.spl ../README_de.txt
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
45
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
46 $SPELLDIR/de.latin1.spl : $FILES
2292
ea3c3f13385c Update spell files for Ubuntu locale names.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
47 :sys env LANG=de_DE.ISO-8859-1
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
48 $VIM -u NONE -e -c "mkspell! $SPELLDIR/de $DE_REGIONS" -c q
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
49
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
50 $SPELLDIR/de.utf-8.spl : $FILES
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
51 :sys env LANG=de_DE.UTF-8
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
52 $VIM -u NONE -e -c "mkspell! $SPELLDIR/de $DE_REGIONS" -c q
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
53
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
54 ../README_de.txt: $READMES
15640
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
55 :fetch $READMES
17571
2704c4e3e20a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15640
diff changeset
56 :print README.md >! $target
2704c4e3e20a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15640
diff changeset
57 :cat README.md >> $target
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
58
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
59 #
15640
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
60 # Fetching the files from the LibreOffices github repository.
499
08012a1ff8d4 updated for version 7.0137
vimboss
parents: 482
diff changeset
61 # The OLDSPELL file comes from elsewhere
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
62 #
499
08012a1ff8d4 updated for version 7.0137
vimboss
parents: 482
diff changeset
63 DEDIR = http://www.j3e.de/myspell
17571
2704c4e3e20a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15640
diff changeset
64 :attr {fetch = $YAMAGIDIR/src/%file%} $DICT_FILES
499
08012a1ff8d4 updated for version 7.0137
vimboss
parents: 482
diff changeset
65 :attr {fetch = $DEDIR/%file%} $ZIPFILE_19
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
66
15640
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
67 de_DE.aff de_DE.dic de_20.aff de_20.dic: {buildcheck=}
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
68 :fetch $FILE_DE_AFF
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
69 :fetch $FILE_DE_DIC
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
70 :move de_DE_frami.aff de_DE.aff
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
71 :move de_DE_frami.dic de_DE.dic
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
72 :copy de_DE.aff de_20.aff
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
73 :copy de_DE.dic de_20.dic
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
74
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
75 de_19.aff de_19.dic: {buildcheck=}
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
76 :assertpkg unzip patch
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
77 :fetch $ZIPFILE_19
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
78 :sys $UNZIP $ZIPFILE_19
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
79 :delete $ZIPFILE_19
499
08012a1ff8d4 updated for version 7.0137
vimboss
parents: 482
diff changeset
80 :move de_OLDSPELL.aff de_19.aff
08012a1ff8d4 updated for version 7.0137
vimboss
parents: 482
diff changeset
81 :move de_OLDSPELL.dic de_19.dic
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
82 @if not os.path.exists('de_19.orig.aff'):
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
83 :copy de_19.aff de_19.orig.aff
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
84 @if not os.path.exists('de_19.orig.dic'):
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
85 :copy de_19.dic de_19.orig.dic
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
86 @if os.path.exists('de_19.diff'):
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
87 :sys patch <de_19.diff
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
88
499
08012a1ff8d4 updated for version 7.0137
vimboss
parents: 482
diff changeset
89 de_AT.aff de_AT.dic: {buildcheck=}
15640
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
90 :fetch $FILE_AT_AFF
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
91 :fetch $FILE_AT_DIC
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
92 :move $FILE_AT_AFF de_AT.aff
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
93 :move $FILE_AT_DIC de_AT.dic
481
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
94
66080ac5dab7 updated for version 7.0130
vimboss
parents: 456
diff changeset
95 de_CH.aff de_CH.dic: {buildcheck=}
15640
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
96 :fetch $FILE_CH_AFF
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
97 :fetch $FILE_CH_DIC
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
98 :move $FILE_CH_AFF de_CH.aff
7cfe57329284 Updated runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2292
diff changeset
99 :move $FILE_CH_DIC de_CH.dic
388
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
100
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
101
f92bb1845823 updated for version 7.0101
vimboss
parents:
diff changeset
102 # vim: set sts=4 sw=4 :