commit: e795a8337fce689d9c4afc94e7e54181fa8f0522 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Mon Dec 14 20:07:31 2020 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> 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 <whissi <AT> 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
