Subject: pkg/30530: mail/mew cannot open Mew.png
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <yui@yui.pe.kr>
List: pkgsrc-bugs
Date: 06/15/2005 14:10:00
>Number:         30530
>Category:       pkg
>Synopsis:       mail/mew cannot open Mew.png
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 15 14:10:00 +0000 2005
>Originator:     Kibum Han
>Release:        NetBSD 3.99.3
>Organization:
n/a
>Environment:
NetBSD caspar.wowdns.com 3.99.3 NetBSD 3.99.3 (YUIKERNEL) #0: Tue May 10 12:43:49 KST 2005  root@caspar.wowdns.com:/usr/obj/sys/arch/amd64/compile/YUIKERNEL amd64
>Description:
mew in emacs(x11) tries to show a picture of cute cats, Mew.png, on its start time. But currently it searches a wrong directory, thus fails to run.

* search path: /usr/pkg/share/emacs/site-lisp/mew/etc/Mew.png
* real path where Mew.png exists: /usr/pkg/share/mew/Mew.png

>How-To-Repeat:
$ emacs (not emacs -nw)

M-x mew


>Fix:
I don't know if 'etcdir' setting is essential or not. Anyway, mew runs successful without 'etcdir' setting.

(It seems that the problem is due to some bugs in mew itself, but elisp is beyond my ability. :p)

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/mew/Makefile,v
retrieving revision 1.64
diff -u -r1.64 Makefile
--- Makefile    11 Apr 2005 21:46:20 -0000      1.64
+++ Makefile    15 Jun 2005 13:52:49 -0000
@@ -21,7 +21,7 @@
 MAKE_FLAGS+=   prefix=${PREFIX}
 MAKE_FLAGS+=   EMACS=${EMACS_BIN}
 MAKE_FLAGS+=   elispdir=${EMACS_LISPPREFIX}/mew
-MAKE_FLAGS+=   etcdir=${PREFIX}/share/mew
+#MAKE_FLAGS+=  etcdir=${PREFIX}/share/mew
 
 SUBST_CLASSES=         local
 SUBST_STAGE.local=     post-configure