[Debichem-devel] Bug#798682: unknown deveice - epswrite

Andrei POPESCU andreimpopescu at gmail.com
Fri Sep 11 20:34:48 UTC 2015


Control: reassign -1 easychem 0.6-8

On Vi, 11 sep 15, 22:47:00, prathibhab wrote:
> Package: easyche,
> Version: 0.6-8
> 
> ghostscript package version 9.16~dfsg-2.
> 
> Issue: Onclicking File->Export->EPS, optimized for size, the following error is
> displayed on the terminal:
> 
> Unknown device: epswrite
> 
> Solution:
> 
> epswrite device is deprecated as of the 9.12 release, the eps2write device
> should be used instead which does not suffer these limitations. Ref:
> http://ghostscript.com/doc/current/Issues.htm
> 
> Patch for resolving the same attached.
> 
> Regards,
> Prathibha
> Senior Engineer
> CDAC Chennai
> 
> -------------------------------------------------------------------------------------------------------------------------------
> [ C-DAC is on Social-Media too. Kindly follow us at:
> Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
> 
> This e-mail is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. If you are not the
> intended recipient, please contact the sender by reply e-mail and destroy
> all copies and the original message. Any unauthorized review, use,
> disclosure, dissemination, forwarding, printing or copying of this email
> is strictly prohibited and appropriate legal action will be taken.
> -------------------------------------------------------------------------------------------------------------------------------
> 

> Description: 
>    * epswrite changed to eps2write. Fixes the following error: unknown device - epswrite
> Author: Prathibha B <prathibhab at cdac.in>
> 
> ---
> The information above should follow the Patch Tagging Guidelines, please
> checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
> are templates for supplementary fields that you might want to add:
> 
> Origin: <vendor|upstream|other>, <url of original patch>
> Bug: <url in upstream bugtracker>
> Bug-Debian: https://bugs.debian.org/<bugnumber>
> Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
> Forwarded: <no|not-needed|url proving that it has been forwarded>
> Reviewed-By: <name and email of someone who approved the patch>
> Last-Update: <YYYY-MM-DD>
> 
> --- /dev/null
> +++ easychem-0.6/.save.ech
> @@ -0,0 +1,3 @@
> +# Save file for EasyChem (version 0.6)
> +
> +smpl 13300 8700 19700 14300 0 0 0 0 1 0 0 0
> --- easychem-0.6.orig/export.c
> +++ easychem-0.6/export.c
> @@ -2084,7 +2084,7 @@ eps_size_export (struct Bond *list, char
>    gchar *option;
>    int fd, pid, i, j, k, l;
>    FILE *file, *in, *out;
> -  char *argv[11] = { "gs", "-dNOPAUSE", "-q", "-sDEVICE=epswrite", "-dBATCH",
> +  char *argv[11] = { "gs", "-dNOPAUSE", "-q", "-sDEVICE=eps2write", "-dBATCH",
>      "-dSAFER", "", "", "-dDEVICEWIDTH=250000", "-dDEVICEHEIGHT=250000", NULL
>    };
>  


-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20150911/c9e3c70d/attachment.sig>


More information about the Debichem-devel mailing list