From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B6AB138335 for ; Sat, 14 Dec 2019 09:57:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A56FFE086E; Sat, 14 Dec 2019 09:57:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73807E086E for ; Sat, 14 Dec 2019 09:57:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C7CF34D779 for ; Sat, 14 Dec 2019 09:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3ACF926C for ; Sat, 14 Dec 2019 09:57:26 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1576317435.936a620678f6dcdeec3293870a20f4bc19b6f311.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-de/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild X-VCS-Directories: app-i18n/man-pages-de/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 936a620678f6dcdeec3293870a20f4bc19b6f311 X-VCS-Branch: master Date: Sat, 14 Dec 2019 09:57:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1b2cb7b2-f4bb-4f6a-bd00-43ede346df77 X-Archives-Hash: 7dac509d54c828375c9aff8045fce6c8 commit: 936a620678f6dcdeec3293870a20f4bc19b6f311 Author: Ulrich Müller gentoo org> AuthorDate: Sat Dec 14 09:55:22 2019 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Dec 14 09:57:15 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936a6206 app-i18n/man-pages-de: Fix file collision with sys-process/procps. Bug: https://bugs.gentoo.org/702276 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Ulrich Müller gentoo.org> app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild b/app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild new file mode 100644 index 00000000000..5901e1eda02 --- /dev/null +++ b/app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +MY_P="${PN/-/}-v${PV}" + +DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations" +HOMEPAGE="https://salsa.debian.org/manpages-de-team/manpages-de" +SRC_URI="https://salsa.debian.org/manpages-de-team/manpages-de/-/archive/v${PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="virtual/man" +BDEPEND="app-text/po4a" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + sed '/gzip --best/d' -i po/Makefile.am || die + + # sys-apps/shadow has it's own translated man-page for this + local manpage + local noinst_manpages=( + upstream/debian-unstable/man1/groups.1 + po/man1/free.1.po + po/man1/groups.1.po + po/man1/su.1.po + po/man1/uptime.1.po + ) + for manpage in ${noinst_manpages[@]} ; do + rm "${manpage}" || die + done + + # Use the same compression as every other manpage + local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2} + local PORTAGE_COMPRESS_FLAGS_LOCAL=${PORTAGE_COMPRESS_FLAGS} + if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then + case ${PORTAGE_COMPRESS_LOCAL} in + bzip2|gzip) + PORTAGE_COMPRESS_FLAGS_LOCAL="-9" + ;; + esac + fi + + # Fix source files for symlinks + local LINKSOURCE + case ${PORTAGE_COMPRESS_LOCAL} in + bzip2) + for LINKSOURCE in upstream/*/links.txt ; do + sed -i -e 's/\.gz/\.bz2/g' "${LINKSOURCE}" || die + done + ;; + gzip) + # pass + ;; + xz) + for LINKSOURCE in upstream/*/links.txt ; do + sed -i -e 's/\.gz/\.xz/g' "${LINKSOURCE}" || die + done + ;; + *) + ewarn "Unexpected compression command ${PORTAGE_COMPRESS} found, symlinks will not work." + ;; + esac + + eautoreconf +} + +src_compile() { :; } + +src_install() { + emake mandir="${ED}"/usr/share/man install + dodoc CHANGES.md README.md +}