Bug 346342 - Ark (should) support xar archive
Summary: Ark (should) support xar archive
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: unspecified
Platform: openSUSE All
: NOR wishlist
Target Milestone: ---
Assignee: Ragnar Thomsen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-18 15:26 UTC by Naufal Fachrian
Modified: 2016-05-07 16:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 16.08.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naufal Fachrian 2015-04-18 15:26:03 UTC
Ark unable to determine archive type of a xar archive.

Reproducible: Always

Steps to Reproduce:
1. make sure you have an archive that produced by xar.
2. open that archive with ark.

Actual Results:  
Ark show "Unable to Determine Archive Type"

Expected Results:  
Ark should open the archive.

Ark can open the archive if you rename the archive extension from xar to rpm. I hope ark can support xar filetypes or determine xar as rpm archive (rpm5 use xar library).

or, a new feature that make user can determine archive type from an archive (or file extension), eg:
ark --determine rpm "filename.xar"

> more information about xar project : code.google.com/p/xar/

I'm sorry for my bad english.
Comment 1 Ragnar Thomsen 2016-05-07 16:26:20 UTC
Git commit 5dff013d4a3fdc473bc17d608c822a221aa75f01 by Ragnar Thomsen.
Committed on 07/05/2016 at 16:22.
Pushed by rthomsen into branch 'master'.

Add XAR support

Enable read-only XAR support in libarchiveplugin. The XAR mimetype was
added in shared-mime-info 1.6 released in February 2016, so we install
the mimetype ourselves in case the user is running an older version than
1.6.
FIXED-IN: 16.08.0
Differential Revision: D1551

M  +23   -0    autotests/kerfuffle/archivetest.cpp
A  +-    --    autotests/kerfuffle/data/simplearchive.xar
M  +2    -0    autotests/kerfuffle/mimetypetest.cpp
M  +8    -0    kerfuffle/mime/kerfuffle.xml
M  +1    -1    plugins/libarchive/CMakeLists.txt
M  +2    -1    plugins/libarchive/kerfuffle_libarchive_readonly.json

http://commits.kde.org/ark/5dff013d4a3fdc473bc17d608c822a221aa75f01