Updated runtime files.
This commit is contained in:
@ -34,9 +34,9 @@ bg_BG.aff bg_BG.dic: {buildcheck=}
|
||||
:fetch bg_BG.zip
|
||||
:sys $UNZIP bg_BG.zip
|
||||
:delete bg_BG.zip
|
||||
:sys $VIM bg_BG.aff -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM bg_BG.dic -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM README_bg_BG.txt -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM bg_BG.aff -u NONE -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM bg_BG.dic -u NONE -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM README_bg_BG.txt -u NONE -e -c "set ff=unix" -c update -c q
|
||||
@if not os.path.exists('bg_BG.orig.aff'):
|
||||
:copy bg_BG.aff bg_BG.orig.aff
|
||||
@if not os.path.exists('bg_BG.orig.dic'):
|
||||
|
13
runtime/spell/br/br_FR.diff
Normal file
13
runtime/spell/br/br_FR.diff
Normal file
@ -0,0 +1,13 @@
|
||||
*** br_FR.orig.aff 2010-04-14 18:44:36.365731271 +0200
|
||||
--- br_FR.aff 2010-04-14 18:43:31.069137439 +0200
|
||||
***************
|
||||
*** 9,14 ****
|
||||
--- 9,16 ----
|
||||
SET UTF-8
|
||||
TRY esiaùnñrtolcdugmphbyfvkwzESIAÙNÑRTOLCDUGMPHBYFVKWZ'
|
||||
|
||||
+ MIDWORD '
|
||||
+
|
||||
PFX m Y 1
|
||||
PFX m 0 m' [aehiouy]
|
||||
|
86
runtime/spell/br/main.aap
Normal file
86
runtime/spell/br/main.aap
Normal file
@ -0,0 +1,86 @@
|
||||
# Aap recipe for Breton 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 = br_FR.aff br_FR.dic
|
||||
|
||||
all: $SPELLDIR/br.latin1.spl $SPELLDIR/br.utf-8.spl ../README_br.txt
|
||||
|
||||
$SPELLDIR/br.latin1.spl : $FILES
|
||||
:sys $VIM -u NONE -e -c "set enc=latin1"
|
||||
-c "mkspell! $SPELLDIR/br br_FR" -c q
|
||||
|
||||
$SPELLDIR/br.utf-8.spl : $FILES
|
||||
:sys $VIM -u NONE -e -c "set enc=UTF-8"
|
||||
-c "mkspell! $SPELLDIR/br br_FR" -c q
|
||||
|
||||
../README_br.txt : package-description.txt
|
||||
:copy $source $target
|
||||
|
||||
#
|
||||
# Fetching the files from OpenOffice.org.
|
||||
#
|
||||
OODIR = http://extensions.services.openoffice.org/e-files/2207/3
|
||||
:attr {fetch = $OODIR/%file%} dict-br_0.3.oxt
|
||||
|
||||
# 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.
|
||||
br_FR.aff br_FR.dic: {buildcheck=}
|
||||
:assertpkg unzip patch
|
||||
:fetch dict-br_0.3.oxt
|
||||
:sys $UNZIP dict-br_0.3.oxt
|
||||
:delete dict-br_0.3.oxt
|
||||
:copy dictionaries/br_FR.aff br_FR.aff
|
||||
:copy dictionaries/br_FR.dic br_FR.dic
|
||||
# The br_FR.aff file contains a BOM, remove it.
|
||||
:sys $VIM -u NONE -e -c "set enc=utf-8"
|
||||
-c "e br_FR.aff"
|
||||
-c "set nobomb ff=unix"
|
||||
-c "update" -c q
|
||||
:sys $VIM -u NONE -e -c "set enc=utf-8"
|
||||
-c "e br_FR.dic"
|
||||
-c "set nobomb ff=unix"
|
||||
-c "update" -c q
|
||||
@if not os.path.exists('br_FR.orig.aff'):
|
||||
:copy br_FR.aff br_FR.orig.aff
|
||||
@if os.path.exists('br_FR.diff'):
|
||||
:sys patch <br_FR.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 dictionaries/br_FR.aff br_FR.aff >br_FR.diff
|
||||
:sys {force} diff -a -C 1 dictionaries/br_FR.dic br_FR.dic >>br_FR.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 dict-br_0.3.oxt
|
||||
:mkdir tmp
|
||||
:cd tmp
|
||||
@try:
|
||||
@import stat
|
||||
:sys $UNZIP ../dict-br_0.3.oxt
|
||||
:sys {force} diff ../dictionaries/br_FR.aff br_FR.aff >d
|
||||
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||
:copy br_FR.aff ../br_FR.new.aff
|
||||
:sys {force} diff ../dictionaries/br_FR.dic br_FR.dic >d
|
||||
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||
:copy br_FR.dic ../br_FR.new.dic
|
||||
@finally:
|
||||
:cd ..
|
||||
:delete {r}{f}{q} tmp
|
||||
:delete dict-br_0.3.oxt
|
||||
|
||||
|
||||
# vim: set sts=4 sw=4 :
|
@ -36,8 +36,8 @@ ca_ES.aff ca_ES.dic: {buildcheck=}
|
||||
:fetch ca_ES.zip
|
||||
:sys $UNZIP ca_ES.zip
|
||||
:delete ca_ES.zip
|
||||
:sys $VIM ca_ES.aff -c "set ff=unix" -c "update" -c q
|
||||
:sys $VIM ca_ES.dic -c "set ff=unix" -c "update" -c q
|
||||
:sys $VIM ca_ES.aff -u NONE -c "set ff=unix" -c "update" -c q
|
||||
:sys $VIM ca_ES.dic -u NONE -c "set ff=unix" -c "update" -c q
|
||||
@if not os.path.exists('ca_ES.orig.aff'):
|
||||
:copy ca_ES.aff ca_ES.orig.aff
|
||||
@if not os.path.exists('ca_ES.orig.dic'):
|
||||
|
@ -36,9 +36,9 @@ cy_GB.aff cy_GB.dic: {buildcheck=}
|
||||
: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
|
||||
:sys $VIM cy_GB.aff -u NONE -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM cy_GB.dic -u NONE -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM README_cy_GB.txt -u NONE -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'):
|
||||
|
@ -133,7 +133,7 @@ de_AT.aff de_AT.dic: {buildcheck=}
|
||||
|
||||
:print >>de_AT.dic
|
||||
# delete the first line, the word count
|
||||
:sys $VIM de_DE.dic -e -c 1delete -c wq
|
||||
:sys $VIM -u NONE de_DE.dic -e -c 1delete -c wq
|
||||
:cat de_DE.dic >>de_AT.dic
|
||||
:delete de_DE.dic
|
||||
:move de_DE.aff de_AT.aff
|
||||
@ -195,7 +195,7 @@ check:
|
||||
:sys $UNZIP ../$ZIPFILE_AT
|
||||
:print >>de_AT.dic
|
||||
# delete the first line, the word count
|
||||
:sys ../$VIM de_DE.dic -e -c 1delete -c wq
|
||||
:sys ../$VIM -u NONE de_DE.dic -e -c 1delete -c wq
|
||||
:cat de_DE.dic >>de_AT.dic
|
||||
:delete de_DE.dic
|
||||
:move de_DE.aff de_AT.aff
|
||||
|
@ -22,7 +22,7 @@ $SPELLDIR/eo.utf-8.spl : $FILES
|
||||
../README_eo.txt : README_eo_l3.txt
|
||||
:copy $source $target
|
||||
# fix missing newline
|
||||
:sys $VIM $target -e -c "set ff=unix" -c wq
|
||||
:sys $VIM -u NONE -e -c "set ff=unix" -c wq $target
|
||||
|
||||
#
|
||||
# Fetching the files from OpenOffice.org.
|
||||
|
@ -63,7 +63,7 @@ es_MX.aff es_MX.dic: {buildcheck=}
|
||||
: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
|
||||
:sys $VIM -u NONE -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'):
|
||||
|
@ -36,9 +36,9 @@ ku_TR.aff ku_TR.dic: {buildcheck=}
|
||||
: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
|
||||
:sys $VIM ku_TR.aff -u NONE -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM ku_TR.dic -u NONE -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM README_ku_TR.txt -u NONE -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'):
|
||||
|
@ -37,9 +37,9 @@ lv_LV.aff lv_LV.dic: {buildcheck=}
|
||||
: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
|
||||
:sys $VIM lv_LV.aff -u NONE -e -N -c "%s/\r//" -c update -c q
|
||||
:sys $VIM lv_LV.dic -u NONE -e -N -c "%s/\r//" -c update -c q
|
||||
:sys $VIM README_lv_LV.txt -u NONE -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'):
|
||||
|
@ -5,8 +5,8 @@
|
||||
# aap diff create all the diff files
|
||||
|
||||
# "hu" is at the end, because it takes a very long time.
|
||||
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
|
||||
LANG = af am bg br 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
|
||||
|
||||
# TODO:
|
||||
|
@ -36,8 +36,8 @@ ms_MY.aff ms_MY.dic: {buildcheck=}
|
||||
: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
|
||||
:sys $VIM ms_MY.aff -u NONE -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM ms_MY.dic -u NONE -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'):
|
||||
|
@ -67,13 +67,13 @@ pt_BR.aff pt_BR.dic: {buildcheck=}
|
||||
:fetch $BR_FNAME
|
||||
:sys $UNZIP $BR_FNAME
|
||||
:delete $BR_FNAME
|
||||
:sys $VIM README_pt_BR.TXT -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM README_pt_BR.TXT -u NONE -e -c "set ff=unix" -c update -c q
|
||||
:move README_pt_BR.TXT README_pt_BR.txt
|
||||
|
||||
# Vim seems to ignore the dots from the word list.
|
||||
# Removing words with dot to avoid misbehaviour.
|
||||
:sys $VIM pt_BR.dic -e -c "set ff=unix" -c "/\./d" -c update -c q
|
||||
:sys $VIM pt_BR.aff -e -c "set ff=unix" -c update -c q
|
||||
:sys $VIM pt_BR.dic -u NONE -e -c "set ff=unix" -c "/\./d" -c update -c q
|
||||
:sys $VIM pt_BR.aff -u NONE -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'):
|
||||
|
Reference in New Issue
Block a user