From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1067832-garchives=archives.gentoo.org@lists.gentoo.org>
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 CAB82138334
	for <garchives@archives.gentoo.org>; Sat, 19 Jan 2019 15:29:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A56E7E08CA;
	Sat, 19 Jan 2019 15:29:09 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 647DCE08CA
	for <gentoo-commits@lists.gentoo.org>; Sat, 19 Jan 2019 15:29:09 +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 38662335D11
	for <gentoo-commits@lists.gentoo.org>; Sat, 19 Jan 2019 15:29:07 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 823174F5
	for <gentoo-commits@lists.gentoo.org>; Sat, 19 Jan 2019 15:29:05 +0000 (UTC)
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" <hattya@gentoo.org>
Message-ID: <1547911636.299c2af293818d6f0b8669ba8c0d6eb1be1b08b7.hattya@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/po4a/files/po4a-man.patch app-text/po4a/po4a-0.47-r1.ebuild app-text/po4a/po4a-0.54.ebuild app-text/po4a/po4a-0.55.ebuild
X-VCS-Directories: app-text/po4a/ app-text/po4a/files/
X-VCS-Committer: hattya
X-VCS-Committer-Name: Akinori Hattori
X-VCS-Revision: 299c2af293818d6f0b8669ba8c0d6eb1be1b08b7
X-VCS-Branch: master
Date: Sat, 19 Jan 2019 15:29:05 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8637ebae-5ae6-4b38-ad75-f7bd977d3980
X-Archives-Hash: 8f4770c0c5d1e3583ec07f8b5f932f7c

commit:     299c2af293818d6f0b8669ba8c0d6eb1be1b08b7
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 19 15:27:16 2019 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Jan 19 15:27:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=299c2af2

app-text/po4a: do not compress man pages

Closes: https://bugs.gentoo.org/675402
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-text/po4a/files/po4a-man.patch | 18 ++++++++++++++++++
 app-text/po4a/po4a-0.47-r1.ebuild  |  6 ++++--
 app-text/po4a/po4a-0.54.ebuild     |  4 +++-
 app-text/po4a/po4a-0.55.ebuild     |  9 +++------
 4 files changed, 28 insertions(+), 9 deletions(-)

diff --git a/app-text/po4a/files/po4a-man.patch b/app-text/po4a/files/po4a-man.patch
new file mode 100644
index 00000000000..6dd94aed153
--- /dev/null
+++ b/app-text/po4a/files/po4a-man.patch
@@ -0,0 +1,18 @@
+--- a/Po4aBuilder.pm
++++ b/Po4aBuilder.pm
+@@ -233,7 +233,6 @@
+         }
+         $parser->parse_from_file ($file, $out);
+ 
+-        system("gzip -9 -f $out") and die;
+         unlink "$file" || die;
+     }
+ 
+@@ -245,7 +244,6 @@
+         if ($file =~ m,(.*/man(.))/([^/]*)\.xml$,) {
+             my ($outdir, $section, $outfile) = ($1, $2, $3);
+             system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die;
+-            system ("gzip -9 -f $outdir/$outfile.$section") and die;
+         }
+         unlink "$file" || die;
+     }

diff --git a/app-text/po4a/po4a-0.47-r1.ebuild b/app-text/po4a/po4a-0.47-r1.ebuild
index 94311ba3d57..dcf757c2f2b 100644
--- a/app-text/po4a/po4a-0.47-r1.ebuild
+++ b/app-text/po4a/po4a-0.47-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -37,8 +37,10 @@ DIST_TEST="do"
 
 PATCHES=(
 	# Fix bad escaping of '.' in @INC modification
-	"${FILESDIR}/${PN}-0.45-614122-no-dot-inc.patch"
+	"${FILESDIR}"/${PN}-0.45-614122-no-dot-inc.patch
+	"${FILESDIR}"/${PN}-man.patch
 )
+
 src_prepare() {
 	# Check against locale files in ${S}/pod/bin for mismatches
 	# with languages listed in PLOCALES

diff --git a/app-text/po4a/po4a-0.54.ebuild b/app-text/po4a/po4a-0.54.ebuild
index 52fdda5fc38..45fe4908e04 100644
--- a/app-text/po4a/po4a-0.54.ebuild
+++ b/app-text/po4a/po4a-0.54.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND}
 		virtual/tex-base
 	)"
 
+PATCHES=( "${FILESDIR}"/${PN}-man.patch )
+
 PERL_RM_FILES=(
 	t/09-html.t
 )

diff --git a/app-text/po4a/po4a-0.55.ebuild b/app-text/po4a/po4a-0.55.ebuild
index 1ff6a7d4df6..45fe4908e04 100644
--- a/app-text/po4a/po4a-0.55.ebuild
+++ b/app-text/po4a/po4a-0.55.ebuild
@@ -8,7 +8,7 @@ inherit perl-module l10n
 
 DESCRIPTION="Tools to ease the translation of documentation"
 HOMEPAGE="https://po4a.org/"
-SRC_URI="https://github.com/mquinson/po4a/releases/download/v${PV}/${P}.tar.gz"
+SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND}
 		virtual/tex-base
 	)"
 
+PATCHES=( "${FILESDIR}"/${PN}-man.patch )
+
 PERL_RM_FILES=(
 	t/09-html.t
 )
@@ -48,8 +50,3 @@ src_prepare() {
 
 	perl-module_src_prepare
 }
-
-src_install() {
-	perl-module_src_install
-	find "${ED%/}/usr/share/man" -name '*.gz' -exec gzip -d '{}' +
-}