From 681aa041f403513b365c209f76ba79447a7eb066 Mon Sep 17 00:00:00 2001 From: Dennis Menschel Date: Mon, 18 Jun 2018 20:37:33 +0200 Subject: qttranslations: fix QA issue about unshipped files Previously in commit 8124b3c768f8e539d6cbe670d6caca132415f435 "[...]qttranslations: fix nothing provides qttranslations-qtconfig", the package qttranslations-qtconfig has been removed from the recipe. But apparently, the current version of qttranslations still includes artifacts which are not associated with any package anymore, resulting in the following QA issue: ERROR: QA Issue: qttranslations: Files/directories were installed but not shipped in any package: /usr/share/qt5/translations/qtconfig_sk.qm /usr/share/qt5/translations/qtconfig_uk.qm /usr/share/qt5/translations/qtconfig_ko.qm /usr/share/qt5/translations/qtconfig_hu.qm /usr/share/qt5/translations/qtconfig_sl.qm /usr/share/qt5/translations/qtconfig_ja.qm /usr/share/qt5/translations/qtconfig_zh_CN.qm /usr/share/qt5/translations/qtconfig_ru.qm /usr/share/qt5/translations/qtconfig_pl.qm /usr/share/qt5/translations/qtconfig_zh_TW.qm Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. qttranslations: 10 installed and not shipped files. [installed-vs-shipped] These files are now removed in the do_install()-task. The qtconfig translations were removed in a6b3446cb023e7b3a5f8aa12ea0d650d2b804334 and the a6b3446cb023e7b3a5f8aa12ea0d650d2b804334 commit was backported to v5.9.5 as well, that's why this issue exists only in sumo branch with 5.10*. $ git tag --contains a6b3446cb023e7b3a5f8aa12ea0d650d2b804334 v5.11.0 v5.11.0-beta3 v5.11.0-beta4 v5.11.0-rc1 v5.11.0-rc2 v5.11.1 v5.9.5 v5.9.6 Signed-off-by: Dennis Menschel Signed-off-by: Martin Jansa --- recipes-qt/qt5/qttranslations_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-qt') diff --git a/recipes-qt/qt5/qttranslations_git.bb b/recipes-qt/qt5/qttranslations_git.bb index a8c71668..939c9382 100644 --- a/recipes-qt/qt5/qttranslations_git.bb +++ b/recipes-qt/qt5/qttranslations_git.bb @@ -8,6 +8,10 @@ LIC_FILES_CHKSUM = " \ DEPENDS += "qtbase qttools-native" +do_install_append() { + find "${D}/${OE_QMAKE_PATH_TRANSLATIONS}" -type f -name "qtconfig_*.qm" -exec rm -f {} \; +} + PACKAGES =. " \ ${PN}-assistant \ ${PN}-designer \ -- cgit v1.2.3