Patchwork [meta-xfce,04/14] xarchiver: align libexecdir so that thunar-archive-plugin finds tap files

login
register
mail settings
Submitter Andreas Müller
Date May 15, 2013, 3:20 p.m.
Message ID <1368631259-13401-5-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/49929/
State Accepted, archived
Commit b4d3770a32b39422b5d7af1783ed8390e8ff477e
Headers show

Comments

Andreas Müller - May 15, 2013, 3:20 p.m.
xarchiver installs tap files for thunar-archive-plugin in
$libexexdir/thunar-archive-plugin under the assumption that there is a
single/common $libexexdir for all packages. In bitbake.conf oe-core
sets libexecdir = "${libdir}/${BPN}" which causes thunar-archive-plugin
not to find xarchiver tap-files.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../recipes-apps/xarchiver/xarchiver_0.5.2.bb      |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

Patch

diff --git a/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.2.bb b/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.2.bb
index f47a3bc..6482adc 100644
--- a/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.2.bb
+++ b/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.2.bb
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "Lightweight, desktop independent GTK+ archive manager"
 HOMEPAGE = "http://xarchiver.sourceforge.net"
 SECTION = "x11"
-PR = "r2"
+PR = "r3"
 
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
@@ -14,4 +14,9 @@  SRC_URI[sha256sum] = "cea932ff9d505969201fd502470bbebbc5726ab3d6765e142fc8295aa6
 
 inherit gettext pkgconfig autotools gtk-icon-cache
 
+# install tap files for thunar-archive-plugin in ${libdir}/thunar-archive-plugin
+EXTRA_OECONF += "--libexecdir=${libdir}"
+
+FILES_${PN} += "${libdir}/thunar-archive-plugin"
+
 RRECOMMENDS_${PN} = "lzop zip tar bzip2 unzip"