Subject: pkg/17008: dictionary names not used uniformly
To: None <gnats-bugs@gnats.netbsd.org>
From: Marko =?iso-8859-1?Q?Sch=FCtz?= <MarkoSchuetz@web.de>
List: netbsd-bugs
Date: 05/24/2002 21:27:50
>Number: 17008
>Category: pkg
>Synopsis: dictionary names not used uniformly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri May 24 12:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Marko Sch=FCtz
>Release: NetBSD 1.5ZC
>Organization:
individual
>Environment:
System: NetBSD xpad.hisplace.rhein-main.de 1.5ZC NetBSD 1.5ZC (XPAD) #1=
: Wed May 8 13:11:23 CEST 2002 marko@xpad.hisplace.rhein-main.de:/usr/s=
rc/sys/arch/i386/compile/XPAD i386
Architecture: i386
Machine: i386
>Description:
The ispell-german package installs a dictionary 'german.hash'
and 'german.aff'. Emacs however will tell ispell to look for
dictionary 'deutsch.aff' and 'deutsch.hash'. Since IMO both names make
>How-To-Repeat:
Install emacs, ispell-german. Select
Edit->Spell->SelectDeutsch from Emacs' menu. M-x ispell-buffer.
>Fix:
This is the output of `cvs diff` run in ispell-german
? README.html
cvs server: Diffing .
Index: PLIST
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/textproc/ispell-german/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST 2001/10/31 22:57:08 1.1
+++ PLIST 2002/05/24 19:25:24
@@ -1,3 +1,5 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:57:08 zuntum Exp $
lib/german.aff
lib/german.hash
+@unexec rm %D/lib/deutsch.aff
+@unexec rm %D/lib/deutsch.hash
Index: distinfo
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/textproc/ispell-german/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 2001/04/20 15:04:59 1.2
+++ distinfo 2002/05/24 19:25:24
@@ -2,4 +2,4 @@
=
SHA1 (igerman98-20001109.tar.bz2) =3D 5bb5220587a9c9aaf01d8aa0e8af70ef=
6304760f
Size (igerman98-20001109.tar.bz2) =3D 291598 bytes
-SHA1 (patch-aa) =3D 919288120fed3276a1786c0d260ea1e207113afb
+SHA1 (patch-aa) =3D d2017dadbfdd4aaba780771a711bdee59e032726
cvs server: Diffing patches
Index: patches/patch-aa
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/textproc/ispell-german/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patch-aa 2001/03/15 15:26:35 1.1.1.1
+++ patch-aa 2002/05/24 19:25:24
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/03/15 15:26:35 wiz Exp $
+$NetBSD$
=
--- Makefile.orig Sun Sep 3 02:57:42 2000
+++ Makefile
@@ -10,12 +10,23 @@
BUILDHASH =3D buildhash
ISPELL =3D ispell
SQ =3D sq
-@@ -75,7 +74,7 @@
+@@ -56,6 +55,8 @@
+ =
+ ASPELL =3D aspell
+ =
++ISPELL_LIBDIR!=3D$(ISPELL) -vv |grep LIBDIR |sed "s/.*\=3D//" |tr -d=
\"
++
+ # to let `sort' behave more sane:
+ LC_ALL =3D POSIX
+ LC_COLLATE =3D POSIX
+@@ -75,7 +76,9 @@
cd dicts; sed "s/qq//g;s/\.//" abkuerzpunkt.txt $(WORTE) |sort -u > =
../$@
=
install: german.hash
- cp german.aff german.hash `$(ISPELL) -vv |grep LIBDIR |sed "s/.*\=3D=
//" |tr -d \"`
-+ ${BSD_INSTALL_DATA} german.aff german.hash `$(ISPELL) -vv |grep LIBD=
IR |sed "s/.*\=3D//" |tr -d \"`
++ ${BSD_INSTALL_DATA} german.aff german.hash ${ISPELL_LIBDIR}
++ ln -s ${ISPELL_LIBDIR}/german.aff ${ISPELL_LIBDIR}/deutsch.aff
++ ln -s ${ISPELL_LIBDIR}/german.hash ${ISPELL_LIBDIR}/deutsch.hash
=
## Swiss Ispell stuff:
=
>Release-Note:
>Audit-Trail:
>Unformatted:
>sense, I suggest modifying the package to link 'deutsch.aff' to
>'german.aff' and likewise for .hash.