Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 313287 Details for
Bug 417791
app-i18n/man-pages-ja - upstream changed its encoding
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for both of encoding, traditional eucJP and modern UTF-8
man-pages-ja-20120515.ebuild (text/plain), 2.59 KB, created by
OKUMURA N. Shin-ya
on 2012-05-27 15:54:38 UTC
(
hide
)
Description:
ebuild for both of encoding, traditional eucJP and modern UTF-8
Filename:
MIME Type:
Creator:
OKUMURA N. Shin-ya
Created:
2012-05-27 15:54:38 UTC
Size:
2.59 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-ja/man-pages-ja-20111020.ebuild,v 1.1 2011/11/24 02:08:07 naota Exp $ > >EAPI="3" >GENTOO_MAN_P="portage-${PN}-20060415" > >DESCRIPTION="A collection of manual pages translated into Japanese" >HOMEPAGE="http://linuxjm.sourceforge.jp/ http://www.gentoo.gr.jp/jpmain/translation.xml" >SRC_URI="http://linuxjm.sourceforge.jp/${P}.tar.gz > http://dev.gentoo.org/~hattya/distfiles/${GENTOO_MAN_P}.tar.gz" > >LICENSE="as-is GPL-2 LGPL-2 BSD MIT FDL-1.1 LDP-1 LDP-1a" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" >IUSE="" > >RDEPEND="virtual/man" > >src_prepare() { > > sed -i -e "/^\(man\|shadow\)/s:Y:N:" script/pkgs.list || die > > # remove man pages that are provided by other packages. > # - sys-apps/shadow +nls > rm -f manual/*/man1/{chfn,chsh,newgrp,su,passwd,groups}.1 || die > rm -f manual/*/man8/{vigr,vipw}.8 || die > # - app-arch/rpm +nls > rm -f manual/rpm/man8/rpm*.8 || die > > for f in manual/*/man8/ld{,-linux}.so.8 ; do > mv ${f} ${f/.so.8/.so.ja.8} || die > done > mv "${WORKDIR}"/${GENTOO_MAN_P}/portage/g-cpan.pl{,.ja}.1 || die >} > >src_compile() { > : >} > >src_install() { > > local x y z pkg > > for x in $(tac script/pkgs.list | grep -v '^[#].*'); do > if [[ -z "$pkg" ]]; then > pkg=$x > continue > fi > > if [[ "$x" == "N" ]]; then > pkg= > continue > fi > > einfo "install $pkg" > > for y in $(ls -d manual/$pkg/man* 2>/dev/null); do > doman -i18n=ja_JP.UTF-8 $y/* > done > > for y in $(ls -d manual/$pkg/man* 2>/dev/null); do > local f > for f in $y/*.[0-9a-z] $y/*.[0-9][a-z]; do > if [ -f $f ]; then > local t > t=`mktemp` > iconv -cs -f utf-8 -t eucJP $f >$t > mv $t $f > fi > done > doman -i18n=ja_JP.eucJP $y/* > done > > pkg= > done > > dodoc README || die > > cd "${WORKDIR}"/${GENTOO_MAN_P} > > for x in *; do > if [ -d "$x" ]; then > einfo "install $x" > > for z in $(for y in $x/*.[1-9]; do echo ${y##*.}; done | sort | uniq); do > doman -i18n=ja_JP.UTF-8 $x/*.$z > done > > for z in $(for y in $x/*.[1-9]; do echo ${y##*.}; done | sort | uniq); do > local f > for f in $z/*.[0-9a-z] $z/*.[0-9][a-z]; do > if [ -f $f ]; then > local t > t=`mktemp` > iconv -cs -f utf-8 -t eucJP $f >$t > mv $t $f > fi > done > doman -i18n=ja_JP.eucJP $x/*.$z > done > fi > done > > newdoc ChangeLog ChangeLog.GentooJP || die > >} > >pkg_postinst() { > > echo > elog "You need to set appropriate LANG variables to use" > elog "Japanese manpages." > elog "e.g." > elog "\tLANG=\"ja_JP.eucJP\"" > elog "\texport LANG" > echo > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 417791
:
313287