From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xpdf/
Date: Mon, 9 Nov 2020 18:05:02 +0000 (UTC) [thread overview]
Message-ID: <1604945088.33385b46bea50e05915917ebdb14f6adb97a8797.bircoph@gentoo> (raw)
commit: 33385b46bea50e05915917ebdb14f6adb97a8797
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 9 18:02:02 2020 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> 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 <bircoph <AT> 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
}
next reply other threads:[~2020-11-09 18:05 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 18:05 Andrew Savchenko [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-20 18:05 [gentoo-commits] repo/gentoo:master commit in: app-text/xpdf/ Sam James
2024-08-20 18:05 Sam James
2024-07-21 19:37 Andrew Savchenko
2024-07-21 0:32 Sam James
2024-07-20 22:46 Sam James
2024-07-20 21:12 Andrew Savchenko
2024-07-20 16:57 Andrew Savchenko
2024-07-20 16:57 Andrew Savchenko
2024-07-20 16:38 Andrew Savchenko
2023-11-16 15:11 Florian Schmaus
2022-09-15 13:20 Sam James
2022-07-26 15:32 Andrew Savchenko
2022-07-26 15:02 Andrew Savchenko
2022-07-03 10:52 Agostino Sarubbo
2022-07-03 10:48 Agostino Sarubbo
2022-05-15 13:58 Andrew Savchenko
2021-02-09 9:47 Sam James
2021-02-08 17:26 Sam James
2021-01-30 9:52 Andrew Savchenko
2021-01-30 9:52 Andrew Savchenko
2021-01-30 9:52 Andrew Savchenko
2020-09-19 15:40 Andrew Savchenko
2020-09-19 10:21 Andrew Savchenko
2020-04-30 20:19 Andrew Savchenko
2020-04-30 16:00 Agostino Sarubbo
2020-04-30 15:56 Agostino Sarubbo
2020-04-30 9:01 Andrew Savchenko
2020-04-30 8:41 Andrew Savchenko
2020-04-05 8:45 Andrew Savchenko
2020-03-02 22:33 Andrew Savchenko
2020-03-02 12:32 Agostino Sarubbo
2020-03-02 9:24 Agostino Sarubbo
2019-10-28 7:41 Agostino Sarubbo
2019-10-27 23:20 Thomas Deutschmann
2019-10-27 9:29 Andrew Savchenko
2019-10-23 14:36 Andrew Savchenko
2019-03-21 11:00 Andrew Savchenko
2019-03-21 11:00 Andrew Savchenko
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=1604945088.33385b46bea50e05915917ebdb14f6adb97a8797.bircoph@gentoo \
--to=bircoph@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