← Back to team overview

desktop-packages team mailing list archive

[Bug 1348384] Re: evince and okular do not render eps files correctly resulting in a black background

 

The "vanilla" libspectre-0.2.7 doesn't show this behavior. The patch we are takling about has been introduced in the master branch of the git repository last June, but was reverted in September:
http://cgit.freedesktop.org/libspectre

Some time between those two dates, somebody added this patch to the
debian/ubuntu version of libspectre though, and it has not yet been
reverted here.

While this gets fixed, you can get the source of the debian package,
download the vanilla libspectre, and build yourself a new .deb package
without this faulty patch (make sure that the source repositories are
enabled). I give below a script that should do this for you. There may
be a better way, but at least this one works.

# Install the tools needed to build debian packages
sudo apt-get install devscripts
# Install the dependencies of libspectre
sudo apt-get build-dep libspectre1

# Make yourself a temporary directory
mkdir ~/tmp/
cd ~/tmp/

# Download the vanilla libspectre-0.2.7
wget http://libspectre.freedesktop.org/releases/libspectre-0.2.7.tar.gz

# Download the debian source code
sudo apt-get source libspectre1

# Create a new directory with the correct code
cd libspectre-0.2.7
uupdate ../libspectre-0.2.7.tar.gz -v 0.2.7-vanilla
cd ../libspectre-0.2.7-vanilla

# Remove the debian patch
rm debian/patches/*

# Build the package
dpkg-buildpackage -us -uc -nc
# Note: fore some reason, this fails to build libspectre-dev, but we don't care

# Install it
cd ../
sudo dpkg -i libspectre1_0.2.7-vanilla*.deb

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1348384

Title:
  evince and okular do not render eps files correctly resulting in a
  black background

Status in evince package in Ubuntu:
  Confirmed
Status in libspectre package in Ubuntu:
  Confirmed
Status in okular package in Ubuntu:
  Confirmed

Bug description:
  Several eps files, which previously rendered correctly, are not
  rendered correctly by evince and okular.  It looks as though something
  is wrong with the "transparency" setting, since most of the
  incorrectly-rendered files have a black background, but the figure can
  somewhat be made out on top of hte black background.  The PDF files I
  have tested are NOT affected.  EPS files that were previously viewable
  correctly ARE affected.

  Thank you for your time.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: evince 3.10.3-0ubuntu10.1
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jul 24 16:54:06 2014
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: evince
  UpgradeStatus: Upgraded to trusty on 2014-06-03 (51 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1348384/+subscriptions