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 57C5C138350 for ; Thu, 30 Apr 2020 10:14:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B181E0886; Thu, 30 Apr 2020 10:14:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 62657E0886 for ; Thu, 30 Apr 2020 10:14:39 +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 105B534EFE6 for ; Thu, 30 Apr 2020 10:14:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9111E1DD for ; Thu, 30 Apr 2020 10:14:36 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1588241657.bec730fc1c01e47bfe6805183f009973d94aca6b.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-docs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild X-VCS-Directories: dev-qt/qt-docs/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: bec730fc1c01e47bfe6805183f009973d94aca6b X-VCS-Branch: master Date: Thu, 30 Apr 2020 10:14:36 +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: 1cf2b2de-9cb5-4383-a68e-335dceeeda4a X-Archives-Hash: a530f9a768c2d6dc20236199a4e2ef78 commit: bec730fc1c01e47bfe6805183f009973d94aca6b Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Apr 30 10:02:07 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Apr 30 10:14:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bec730fc dev-qt/qt-docs: Fix broken png file Closes: https://bugs.gentoo.org/679146 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild b/dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild index 8beec6556c9..466a8de3c9d 100644 --- a/dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild +++ b/dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild @@ -77,10 +77,23 @@ for DOCUSE in ${!QT5_DOCS[@]}; do done unset DOCTAR DOCUSE -BDEPEND="app-arch/p7zip" +BDEPEND=" + app-arch/p7zip + media-libs/libpng:0 +" S=${WORKDIR}/Docs/Qt-${PV%_p*} +src_prepare() { + default + + # Fix broken png file, bug 679146 + local png=qtdoc/images/used-in-examples/demos/tweetsearch/content/resources/anonymous.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 +} + src_install() { # must be the same as QT5_DOCDIR insinto /usr/share/qt5-doc