From turutani@polymer3.scphys.kyoto-u.ac.jp  Tue Apr 11 11:13:39 2006
Return-Path: <turutani@polymer3.scphys.kyoto-u.ac.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 45DA616A400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Apr 2006 11:13:39 +0000 (UTC)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: from polymer3.scphys.kyoto-u.ac.jp (polymer3.scphys.kyoto-u.ac.jp [130.54.55.55])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B65F243D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Apr 2006 11:13:38 +0000 (GMT)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: from polymer3.scphys.kyoto-u.ac.jp (localhost [127.0.0.1])
	by polymer3.scphys.kyoto-u.ac.jp (8.13.4/8.13.4/20060227-1) with ESMTP id k3BBDXWY046812;
	Tue, 11 Apr 2006 20:13:33 +0900 (JST)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: (from turutani@localhost)
	by polymer3.scphys.kyoto-u.ac.jp (8.13.4/8.13.4/Submit) id k3BBDWwh046811;
	Tue, 11 Apr 2006 20:13:33 +0900 (JST)
	(envelope-from turutani)
Message-Id: <200604111113.k3BBDWwh046811@polymer3.scphys.kyoto-u.ac.jp>
Date: Tue, 11 Apr 2006 20:13:33 +0900 (JST)
From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: japanese manpage of pdumpfs is wrong
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         95619
>Category:       ports
>Synopsis:       japanese manpage of pdumpfs is wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    okazaki
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 11 11:20:17 GMT 2006
>Closed-Date:    Fri May 19 09:13:33 GMT 2006
>Last-Modified:  Fri May 19 09:13:33 GMT 2006
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 5.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #19: Thu Mar 23 12:05:35 JST 2006 turutani@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	japanese manpage of sysutils/pdumpfs is wrong. no word is readable.
	
>How-To-Repeat:
	after installation of japanese/man,
	% jman pdumpfs
	will print meaningless characters...
	
>Fix:
	original character set of the man page seems to be JIS code.
	convert into euc-jp code before use.
	here is a patch to Makefile:
	--- Makefile.orig	Fri Nov 18 04:31:57 2005
	+++ Makefile	Tue Apr 11 20:04:04 2006
	@@ -19,13 +19,20 @@
	 ALL_TARGET=	pdumpfs
	 DOCS=		ChangeLog README doc/*

	+.if defined(WITH_JPMAN)
	+BUILD_DEPENDS= ${LOCALBASE}/bin/nkf:${PORTSDIR}/japanese/nkf
	 MANLANG=	"" ja
	+.endif
	 MAN8=		 pdumpfs.8

	 do-install:
	 	${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${PREFIX}/sbin/
	 	${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${PREFIX}/man/man8/
	+.if defined(WITH_JPMAN)
	+	${MV} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${WRKSRC}/man/ja/man8/pdumpfs.8j
	+	${LOCALBASE}/bin/nkf -e ${WRKSRC}/man/ja/man8/pdumpfs.8j > ${WRKSRC}/man/ja/man8/pdumpfs.8
	 	${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${PREFIX}/man/ja/man8/
	+.endif
	 .if !defined(NOPORTDOCS)
	 	${MKDIR} ${DOCSDIR}
	 .for f in ${DOCS}

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Sat Apr 15 13:18:56 UTC 2006 
State-Changed-Why:  
Sorry, can you do without introducing the new variable WITH_JPMAN? 
I couldn't find any other reference to this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95619 

From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: bug-followup@FreeBSD.org, Volker Stolz <vs@FreeBSD.org>
Cc:  
Subject: Re: ports/95619: japanese manpage of pdumpfs is wrong
Date: Tue, 02 May 2006 13:08:43 +0900

 Here is a new patch:
 
 --- sysutils/pdumpfs/Makefile.orig	Fri Nov 18 04:31:57 2005
 +++ sysutils/pdumpfs/Makefile	Tue May  2 12:57:12 2006
 @@ -25,6 +25,7 @@
  do-install:
  	${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${PREFIX}/sbin/
  	${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${PREFIX}/man/man8/
 +	${RUBY} -ni -r nkf -e 'puts NKF.nkf("-e",$$_)' ${WRKSRC}/man/ja/man8/pdumpfs.8
  	${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${PREFIX}/man/ja/man8/
  .if !defined(NOPORTDOCS)
  	${MKDIR} ${DOCSDIR}
 
 New fix does not depend on any other new ports nor use any new variable.
Responsible-Changed-From-To: freebsd-ports-bugs->okazaki 
Responsible-Changed-By: okazaki 
Responsible-Changed-When: Tue May 2 06:48:35 UTC 2006 
Responsible-Changed-Why:  
I will handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95619 

From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: bug-followup@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc: okazaki@FreeBSD.org
Subject: Re: ports/95619: japanese manpage of pdumpfs is wrong
Date: Wed, 17 May 2006 14:06:41 +0900

 Thank you.  It works well.
State-Changed-From-To: feedback->closed 
State-Changed-By: okazaki 
State-Changed-When: Fri May 19 09:12:31 UTC 2006 
State-Changed-Why:  
Committed, thanks! 


Class-Changed-From-To: doc-bug->update 
Class-Changed-By: okazaki 
Class-Changed-When: Fri May 19 09:12:31 UTC 2006 
Class-Changed-Why:  
port update request 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95619 
>Unformatted:
