Bug 100978

Summary: MacBinary and hqx support
Product: [Applications] ark Reporter: rgpublic
Component: pluginsAssignee: Ragnar Thomsen <rthomsen6>
Status: CONFIRMED ---    
Severity: wishlist CC: elvis.angelaccio, maranp, rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=462162
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 192630    
Attachments: DFP rounding mode support

Description rgpublic 2005-03-06 16:34:26 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs

Is bug 5207 really fixed?
I cannot find a trace of mac support in ark in KDE 3.4.
As the bug is quite old - has mac support been taken out in the mean time?
Anyway - here's my wish ;-)

It would be great if ark had some (at least extracting) support for the most common mac formats: StuffIt (.sit),StuffItX (.sitx),HQX (.hqx),MacBinary (.macbinary). Especially stuffit and stuffitx are as common on the Mac
as ZIP is on Windows-PC's.

There is a (commercial but free-as-in-beer) command-line utility for Linux called unstuff to extract sit(x) files
which you can download at Aladdinsoft's homepage. Its not really necessary
to support those formats natively IMHO but it would be nice if Ark 
could make use of this utility if installed to open and extract such
archives for all those people (like me) who often have to exchange files
with "those Mac folks"...
Comment 1 Raphael Kubo da Costa 2010-12-08 02:14:30 UTC
Changing the default assignee for currently open Ark bug reports to me.
Comment 2 Maran 2012-10-17 15:57:52 UTC
Created attachment 74603 [details]
DFP rounding mode support
Comment 3 Maran 2012-10-17 15:59:55 UTC
Sorry, an attachment wrongly added to this bug. Kindly ignore. Thanks.
Comment 4 2wxsy58236r3 2020-07-05 07:29:13 UTC
Although those formats are old (and StuffIt(X) is already EOL), in case someone wants to view them in Ark, plugins/cliunarchiverplugin/CMakeLists.txt probably needs to be edited so that Ark can use `unar` for StuffIt and StuffItX.
Comment 5 2wxsy58236r3 2020-07-10 05:57:59 UTC
After testing with files found on Internet Archive (archive.org), I found that all 4 formats (StuffIt, StuffItX,HQX, MacBinary) can be opened by The Unarchiver (unar).

Test results of adding "application/x-stuffit", "application/x-macbinary" and "application/mac-binhex40" to plugins/cliunarchiverplugin/CMakeLists.txt:
HQX: OK
StuffIt: OK
StuffItX: Need to rename from ".sitx" to ".sit" for Ark to recognize that the archive can be opened by the unar plugin.
MacBinary: Ark fails to recognize the filetype, although unar opens it fine.
Comment 6 Elvis Angelaccio 2020-08-30 22:32:00 UTC
Feel free to open a merge request against https://invent.kde.org/utilities/ark
Comment 7 2wxsy58236r3 2022-11-28 00:59:21 UTC
StuffIt support has been added in [1] (as a result of another request in Bug 462162), so the remaining formats are MacBinary and hqx.

[1] https://invent.kde.org/utilities/ark/-/commit/98c8d3f32cf6a4b65b0b5c59138ce6ae21bf00a3