File ispell-3.3.02-languages.patch of Package ispell
---
languages/deutsch/Makefile | 67 +++++++++++++++++++++++++++++++++----------
languages/espanol/Makefile | 3 +
languages/portugues/Makefile | 1
3 files changed, 55 insertions(+), 16 deletions(-)
--- languages/deutsch/Makefile
+++ languages/deutsch/Makefile 2016-02-12 10:24:20.859219566 +0000
@@ -104,8 +104,31 @@ FIX8BIT = ../fix8bit
# If you change DICTOPTIONS in your local.h file, you will have to do
# "make dictclean" to clear out the old dictionary before you re-make.
#
-DICTALWAYS = adjektive.txt worte.txt verben.txt
-DICTOPTIONS = Use_LANGUAGES_from_config.X
+DICTALWAYS = worte.txt \
+ verben.txt \
+ adjektive.txt \
+ klein.txt \
+ imperat.txt \
+ abkuerz.txt \
+ vornamen.txt \
+ geographie.txt \
+ latein.txt \
+ oesterreich.txt \
+ informatik.txt \
+ infoabk.txt \
+ elektronik.txt \
+ alphabeta.txt \
+ roemisch.txt \
+ orgabk.txt \
+ marken.txt
+
+DICTXLARGE = worte2.txt \
+ zusammen.txt \
+ technik.txt \
+ compeng.txt \
+ geogra2.txt \
+ vornam2.txt \
+ namen.txt
#
# The following variables may be overridden by the superior Makefile,
@@ -121,7 +144,7 @@ AFFIXES = deutsch.aff
#
SHELLDEBUG = +vx
-all: deutsch.hash
+all: deutschmed.hash deutschlxg.hash
install: all $(CONFIG)
@. $(CONFIG); \
@@ -129,21 +152,28 @@ install: all $(CONFIG)
cd ../..; \
[ -d $(DESTDIR)$$LIBDIR ] || \
$(MAKE) -f Makefile NEWDIR=$(DESTDIR)$$LIBDIR mkdirpath; \
- cd $(DESTDIR)$$LIBDIR; rm -f deutsch.aff deutsch.hash
+ cd $(DESTDIR)$$LIBDIR; rm -f deutsch.aff deutschmed.hash deutschlxg.hash
@. $(CONFIG); \
set -x; \
- cp deutsch.aff deutsch.hash \
+ cp deutsch.aff deutschmed.hash deutschlxg.hash \
`cd ../..; cd $(DESTDIR)$$LIBDIR; pwd`
@. $(CONFIG); \
set -x; \
cd ../..; cd $(DESTDIR)$$LIBDIR; \
- chmod 644 deutsch.aff deutsch.hash
+ chmod 644 deutsch.aff deutschmed.hash deutschlxg.hash
-deutsch.hash: $(BUILDHASH) $(AFFIXES) deutsch.dict
- rm -f deutsch.hash
- $(BUILDHASH) deutsch.dict $(AFFIXES) deutsch.hash
+deutschmed.hash: $(BUILDHASH) $(AFFIXES) deutsch.med
+ rm -f deutschmed.hash
+ $(BUILDHASH) deutsch.med $(AFFIXES) deutschmed.hash
-$(AFFIXES): deutsch.7bit $(FIX8BIT)
+deutschlxg.hash: $(BUILDHASH) $(AFFIXES) deutsch.lxg
+ rm -f deutschlxg.hash
+ $(BUILDHASH) deutsch.lxg $(AFFIXES) deutschlxg.hash
+
+$(AFFIXES): deutsch.aff-hk $(FIX8BIT)
+ $(FIX8BIT) -8 < deutsch.aff-hk > $(AFFIXES)
+
+deutsch-isp.aff: deutsch.7bit $(FIX8BIT)
$(FIX8BIT) -8 < deutsch.7bit > $(AFFIXES)
deutsch-alt.aff: deutsch-alt.7bit $(FIX8BIT)
@@ -152,10 +182,17 @@ deutsch-alt.aff: deutsch-alt.7bit $(FIX8
$(FIX8BIT): ../fix8bit.c
cd ..; $(MAKE) fix8bit
-deutsch.dict: $(DICTALWAYS) $(DICTOPTIONS)
- . $(CONFIG); \
- eval sort -f -o deutsch.dict $$MAKE_SORTTMP \
- $(DICTALWAYS) $(DICTOPTIONS)
+deutsch.med: $(DICTALWAYS) README $(AFFIXES)
+ @. $(CONFIG); \
+ set -x; \
+ eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o deutsch.med \
+ $(DICTALWAYS)
+
+deutsch.lxg: $(DICTALWAYS) $(DICTXLARGE) README $(AFFIXES)
+ @. $(CONFIG); \
+ set -x; \
+ eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o deutsch.lxg \
+ $(DICTALWAYS) $(DICTXLARGE)
#
# The following dependency can be executed when ispell is unpacked,
@@ -179,7 +216,7 @@ kitclean:
# dictionary file.
#
dictclean:
- rm -f deutsch.dict
+ rm -f deutsch.med deutsch.lxg
# required to be present in all other language Makefiles as
# well, even though it doesn't have to do anything in those
--- languages/espanol/Makefile
+++ languages/espanol/Makefile 2016-02-12 10:11:13.518623356 +0000
@@ -61,6 +61,7 @@ MAKE = make
CONFIG = ../../config.sh
PATHADDER = ../..
BUILDHASH = ../../buildhash
+UNSQ = ../../unsq
FIX8BIT = ../fix8bit
#
@@ -68,7 +69,7 @@ FIX8BIT = ../fix8bit
# numerous languages.
#
LANGUAGE = espanol
-DICTIONARY = $(LANGUAGE).words
+DICTIONARY = $(LANGUAGE).dicts
HASHFILE = $(LANGUAGE).hash
#
--- languages/portugues/Makefile
+++ languages/portugues/Makefile 2016-02-12 10:11:13.518623356 +0000
@@ -75,6 +75,7 @@ MAKE = make
CONFIG = ../../config.sh
PATHADDER = ../..
BUILDHASH = ../../buildhash
+UNSQ = ../../unsq
FIX8BIT = ../fix8bit
#