nkf 2.1.3 contains Japanese manpage "nkf.1j", but it is broken. This is the upstream's bug, which is reported in: http://sourceforge.jp/ticket/browse.php?group_id=248&tid=32546 (the ticket is written in Japanse) Reproducible: Always Steps to Reproduce: 1. emerge app-i18n/nkf 2. bzcat /usr/share/man/ja/man1/nkf.1.bz2 | less 3. If you have configured /etc/man.conf to handle Japanese manpages, try "LANG=ja_JP.eucJP man nkf" Actual Results: Almost all of Japanese text has been replaced with "XXXXXX", so I cannot read manpage. Expected Results: I can read Japanese manpage. I have downloaded "nkf.1j" from the upstream repository, and replaced the file.
Created attachment 382564 [details] correct nkf.1j, which I have downloaded from the upstream repository. You can also get the same file from upstream repository. http://sourceforge.jp/projects/nkf/scm/git/nkf/commits/c778b37ecf951d50195768deea665a3ebc9f9af6 The file contains Japanese text (UTF-8). Here is a patch to nkf-2.1.3.ebuild. (It contains another fix about issue #519464) --- nkf-2.1.3.ebuild.bak 2014-08-09 07:53:09.000000000 +0900 +++ nkf-2.1.3.ebuild 2014-08-09 08:32:47.000000000 +0900 @@ -21,7 +21,9 @@ -e '/^CFLAGS/{s|-g -O2||;s|=|+=|;}' \ -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \ Makefile || die - + + cp -f "${FILESDIR}"/nkf.1j "${S}"/nkf.1j + if use python; then mv "${WORKDIR}/NKF.python" "${S}" || die epatch "${FILESDIR}"/${P}-strip.patch
Thanks for the patch. I've added the change into the tree. (New man page was too large to put it in the tree, so I put it on my dev.gentoo.org space)