NetBSD Problem Report #43649
From ryo_on@yk.rim.or.jp Wed Jul 21 07:53:27 2010
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 6BD6863BAE8
for <gnats-bugs@gnats.netbsd.org>; Wed, 21 Jul 2010 07:53:27 +0000 (UTC)
Message-Id: <20100721075327.0775863B100@mail.netbsd.org>
Date: Wed, 21 Jul 2010 07:53:25 +0000 (UTC)
From: ryo_on@yk.rim.or.jp
Reply-To: ryo_on@yk.rim.or.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: Please update inputmethod/skk to 14.0.91
X-Send-Pr-Version: 3.95
>Number: 43649
>Category: pkg
>Synopsis: Please update inputmethod/skk to 14.0.91
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: obache
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 21 07:55:00 +0000 2010
>Closed-Date: Sat Jul 31 08:47:13 +0000 2010
>Last-Modified: Mon Aug 02 01:25:01 +0000 2010
>Originator: Ryo ONODERA
>Release: NetBSD 5.99.36
>Organization:
>Environment:
System: NetBSD hydrogen.elements.tetera.org 5.99.36 NetBSD 5.99.36 (BRIGHTGIRL7) #39: Tue Jul 20 07:20:17 JST 2010 root@hydrogen.elements.tetera.org:/usr/obj/sys/arch/i386/compile/BRIGHTGIRL7 i386
Architecture: i386
Machine: i386
>Description:
Please update inputmethod/skk to 14.0.91.
This works well with emacs22 package on my machine.
I tested with emacs23, and it works.
>How-To-Repeat:
>Fix:
The patch is here.
diff -x CVS -upNr /usr/pkgsrc/inputmethod/skk/Makefile skk/Makefile
--- /usr/pkgsrc/inputmethod/skk/Makefile 2009-08-06 10:44:52.000000000 +0900
+++ skk/Makefile 2010-07-17 12:04:49.000000000 +0900
@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.20 2009/08/06 01:44:52 minskim Exp $
#
-DISTNAME= ddskk-20080309
+DISTNAME= ddskk-14.0.91
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/^ddskk/skk/}
-PKGREVISION= 1
CATEGORIES= japanese inputmethod
MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/ \
http://openlab.ring.gr.jp/skk/maintrunk/old-snapshots/
@@ -11,6 +10,7 @@ MASTER_SITES= http://openlab.ring.gr.jp/
MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://openlab.ring.gr.jp/skk/index.html
COMMENT= Japanese input methods for Emacs
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
diff -x CVS -upNr /usr/pkgsrc/inputmethod/skk/distinfo skk/distinfo
--- /usr/pkgsrc/inputmethod/skk/distinfo 2008-03-11 10:26:08.000000000 +0900
+++ skk/distinfo 2010-07-17 12:01:10.000000000 +0900
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2008/03/11 01:26:08 uebayasi Exp $
-SHA1 (ddskk-20080309.tar.gz) = 80aa2d69349a5deeca127c16b335993760ddae85
-RMD160 (ddskk-20080309.tar.gz) = 1c93b592937f2f33d94f1aa13fabd4605b3f3d68
-Size (ddskk-20080309.tar.gz) = 744963 bytes
+SHA1 (ddskk-14.0.91.tar.gz) = 4181ea6474a7040c05e590d7df36ff8e0c845df6
+RMD160 (ddskk-14.0.91.tar.gz) = 864f59642ed8bb79d94c9fd1616ea9f7b20d0eaa
+Size (ddskk-14.0.91.tar.gz) = 752470 bytes
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Fri, 30 Jul 2010 15:01:19 +0000
Responsible-Changed-Why:
I'll take this.
State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Fri, 30 Jul 2010 16:40:47 +0000
State-Changed-Why:
If it is installed with USE_DESTDIR=yes, skk-tut-file in skk/skk.el point
to staged install file.
Could you fix it?
From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, obache@NetBSD.org
Cc:
Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
Date: Sat, 31 Jul 2010 03:07:55 +0900 (JST)
From: obache@NetBSD.org
Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
Date: Fri, 30 Jul 2010 16:40:49 +0000 (UTC)
> Synopsis: Please update inputmethod/skk to 14.0.91
>
> State-Changed-From-To: open->feedback
> State-Changed-By: obache@NetBSD.org
> State-Changed-When: Fri, 30 Jul 2010 16:40:47 +0000
> State-Changed-Why:
> If it is installed with USE_DESTDIR=yes, skk-tut-file in skk/skk.el point
> to staged install file.
> Could you fix it?
A following patch will fix this problem.
diff -x CVS -upNr /usr/pkgsrc/inputmethod/skk/Makefile skk/Makefile
--- /usr/pkgsrc/inputmethod/skk/Makefile 2009-08-06 10:44:52.000000000 +0900
+++ skk/Makefile 2010-07-31 03:02:35.000000000 +0900
@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.20 2009/08/06 01:44:52 minskim Exp $
#
-DISTNAME= ddskk-20080309
+DISTNAME= ddskk-14.0.91
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/^ddskk/skk/}
-PKGREVISION= 1
CATEGORIES= japanese inputmethod
MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/ \
http://openlab.ring.gr.jp/skk/maintrunk/old-snapshots/
@@ -11,6 +10,7 @@ MASTER_SITES= http://openlab.ring.gr.jp/
MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://openlab.ring.gr.jp/skk/index.html
COMMENT= Japanese input methods for Emacs
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
@@ -27,6 +27,12 @@ BUILD_TARGET= elc
INFO_FILES= # PLIST
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= pre-configure
+SUBST_MESSAGE.fix-paths= Fix user-destdir pathes.
+SUBST_FILES.fix-paths= skk-setup.el.in
+SUBST_SED.fix-paths= -e 's,@TUT@,${PREFIX}/share/skk/SKK.tut,g'
+
# Substitute directory definitions during do-configure.
post-extract:
@${MV} ${WRKSRC}/SKK-CFG ${WRKSRC}/SKK-CFG.orig
diff -x CVS -upNr /usr/pkgsrc/inputmethod/skk/distinfo skk/distinfo
--- /usr/pkgsrc/inputmethod/skk/distinfo 2008-03-11 10:26:08.000000000 +0900
+++ skk/distinfo 2010-07-17 12:01:10.000000000 +0900
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2008/03/11 01:26:08 uebayasi Exp $
-SHA1 (ddskk-20080309.tar.gz) = 80aa2d69349a5deeca127c16b335993760ddae85
-RMD160 (ddskk-20080309.tar.gz) = 1c93b592937f2f33d94f1aa13fabd4605b3f3d68
-Size (ddskk-20080309.tar.gz) = 744963 bytes
+SHA1 (ddskk-14.0.91.tar.gz) = 4181ea6474a7040c05e590d7df36ff8e0c845df6
+RMD160 (ddskk-14.0.91.tar.gz) = 864f59642ed8bb79d94c9fd1616ea9f7b20d0eaa
+Size (ddskk-14.0.91.tar.gz) = 752470 bytes
State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sat, 31 Jul 2010 08:47:13 +0000
State-Changed-Why:
Updated. Thanks!
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43649 CVS commit: pkgsrc/inputmethod/skk
Date: Sat, 31 Jul 2010 08:45:09 +0000
Module Name: pkgsrc
Committed By: obache
Date: Sat Jul 31 08:45:09 UTC 2010
Modified Files:
pkgsrc/inputmethod/skk: Makefile PLIST distinfo
Log Message:
Update skk to 14.0.91.
Based on PR#43649 by Ryo ONODERA.
Back from snapshot release, so version scheme also back from timestamp.
This release is still alpha release, but, yes, better than snapshot,
and need to support of emacs23.
While here,
* set LICENSE=gnu-gpl-v2
* simplify PLIST.
* fixes paths for tutorial file in setup file
* change to use MAKE_FLAGS instead of MAKEFLAGS, it affect subsequent
make, e.g. failed to build of emacs for resolving dependency.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/inputmethod/skk/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/inputmethod/skk/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/inputmethod/skk/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, obache@NetBSD.org
Cc:
Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
Date: Sun, 01 Aug 2010 01:44:25 +0900 (JST)
PLIST is too simplified.
With emacs22, 'make install' fails.
=> Checking file-check results for skk-14.0.91
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/tmp/inputmethod/skk/work/.destdir/usr/pkg/share/emacs/site-lisp/skk/skk-jisx0213.el
ERROR: /usr/tmp/inputmethod/skk/work/.destdir/usr/pkg/share/emacs/site-lisp/skk/skk-jisx0213.elc
Emacs 22 does not support JIS X0213, but supports UTF-8.
Emacs 20 and 21 does not support JIS X0213 and UTF-8, and editors/mule-ucs will be installed
with inputmethods/skk.
If you are interested in this problem,
It is explained in http://www.xdelta.net/blog/FreeBSD/2006/03/07/p153 (in Japanese).
editors/mule-ucs is mainly designed to support UTF-8, and please revert your simplification partly.
Please use following patch,
Index: PLIST
===================================================================
RCS file: /usr/cvsrep/pkgsrc/inputmethod/skk/PLIST,v
retrieving revision 1.14
diff -u -r1.14 PLIST
--- PLIST 31 Jul 2010 08:45:09 -0000 1.14
+++ PLIST 31 Jul 2010 16:18:10 -0000
@@ -41,8 +41,14 @@
${EMACS_LISPPREFIX}/skk/skk-isearch.elc
${EMACS_LISPPREFIX}/skk/skk-jisx0201.el
${EMACS_LISPPREFIX}/skk/skk-jisx0201.elc
-${FOR_emacs}${EMACS_LISPPREFIX}/skk/skk-jisx0213.el
-${FOR_emacs}${EMACS_LISPPREFIX}/skk/skk-jisx0213.elc
+${FOR_emacs20}${EMACS_LISPPREFIX}/skk/skk-jisx0213.el
+${FOR_emacs20}${EMACS_LISPPREFIX}/skk/skk-jisx0213.elc
+${FOR_emacs21}${EMACS_LISPPREFIX}/skk/skk-jisx0213.el
+${FOR_emacs21}${EMACS_LISPPREFIX}/skk/skk-jisx0213.elc
+${FOR_emacs21nox}${EMACS_LISPPREFIX}/skk/skk-jisx0213.el
+${FOR_emacs21nox}${EMACS_LISPPREFIX}/skk/skk-jisx0213.elc
+${FOR_emacs23}${EMACS_LISPPREFIX}/skk/skk-jisx0213.el
+${FOR_emacs23}${EMACS_LISPPREFIX}/skk/skk-jisx0213.elc
${EMACS_LISPPREFIX}/skk/skk-jisyo-edit-mode.el
${EMACS_LISPPREFIX}/skk/skk-jisyo-edit-mode.elc
${EMACS_LISPPREFIX}/skk/skk-kakasi.el
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43649 CVS commit: pkgsrc/inputmethod/skk
Date: Sun, 1 Aug 2010 01:09:14 +0000
Module Name: pkgsrc
Committed By: obache
Date: Sun Aug 1 01:09:14 UTC 2010
Modified Files:
pkgsrc/inputmethod/skk: PLIST
Log Message:
Fixes regression of simplify PLIST.
skk-jisx0213 is not for emacs22.
Noticed in PR#43649 additionally.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/inputmethod/skk/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
Date: Sun, 01 Aug 2010 10:12:42 +0900
On Sun, 01 Aug 2010 01:55:02 +0900, Ryo ONODERA <ryo_on@yk.rim.or.jp> wrote:
> PLIST is too simplified.
> With emacs22, 'make install' fails.
> => Checking file-check results for skk-14.0.91
> ERROR: ************************************************************
> ERROR: The following files are in the PLIST but not in /usr/pkg:
> ERROR: /usr/tmp/inputmethod/skk/work/.destdir/usr/pkg/share/emacs/site-lisp/skk/skk-jisx0213.el
> ERROR: /usr/tmp/inputmethod/skk/work/.destdir/usr/pkg/share/emacs/site-lisp/skk/skk-jisx0213.elc
> Emacs 22 does not support JIS X0213, but supports UTF-8.
> Emacs 20 and 21 does not support JIS X0213 and UTF-8, and editors/mule-ucs will be installed
> with inputmethods/skk.
> If you are interested in this problem,
> It is explained in http://www.xdelta.net/blog/FreeBSD/2006/03/07/p153 (in Japanese).
> editors/mule-ucs is mainly designed to support UTF-8, and please revert your simplification partly.
Thanks for your clarification.
Then NOTFOR_emacs22 AND NOTFOR_xemacs, is it right?
From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, obache@netbsd.org
Cc: gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
Date: Sun, 01 Aug 2010 16:17:48 +0900 (JST)
From: "OBATA Akio" <obache@netbsd.org>
Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
Date: Sun, 1 Aug 2010 01:15:04 +0000 (UTC)
> The following reply was made to PR pkg/43649; it has been noted by GNATS.
>
> From: "OBATA Akio" <obache@netbsd.org>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
> Date: Sun, 01 Aug 2010 10:12:42 +0900
>
> On Sun, 01 Aug 2010 01:55:02 +0900, Ryo ONODERA <ryo_on@yk.rim.or.jp> wrote:
>
> > PLIST is too simplified.
> > With emacs22, 'make install' fails.
> > => Checking file-check results for skk-14.0.91
> > ERROR: ************************************************************
> > ERROR: The following files are in the PLIST but not in /usr/pkg:
> > ERROR: /usr/tmp/inputmethod/skk/work/.destdir/usr/pkg/share/emacs/site-lisp/skk/skk-jisx0213.el
> > ERROR: /usr/tmp/inputmethod/skk/work/.destdir/usr/pkg/share/emacs/site-lisp/skk/skk-jisx0213.elc
> > Emacs 22 does not support JIS X0213, but supports UTF-8.
> > Emacs 20 and 21 does not support JIS X0213 and UTF-8, and editors/mule-ucs will be installed
> > with inputmethods/skk.
> > If you are interested in this problem,
> > It is explained in http://www.xdelta.net/blog/FreeBSD/2006/03/07/p153 (in Japanese).
> > editors/mule-ucs is mainly designed to support UTF-8, and please revert your simplification partly.
>
> Thanks for your clarification.
> Then NOTFOR_emacs22 AND NOTFOR_xemacs, is it right?
skk-14.0.91 needs apel 10.7, but editors/xemacs-packages provides apel 10.6.
editors/xemacs-packages is old.
ftp.xemacs.org has apel 10.7 package.
I will send another problem report to update editors/xemacs-packages.
From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, obache@netbsd.org
Cc:
Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
Date: Mon, 02 Aug 2010 02:48:59 +0900 (JST)
The following patches will work well with emacs22 and xemacs.
--- PLIST.orig 2010-08-01 14:32:52.000000000 +0900
+++ PLIST 2010-08-02 02:23:09.000000000 +0900
@@ -31,8 +31,8 @@
${EMACS_LISPPREFIX}/skk/skk-develop.elc
${EMACS_LISPPREFIX}/skk/skk-dic.el
${EMACS_LISPPREFIX}/skk/skk-dic.elc
-${NOTFOR_emacs20}${EMACS_LISPPREFIX}/skk/skk-e21.el
-${NOTFOR_emacs20}${EMACS_LISPPREFIX}/skk/skk-e21.elc
+${NOTFOR_xemacs}${NOTFOR_emacs20}${EMACS_LISPPREFIX}/skk/skk-e21.el
+${NOTFOR_xemacs}${NOTFOR_emacs20}${EMACS_LISPPREFIX}/skk/skk-e21.elc
${EMACS_LISPPREFIX}/skk/skk-gadget.el
${EMACS_LISPPREFIX}/skk/skk-gadget.elc
${EMACS_LISPPREFIX}/skk/skk-hint.el
@@ -55,6 +55,8 @@
${EMACS_LISPPREFIX}/skk/skk-look.elc
${PLIST.lookup}${EMACS_LISPPREFIX}/skk/skk-lookup.el
${PLIST.lookup}${EMACS_LISPPREFIX}/skk/skk-lookup.elc
+${FOR_xemacs}${EMACS_LISPPREFIX}/skk/skk-lookup.el
+${FOR_xemacs}${EMACS_LISPPREFIX}/skk/skk-lookup.elc
${EMACS_LISPPREFIX}/skk/skk-macs.el
${EMACS_LISPPREFIX}/skk/skk-macs.elc
${EMACS_LISPPREFIX}/skk/skk-num.el
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/43649 (Please update inputmethod/skk to 14.0.91)
Date: Mon, 02 Aug 2010 10:24:17 +0900
On Mon, 02 Aug 2010 02:55:02 +0900, Ryo ONODERA <ryo_on@yk.rim.or.jp> wrote:
> ${PLIST.lookup}${EMACS_LISPPREFIX}/skk/skk-lookup.el
> ${PLIST.lookup}${EMACS_LISPPREFIX}/skk/skk-lookup.elc
> +${FOR_xemacs}${EMACS_LISPPREFIX}/skk/skk-lookup.el
> +${FOR_xemacs}${EMACS_LISPPREFIX}/skk/skk-lookup.elc
It is because 'lookup' module is in xemacs-packages.
skk/options.mk should be changed.
I don't know which is preferred in xemacs, from xemacs-packages,
or individual packages, though.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.