Skip to contentSkip to conversation

Several fixes to get maliit working correctly

meta-qt5 New Simon Busch 1 participant 4 messages Oct 19, 2013

lore
Share & tools
lore
#0 lore raw

Resending cause my mail program got interrupted last time before sending out the third patch.

#1 lore raw

PATCH 1/3 maliit-frameworks-qt5: provide ${datadir} also by EXTRA_QMAKEVARS_PRE

---
 recipes-qt/maliit/maliit-framework-qt5_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-qt/maliit/maliit-framework-qt5_git.bb +1 -0
index ccd0c4c..56d1082 100644
@@ -49,6 +49,7 @@ FILES_${PN}-dev += "\
 EXTRA_QMAKEVARS_PRE = "\
     PREFIX=${prefix} \
     LIBDIR=${libdir} \
+    DATADIR=${datadir} \
     QT_IM_PLUGIN_PATH=${libdir}/qt4/plugins/inputmethods \
     MALIIT_INSTALL_PRF=${QMAKE_MKSPEC_PATH}/mkspecs/features \
     SCHEMADIR=${sysconfdir}/gconf/schemas \
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 2/3 maliit-framework-qt5: don't replace directory names for maliit-defines.prf

In reply to Simon Busch

The values from maliit-defines.prf are only used at runtime and not at compilation time so we don't have to replace them with the proper staging paths.

---
 recipes-qt/maliit/maliit-framework-qt5_git.bb | 1 -
 1 file changed, 1 deletion(-)
recipes-qt/maliit/maliit-framework-qt5_git.bb +0 -1
index 56d1082..35d21ca 100644
@@ -68,7 +68,6 @@ do_install_append() {
     #Fix absolute paths
     sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}/${QT_DIR_NAME}/mkspecs/features/maliit-framework.prf
     sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}/${QT_DIR_NAME}/mkspecs/features/maliit-plugins.prf
-    sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}/${QT_DIR_NAME}/mkspecs/features/maliit-defines.prf
 
     install -d ${D}${datadir}/applications
     install -m 644 ${WORKDIR}/maliit-server.desktop ${D}${datadir}/applications
Signature · 1 line
1.8.1.2
#3 lore raw

PATCH 3/3 maliit-plugins-qt5: add dependency on libqt5svg-plugins

In reply to Simon Busch
---
 recipes-qt/maliit/maliit-plugins-qt5_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
recipes-qt/maliit/maliit-plugins-qt5_git.bb +1 -2
index fa3d1fd..273b3e4 100644
@@ -13,8 +13,7 @@ OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}"
 
 DEPENDS = "maliit-framework-qt5"
 
-# FIXME: Do we need something like this with qt5?
-#RDEPENDS_${PN} += "qt4-plugin-iconengine-svgicon qt4-plugin-imageformat-svg"
+RDEPENDS_${PN} += "qtsvg-plugins"
 
 SRC_URI = "git://github.com/maliit/plugins.git;branch=master"
 
Signature · 1 line
1.8.1.2