GNOME Bugzilla – Bug 307087
Support for compressed (bzip2, gzip) documents
Last modified: 2008-04-06 09:37:18 UTC
On my computer I have compressed many PDF files with bzip2, which saves space admirably well. It would be nice if evince could open these files without forcing me to decompress them myself. Ditto for gzipped files.
To be able to do this we would need to have a mime for pdf/bz2 type registered in the freedesktop shared-mime-info. I dont know if such format is common enough to worth the addition, basically it's their call anyway. You may want to open a bug about this on bugs.freedesktop.org...
*** Bug 315184 has been marked as a duplicate of this bug. ***
Surely this is an Evince issue as if I select File->Open in Evince it doesn't try decompressing the file to see what it is. Or does Evince demand that there are MIME types for all files which can be compressed?
Yeah, we need mime types for these... I think there is one for gzipped postscript for example (though these seem to be a lot more common).
*** Bug 316208 has been marked as a duplicate of this bug. ***
There is a request to open gzipped/bzipped dvi in bug 316208.
*** Bug 305081 has been marked as a duplicate of this bug. ***
If I might presume, why is this bug "resolved"? Surely, a MIME type will be required, and this is probably NOTGNOME. But when such a type will be available, somebody will need to implement this feature.
*** Bug 316585 has been marked as a duplicate of this bug. ***
Reopening. There is no reason for closing this feature request, it's just depending on an external bugzilla bug report. I've filed a shared-mime-info bug report: https://bugs.freedesktop.org/show_bug.cgi?id=4658
*** Bug 319052 has been marked as a duplicate of this bug. ***
*** Bug 320942 has been marked as a duplicate of this bug. ***
Maybe the summary of this bug should be changed to "Evince cannot open compressed (bzip2, gzip) PDF and DVI files" ? It would probably avoid some duplicates.
Not a bad idea, changing the title
*** Bug 157192 has been marked as a duplicate of this bug. ***
Note that evince also won't show gzipped EPS files, even though gzipped PS files work fine.
*** Bug 348531 has been marked as a duplicate of this bug. ***
Now we finally fixed the associated freedesktop.org bug: https://bugs.freedesktop.org/show_bug.cgi?id=4658
*** Bug 403435 has been marked as a duplicate of this bug. ***
It's fixed in svn trunk now. I didn't add support for dvi compressed files because it doesn't seem to be consensus. However, since compressed files are handled now in libdocument, adding support for dvi compressed files is trivial.
Created attachment 81938 [details] [review] more-compressed-types.patch (In reply to comment #20) > It's fixed in svn trunk now. I didn't add support for dvi compressed files > because it doesn't seem to be consensus. However, since compressed files are > handled now in libdocument, adding support for dvi compressed files is trivial. I think compressed dvi files really should be handled by evince, because otherwise there won't be a handler for those mime types. Also, the EVINCE_MIME_TYPES is wrong for postscript; it has application/x-gzpostscript twice, the first one should be application/x-bzpostscript.
Applied EVINCE_MIME_TYPES problem. Thank you very much!
*** Bug 450543 has been marked as a duplicate of this bug. ***
We still have requests to support compressed dvi
Created attachment 96199 [details] [review] more-compressed-types.patch Updated.
Created attachment 107955 [details] [review] more-compressed-types.patch Update.
Applied to svn trunk. Thank you very much.