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 16BDF1382C5 for ; Mon, 14 Dec 2020 20:10:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58E29E097C; Mon, 14 Dec 2020 20:10:56 +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 DC7E4E097C for ; Mon, 14 Dec 2020 20:10:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 5F056335DC2 for ; Mon, 14 Dec 2020 20:10:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5FE849 for ; Mon, 14 Dec 2020 20:10:52 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1607976649.e795a8337fce689d9c4afc94e7e54181fa8f0522.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/ghostscript-gpl/, app-text/ghostscript-gpl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/ghostscript-gpl/files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r4.ebuild X-VCS-Directories: app-text/ghostscript-gpl/files/ app-text/ghostscript-gpl/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: e795a8337fce689d9c4afc94e7e54181fa8f0522 X-VCS-Branch: master Date: Mon, 14 Dec 2020 20:10:52 +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: d73a945d-1789-49c7-b53e-fcb1339c4acc X-Archives-Hash: 99cc1d5c1924c0c7aa135fccfcf96050 commit: e795a8337fce689d9c4afc94e7e54181fa8f0522 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Dec 14 20:07:31 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Dec 14 20:10:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e795a833 app-text/ghostscript-gpl: apply upstream fix for ps2epsi problem Bug: https://bugs.gentoo.org/749399 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> .../files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch | 16 ++++++++++++++++ ...9.53.3-r3.ebuild => ghostscript-gpl-9.53.3-r4.ebuild} | 7 ++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/app-text/ghostscript-gpl/files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch b/app-text/ghostscript-gpl/files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch new file mode 100644 index 00000000000..9d7f53e2fd1 --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch @@ -0,0 +1,16 @@ +https://bugs.ghostscript.com/show_bug.cgi?id=703270 + +--- a/lib/ps2epsi ++++ b/lib/ps2epsi +@@ -40,8 +40,8 @@ else + outfile=$2 + fi + +-# Note, we expect 'ps2epsi.ps' to be in the same directory as 'ps2epsi' ++# Note, we expect 'ps2epsi.ps' to be on one of the search paths which can be seen by: gs -h + "$GS_EXECUTABLE" -q -dNOOUTERSAVE -dNODISPLAY -dLastPage=1 -sOutputFile="${outfile}" \ +- --permit-file-all="${infile}" -- "$LIBDIR/ps2epsi.ps" "${infile}" 1>&2 ++ --permit-file-all="${infile}" -- ps2epsi.ps "${infile}" 1>&2 + + exit 0 + diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r4.ebuild similarity index 96% rename from app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild rename to app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r4.ebuild index eeee9813774..e4d3e176be9 100644 --- a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild +++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r4.ebuild @@ -61,8 +61,8 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${MY_P}" PATCHES=( - # bug #747808 - "${FILESDIR}/${PN}-9.53.3-freetype-2.10.3.patch" + "${FILESDIR}/${PN}-9.53.3-freetype-2.10.3.patch" # bug #747808 + "${FILESDIR}/${P}-fix-ps2epsi.patch" ) src_prepare() { @@ -185,9 +185,6 @@ src_install() { # install the CMaps from poppler-data properly, bug #409361 dosym ../../../poppler/cMaps "/usr/share/ghostscript/${PV}/Resource/CMap" - # ps2epsi requires ps2epsi.ps in same directory, bug #749399 - dosym "../share/ghostscript/${PV}/lib/ps2epsi.ps" /usr/bin/ps2epsi.ps - if ! use static-libs; then find "${ED}" -name '*.la' -delete || die fi