summaryrefslogtreecommitdiffstats
path: root/runtime/spell/bg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:18:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:18:03 +0000
commitafce081b90c1e2c50c3507758c7558a0dfa1f33e (patch)
tree3fb840f0bd9de41b463443ddf17131a0ad77f226 /runtime/spell/bg
parentInitial commit. (diff)
downloadvim-afce081b90c1e2c50c3507758c7558a0dfa1f33e.tar.xz
vim-afce081b90c1e2c50c3507758c7558a0dfa1f33e.zip
Adding upstream version 2:8.2.2434.upstream/2%8.2.2434upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'runtime/spell/bg')
-rw-r--r--runtime/spell/bg/bg_BG.diff186
-rw-r--r--runtime/spell/bg/main.aap80
2 files changed, 266 insertions, 0 deletions
diff --git a/runtime/spell/bg/bg_BG.diff b/runtime/spell/bg/bg_BG.diff
new file mode 100644
index 0000000..e3ccbb6
--- /dev/null
+++ b/runtime/spell/bg/bg_BG.diff
@@ -0,0 +1,186 @@
+*** bg_BG.orig.aff Sun Aug 28 21:34:44 2005
+--- bg_BG.aff Thu Sep 29 21:59:31 2005
+***************
+*** 1,2 ****
+! SET microsoft-cp1251
+ TRY àåíîèðòâñëêìïçäÿóúá÷ãöæõøôéùþüÀÅÍÎÈÐÒÂÑËÊÌÏÇÄßÓÚÁ×ÃÖÆÕØÔÉÙÞÜ
+--- 1,2 ----
+! SET cp1251
+ TRY àåíîèðòâñëêìïçäÿóúá÷ãöæõøôéùþüÀÅÍÎÈÐÒÂÑËÊÌÏÇÄßÓÚÁ×ÃÖÆÕØÔÉÙÞÜ
+***************
+*** 1682,1684 ****
+
+! MAP 26
+ MAP àúüa
+--- 1682,1684 ----
+
+! MAP 25
+ MAP àúüa
+***************
+*** 1691,1695 ****
+ MAP æø
+! MAP çñ
+ MAP pð
+- MAP cñ
+ MAP xõ
+--- 1691,1694 ----
+ MAP æø
+! MAP cçñ
+ MAP pð
+ MAP xõ
+***************
+*** 1707,1709 ****
+ MAP PÐ
+- MAP YÓ
+ MAP XÕ
+--- 1706,1855 ----
+ MAP PÐ
+ MAP XÕ
++
++ REP 2
++ REP Y Ó
++ REP Ó Y
++
++ # Bulgarian phonetic transformation rules for use with Aspell
++ # Copyright (C) 2003 Anton Zinoviev
++ #
++ # This software may be used and distributed under the same terms as
++ # the other parts of the bgoffice project.
++ #
++ # Changelog:
++ #
++ # 19.IX.2003 Anton Zinoviev <zinoviev@debian.org>
++ # Initial release
++
++ SAL version 1
++ SAL followup 0
++ SAL collapse_result 1
++
++ SAL À Ú
++ SAL Ú Ú
++ SAL Î Ó
++ SAL Ó Ó
++ SAL Å È
++ SAL È È
++ SAL Þ Ó
++ SAL ß Ú
++ SAL É _
++ SAL Ü _
++ SAL ÁÑÊ ÏÊ
++ SAL ÁÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ï
++ SAL ÁT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ï
++ SAL ÁÄ$ Ï
++ SAL ÁT$ Ï
++ SAL Á Ï
++ SAL ÂÑÊ ÔÊ
++ SAL ÂÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ô
++ SAL ÂT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ô
++ SAL ÂÄ$ Ô
++ SAL ÂT$ Ô
++ SAL Â Ô
++ SAL ÃÑÊ Ê
++ SAL ÃÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ê
++ SAL ÃT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ê
++ SAL ÃÄ$ Ê
++ SAL ÃT$ Ê
++ SAL Ã Ê
++ SAL ÄÑÊ< ÒÊ
++ SAL ÄÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ò
++ SAL ÄT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ò
++ SAL ÄÄ$ Ò
++ SAL ÄT$ Ò
++ SAL Ä Ò
++ SAL ÆÑÊ ØÊ
++ SAL ÆÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ø
++ SAL ÆT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ø
++ SAL ÆÄ$ Ø
++ SAL ÆT$ Ø
++ SAL Æ Ø
++ SAL ÇÑÊ ÑÊ
++ SAL ÇÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ñ
++ SAL ÇT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ñ
++ SAL ÇÄ$ Ñ
++ SAL ÇT$ Ñ
++ SAL Ç Ñ
++ SAL ÊÑÊ Ê
++ SAL ÊÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ê
++ SAL ÊT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ê
++ SAL ÊÄ$ Ê
++ SAL ÊT$ Ê
++ SAL Ê Ê
++ SAL ËÑÊ ËÊ
++ SAL ËÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ë
++ SAL ËT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ë
++ SAL ËÄ$ Ë
++ SAL ËT$ Ë
++ SAL Ë Ë
++ SAL ÌÑÊ ÌÊ
++ SAL ÌÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ì
++ SAL ÌT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ì
++ SAL ÌÄ$ Ì
++ SAL ÌT$ Ì
++ SAL Ì Ì
++ SAL ÍÑÊ ÍÊ
++ SAL ÍÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Í
++ SAL ÍT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Í
++ SAL ÍÄ$ Í
++ SAL ÍT$ Í
++ SAL Í Í
++ SAL ÏÑÊ ÏÊ
++ SAL ÏÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ï
++ SAL ÏT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ï
++ SAL ÏÄ$ Ï
++ SAL ÏT$ Ï
++ SAL Ï Ï
++ SAL ÐÑÊ ÐÊ
++ SAL ÐÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ð
++ SAL ÐT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ð
++ SAL ÐÄ$ Ð
++ SAL ÐT$ Ð
++ SAL Ð Ð
++ SAL ÑÑÊ ÑÊ
++ SAL ÑÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ñ
++ SAL ÑT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ñ
++ SAL ÑÄ$ Ñ
++ SAL ÑT$ Ñ
++ SAL Ñ Ñ
++ SAL ÒÑÊ< ÒÊ
++ SAL ÒÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ò
++ SAL ÒT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ò
++ SAL ÒÄ$ Ò
++ SAL ÒT$ Ò
++ SAL Ò Ò
++ SAL ÔÑÊ ÔÊ
++ SAL ÔÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ô
++ SAL ÔT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ô
++ SAL ÔÄ$ Ô
++ SAL ÔT$ Ô
++ SAL Ô Ô
++ SAL ÕÑÊ ÕÊ
++ SAL ÕÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Õ
++ SAL ÕT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Õ
++ SAL ÕÄ$ Õ
++ SAL ÕT$ Õ
++ SAL Õ Õ
++ SAL ÖÑÊ ÖÊ
++ SAL ÖÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ö
++ SAL ÖT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ö
++ SAL ÖÄ$ Ö
++ SAL ÖT$ Ö
++ SAL Ö Ö
++ SAL ×ÑÊ ×Ê
++ SAL ×Ä(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- ×
++ SAL ×T(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- ×
++ SAL ×Ä$ ×
++ SAL ×T$ ×
++ SAL × ×
++ SAL ØÑÊ ØÊ
++ SAL ØÄ(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ø
++ SAL ØT(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ø
++ SAL ØÄ$ Ø
++ SAL ØT$ Ø
++ SAL Ø Ø
++ SAL ÙÑÊ ØÊ
++ SAL Ù(ÁÂÃÄÆÇÊËÌÍÏÐÑÒÃÕÖ×ØÙ)- Ø
++ SAL Ù$ Ø
++ SAL Ù Ù
diff --git a/runtime/spell/bg/main.aap b/runtime/spell/bg/main.aap
new file mode 100644
index 0000000..bb34b9a
--- /dev/null
+++ b/runtime/spell/bg/main.aap
@@ -0,0 +1,80 @@
+# Aap recipe for Bulgarian 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 = bg_BG.aff bg_BG.dic
+
+all: $SPELLDIR/bg.cp1251.spl $SPELLDIR/bg.utf-8.spl ../README_bg.txt
+
+$SPELLDIR/bg.cp1251.spl : $FILES
+ :sys env LANG=bg_BG.CP1251 $VIM -u NONE -e -c "mkspell! $SPELLDIR/bg bg_BG" -c q
+
+$SPELLDIR/bg.utf-8.spl : $FILES
+ :sys env LANG=bg_BG.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/bg bg_BG" -c q
+
+../README_bg.txt: README_bg_BG.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%} bg_BG.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.
+bg_BG.aff bg_BG.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch bg_BG.zip
+ :sys $UNZIP bg_BG.zip
+ :delete bg_BG.zip
+ :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'):
+ :copy bg_BG.dic bg_BG.orig.dic
+ @if os.path.exists('bg_BG.diff'):
+ :sys patch <bg_BG.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 bg_BG.orig.aff bg_BG.aff >bg_BG.diff
+ :sys {force} diff -a -C 1 bg_BG.orig.dic bg_BG.dic >>bg_BG.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 bg_BG.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $UNZIP ../bg_BG.zip
+ :sys {force} diff ../bg_BG.orig.aff bg_BG.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy bg_BG.aff ../bg_BG.new.aff
+ :sys {force} diff ../bg_BG.orig.dic bg_BG.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy bg_BG.dic ../bg_BG.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete bg_BG.zip
+
+
+# vim: set sts=4 sw=4 :