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 A8245138359 for ; Fri, 14 Aug 2020 13:57:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDC7BE0822; Fri, 14 Aug 2020 13:57:11 +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 C5FE5E0822 for ; Fri, 14 Aug 2020 13:57:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CD24934F03D for ; Fri, 14 Aug 2020 13:57:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 85D7722B for ; Fri, 14 Aug 2020 13:57:09 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1597413424.3b44502978f1322cfd15702e91da9ff0c226949a.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/csound-manual/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-doc/csound-manual/csound-manual-6.15-r1.ebuild app-doc/csound-manual/csound-manual-6.15.ebuild X-VCS-Directories: app-doc/csound-manual/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 3b44502978f1322cfd15702e91da9ff0c226949a X-VCS-Branch: master Date: Fri, 14 Aug 2020 13:57:09 +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: 5bf10c5b-439b-4315-8b83-cf923bafa3b0 X-Archives-Hash: 624933b305c3af83be39ca4963747650 commit: 3b44502978f1322cfd15702e91da9ff0c226949a Author: Miroslav Šulc gentoo org> AuthorDate: Fri Aug 14 13:56:51 2020 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Aug 14 13:57:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b445029 app-doc/csound-manual: fixed broken png in 6.15 Closes: https://bugs.gentoo.org/737130 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Miroslav Šulc gentoo.org> ...nd-manual-6.15.ebuild => csound-manual-6.15-r1.ebuild} | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app-doc/csound-manual/csound-manual-6.15.ebuild b/app-doc/csound-manual/csound-manual-6.15-r1.ebuild similarity index 79% rename from app-doc/csound-manual/csound-manual-6.15.ebuild rename to app-doc/csound-manual/csound-manual-6.15-r1.ebuild index aed36a01f91..57b53d8d76a 100644 --- a/app-doc/csound-manual/csound-manual-6.15.ebuild +++ b/app-doc/csound-manual/csound-manual-6.15-r1.ebuild @@ -24,6 +24,9 @@ IUSE="html" LANGS=" fr" IUSE+="${LANGS// / l10n_}" +BDEPEND=" + media-libs/libpng:0 +" DEPEND="app-arch/unzip" S=${WORKDIR} @@ -47,6 +50,18 @@ src_unpack() { done } +src_prepare() { + default + + # Fix broken png file, bug 737130 + if use html; then + local png=html-en/images/delayk.png + pngfix -q --out=${png/.png/fixed.png} ${png} # see pngfix help for exit codes + [[ $? -gt 15 ]] && die "Failed to fix ${png}" + mv -f ${png/.png/fixed.png} ${png} || die + fi +} + src_install() { dodoc *.pdf