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 4C81F138359 for ; Mon, 9 Nov 2020 18:05:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F729E0814; Mon, 9 Nov 2020 18:05:06 +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 B2824E0814 for ; Mon, 9 Nov 2020 18:05:05 +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 54634335D0F for ; Mon, 9 Nov 2020 18:05:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D05F23AB for ; Mon, 9 Nov 2020 18:05:02 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1604945088.33385b46bea50e05915917ebdb14f6adb97a8797.bircoph@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xpdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/xpdf/xpdf-4.02-r4.ebuild X-VCS-Directories: app-text/xpdf/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: 33385b46bea50e05915917ebdb14f6adb97a8797 X-VCS-Branch: master Date: Mon, 9 Nov 2020 18:05:02 +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: 60082b6b-b249-4c49-82b9-f9ed63371f1d X-Archives-Hash: 31e3f54a308ab01063600d34493ce12c commit: 33385b46bea50e05915917ebdb14f6adb97a8797 Author: Andrew Savchenko gentoo org> AuthorDate: Mon Nov 9 18:02:02 2020 +0000 Commit: Andrew Savchenko gentoo org> CommitDate: Mon Nov 9 18:04:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33385b46 app-text/xpdf: switch from inkscape to rsvg-convert rsvg-convert is faster, more lightweight and less troublesome dependency than inkscape, so use it for png generation. This is a better fix of bug 739166. Bug: https://bugs.gentoo.org/739166 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andrew Savchenko gentoo.org> app-text/xpdf/xpdf-4.02-r4.ebuild | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app-text/xpdf/xpdf-4.02-r4.ebuild b/app-text/xpdf/xpdf-4.02-r4.ebuild index 288d1e75901..e887f2ce996 100644 --- a/app-text/xpdf/xpdf-4.02-r4.ebuild +++ b/app-text/xpdf/xpdf-4.02-r4.ebuild @@ -28,7 +28,7 @@ KEYWORDS="amd64 x86" IUSE="cmyk cups +fontconfig i18n icons +libpaper metric opi png +textselect utils" BDEPEND=" - icons? ( media-gfx/inkscape ) + icons? ( gnome-base/librsvg ) " DEPEND=" cups? ( @@ -88,18 +88,12 @@ src_compile() { cmake_src_compile if use icons; then - # in some cases inkscape tries to write font cache to the - # system dir, see bug 739166 - addpredict /usr/share/inkscape/fonts - local inkarg="-e" - has_version -b '>media-gfx/inkscape-0.99' && inkarg="-o" - sizes="16 22 24 32 36 48 64 72 96 128 192 256 512" cd xpdf-qt mkdir $sizes local i for i in $sizes; do - inkscape xpdf-icon.svg -w $i -h $i $inkarg $i/xpdf.png + rsvg-convert xpdf-icon.svg -w $i -h $i -o $i/xpdf.png done fi }