Your message dated Mon, 31 Jul 2017 11:02:20 +0900
with message-id <[email protected]>
and subject line Closing this bug
has caused the Debian Bug report #758970,
regarding calibre: problems with desktop files: ebook viewer does not have an
icon and mimetypes are missing
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
758970: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758970
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: calibre
Version: 1.25.0+dfsg-1build1
Severity: minor
Dear Maintainer,
hese are actually two related issues.
1) When run from command line, ebook-viewer does not have an icon. The
fault is in its desktop file, the icon line should be like this:
Icon=viewer
(now it is Icon=calibre)
It refers to an icon installed to this location:
/usr/share/calibre/images/viewer.png
I think it needs to be installed somewhere else in order for the icon to
be picked up.
This is also a bug in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1340179
but looking at the current Debian install, it applies as well.
Second, calibre itself does not advertise all its mimetypes, as it should.
The corresponding line in the desktop file should be
MimeType=application/x-mobipocket-subscription;application/vnd.openxmlformats-officedocument.wordprocessingml.document;text/html;application/ereader;application/oebps-package+xml;image/vnd.djvu;application/x-sony-bbeb;application/vnd.ms-word.document.macroenabled.12;application/x-ruby;text/rtf;application/pdf;application/x-cbz;application/x-mobipocket-ebook;application/x-cbr;application/x-mobi8-ebook;text/fb2+xml;application/vnd.oasis.opendocument.text;application/epub+zip;text/plain;application/xhtml+xml;
but is:
MimeType=x-content/ebook-reader;
The same goes for the ebook-viewer subprogram.
This is also a bug in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/543140
and it aplies to Debian as per above.
calibre ships desktop files in /src/calibre/linux.py, I guess
Debian should stick to them as much as possible,
even though I understand that retrieving the info needed
from that code would be difficult.
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-34-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages calibre depends on:
ii calibre-bin 1.25.0+dfsg-1build1
ii fonts-liberation 1.07.3-3
ii imagemagick 8:6.7.7.10-6ubuntu3
ii libjs-mathjax 2.3-1
ii poppler-utils 0.24.5-2ubuntu4
ii python-apsw 3.8.2-r1-1ubuntu1
ii python-beautifulsoup 3.2.1-1
ii python-chardet 2.0.1-2build2
ii python-cherrypy3 3.2.2-4ubuntu5
ii python-cssselect 0.9.1-1
ii python-cssutils 0.9.10-1
ii python-dateutil 1.5+dfsg-1ubuntu1
ii python-dbus 1.2.0-2build2
ii python-feedparser 5.1.3-2
ii python-imaging 2.3.0-1ubuntu3
ii python-lxml 3.3.3-1ubuntu0.1
ii python-markdown 2.4-1
ii python-mechanize 1:0.2.5-3
ii python-netifaces 0.8-3build1
ii python-pil 2.3.0-1ubuntu3
ii python-pkg-resources 3.3-1ubuntu1
ii python-pyparsing 2.0.1+dfsg1-1build1
ii python-qt4 4.10.4+dfsg-1ubuntu1
ii python-routes 2.0-1build1
ii python2.7 2.7.6-8
ii xdg-utils 1.1.0~rc1-2ubuntu7.1
Versions of packages calibre recommends:
ii python-dnspython 1.11.1-1build1
calibre suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 3.4.0+dfsg-1
The recent rework of desktop integration fixed this bug, closing it.
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
--- End Message ---