! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Patch to fix support for Ark
Status:
RESOLVED: MOVED
Product:
Thunar-archive-plugin
Component:
General

Comments

Description Mariano Street 2015-05-19 22:01:21 CEST
Created attachment 6268 
Fix for `ark.tap`

With the current `ark.tap`, support for Ark is broken. Ark's command line options are very different now.

I'm submitting a patch that fixes this.
Comment 1 Mariano Street 2015-07-09 09:18:36 CEST
Created attachment 6379 
Fix for `ark.tap` (modified)

Fix an omission in the previous attachment: there was a command line without the command name.
Comment 2 Ramón Cahenzli 2017-03-26 20:30:30 CEST
It seems this was merged already, Ark works fine on Debian 9, XFCE 4.12.
Comment 3 Landry Breuil editbugs 2017-03-26 20:34:07 CEST
For which version of ark ? should the script support multiple version ? what was the version of ark for the original report ?
Comment 4 Ramón Cahenzli 2017-03-26 20:42:19 CEST
Sorry, I spoke too soon and had File-Roller still left over from an earlier test. Updated Ark support indeed seems to still be outstanding, with Ark 16.08.3 on Debian 9 I get an ark.tap that looks like the one before the patch mentioned in comment 1.

Also, with only Ark installed and no File-Roller or Xarchiver, I get "No suitable archive manager found" when trying to extract an archive.
Comment 5 Ramón Cahenzli 2017-03-26 22:11:15 CEST
Further digging: It doesn't quite match what's in the patch, either. I'll now try to figure out if what's currently in there is the way it should be for archivers nowadays and if it matches Ark's current syntax.
Comment 6 Ramón Cahenzli 2017-03-27 21:15:46 CEST
There are two problems at least on Debian 9:

  1. The ark.tap file needs to be named like Ark's .desktop 
     entry under /usr/share/applications. That would be 
     'org.kde.ark.tap' instead of just 'ark.tap'.

  2. The org.kde.ark.tap should be updated in some way. Included
     is a copy I found in the Gentoo forums:
     http://www.linuxquestions.org/questions/slackware-14/how-to-associate-thunar-with-ark-4175547106/

  3. kinit and kde-runtime both seem to be required for Ark to work
     and they are of course not direct dependencies of Ark on Debian.

With these changes, extracting works. Although the autodetection of subfolders seems a bit wonky in my eyes, it would create a folder "test.txt" into which it extracts the (only file) text.txt from text.tar.gz. Maybe better options should be used if Ark's behavior can be fine-tuned.

But it works this way, at least.
Comment 7 Ramón Cahenzli 2017-03-27 21:16:38 CEST
Created attachment 7062 
org.kde.ark.tap

Updated org.kde.ark.tap from LinuxQuestions.org
Comment 8 Git Bot editbugs 2020-05-20 21:11:25 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/thunar-plugins/thunar-archive-plugin/-/issues/4.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #11917

Reported by:
Mariano Street
Reported on: 2015-05-19
Last modified on: 2020-05-20

People

Assignee:
Jannis Pohlmann
CC List:
4 users

Version

Version:
unspecified

Attachments

Fix for `ark.tap` (414 bytes, patch)
2015-05-19 22:01 CEST , Mariano Street
no flags
Fix for `ark.tap` (modified) (551 bytes, patch)
2015-07-09 09:18 CEST , Mariano Street
no flags
org.kde.ark.tap (1.25 KB, application/octet-stream)
2017-03-27 21:16 CEST , Ramón Cahenzli
no flags

Additional information