public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-l10n/
Date: Fri, 20 Mar 2020 12:35:54 +0000 (UTC)	[thread overview]
Message-ID: <1584707746.f80348d830c30e27ae2facd880ca1c2e422e8643.ulm@gentoo> (raw)

commit:     f80348d830c30e27ae2facd880ca1c2e422e8643
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 20 10:48:07 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 12:35:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80348d8

app-i18n/man-pages-l10n: Initial import.

This replaces man-pages-{de,fr,pl} which have been merged upstream,
as well as man-pages-nl which is dead upstream (last release in 2001,
homepage is gone).

Ebuild copied from man-pages-de-2.16.ebuild and heavily modified.

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-i18n/man-pages-l10n/Manifest                   |  1 +
 .../man-pages-l10n/man-pages-l10n-4.0.0.ebuild     | 66 ++++++++++++++++++++++
 app-i18n/man-pages-l10n/metadata.xml               |  8 +++
 3 files changed, 75 insertions(+)

diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest
new file mode 100644
index 00000000000..97c19d4fbeb
--- /dev/null
+++ b/app-i18n/man-pages-l10n/Manifest
@@ -0,0 +1 @@
+DIST manpages-l10n-v4.0.0.tar.bz2 34796889 BLAKE2B 6413278ab2c9482ffdd2cf6ef1f4c6e05f2f1d7be8c8d556cb137ca4c5c2d6297f9547725f3afcf8023478c05e41d99d595a0b5a44da0d0188ed0287c630e5b6 SHA512 9c83363ffaa9ff9015934869623958594e64f1cbb52367dd8274425a5cb45dac06109d231fd7f165eb35248b4229f3bbf252a6a4630e7d5a47edbf41d4a646a9

diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild
new file mode 100644
index 00000000000..72957af67ea
--- /dev/null
+++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${PN/-}-v${PV}"
+DESCRIPTION="A somewhat comprehensive collection of man page translations"
+HOMEPAGE="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
+SRC_URI="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v${PV}/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+# omit pt-BR and ro for now, because they each install only two man pages
+MY_L10N=(de fr nl pl)
+IUSE="${MY_L10N[@]/#/l10n_}"
+REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )"
+
+RDEPEND="virtual/man
+	l10n_de? ( !app-i18n/man-pages-de )
+	l10n_fr? ( !app-i18n/man-pages-fr )
+	l10n_nl? ( !app-i18n/man-pages-nl )
+	l10n_pl? ( !app-i18n/man-pages-pl )"
+
+BDEPEND="app-text/po4a
+	dev-lang/perl"
+
+DOCS=(AUTHORS.md CHANGES.md README.md)
+
+src_prepare() {
+	echo "*** IUSE=${IUSE}"
+	echo "*** REQUIRED_USE=${REQUIRED_USE}"
+	default
+	sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die
+
+	# some packages have their own translations
+	local noinst_manpages=(
+		# app-arch/xz-utils
+		de/xz.1
+		de/xzdiff.1
+		de/xzgrep.1
+		de/xzless.1
+		de/xzmore.1
+		# sys-apps/shadow
+		{de,pl}/groups.1
+		de/su.1
+		# sys-process/procps
+		{de,pl}/free.1
+		{de,fr}/pgrep.1
+		{de,fr}/pmap.1
+		{de,fr}/pwdx.1
+		{de,fr}/tload.1
+		{de,fr,pl}/uptime.1
+		{de,fr}/sysctl.conf.5
+		{de,fr}/sysctl.8
+		{de,fr}/vmstat.8
+	)
+	printf '%s\n' "${noinst_manpages[@]}" \
+		| sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm
+	assert
+}
+
+src_configure() {
+	econf --enable-compression=none
+}

diff --git a/app-i18n/man-pages-l10n/metadata.xml b/app-i18n/man-pages-l10n/metadata.xml
new file mode 100644
index 00000000000..7fccbc10bd1
--- /dev/null
+++ b/app-i18n/man-pages-l10n/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+  <email>ulm@gentoo.org</email>
+</maintainer>
+<stabilize-allarches/>
+</pkgmetadata>


             reply	other threads:[~2020-03-20 12:36 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20 12:35 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-24 20:08 [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-l10n/ Ulrich Müller
2020-04-15  9:39 Mart Raudsepp
2020-04-15 22:54 Ulrich Müller
2021-02-06 18:33 Ulrich Müller
2021-02-07 17:01 Ulrich Müller
2021-02-07 17:01 Ulrich Müller
2021-02-09 17:24 Ulrich Müller
2021-03-29 15:30 Sam James
2021-03-29 17:25 Ulrich Müller
2021-07-19 10:20 Ulrich Müller
2021-07-22 13:18 Ulrich Müller
2021-08-06  0:25 Sam James
2021-08-08 13:13 Ulrich Müller
2022-02-13 22:55 Ulrich Müller
2022-02-13 23:20 Ulrich Müller
2022-02-14  7:27 Ulrich Müller
2022-02-14 13:57 Ulrich Müller
2022-03-25 19:44 Sam James
2022-03-29 11:21 Ulrich Müller
2022-03-29 11:21 Ulrich Müller
2022-06-11 11:30 Ulrich Müller
2022-06-12  8:53 Ulrich Müller
2022-07-28 23:06 Sam James
2022-07-30  3:21 Ulrich Müller
2023-01-28  8:46 Ulrich Müller
2023-01-28  8:46 Ulrich Müller
2023-04-29  7:47 Arthur Zamarin
2023-04-29  8:41 Ulrich Müller
2023-04-29  8:41 Ulrich Müller
2023-05-01  8:08 Ulrich Müller
2023-06-10  6:52 Sam James
2023-07-09 20:42 Ulrich Müller
2023-07-09 20:42 Ulrich Müller
2023-12-10  1:38 Ionen Wolkens
2025-02-01 13:39 Ulrich Müller
2025-02-01 13:39 Ulrich Müller
2025-03-10 11:09 Arthur Zamarin
2025-04-05 17:27 Ulrich Müller
2025-04-05 17:27 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1584707746.f80348d830c30e27ae2facd880ca1c2e422e8643.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox