Bug 218929

Summary: ark must handle tar.xz and txz files equally natively as tar.gz (tgz) and tar.bz2 (tbz2)
Product: [Applications] ark Reporter: Shriramana Sharma <samjnaa>
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED FIXED    
Severity: normal CC: rakuco, thenktor
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Shriramana Sharma 2009-12-16 15:18:41 UTC
Version:            (using KDE 4.3.2)
Installed from:    Ubuntu Packages

Ark currently supports tar.gz and tar.bz2 formats natively as follows:

1. it is available in the Compress To dialog when selecting compressed file type

2. upon opening a tar.gz, tgz, tar.bz2 or tbz2 file, Ark automatically shows the contents of the underlying tar archive and does not dumbly merely show the tar archive alone. 

etc.

Similarly, tar.xz and txz files should be equally supported natively by making it available in the Compress To dialog and by automatically showing the contents of the underlying tar file and wherever else it is required.

This native support is important to support the increasing importance given to tar.xz by developers and end-users, as seen in the adoption of tar.xz by the GNU coreutils and (that of xz compression) by Fedora RPM.
Comment 1 Raphael Kubo da Costa 2009-12-16 15:26:29 UTC
What version of the shared-mime-info package do you have?
Comment 2 Shriramana Sharma 2009-12-16 16:34:33 UTC
On my Kubuntu Karmic Koala system: 0.70-0ubuntu1
Apparently according to http://www.freedesktop.org/wiki/Software/shared-mime-info 0.70 is indeed the latest version.

But how does that matter? I'm asking for Ark to support a certain functionality and it should be coded into Ark source code and not in some other software.

BTW currently opening a tar.xz file for me in Ark 4.3.2 shows the underlying tar file and then I have to double click on that to see the contents of the tar. This two-time opening is not required for tar.gz or tar.bz2 files. What I am asking for is that by just opening the tar.xz file I must be able to see the actual contents which *I want to see*. Also I must be able to directly compress to tar.xz just like I am able to compress to tar.gz or tar.bz2 directly. I hope I am not missing anything else which I should ask for.
Comment 3 Raphael Kubo da Costa 2009-12-29 04:03:05 UTC
SVN commit 1067163 by rkcosta:

Add support for the application/x-xz-compressed-tar mimetype.

BUG: 218929

 M  +1 -1      app/ark.desktop  
 M  +1 -1      app/ark_dndextract.desktop  
 M  +1 -1      app/ark_servicemenu.desktop  
 M  +1 -1      plugins/libarchive/kerfuffle_libarchive.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1067163
Comment 4 Raphael Kubo da Costa 2009-12-29 04:04:58 UTC
SVN commit 1067164 by rkcosta:

Backport r1067163.

Add support for the application/x-xz-compressed-tar mimetype.

CCBUG: 218929


 M  +1 -1      app/ark.desktop  
 M  +1 -1      app/ark_dndextract.desktop  
 M  +1 -1      app/ark_servicemenu.desktop  
 M  +1 -1      plugins/libarchive/kerfuffle_libarchive.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1067164
Comment 5 Raphael Kubo da Costa 2010-03-01 21:54:45 UTC
*** Bug 229036 has been marked as a duplicate of this bug. ***