From 2516988af8458970616821ddb7bff0af63b580823d78aa7d6783dabe92bc6cf3 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 1 Apr 2015 09:02:47 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=188 --- source-asymptote-gs9.15.dif | 37 +++++++++++++++++++++++++++++++++++++ texlive.changes | 6 ++++++ texlive.spec | 2 ++ 3 files changed, 45 insertions(+) create mode 100644 source-asymptote-gs9.15.dif diff --git a/source-asymptote-gs9.15.dif b/source-asymptote-gs9.15.dif new file mode 100644 index 0000000..c197e9d --- /dev/null +++ b/source-asymptote-gs9.15.dif @@ -0,0 +1,37 @@ +The device epswrite is gone with ghostscript 9.15 and the +eps2write has to be used officially. Only the new device +seems to not very handy with latex (boo#912398). + +--- + utils/asymptote/runlabel.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +--- utils/asymptote/runlabel.in ++++ utils/asymptote/runlabel.in 2015-01-11 15:41:30.000000000 +0000 +@@ -111,7 +111,7 @@ array *readpath(const string& psname, bo + #else + const string null="/dev/null"; + #endif +- cmd.push_back("-sDEVICE=epswrite"); ++ cmd.push_back("-sDEVICE=eps2write"); + cmd.push_back("-sOutputFile="+null); + cmd.push_back(stripDir(psname)); + iopipestream gs(cmd,"gs","Ghostscript"); +@@ -309,7 +309,7 @@ patharray2 *_texpath(stringarray *s, pen + cmd.push_back("-dNOPAUSE"); + cmd.push_back("-dBATCH"); + if(safe) cmd.push_back("-dSAFER"); +- cmd.push_back("-sDEVICE=epswrite"); ++ cmd.push_back("-sDEVICE=eps2write"); + cmd.push_back("-sOutputFile=-"); + cmd.push_back(pdfname); + iopipestream gs(cmd,"gs","Ghostscript"); +@@ -398,7 +398,7 @@ patharray2 *textpath(stringarray *s, pen + cmd2.push_back("-dBATCH"); + cmd2.push_back("-P"); + if(safe) cmd2.push_back("-dSAFER"); +- cmd2.push_back("-sDEVICE=epswrite"); ++ cmd2.push_back("-sDEVICE=eps2write"); + cmd2.push_back("-sOutputFile=-"); + cmd2.push_back("-"); + iopipestream gs(cmd2,"gs","Ghostscript"); diff --git a/texlive.changes b/texlive.changes index 25e226b..8070d03 100644 --- a/texlive.changes +++ b/texlive.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 1 08:58:37 UTC 2015 - werner@suse.de + +- Add patch source-asymptote-gs9.15.dif to switch from espwrite + device to eos2write device of ghostscript (boo#912398) + ------------------------------------------------------------------- Tue Mar 31 15:49:35 UTC 2015 - werner@suse.de diff --git a/texlive.spec b/texlive.spec index c0e2b24..be14d6f 100644 --- a/texlive.spec +++ b/texlive.spec @@ -206,6 +206,8 @@ Patch5: source-texdoc.dif Patch6: source-dviutils.dif Patch7: source-xdvik-events.dif Patch8: source-psutils.dif +# PATCH-FIX-SUSE The ghostscript device epswrite has to replaced with eps2write (boo#912398) +Patch9: source-asymptote-gs9.15.dif Patch10: source-poppler.dif Patch11: source-lacheck.dif Patch12: source-warns.dif