summaryrefslogtreecommitdiff
path: root/runtime/spell/pl
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-03 21:39:27 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-03 21:39:27 +0000
commit7d1f5dbc0a254d7524b3f985f2440bf89e037355 (patch)
tree7e4c83253b68e454fca710b215f928c1e012ba74 /runtime/spell/pl
parent51ac12f68322b411ae5b038834a649a0e9ccb462 (diff)
downloadvim-git-7d1f5dbc0a254d7524b3f985f2440bf89e037355.tar.gz
updated for version 7.0101v7.0101
Diffstat (limited to 'runtime/spell/pl')
-rw-r--r--runtime/spell/pl/main.aap75
-rw-r--r--runtime/spell/pl/pl_PL.diff31
2 files changed, 106 insertions, 0 deletions
diff --git a/runtime/spell/pl/main.aap b/runtime/spell/pl/main.aap
new file mode 100644
index 000000000..b28477d02
--- /dev/null
+++ b/runtime/spell/pl/main.aap
@@ -0,0 +1,75 @@
+# Aap recipe for Dutch Vim spell files.
+
+# Use a freshly compiled Vim if it exists.
+@if os.path.exists('../../../src/vim'):
+ VIM = ../../../src/vim
+@else:
+ VIM = vim
+
+SPELLDIR = ..
+FILES = pl_PL.aff pl_PL.dic
+
+all: $(SPELLDIR)/pl.iso-8859-2.spl $(SPELLDIR)/pl.utf-8.spl ../README_pl.txt
+
+$(SPELLDIR)/pl.iso-8859-2.spl : $(VIM) $(FILES)
+ :sys env LANG=pl_PL.ISO8859-2 $(VIM) -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
+
+$(SPELLDIR)/pl.utf-8.spl : $(VIM) $(FILES)
+ :sys env LANG=pl_PL.UTF-8 $(VIM) -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
+
+../README_pl.txt: README_pl_PL.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%} pl_PL.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.
+pl_PL.aff pl_PL.dic: {buildcheck=}
+ :assertpkg unzip patch
+ :fetch pl_PL.zip
+ :sys $(UNZIP) pl_PL.zip
+ :delete pl_PL.zip
+ @if not os.path.exists('pl_PL.orig.aff'):
+ :copy pl_PL.aff pl_PL.orig.aff
+ @if not os.path.exists('pl_PL.orig.dic'):
+ :copy pl_PL.aff pl_PL.orig.dic
+ :sys patch <pl_PL.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 pl_PL.orig.aff pl_PL.aff >pl_PL.diff
+ :sys {force} diff -a -C 1 pl_PL.orig.dic pl_PL.dic >>pl_PL.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 pl_PL.zip
+ :mkdir tmp
+ :cd tmp
+ @try:
+ @import stat
+ :sys $(UNZIP) ../pl_PL.zip
+ :sys {force} diff ../pl_PL.orig.aff pl_PL.aff >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy pl_PL.aff ../pl_PL.new.aff
+ :sys {force} diff ../pl_PL.orig.dic pl_PL.dic >d
+ @if os.stat('d')[stat.ST_SIZE] > 0:
+ :copy pl_PL.dic ../pl_PL.new.dic
+ @finally:
+ :cd ..
+ :delete {r}{f}{q} tmp
+ :delete pl_PL.zip
+
+
+# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/pl/pl_PL.diff b/runtime/spell/pl/pl_PL.diff
new file mode 100644
index 000000000..562d59a58
--- /dev/null
+++ b/runtime/spell/pl/pl_PL.diff
@@ -0,0 +1,31 @@
+*** pl_PL.orig.aff Wed Mar 30 06:50:02 2005
+--- pl_PL.aff Sat Jun 18 19:45:45 2005
+***************
+*** 3,4 ****
+--- 3,7 ----
+
++ FOL ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ LOW ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ UPP ¡¢£¥¦¨©ª«¬®¯±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
+
+***************
+*** 6614 ****
+--- 6617,6634 ----
+ SFX y y ie jmy
++
++ # REP entries proposed by Mikolaj Machowski:
++ REP 14
++ REP b p
++ REP p b
++ REP ¿ rz
++ REP rz ¿
++ REP w f
++ REP f w
++ REP ó u
++ REP u ó
++ REP ci æ
++ REP æ ci
++ REP si ¶
++ REP ¶ si
++ REP ni ñ
++ REP ñ ni