diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-i18n/man-pages-ja | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-i18n/man-pages-ja')
-rw-r--r-- | app-i18n/man-pages-ja/Manifest | 3 | ||||
-rw-r--r-- | app-i18n/man-pages-ja/man-pages-ja-20130215.ebuild | 93 | ||||
-rw-r--r-- | app-i18n/man-pages-ja/man-pages-ja-20131015.ebuild | 95 | ||||
-rw-r--r-- | app-i18n/man-pages-ja/metadata.xml | 12 |
4 files changed, 203 insertions, 0 deletions
diff --git a/app-i18n/man-pages-ja/Manifest b/app-i18n/man-pages-ja/Manifest new file mode 100644 index 000000000000..5788bdca5fd0 --- /dev/null +++ b/app-i18n/man-pages-ja/Manifest @@ -0,0 +1,3 @@ +DIST man-pages-ja-20130215.tar.gz 4384182 SHA256 c5b859e4baa62c9ceee50e22d78c6a6c91d2f4473bc623a8e2a848e285314b1b SHA512 655e9481dfdfc619013f8cae2928d7ccd70bba31631f7b10b894b1d96ab64bae4846be68d8a633791f1c169faed6d42466bd60ee4d7f92031f596d8f23cb6138 WHIRLPOOL e2576a225fddd55f73cac7bc04f352c07a70ae6afda8ebe910e0828f9ce5fb2d3f6952e643b14efd3f23bce699744ad33450a85ea859a434f352233dc19cc4d7 +DIST man-pages-ja-20131015.tar.gz 4546129 SHA256 e21a37f307f430dd1ec9826ac9b2190d1976867292aef869cbe5951e93de0781 SHA512 afd2aa2fb227814a8de4b75baec4359e401ef055e23795719b964cba10e5018a368ba924719b017709c2bb34a5ebca58d6eb85512871515d6e7867fc4b0e4982 WHIRLPOOL c9cac54aca4eb6f67380efad4e3b7667ef4e92f4f866108379222b7e7a5d19752a33bb5342d1160eb18b85948eccfcd8123dcae384991fb82410cf32092989d6 +DIST portage-man-pages-ja-20060415.tar.gz 67347 SHA256 e847d0ab11b7cc1b5b9e8c2c11591665efe8f00d6d7a277c0b9489906d4eaf3a SHA512 37364cdcb27b460663bdae31fea1ac653317ba4d928a5325c51814eb1677d7d9fb9bcc55cf64d63a8e6daaefa34d8604e0efe3582308957397cad31325a6eaad WHIRLPOOL 4b574be2fed47e5a51fe23d52a352d87740366138385536055efb9b024461885465c095e9767aea202de86caf0b6901f1e206bd832d36c01ea9043f895e44c1c diff --git a/app-i18n/man-pages-ja/man-pages-ja-20130215.ebuild b/app-i18n/man-pages-ja/man-pages-ja-20130215.ebuild new file mode 100644 index 000000000000..9adf80fa8803 --- /dev/null +++ b/app-i18n/man-pages-ja/man-pages-ja-20130215.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="GPL-2+ GPL-2 LGPL-2+ LGPL-2 BSD MIT ISC HPND FDL-1.1+ LDP-1 LDP-1a man-pages Texinfo-manual" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 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 $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 $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 + +} diff --git a/app-i18n/man-pages-ja/man-pages-ja-20131015.ebuild b/app-i18n/man-pages-ja/man-pages-ja-20131015.ebuild new file mode 100644 index 000000000000..2c4607397ef8 --- /dev/null +++ b/app-i18n/man-pages-ja/man-pages-ja-20131015.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="GPL-2+ GPL-2 LGPL-2+ LGPL-2 BSD MIT ISC HPND FDL-1.1+ LDP-1 LDP-1a man-pages Texinfo-manual" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 $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 $x/*.$z + done + fi + done + + newdoc ChangeLog ChangeLog.GentooJP || die + +} + +pkg_postinst() { + + echo + elog "JM (Japanese Manual) project has used utf8 encoding" + elog "since 2012/04." + elog "You need to set appropriate LANG variables to use" + elog "Japanese manpages." + elog "e.g." + elog "\tLANG=\"ja_JP.utf8\"" + elog "\texport LANG" + echo + +} diff --git a/app-i18n/man-pages-ja/metadata.xml b/app-i18n/man-pages-ja/metadata.xml new file mode 100644 index 000000000000..2bcaa144a473 --- /dev/null +++ b/app-i18n/man-pages-ja/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cjk</herd> + <longdescription> + Japanese translation of portage/gentoolkit man pages are contributed by + Gentoo Linux User Group Japan and maintained by that mailing list + (gentoojp-docs@ml.gentoo.gr.jp). All questions and comments should be + posted to that list with regard to man pages translation for + portage/gentoolkit. + </longdescription> +</pkgmetadata> |