After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 403435 - Generic compressed file support (.pdf.gz, .dvi.bz2, etc.)
Generic compressed file support (.pdf.gz, .dvi.bz2, etc.)
Status: RESOLVED DUPLICATE of bug 307087
Product: evince
Classification: Core
Component: general
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-02 02:42 UTC by Ed Catmur
Modified: 2007-02-02 09:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
extra-compressed-types.patch (1.27 KB, patch)
2007-02-02 03:05 UTC, Ed Catmur
rejected Details | Review

Description Ed Catmur 2007-02-02 02:42:16 UTC
cvs shared-mime-info (post-0.19) has application/x-bzpostscript, application/x-gzpdf, application/x-bzpdf MIME types.

Evince should support these; it's just a matter of adding them to libdocument/ev-document-factory.c.
Comment 1 Ed Catmur 2007-02-02 02:52:37 UTC
checkin: http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?view=log#rev1.180

ooh, dvi as well... will we be able to cope with that?
Comment 2 Ed Catmur 2007-02-02 03:05:28 UTC
Created attachment 81730 [details] [review]
extra-compressed-types.patch

Well, this adds the {bz,gz}{pdf,postscript} types, but the dvi backend doesn't know how to uncompress files.  This should really be handled above the level of the backends, I guess.
Comment 3 Ed Catmur 2007-02-02 03:12:21 UTC
Oops, pdf backend doesn't know how to handle compressed files either.  Not much point just adding .ps.bz2 support; I'll make this bug a generic compressed request.  

This will become important when shared-mime-info 0.20 comes out, because the current accidental workaround of going via file-roller will stop working.
Comment 4 Nickolay V. Shmyrev 2007-02-02 09:43:35 UTC
Thanks Ed, that question was discussed earlier though. Actually I am a bit against of handling gzipped dvi and gzipped tiff. What else format should we support on earth. It should be nautilus task.

*** This bug has been marked as a duplicate of 307087 ***