diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-09-14 05:16:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-17 14:35:18 +0100 |
commit | 63ae37f924788486d9863a5cddc3e42a4e2f7d1c (patch) | |
tree | 1d644ace9b8f91a7c773d8ddae4aa8b2c0ff0d49 /meta/recipes-extended | |
parent | 85a5a2c3b2a12efde2b99ed669aadad94a1caceb (diff) | |
download | poky-63ae37f924788486d9863a5cddc3e42a4e2f7d1c.tar.gz |
LSB 4.1 Library Check: fix unable to find library libqt-mt.so.3
The libqt-mt is tested by lsb-dist-checker and lsb-test-desktop,
and it locates in meta-qt3 layer.
So if meta-qt3 is not added, there should be a warning to call
attention; if added, it will add libqt-mt to RDEPENDS.
[YOCTO #5153]
(From OE-Core rev: f646f96015b408f4c6d56998f08178a69ed9f2a6)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb index 1c1a8d1950..68070e4f02 100644 --- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | |||
@@ -193,6 +193,16 @@ RDEPENDS_packagegroup-core-lsb-python = "\ | |||
193 | python-misc \ | 193 | python-misc \ |
194 | " | 194 | " |
195 | 195 | ||
196 | def get_libqt3(d): | ||
197 | if 'linuxstdbase' in d.getVar('DISTROOVERRIDES') or "": | ||
198 | if 'qt3' in d.getVar('BBFILE_COLLECTIONS') or "": | ||
199 | return 'libqt-mt3' | ||
200 | |||
201 | bb.warn('The meta-qt3 layer should be added, this layer provides Qt 3.x') | ||
202 | bb.warn('libraries. Its intended use is for passing LSB tests as Qt3 is') | ||
203 | bb.warn('a requirement for LSB') | ||
204 | return '' | ||
205 | |||
196 | SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop" | 206 | SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop" |
197 | DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \ | 207 | DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \ |
198 | specified in the LSB Desktop specification" | 208 | specified in the LSB Desktop specification" |
@@ -221,6 +231,7 @@ RDEPENDS_packagegroup-core-lsb-desktop = "\ | |||
221 | atk \ | 231 | atk \ |
222 | libasound \ | 232 | libasound \ |
223 | ${@base_contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \ | 233 | ${@base_contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \ |
234 | ${@get_libqt3(d)} \ | ||
224 | " | 235 | " |
225 | 236 | ||
226 | RDEPENDS_packagegroup-core-lsb-runtime-add = "\ | 237 | RDEPENDS_packagegroup-core-lsb-runtime-add = "\ |