Skip to contentSkip to conversation

libQtopenGL: Add this library to lsb image

PATCH In review Xiaofeng Yan 2 participants 5 messages May 25, 2011 – May 26, 2011

lore
Share & tools
lore
#0 lore raw

cover libQtopenGL: Add this library to lsb image

From: Xiaofeng Yan <[email protected]>

Hi Saul,
[YOCTO #1020]
We make lsb test on the following platform with default "mesa-xlib" so far.
emenlow, mpc8315e, qemux86,qemux86-64,jasperforest
Perhaps some of them could have graphic hardware but lsb image can pass test by default "mesa-xlib" except mpc8315e because of its limited memory we don't make lsb test on lsb image with "mesa-dri".
I submit two patches to fix bug [#YOCTO 1020]

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/opengl
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/opengl

Thanks,
Xiaofeng Yan <[email protected]>
---

Xiaofeng Yan (2):
poky-lsb: Compile library libQtOpenGL* for building a lsb image
task-core-lsb: Install libQtOpenGL* to lsb image

 meta-yocto/conf/distro/poky-lsb.conf         |    2 +-
 meta/recipes-extended/tasks/task-core-lsb.bb |   18 +-----------------
 2 files changed, 2 insertions(+), 18 deletions(-)
#1 lore raw

PATCH 1/2 poky-lsb: Compile library libQtOpenGL* for building a lsb image

From: Xiaofeng Yan <[email protected]>

Fix bug [YOCTO #1020]
This patch is part of fixing bug [YOCTO #1020]. If another patch to install libQtOpenGL* to lsb image is merged to poky, then this bug will be fixed.For a lsb image prepared to meet lsb requirement, library "libQtOpenGL*" should be compiled. So I add this patch for passing lsb test.

---
 meta-yocto/conf/distro/poky-lsb.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-yocto/conf/distro/poky-lsb.conf +1 -1
index eb1cf82..29f526d 100644
@@ -6,4 +6,4 @@ DISTROOVERRIDES = "poky:linuxstdbase"
 DISTRO_FEATURES += "pam largefile"
 PREFERRED_PROVIDER_virtual/libx11 = "libx11"
 
-
+QT_GLFLAGS = "-opengl"
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/2 task-core-lsb: Install libQtOpenGL* to lsb image

In reply to Xiaofeng Yan

From: Xiaofeng Yan <[email protected]>

Fix bug [#YOCTO 1020]
It is part of fixing bug [YOCTO #1020]. If another patch to add configuration for compiling qtopengl to poky-lsb.conf is merged to poky, \
then this bug will be fixed.
LSB Test Suite need library "libQtOpenGL*" in lsb image.
If a image has "mesa-xlib" or "mesa-dri", then opegl will run on target platform.

---
 meta/recipes-extended/tasks/task-core-lsb.bb |   18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)
meta/recipes-extended/tasks/task-core-lsb.bb +1 -17
index b6c5ae5..a0a359e 100644
@@ -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 = "\
Signature · 1 line
1.7.0.4
#3 lore raw
In reply to Xiaofeng Yan
Quoted 10 lines · Xiaofeng Yan

From: Xiaofeng Yan<[email protected]>

Hi Saul,
[YOCTO #1020]
We make lsb test on the following platform with default "mesa-xlib" so far.
emenlow, mpc8315e, qemux86,qemux86-64,jasperforest
Perhaps some of them could have graphic hardware but lsb image can pass test by default "mesa-xlib" except mpc8315e because of its limited memory we don't make lsb test on lsb image with "mesa-dri".
I submit two patches to fix bug [#YOCTO 1020]

Did you test this with mips or arm builds?

Sau!

Quoted 22 lines

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/opengl
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/opengl

Thanks,
Xiaofeng Yan<[email protected]>
---

Xiaofeng Yan (2):
poky-lsb: Compile library libQtOpenGL* for building a lsb image
task-core-lsb: Install libQtOpenGL* to lsb image

  meta-yocto/conf/distro/poky-lsb.conf         |    2 +-
  meta/recipes-extended/tasks/task-core-lsb.bb |   18 +-----------------
  2 files changed, 2 insertions(+), 18 deletions(-)

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

#4 lore raw
Quoted 11 lines · Saul Wold
Quoted 10 lines · Xiaofeng Yan

From: Xiaofeng Yan<[email protected]>

Hi Saul,
[YOCTO #1020]
We make lsb test on the following platform with default "mesa-xlib" so far.
emenlow, mpc8315e, qemux86,qemux86-64,jasperforest
Perhaps some of them could have graphic hardware but lsb image can pass test by default "mesa-xlib" except mpc8315e because of its limited memory we don't make lsb test on lsb image with "mesa-dri".
I submit two patches to fix bug [#YOCTO 1020]

Quoted 4 lines

Did you test this with mips or arm builds?

Sau!

Hi Saul,

At the present time LSB Test Suite don't support arm and mips platform. It support amd64, i386,i486,ia64,ppc23 ppc64,s390,s390x,x86-64 now. So I didn't build lsb image for arm and mips ago. If you want to get an lsb image for arm and mips, I can try to build them but can't test them without LSB Test Suite.

Thanks
Yan

Quoted 24 lines
Quoted 22 lines

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/opengl
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/opengl

Thanks,
Xiaofeng Yan<[email protected]>
---

Xiaofeng Yan (2):
poky-lsb: Compile library libQtOpenGL* for building a lsb image
task-core-lsb: Install libQtOpenGL* to lsb image

meta-yocto/conf/distro/poky-lsb.conf | 2 +- meta/recipes-extended/tasks/task-core-lsb.bb | 18 +-----------------

2 files changed, 2 insertions(+), 18 deletions(-)

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky