Subject: pkg/12145: Adding German dictionary to ispell
To: None <>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 02/07/2001 03:20:24
>Number:         12145
>Category:       pkg
>Synopsis:       Adding German dictionary to ispell
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 07 03:23:00 PST 2001
>Originator:     Thilo Manske
>Release:        pkgsrc as of today (Feb 7 2000)
Dies ist Thilos Unix Signature! Viel Spass damit.
System: NetBSD WintelKiller 1.5R NetBSD 1.5R (WintelKiller) #275: Mon Feb 5 00:19:12 MET 2001 i386
Architecture: i386
Machine: i386

Ispell has support for US-English, UK-English and French dictionaries, but
German is missing. This adds the building and installation of a German
dictionary in the same way as the French dictionary.

And I think it fixes the problem of pkg/12144 as well since it raises
MASKBITS from the default (32) to 64 (wich is needed by many languages).

XXX Maybe it's better to split of ispell into a ispell package wich just
builds and install the ispell-binary and support tools like buildhash and
unsq and dictionary packages (ispell-ukenglish, ispell-usenglish,
ispell-french etc...).

XXX By playing around with the definition of WORTE in igerman98's Makefile
it's possible to build Swiss-German and Austrian dictionaries as well.
Also it's possible to build dictionaries wich does not include "old"
or only "old" spellings ("Neue Rechtschreibung" vs "Alte
Rechtschreibung", Germans know what I mean :-). And some other stuff like
including names...

--- Makefile.old	Sun Jan  2 13:50:54 2000
+++ Makefile	Tue Jan 30 14:23:15 2001
@@ -21,8 +21,9 @@
 .if exists(/usr/include/inttypes.h)
 .include "../../mk/"
@@ -32,6 +33,12 @@
+.ifdef ISPELL_DE
+ISPELL_EXTRA_DICT=	igerman98-20001109.tar.bz2
 .ifndef ISPELL_LANG
 	@${ECHO} '*******************************************************'
@@ -39,6 +46,8 @@
 	@${ECHO} '* typing "${MAKE} british" following a "${MAKE} clean"*'
 	@${ECHO} '* Note that you can build a french/english version    *'
 	@${ECHO} '* by typing "${MAKE} french"                          *'
+	@${ECHO} '* Note that you can build a german/english version    *'
+	@${ECHO} '* by typing "${MAKE} german"                          *'
 	@${ECHO} '*******************************************************'
@@ -57,5 +66,10 @@
 	@${ECHO} "Okay, making a french/english version of ispell...."
+	@${ECHO} "Okay, making a german version of ispell...."
 .include "../../mk/"
--- scripts/configure.old	Fri Aug  7 13:26:08 1998
+++ scripts/configure	Tue Jan 30 14:28:56 2001
@@ -25,6 +25,14 @@
     (echo RM=rm -f; echo LIBDIR=$PREFIX/lib; echo HASH=../../buildhash) \
            >> $WRKSRC/languages/francais-IREQ/Makefile
+    igerman98*)
+    mkdir -p $WRKSRC/languages/igerman98
+    LOCAL=' {igerman98}'
+    mv $WRKDIR/igerman98-*/* $WRKSRC/languages/igerman98/
+    (echo RM=rm -f; echo LIBDIR=$PREFIX/lib; echo BUILDHASH=../../buildhash;
+     echo UNSQ=../../../unsq;echo all: german.hash; ) \
+           >> $WRKSRC/languages/igerman98/Makefile
+    ;;
     echo "I don't now how to configure ispell with $extra_dict"
     exit 1;