Package: dillo
Version: 3.0.3-6
Severity: wishlist

As a suggestion, dillo could helpfully have /etc/mailcap entries for
image/gif, image/png and image/jpeg since it can display those.  Various
other browsers such as iceape have such entries.  Perhaps something like
the debian/mime file below (to become /usr/lib/mime/packages/dillo).

Currently update-mime crunches /usr/share/applications/dillo.desktop
"MimeType" into an /etc/mailcap entry

    text/xml; dillo %s; test=test -n "$DISPLAY"

Is this generic XML?  Does dillo do anything with that, or does text/xml
mean xhtml?  If so then an entry for that in this mime file, or if not
then maybe dillo.desktop would be reduced.

# Dillo 3.0.3 requires HTML or XHTML in a filename "foo.html", hence
# nametemplate here for use when "see" reads stdin or similar.
# Other filenames such as "foo.xhtml" are taken to be plain text and
# displayed raw.
#
# ENHANCE-ME: Is there an option to dillo to force it to take an
# arbitrary filename as html or as the image types below?
#
text/html;             /usr/bin/dillo %s; description=HTML Text;  test=test -n 
"$DISPLAY"; nametemplate=%s.html
application/xhtml+xml; /usr/bin/dillo %s; description=XHTML Text; test=test -n 
"$DISPLAY"; nametemplate=%s.html

# Dillo 3.0.3 uses the .gif etc in the filename to determine the image
# type.  So for instance a gif file called foo.png is not displayed.
# Hence nametemplate here for use when "see" reads stdin or similar.
#
# "priority=2" for images here the same as other web browsers and
# below dedicated image viewer programs at default priority=5.
# Dillo 3.0.3 can only display gif, png and jpeg (see its DIC_Gif etc
# enum in src/dicache.c).
#
image/png;  /usr/bin/dillo %s; description=PNG Image;  test=test -n "$DISPLAY"; 
nametemplate=%s.png;  priority=2
image/jpeg; /usr/bin/dillo %s; description=JPEG Image; test=test -n "$DISPLAY"; 
nametemplate=%s.jpeg; priority=2
image/gif;  /usr/bin/dillo %s; description=GIF Image;  test=test -n "$DISPLAY"; 
nametemplate=%s.gif;  priority=2


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages dillo depends on:
ii  libc6        2.17-92
ii  libfltk1.3   1.3.2-3
ii  libgcc1      1:4.6.1-3
ii  libjpeg8     8d-1
ii  libpng12-0   1.2.49-4
ii  libssl1.0.0  1.0.1e-3
ii  libstdc++6   4.6.1-3
ii  libx11-6     2:1.6.1-1
ii  wget         1.14-2
ii  zlib1g       1:1.2.8.dfsg-1

Versions of packages dillo recommends:
ii  perl          5.14.2-21
ii  perl-modules  5.14.2-21

dillo suggests no packages.

-- no debconf information

Reply via email to