Bug 98314 - [PATCH] Add mime-type for pdf.lz files
Summary: [PATCH] Add mime-type for pdf.lz files
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Shared Mime Info group
QA Contact:
Depends on:
Reported: 2016-10-18 22:46 UTC by Juan Francisco Cantero Hurtado
Modified: 2016-10-19 17:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Add mime-type for pdf.lz files (6.21 KB, patch)
2016-10-18 22:46 UTC, Juan Francisco Cantero Hurtado
Details | Splinter Review

Description Juan Francisco Cantero Hurtado 2016-10-18 22:46:08 UTC
Created attachment 127390 [details] [review]
Add mime-type for pdf.lz files

The patch adds the mime-type for PDF files compressed using lzip + the test. Let me know if I forgot something.
Comment 1 Bastien Nocera 2016-10-19 08:51:04 UTC
Where and why is that used?
Comment 2 Juan Francisco Cantero Hurtado 2016-10-19 10:29:19 UTC
The purpose is similar to .pdf.xz or .pdf.bz2. Some PDFs are pretty big and lzip helps to save a lot of disk space. However, in contrast with other compressed file formats, lzip is also designed for long-term archiving. For more info: http://www.nongnu.org/lzip/manual/lzip_manual.html#Quality-assurance , http://www.nongnu.org/lzip/manual/lzip_manual.html#File-format and http://www.nongnu.org/lzip/manual/lzip_manual.html#Algorithm .

I need this mime type to add support to KDE Okular for the .pdf.lz files. Okular can open compressed files transparently without to decompress these in an additional program. I have a patch ready for inclusion in KDE, I just need this change committed.
Comment 3 Bastien Nocera 2016-10-19 17:07:34 UTC
Attachment 127390 [details] pushed as 5371e19 - Add mime-type for pdf.lz files

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.