<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Saul,<br>
<br>
I have updated the branch as your suggestion.<br>
<br>
git://git.pokylinux.org/poky-contrib hongxu/fix-lsb-libqt3<br>
<a class="moz-txt-link-freetext" href="http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-lsb-libqt3">http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-lsb-libqt3</a><br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
+def get_libqt3(d):<br>
+ if 'linuxstdbase' in d.getVar('DISTROOVERRIDES') or "":<br>
+ if 'qt3' in d.getVar('BBFILE_COLLECTIONS') or "":<br>
+ return 'libqt-mt3'<br>
+<br>
+ bb.warn('The meta-qt3 layer should be added, this layer
provides Qt 3.x')<br>
+ bb.warn('libraries. Its intended use is for passing LSB
tests as Qt3 is')<br>
+ bb.warn('a requirement for LSB')<br>
+ return ''<br>
+<br>
<br>
Thanks,<br>
Hongxu<br>
<br>
<br>
On 09/14/2013 01:07 PM, Saul Wold wrote:<br>
</div>
<blockquote cite="mid:5233EF2B.8050505@linux.intel.com" type="cite">On
09/13/2013 07:40 PM, Hongxu Jia wrote:
<br>
<blockquote type="cite">The libqt-mt is tested by lsb-dist-checker
and lsb-test-desktop,
<br>
and it locates in meta-qt3 layer.
<br>
So if meta-qt3 is not added, there should be a warning to call
<br>
attention; if added, it will add libqt-mt to RDEPENDS.
<br>
<br>
[YOCTO #5153]
<br>
<br>
Signed-off-by: Hongxu Jia <a class="moz-txt-link-rfc2396E" href="mailto:hongxu.jia@windriver.com"><hongxu.jia@windriver.com></a>
<br>
---
<br>
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb |
11 +++++++++++
<br>
1 file changed, 11 insertions(+)
<br>
<br>
diff --git
a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
<br>
index 1c1a8d1..c0dda5a 100644
<br>
---
a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
<br>
+++
b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
<br>
@@ -193,6 +193,16 @@ RDEPENDS_packagegroup-core-lsb-python = "\
<br>
python-misc \
<br>
"
<br>
<br>
+def get_libqt3(d):
<br>
+ if 'qt3' in d.getVar('BBFILE_COLLECTIONS') or "":
<br>
+ return 'libqt-mt3'
<br>
+
<br>
</blockquote>
I think this might cause unexpected behavoir for people who just
happen to have qt3 in their bblayer, I would also wrap the
linuxstdbase around the above line.
<br>
<br>
Sorry for not being clear about the first time.
<br>
<br>
Sau!
<br>
<br>
<blockquote type="cite">+ if 'linuxstdbase' in
d.getVar('DISTROOVERRIDES') or "":
<br>
+ bb.warn('The meta-qt3 layer should be added, this layer
provides Qt 3.x')
<br>
+ bb.warn('libraries. Its intended use is for passing LSB
tests as Qt3 is')
<br>
+ bb.warn('a requirement for LSB')
<br>
+ return ''
<br>
+
<br>
SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
<br>
DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required
to support libraries \
<br>
specified in the LSB Desktop specification"
<br>
@@ -221,6 +231,7 @@ RDEPENDS_packagegroup-core-lsb-desktop = "\
<br>
atk \
<br>
libasound \
<br>
${@base_contains("DISTRO_FEATURES", "opengl",
"libqtopengl4", "", d)} \
<br>
+ ${@get_libqt3(d)} \
<br>
"
<br>
<br>
RDEPENDS_packagegroup-core-lsb-runtime-add = "\
<br>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>