[poky] [PATCH 1/1] poky-lsb: Add libQtOpenGL* to lsb image for all platform

Xiaofeng Yan xiaofeng.yan at windriver.com
Mon May 23 05:04:49 PDT 2011


From: Xiaofeng Yan <xiaofeng.yan at windriver.com>

[YOCTO #1020]
For a lsb image prepared to meet lsb requirement, library "libQtOpenGL" must be included in it \
regardless of whether target platform provide graphic hardware or not?
In poky, meta-xlib is default configuration for libx11.
So qt4opengl can be supported when "meta-xlib" or "meta-dri" is enabled.
Adding libQtOpenGL to all target platform is only suitable in lsb image.
For other image, it depends on whether target platform has graphic function or not.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan at windriver.com>
---
 meta-yocto/conf/distro/poky-lsb.conf         |    2 +-
 meta/recipes-extended/tasks/task-core-lsb.bb |   18 +-----------------
 2 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/meta-yocto/conf/distro/poky-lsb.conf b/meta-yocto/conf/distro/poky-lsb.conf
index eb1cf82..29f526d 100644
--- a/meta-yocto/conf/distro/poky-lsb.conf
+++ b/meta-yocto/conf/distro/poky-lsb.conf
@@ -6,4 +6,4 @@ DISTROOVERRIDES = "poky:linuxstdbase"
 DISTRO_FEATURES += "pam largefile"
 PREFERRED_PROVIDER_virtual/libx11 = "libx11"
 
-
+QT_GLFLAGS = "-opengl"
diff --git a/meta/recipes-extended/tasks/task-core-lsb.bb b/meta/recipes-extended/tasks/task-core-lsb.bb
index b6c5ae5..a0a359e 100644
--- a/meta/recipes-extended/tasks/task-core-lsb.bb
+++ b/meta/recipes-extended/tasks/task-core-lsb.bb
@@ -151,6 +151,7 @@ RDEPENDS_task-core-lsb-python-add = "\
 RDEPENDS_task-core-lsb-graphic-add = "\
     libqtcore4 \
     libqtgui4 \
+    libqtopengl4 \
     libqtsql4 \
     libqtsvg4 \
     libqtxml4 \
@@ -170,23 +171,6 @@ RDEPENDS_task-core-lsb-graphic-add = "\
     liberation-fonts \
 "
 
-RDEPENDS_task-core-lsb-graphic-add_qemux86 = "\
-    libqtopengl4 \
-"
-RDEPENDS_task-core-lsb-graphic-add_atom-pc = "\
-    libqtopengl4 \
-"
-RDEPENDS_task-core-lsb-graphic-add_qemuppc = "\
-    libqtopengl4 \
-"
-RDEPENDS_task-core-lsb-graphic-add_emenlow = "\
-    libqtopengl4 \
-"
-
-RDEPENDS_task-core-lsb-graphic-add_mpc8315e-rdb = "\
-    libqtopengl4 \
-"
-
 #    mesa-dri 
 
 RDEPENDS_task-core-lsb-runtime-add = "\
-- 
1.7.0.4




More information about the poky mailing list