Patchwork [6/6] maliit-plugins-qt5: Set MALIIT_PLUGINS_DATA_DIR to avoid path leakage from host

login
register
mail settings
Submitter Stefan Schmidt
Date Sept. 28, 2013, 10:25 p.m.
Message ID <1380407119-2352-6-git-send-email-stefan@datenfreihafen.org>
Download mbox | patch
Permalink /patch/59111/
State Accepted, archived
Headers show

Comments

Stefan Schmidt - Sept. 28, 2013, 10:25 p.m.
If not overriden here MALIIT_PLUGINS_DATA_DIR would point to some host
paths resulting in e.g. qml files not being found.
---
 recipes-qt/maliit/maliit-plugins-qt5_git.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/recipes-qt/maliit/maliit-plugins-qt5_git.bb b/recipes-qt/maliit/maliit-plugins-qt5_git.bb
index 6b019ef..fa3d1fd 100644
--- a/recipes-qt/maliit/maliit-plugins-qt5_git.bb
+++ b/recipes-qt/maliit/maliit-plugins-qt5_git.bb
@@ -24,6 +24,7 @@  PV = "0.99.0+git${SRCPV}"
 EXTRA_QMAKEVARS_PRE = "\
     PREFIX=${prefix} \
     MALIIT_INSTALL_PRF=${QMAKE_MKSPEC_PATH}/mkspecs/features \
+    MALIIT_PLUGINS_DATA_DIR=${datadir} \
     LIBDIR=${libdir} \
     CONFIG+=nodoc \
 "