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 307087 - Support for compressed (bzip2, gzip) documents
Support for compressed (bzip2, gzip) documents
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 157192 305081 315184 316208 316585 319052 320942 348531 403435 450543 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-06-10 02:03 UTC by Christopher Culver
Modified: 2008-04-06 09:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
more-compressed-types.patch (1.47 KB, patch)
2007-02-05 16:10 UTC, Ed Catmur
none Details | Review
more-compressed-types.patch (1.21 KB, patch)
2007-09-25 22:51 UTC, Ed Catmur
none Details | Review
more-compressed-types.patch (926 bytes, patch)
2008-03-24 21:42 UTC, Ed Catmur
committed Details | Review

Description Christopher Culver 2005-06-10 02:03:01 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.
Comment 1 Marco Pesenti Gritti 2005-06-10 08:22:14 UTC
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... 
Comment 2 Nickolay V. Shmyrev 2005-09-03 16:14:22 UTC
*** Bug 315184 has been marked as a duplicate of this bug. ***
Comment 3 Ross Burton 2005-09-03 16:29:37 UTC
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?
Comment 4 Marco Pesenti Gritti 2005-09-04 01:00:47 UTC
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).
Comment 5 Nickolay V. Shmyrev 2005-09-13 14:15:33 UTC
*** Bug 316208 has been marked as a duplicate of this bug. ***
Comment 6 Nickolay V. Shmyrev 2005-09-13 14:16:11 UTC
There is a request to open gzipped/bzipped dvi in bug 316208.
Comment 7 Nickolay V. Shmyrev 2005-09-13 14:17:56 UTC
*** Bug 305081 has been marked as a duplicate of this bug. ***
Comment 8 August Mayer 2005-09-13 14:25:14 UTC
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.
Comment 9 Nickolay V. Shmyrev 2005-09-17 18:45:27 UTC
*** Bug 316585 has been marked as a duplicate of this bug. ***
Comment 10 Christian Neumair 2005-10-01 16:51:55 UTC
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
Comment 11 Nickolay V. Shmyrev 2005-10-17 17:31:21 UTC
*** Bug 319052 has been marked as a duplicate of this bug. ***
Comment 12 Nickolay V. Shmyrev 2005-11-08 10:01:09 UTC
*** Bug 320942 has been marked as a duplicate of this bug. ***
Comment 13 Lucas Nussbaum 2005-11-08 10:17:38 UTC
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.
Comment 14 Olivier Le Thanh Duong 2005-11-08 15:26:59 UTC
Not a bad idea, changing the title
Comment 15 Nickolay V. Shmyrev 2006-01-31 19:25:10 UTC
*** Bug 157192 has been marked as a duplicate of this bug. ***
Comment 16 Bas Zoetekouw 2006-03-14 14:43:20 UTC
Note that evince also won't show gzipped EPS files, even though gzipped PS files work fine.
Comment 17 Nickolay V. Shmyrev 2006-07-24 15:03:32 UTC
*** Bug 348531 has been marked as a duplicate of this bug. ***
Comment 18 Christian Neumair 2006-12-14 23:05:38 UTC
Now we finally fixed the associated freedesktop.org bug:
https://bugs.freedesktop.org/show_bug.cgi?id=4658
Comment 19 Nickolay V. Shmyrev 2007-02-02 09:43:35 UTC
*** Bug 403435 has been marked as a duplicate of this bug. ***
Comment 20 Carlos Garcia Campos 2007-02-03 19:10:26 UTC
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. 
Comment 21 Ed Catmur 2007-02-05 16:10:39 UTC
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.
Comment 22 Carlos Garcia Campos 2007-02-11 18:24:24 UTC
Applied EVINCE_MIME_TYPES problem. Thank you very much! 
Comment 23 Nickolay V. Shmyrev 2007-07-02 16:01:34 UTC
*** Bug 450543 has been marked as a duplicate of this bug. ***
Comment 24 Nickolay V. Shmyrev 2007-07-02 16:02:02 UTC
We still have requests to support compressed dvi
Comment 25 Ed Catmur 2007-09-25 22:51:19 UTC
Created attachment 96199 [details] [review]
more-compressed-types.patch

Updated.
Comment 26 Ed Catmur 2008-03-24 21:42:39 UTC
Created attachment 107955 [details] [review]
more-compressed-types.patch

Update.
Comment 27 Carlos Garcia Campos 2008-04-06 09:37:18 UTC
Applied to svn trunk. Thank you very much.