public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-docs/
Date: Thu, 30 Apr 2020 10:14:36 +0000 (UTC)	[thread overview]
Message-ID: <1588241657.bec730fc1c01e47bfe6805183f009973d94aca6b.asturm@gentoo> (raw)

commit:     bec730fc1c01e47bfe6805183f009973d94aca6b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 30 10:02:07 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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


             reply	other threads:[~2020-04-30 10:14 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-30 10:14 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02 14:10 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-docs/ Arthur Zamarin
2024-09-27 12:10 Ionen Wolkens
2024-07-16  1:29 Ionen Wolkens
2024-07-10  4:21 Ionen Wolkens
2024-07-08 16:40 Arthur Zamarin
2024-07-08 10:09 Sam James
2024-06-18 18:14 Ionen Wolkens
2024-06-08 13:41 Ionen Wolkens
2024-05-06  1:37 Ionen Wolkens
2024-04-19  7:55 Ionen Wolkens
2024-04-16 12:02 Ionen Wolkens
2024-04-02 13:06 Ionen Wolkens
2024-04-02  6:09 Arthur Zamarin
2024-03-22  6:16 Arthur Zamarin
2024-02-28 14:08 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2023-12-19 20:33 Ionen Wolkens
2023-12-17 20:06 Ionen Wolkens
2023-12-17 18:29 Arthur Zamarin
2023-12-03  3:37 Sam James
2023-12-02  9:24 Arthur Zamarin
2023-11-29 16:34 Jakov Smolić
2023-11-29 11:32 Michał Górny
2023-11-29 11:15 Michał Górny
2023-11-29 11:15 Michał Górny
2023-11-29 10:15 Michał Górny
2023-11-29 10:15 Michał Górny
2023-11-29  9:09 Michał Górny
2023-11-29  9:09 Michał Górny
2023-11-29  5:57 Ionen Wolkens
2023-11-15 19:28 Ionen Wolkens
2023-11-15 17:20 Arthur Zamarin
2023-09-26 15:16 Ionen Wolkens
2023-09-09 16:22 Ionen Wolkens
2023-09-06  8:49 Ionen Wolkens
2023-09-06  8:49 Ionen Wolkens
2023-05-20  5:43 Sam James
2023-05-20  0:54 Sam James
2022-04-17 19:32 Sam James
2022-04-17 19:32 Sam James
2021-09-08 16:55 Andreas Sturmlechner
2020-11-25 22:41 Andreas Sturmlechner
2020-09-10 17:47 Andreas Sturmlechner
2020-07-02 10:51 Andreas Sturmlechner
2020-06-25  7:19 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-05-26 18:31 Andreas Sturmlechner
2020-01-28 22:13 Andreas Sturmlechner
2019-09-12  7:49 Andreas Sturmlechner
2019-08-25 21:57 Andreas Sturmlechner
2019-04-21 11:31 Andreas Sturmlechner
2019-03-17 19:57 Andreas Sturmlechner
2018-12-06 11:49 Andreas Sturmlechner
2018-10-16 16:09 Mikle Kolyada
2018-07-15 14:23 Thomas Deutschmann
2018-07-13 13:41 Mikle Kolyada
2018-07-05  4:51 Davide Pesavento
2018-07-05  4:51 Davide Pesavento
2018-02-06 13:04 Michael Palimaka
2017-12-09 23:15 Davide Pesavento
2017-11-11 19:37 Sergei Trofimovich
2017-07-10 16:22 Alexis Ballier
2017-07-09 11:07 Michael Palimaka
2016-12-17  4:25 Davide Pesavento
2016-12-15  5:28 Davide Pesavento
2016-11-23 20:18 Davide Pesavento
2016-11-23 20:18 Davide Pesavento
2016-11-23 16:08 Michael Palimaka
2016-08-18 22:57 Davide Pesavento
2016-08-18 22:57 Davide Pesavento
2016-08-18 22:57 Davide Pesavento
2016-06-08 23:57 Davide Pesavento
2016-04-23  1:45 Davide Pesavento
2016-04-23  1:45 Davide Pesavento
2016-01-24 23:59 Davide Pesavento
2015-10-20 23:14 Davide Pesavento
2015-10-20 23:14 Davide Pesavento

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=1588241657.bec730fc1c01e47bfe6805183f009973d94aca6b.asturm@gentoo \
    --to=asturm@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