Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 518180

Summary: xfce-extra/thunar-archive-plugin-0.3.1 - support >=file-roller-3.12.1
Product: Gentoo Linux Reporter: Daniel Pielmeier <billie>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: RESOLVED FIXED    
Severity: minor CC: 4glitch, hans, jrmalaq, pariksheet.nanda
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.xfce.org/show_bug.cgi?id=10948
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: install-an-additional-symlink-for-file-roller.patch

Description Daniel Pielmeier gentoo-dev 2014-07-26 14:47:28 UTC
Starting with file-roller-3.12.1 the name of the file-roller desktop file changed. The tap files of the archive plugin must have the same name as the archivers desktop file else the plugin wont find the archiver. A patch can be found on the upstream bug tracker.
Comment 1 Eric Chatellier 2014-09-10 14:42:18 UTC
Confirmed.

Following command is a temporary workarround:
ln -s /usr/libexec/thunar-archive-plugin/file-roller.tap /usr/libexec/thunar-archive-plugin/org.gnome.FileRoller.tap
Comment 2 Pariksheet Nanda 2014-10-19 04:47:58 UTC
Created attachment 386932 [details, diff]
install-an-additional-symlink-for-file-roller.patch

(In reply to Daniel Pielmeier from comment #0)
> Starting with file-roller-3.12.1 the name of the file-roller desktop file
> changed. The tap files of the archive plugin must have the same name as the
> archivers desktop file else the plugin wont find the archiver. A patch can
> be found on the upstream bug tracker.

While the upstream patch is useful, it is troubling that:

1) The patch relies on the order in which packages are emerged since it checks the name of the .desktop file  installed by app-arch/file-roller.  Since thunar-archive-plugin uses the .desktop entry prefix for detection, a better patch would be always adding an additional tap symlink.

2) If this is reasonable, one might wonder why scripts/Makefile.am conditionally symlinks file-roller to gnome-file-roller.  The ChangeLog shows it was added in response to Fedora renaming file-roller.desktop to gnome-file-roller.desktop.  So the way in which scripts/Makefile.am addressed this conflicts with 1) above.  I don't know if any system can have both gnome-file-roller.desktop and file-roller.desktop installed, so while I think the `test -f gnome-file-roller' line should be removed, without better knowledge of the effects (at least on Gentoo gnome users) I am that questionable line in tact in the patch.

Attached is the different patch than upstream.
Comment 3 Pariksheet Nanda 2014-10-19 04:49:27 UTC
Missed a word above: "I am *leaving* that questionable line in tact in the patch."
Comment 4 georg 2015-02-15 20:35:23 UTC
You could use ark, there is an link neccesarry (like fileroller)

ln -s /usr/libexec/thunar-archive-plugin/ark.tap /usr/libexec/thunar-archive-plugin/kde4-ark.tap

To be able to create an archive, you need to change the ark.tap file

# check the action
case $action in
create)
	exec ark --add "$@" -f tar.gz 
	;;

ark doesnt ask the user for a filename, so an added "-f tar.gz" let it create by default tar.gz files.
Comment 5 Jason Zaman gentoo-dev 2015-07-04 15:24:35 UTC
this has been in thunar-archive-plugin-0.3.1-r1