Bug#647272: evince-gtk: MIME support is now missing?

Antoine Beaupré anarcat at debian.org
Fri Jan 6 16:31:59 UTC 2012


Package: evince
Version: 3.2.1-1
Followup-For: Bug #647272

I also find it unfortunate that a single package drops support
unilateraly. It's just one file to ship with the package, and is
causing major regressions in third party packages which assume this
"just works". In other words, I do not think the benefits justify the
breakage, for those of us that do not use a "Desktop Environment".

I do not object to the arguments brought forward however: it does make
sense to deprecate the mailcap file, but it seems to me this should be
done in an orderly fashion, not in a "shoot first ask questions later"
approach. The way this is happening now just means I can't use Evince
anymore..

In fact, we could say that Evince is not respecting the "Debian MIME
support sub-policy" as detailed here:

http://www.debian.org/doc/packaging-manuals/mime-policy/

This policy is still reference by the current Debian Policy:

http://www.debian.org/doc/debian-policy/ch-opersys.html#s-mime

If that policy needs to be changed, fine, but please do not break the
policy.

For those who want to fix this regression on their own, you can either
add the following mailcap lines:

application/pdf; /usr/bin/evince '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
application/x-pdf; /usr/bin/evince '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format;

... to either:

 a. your ~/.mailcap file
 b. to the top of the /etc/mailcap file (between the magic lines)
 c. or in /usr/lib/mime/packages/evince and rerun update-mime

Note: I have just taken the mime configuration of xpdf and replaced
xpdf with evince, which seems to work. Having the original evince mime
lines would probably be more appropriate here.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages evince depends on:
ii  evince-common            3.2.1-1
ii  gnome-icon-theme         3.2.1.2-1
ii  libatk1.0-0              2.2.0-2
ii  libc6                    2.13-21
ii  libcairo-gobject2        1.10.2-6.1
ii  libcairo2                1.10.2-6.1
ii  libevince3-3             3.2.1-1
ii  libfontconfig1           2.8.0-3
ii  libfreetype6             2.4.8-1
ii  libgail-3-0              3.2.2-3
ii  libgdk-pixbuf2.0-0       2.24.0-1
ii  libglib2.0-0             2.30.2-4
ii  libgnome-keyring0        3.2.2-1
ii  libgtk-3-0               3.2.2-3
ii  libice6                  2:1.0.7-2
ii  libnautilus-extension1a  3.2.1-2+b1
ii  libpango1.0-0            1.29.4-2
ii  libsm6                   2:1.2.0-2
ii  libx11-6                 2:1.4.4-4
ii  libxml2                  2.7.8.dfsg-5
ii  shared-mime-info         0.90-1
ii  zlib1g                   1:1.2.3.4.dfsg-3

Versions of packages evince recommends:
ii  dbus-x11  1.4.16-1
ii  gvfs      1.10.1-2

Versions of packages evince suggests:
ii  nautilus      3.2.1-2+b1
ii  poppler-data  0.4.5-2
ii  unrar         1:4.0.3-1

-- no debconf information





More information about the pkg-gnome-maintainers mailing list