annotate runtime/spell/hu/main.aap @ 16817:069ee8dc8c8d v8.1.1410

patch 8.1.1410: popup_move() is not implemented yet commit https://github.com/vim/vim/commit/60cdb3004abe683e5e8851fa6c5d67b337df4443 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 27 21:54:10 2019 +0200 patch 8.1.1410: popup_move() is not implemented yet Problem: Popup_move() is not implemented yet. Solution: Implement it. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/4441) Improve the positioning and resizing.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 May 2019 22:00:07 +0200
parents 11d40fc82f11
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
1 # Aap recipe for Hungarian Vim spell files.
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
2
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
3 # Use a freshly compiled Vim if it exists.
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
4 @if os.path.exists('../../../src/vim'):
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
5 VIM = ../../../src/vim
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
6 @else:
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
7 :progsearch VIM vim
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
8
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
9 SPELLDIR = ..
3682
11d40fc82f11 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 827
diff changeset
10 VIMRC = ../spell.vim
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
11 FILES = hu_HU.aff hu_HU.dic
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
12
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
13 all: $SPELLDIR/hu.iso-8859-2.spl $SPELLDIR/hu.utf-8.spl \
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
14 $SPELLDIR/hu.cp1250.spl ../README_hu.txt
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
15
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
16 $SPELLDIR/hu.iso-8859-2.spl : $FILES
3682
11d40fc82f11 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 827
diff changeset
17 :sys env LANG=hu_HU.ISO8859-2 $VIM -u $VIMRC -e -c "mkspell! $SPELLDIR/hu hu_HU" -c q
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
18
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
19 $SPELLDIR/hu.utf-8.spl : $FILES
3682
11d40fc82f11 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 827
diff changeset
20 :sys env LANG=hu_HU.UTF-8 $VIM -u $VIMRC -e -c "mkspell! $SPELLDIR/hu hu_HU" -c q
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
21
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
22 $SPELLDIR/hu.cp1250.spl : $FILES
3682
11d40fc82f11 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 827
diff changeset
23 :sys $VIM -u $VIMRC -e -c "set enc=cp1250" -c "mkspell! $SPELLDIR/hu hu_HU" -c q
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
24
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
25 ../README_hu.txt: README_hu_HU.txt
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
26 :copy $source $target
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
27
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
28 #
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
29 # Fetching the files from OpenOffice.org.
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
30 #
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
31 OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
32 :attr {fetch = $OODIR/%file%} hu_HU.zip
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
33
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
34 # The files don't depend on the .zip file so that we can delete it.
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
35 # Only download the zip file if the targets don't exist.
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
36 # This is a bit tricky, since the file name includes the date.
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
37 hu_HU.aff hu_HU.dic: {buildcheck=}
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
38 :assertpkg unzip patch
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
39 :fetch hu_HU.zip
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
40 :sys $UNZIP hu_HU.zip
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
41 :delete hu_HU.zip
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
42 @if not os.path.exists('hu_HU.orig.aff'):
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
43 :copy hu_HU.aff hu_HU.orig.aff
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
44 @if not os.path.exists('hu_HU.orig.dic'):
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
45 :copy hu_HU.dic hu_HU.orig.dic
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
46 @if os.path.exists('hu_HU.diff'):
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
47 :sys patch <hu_HU.diff
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
48
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
49
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
50 # Generate diff files, so that others can get the OpenOffice files and apply
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
51 # the diffs to get the Vim versions.
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
52
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
53 diff:
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
54 :assertpkg diff
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
55 :sys {force} diff -a -C 1 hu_HU.orig.aff hu_HU.aff >hu_HU.diff
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
56 :sys {force} diff -a -C 1 hu_HU.orig.dic hu_HU.dic >>hu_HU.diff
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
57
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
58
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
59 # Check for updated OpenOffice spell files. When there are changes the
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
60 # ".new.aff" and ".new.dic" files are left behind for manual inspection.
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
61
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
62 check:
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
63 :assertpkg unzip diff
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
64 :fetch hu_HU.zip
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
65 :mkdir tmp
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
66 :cd tmp
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
67 @try:
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
68 @import stat
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
69 :sys $UNZIP ../hu_HU.zip
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
70 :sys {force} diff ../hu_HU.orig.aff hu_HU.aff >d
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
71 @if os.stat('d')[stat.ST_SIZE] > 0:
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
72 :copy hu_HU.aff ../hu_HU.new.aff
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
73 :sys {force} diff ../hu_HU.orig.dic hu_HU.dic >d
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
74 @if os.stat('d')[stat.ST_SIZE] > 0:
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
75 :copy hu_HU.dic ../hu_HU.new.dic
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
76 @finally:
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
77 :cd ..
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
78 :delete {r}{f}{q} tmp
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
79 :delete hu_HU.zip
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 822
diff changeset
80
482
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
81
6f8b578776ab updated for version 7.0131
vimboss
parents:
diff changeset
82 # vim: set sts=4 sw=4 :