diff --git a/srcpkgs/thunar-archive-plugin/patches/0001-Fix-file-roller-3.12.1-detection-bug-10826.patch b/srcpkgs/thunar-archive-plugin/patches/0001-Fix-file-roller-3.12.1-detection-bug-10826.patch new file mode 100644 index 00000000000..f1435cd55d0 --- /dev/null +++ b/srcpkgs/thunar-archive-plugin/patches/0001-Fix-file-roller-3.12.1-detection-bug-10826.patch @@ -0,0 +1,37 @@ +From cc1b9c86d1b563318a2b9489b062f9519ae08b20 Mon Sep 17 00:00:00 2001 +From: Evangelos Foutras +Date: Wed, 23 Apr 2014 20:13:19 +0300 +Subject: [PATCH] Fix file-roller>=3.12.1 detection (bug #10826) + +File Roller 3.12.1 changed the name of its .desktop file from +file-roller.desktop to org.gnome.FileRoller.desktop. + +We install a new symlink to support the new .desktop file name. +--- + scripts/Makefile.am | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/scripts/Makefile.am b/scripts/Makefile.am +index 4da529c..3804605 100644 +--- a/scripts/Makefile.am ++++ b/scripts/Makefile.am +@@ -5,12 +5,15 @@ wrapper_SCRIPTS = \ + ark.tap \ + file-roller.tap + +-# Install symlink to 'gnome-file-roller.tap' ++# Install symlink to 'gnome-file-roller.tap' and 'org.gnome.FileRoller.tap' + install-exec-hook: + $(mkinstalldirs) $(DESTDIR)$(wrapperdir) + -( cd $(DESTDIR)$(wrapperdir) ; \ + test -f gnome-file-roller.tap \ + || ln -sf file-roller.tap gnome-file-roller.tap ) ++ -( cd $(DESTDIR)$(wrapperdir) ; \ ++ test -f org.gnome.FileRoller.tap \ ++ || ln -sf file-roller.tap org.gnome.FileRoller.tap ) + + EXTRA_DIST = \ + $(wrapper_SCRIPTS) \ +-- +1.9.2 + diff --git a/srcpkgs/thunar-archive-plugin/template b/srcpkgs/thunar-archive-plugin/template new file mode 100644 index 00000000000..9374fbfff27 --- /dev/null +++ b/srcpkgs/thunar-archive-plugin/template @@ -0,0 +1,14 @@ +# Template file for 'thunar-archive-plugin' +pkgname=thunar-archive-plugin +version=0.3.1 +revision=1 +build_style=gnu-configure +makedepends="Thunar-devel exo-devel" +hostmakedepends="intltool pkg-config xfce4-dev-tools" +short_desc="Create and extract archives in Thunar" +maintainer="LockeAnarchist " +license="GPL-2" +patch_args="-Np1" +homepage="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin" +distfiles="http://archive.xfce.org/src/thunar-plugins/${pkgname}/0.3/${pkgname}-${version}.tar.bz2" +checksum=9ad559b0c11308f6897ad56604e5a06dc8f369f649eb20120b2d3018ef5da54c