* [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform
@ 2011-05-23 11:55 Xiaofeng Yan
0 siblings, 0 replies; 4+ messages in thread
From: Xiaofeng Yan @ 2011-05-23 11:55 UTC (permalink / raw)
To: poky
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Hi Saul,
[YOCTO #1020]
I know you want to get a new solution to add libQtOpenGL* to image which support graphic function with graphic hardware.
We need learn which platform support graphic function and then we can add libQtOpenGL* to corresponding qt4-x11-free_4.*.bbappend.
If a target platform don't support graphic function, then this library should not be added to image.
But for lsb image, as you know, library libQtOpenGL* must be included lsb image to meet lsb requirement. So I summit this patch to fix [YOCTO #1020].
In fact, LSB can run on platform without graphic function when libQtOpenGL*.so* is supported because "meta-xlib" is default conflagration for libX11 in poky.
As you know, opengl run on meta-xlib or meta-dri.
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 <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (1):
poky-lsb: Add libQtOpenGL* to lsb image for all platform
meta-yocto/conf/distro/poky-lsb.conf | 2 +-
meta/recipes-extended/tasks/task-core-lsb.bb | 18 +-----------------
2 files changed, 2 insertions(+), 18 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform
@ 2011-05-23 12:04 Xiaofeng Yan
2011-05-23 12:04 ` [PATCH 1/1] poky-lsb: Add libQtOpenGL* to lsb image for all platform Xiaofeng Yan
2011-05-24 6:05 ` [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform Saul Wold
0 siblings, 2 replies; 4+ messages in thread
From: Xiaofeng Yan @ 2011-05-23 12:04 UTC (permalink / raw)
To: poky
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Hi Saul,
[YOCTO #1020]
I know you want to get a new solution to add libQtOpenGL* to image which support graphic function with graphic hardware.
We need learn which platform support graphic function and then we can add libQtOpenGL* to corresponding qt4-x11-free_4.*.bbappend.
If a target platform don't support graphic function, then this library should not be added to image.
But for lsb image, as you know, library libQtOpenGL* must be included lsb image to meet lsb requirement. So I summit this patch to fix [YOCTO #1020].
In fact, LSB can run on platform without graphic function when libQtOpenGL*.so* is supported because "meta-xlib" is default conflagration for libX11 in poky.
As you know, opengl run on meta-xlib or meta-dri.
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 <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (1):
poky-lsb: Add libQtOpenGL* to lsb image for all platform
meta-yocto/conf/distro/poky-lsb.conf | 2 +-
meta/recipes-extended/tasks/task-core-lsb.bb | 18 +-----------------
2 files changed, 2 insertions(+), 18 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] poky-lsb: Add libQtOpenGL* to lsb image for all platform
2011-05-23 12:04 [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform Xiaofeng Yan
@ 2011-05-23 12:04 ` Xiaofeng Yan
2011-05-24 6:05 ` [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform Saul Wold
1 sibling, 0 replies; 4+ messages in thread
From: Xiaofeng Yan @ 2011-05-23 12:04 UTC (permalink / raw)
To: poky
From: Xiaofeng Yan <xiaofeng.yan@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@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform
2011-05-23 12:04 [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform Xiaofeng Yan
2011-05-23 12:04 ` [PATCH 1/1] poky-lsb: Add libQtOpenGL* to lsb image for all platform Xiaofeng Yan
@ 2011-05-24 6:05 ` Saul Wold
1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-05-24 6:05 UTC (permalink / raw)
To: Xiaofeng Yan; +Cc: poky
On 05/23/2011 05:04 AM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>
> Hi Saul,
> [YOCTO #1020]
> I know you want to get a new solution to add libQtOpenGL* to image which support graphic function with graphic hardware.
> We need learn which platform support graphic function and then we can add libQtOpenGL* to corresponding qt4-x11-free_4.*.bbappend.
> If a target platform don't support graphic function, then this library should not be added to image.
> But for lsb image, as you know, library libQtOpenGL* must be included lsb image to meet lsb requirement. So I summit this patch to fix [YOCTO #1020].
> In fact, LSB can run on platform without graphic function when libQtOpenGL*.so* is supported because "meta-xlib" is default conflagration for libX11 in poky.
> As you know, opengl run on meta-xlib or meta-dri.
>
> 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<xiaofeng.yan@windriver.com>
> ---
>
>
> Xiaofeng Yan (1):
> poky-lsb: Add libQtOpenGL* to lsb image for all platform
>
> 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
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
How much testing have you given this especially with the BSPs that do
not have mesa-dri as a default?
Also, this should be 2 distinct patch requests, one for oe-core
(containing meta/* changes) and the second for poky (containing
meta-yocto/* changes).
Thanks
Sau!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-24 6:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-23 12:04 [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform Xiaofeng Yan
2011-05-23 12:04 ` [PATCH 1/1] poky-lsb: Add libQtOpenGL* to lsb image for all platform Xiaofeng Yan
2011-05-24 6:05 ` [PATCH 0/1] poky-lsb: Add libQtOpenGL to all lsb image for different platform Saul Wold
-- strict thread matches above, loose matches on Subject: below --
2011-05-23 11:55 Xiaofeng Yan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.