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 615780 - lrzip archives support
lrzip archives support
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2010-04-14 20:09 UTC by Alexander Saprykin
Modified: 2010-05-03 23:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for lrzip support (2.85 KB, application/x-gzip)
2010-04-14 20:09 UTC, Alexander Saprykin
Details

Description Alexander Saprykin 2010-04-14 20:09:05 UTC
Created attachment 158755 [details]
Patch for lrzip support

Hi,
I've made a patch for lrzip archives. More about lrzip: http://ck.kolivas.org/apps/lrzip/

Kolivas said that there is no mime-type for .lrz files. So, I think I should fill request to freedesktop.org, isn't it? For now I assume that application/x-lrzip is for lrzip archives.

Another problem is testing archive integrity. lrzip writes this info into stderr. I've send a patch to Kolivas to fix it, hope he will accept it, so I can enable test feature.
Comment 1 Paolo Bacchilega 2010-05-03 11:46:14 UTC
patch applied to master now, added support for lrzip compressed tar archives as well, thank you.
Comment 2 Alexander Saprykin 2010-05-03 15:53:50 UTC
Thanks, Paolo!
I'll try to submit a request fot lrzip mime types on freedesktop.org.
Comment 3 Alexander Saprykin 2010-05-03 17:20:34 UTC
It seems to be a typo in fr-command-tar.c in one of the last commit: 

else if (is_mime_type (mime_type, "application/x-lzip-compressed-tar"))
 return PACKAGES ("tar,lrzip");
 else if (is_mime_type (mime_type, "application/x-lzip-compressed-tar"))
 return PACKAGES ("tar,lzip");

Mime type "application/x-lzip-compressed-tar" was used twice.
Comment 4 Paolo Bacchilega 2010-05-03 23:34:19 UTC
fixed now, thank you.