Your message dated Fri, 3 Sep 2010 22:23:10 +0200
with message-id <[email protected]>
and subject line close
has caused the Debian Bug report #558650,
regarding mime-support: Smooth handling of gzipped files ?
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.)
--
558650: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558650
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mime-support
Version: 3.46-1
Severity: important
Some applications handle properly gzipped files directly,
for example Okular with .pdf.gz files.
However if launched through mailcap (e.g. see my.pdf.gz),
run-mailcap will unzip the file to a temp file and call okular
with the temp file, then the user created bookmarks won't be associated
to the original pdf.gz file, but to a temporary file...
It is obvious that the old kludge of using mimetypes like
application/x-gzpdf is not acceptable, because other handlers
(like print actions) could not handle them.
It would be great if mailcap entries had an optional encodings parameter,
for example:
application/pdf; okular '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != "";
would become:
application/pdf; okular '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != "";
encodings=gzip,bzip,bzip2,compress;
(note that the nametemplate would probably have to be removed, or run-mailcap
would
have to append the default compresser extension for the app to be fine).
Please tell me if you think that the idea is correct,
I would be pleased to attempt to implement it and send you a patch
once there is an agreement on the specifications.
Cheers
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
mime-support depends on no packages.
Versions of packages mime-support recommends:
ii file 5.03-3 Determines file type using "magic"
mime-support suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Nice idea but would violate RFC.
Brian
[email protected]
-----------------------------------------------------------------------------------------
Treat someone as they are and they will remain that way.
Treat someone as they can be and they will become that way.
--- End Message ---