diff options
author | Dennis Menschel <menschel-d@posteo.de> | 2018-06-18 20:37:33 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2018-06-26 08:27:47 +0000 |
commit | 681aa041f403513b365c209f76ba79447a7eb066 (patch) | |
tree | a1d831b997e42d7c4b829357c282b8a0221353f5 | |
parent | 7e72e9166fa7dc7f36084b2544b9acee688b52cd (diff) |
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 <menschel-d@posteo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-qt/qt5/qttranslations_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 \ |