Bug#785221: FTBFS with ghostscript from experimental: Unknown device: pswrite

Iain Lane iain at orangesquash.org.uk
Wed May 13 15:55:24 UTC 2015


Package: src:vim
Version: 2:7.4.712-2
Severity: minor
Tags: patch

Hi,

You create a PDF logo in debian/rules using the 'pswrite' device, but
this has been removed as of ghostscript 9.10 (e.g. in experimental) and
vim therefore FTBFS. Writing postscript level 2 using 'ps2write' works
and resolves this.

  gs -sDefaultCMYKProfile=ps_cmyk.icc -sOutputICCProfile=ps_rgb.icc \
      -dSAFER -dEPSCrop -dBATCH -dNOPAUSE \
      -sDEVICE=pswrite -sOutputFile=debian/tmplogo.ps runtime/vimlogo.eps
  GPL Ghostscript RELEASE CANDIDATE 1 9.15 (2014-03-25)
  Copyright (C) 2014 Artifex Software, Inc.  All rights reserved.
  This software comes with NO WARRANTY: see the file PUBLIC for details.
  Unknown device: pswrite
  Unrecoverable error: undefined in .uninstallpagedevice
  Operand stack:
      defaultdevice
  make: *** [install-stamp-vim-basic] Error 1
  debian/rules:305: recipe for target 'install-stamp-vim-basic' failed

Patch attached.

Cheers,
-- 
Iain Lane                                  [ iain at orangesquash.org.uk ]
Debian Developer                                   [ laney at debian.org ]
Ubuntu Developer                                   [ laney at ubuntu.com ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vim_7.4.712-2.1.debdiff
Type: text/x-diff
Size: 1234 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20150513/d4ac8a78/attachment.diff>


More information about the pkg-vim-maintainers mailing list