Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2] weston : refactor to identify EGL, cairoglesv2 support
@ 2014-03-28 14:02 Otavio Salvador
  2014-03-28 15:32 ` Valentin Popa
  2014-03-28 16:14 ` Denys Dmytriyenko
  0 siblings, 2 replies; 5+ messages in thread
From: Otavio Salvador @ 2014-03-28 14:02 UTC (permalink / raw)
  To: OpenEmbedded Core Mailing List; +Cc: Prabhu Sundararaj, Otavio Salvador

From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>

Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/recipes-graphics/wayland/weston_1.4.0.bb | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/wayland/weston_1.4.0.bb b/meta/recipes-graphics/wayland/weston_1.4.0.bb
index e0c354d..5213166 100644
--- a/meta/recipes-graphics/wayland/weston_1.4.0.bb
+++ b/meta/recipes-graphics/wayland/weston_1.4.0.bb
@@ -23,13 +23,12 @@ EXTRA_OECONF = "--enable-setuid-install \
                 --enable-simple-clients \
                 --enable-clients \
                 --enable-demo-clients-install \
-                --disable-simple-egl-clients \
                 --disable-libunwind \
                 --disable-rpi-compositor \
                 --disable-rdp-compositor"
 
 
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland', '', d)} \
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \
                   "
@@ -39,7 +38,7 @@ PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev way
 # Weston on KMS
 PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
 # Weston on Wayland (nested Weston)
-PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-egl --disable-wayland-compositor,virtual/mesa"
+PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
 # Weston on X11
 PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
 # Headless Weston
@@ -50,6 +49,10 @@ PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,ude
 PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm"
 # VA-API desktop recorder
 PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
+# Weston with EGL support
+PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl"
+# Weston with cairo glesv2 support
+PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"
 
 do_install_append() {
 	# Weston doesn't need the .la files to load modules, so wipe them
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] weston : refactor to identify EGL, cairoglesv2 support
  2014-03-28 14:02 [PATCH v2] weston : refactor to identify EGL, cairoglesv2 support Otavio Salvador
@ 2014-03-28 15:32 ` Valentin Popa
  2014-03-28 15:37   ` Otavio Salvador
  2014-03-28 16:14 ` Denys Dmytriyenko
  1 sibling, 1 reply; 5+ messages in thread
From: Valentin Popa @ 2014-03-28 15:32 UTC (permalink / raw)
  To: Otavio Salvador, OpenEmbedded Core Mailing List; +Cc: Prabhu Sundararaj

On 03/28/2014 04:02 PM, Otavio Salvador wrote:
> From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
>
> Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>   meta/recipes-graphics/wayland/weston_1.4.0.bb | 9 ++++++---
>   1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-graphics/wayland/weston_1.4.0.bb b/meta/recipes-graphics/wayland/weston_1.4.0.bb
> index e0c354d..5213166 100644
> --- a/meta/recipes-graphics/wayland/weston_1.4.0.bb
> +++ b/meta/recipes-graphics/wayland/weston_1.4.0.bb
> @@ -23,13 +23,12 @@ EXTRA_OECONF = "--enable-setuid-install \
>                   --enable-simple-clients \
>                   --enable-clients \
>                   --enable-demo-clients-install \
> -                --disable-simple-egl-clients \
>                   --disable-libunwind \
>                   --disable-rpi-compositor \
>                   --disable-rdp-compositor"
>   
>   
> -PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland', '', d)} \
> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
>                      ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
>                      ${@base_contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \
>                     "
> @@ -39,7 +38,7 @@ PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev way
>   # Weston on KMS
>   PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
>   # Weston on Wayland (nested Weston)
> -PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-egl --disable-wayland-compositor,virtual/mesa"
> +PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
>   # Weston on X11
>   PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
>   # Headless Weston
> @@ -50,6 +49,10 @@ PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,ude
>   PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm"
>   # VA-API desktop recorder
>   PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
> +# Weston with EGL support
> +PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl"
> +# Weston with cairo glesv2 support
> +PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"
>   
>   do_install_append() {
>   	# Weston doesn't need the .la files to load modules, so wipe them

Looks good to me.
Sorry Otavio for the delay introduced by the discussions. Hope it will 
be merged quickly and get your issue solved :)
Thanks!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] weston : refactor to identify EGL, cairoglesv2 support
  2014-03-28 15:32 ` Valentin Popa
@ 2014-03-28 15:37   ` Otavio Salvador
  2014-03-28 15:44     ` Valentin Popa
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2014-03-28 15:37 UTC (permalink / raw)
  To: Valentin Popa; +Cc: Prabhu Sundararaj, OpenEmbedded Core Mailing List

On Fri, Mar 28, 2014 at 12:32 PM, Valentin Popa <valentin.popa@intel.com> wrote:
> On 03/28/2014 04:02 PM, Otavio Salvador wrote:
>>
>> From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
>>
>> Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>>   meta/recipes-graphics/wayland/weston_1.4.0.bb | 9 ++++++---
>>   1 file changed, 6 insertions(+), 3 deletions(-)
>>
>> diff --git a/meta/recipes-graphics/wayland/weston_1.4.0.bb
>> b/meta/recipes-graphics/wayland/weston_1.4.0.bb
>> index e0c354d..5213166 100644
>> --- a/meta/recipes-graphics/wayland/weston_1.4.0.bb
>> +++ b/meta/recipes-graphics/wayland/weston_1.4.0.bb
>> @@ -23,13 +23,12 @@ EXTRA_OECONF = "--enable-setuid-install \
>>                   --enable-simple-clients \
>>                   --enable-clients \
>>                   --enable-demo-clients-install \
>> -                --disable-simple-egl-clients \
>>                   --disable-libunwind \
>>                   --disable-rpi-compositor \
>>                   --disable-rdp-compositor"
>>     -PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland',
>> 'kms fbdev wayland', '', d)} \
>> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms
>> fbdev wayland egl', '', d)} \
>>                      ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '',
>> d)} \
>>                      ${@base_contains('DISTRO_FEATURES', 'pam', 'launch',
>> '', d)} \
>>                     "
>> @@ -39,7 +38,7 @@ PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES',
>> 'wayland', 'kms fbdev way
>>   # Weston on KMS
>>   PACKAGECONFIG[kms] =
>> "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa
>> mtdev"
>>   # Weston on Wayland (nested Weston)
>> -PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-egl
>> --disable-wayland-compositor,virtual/mesa"
>> +PACKAGECONFIG[wayland] =
>> "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
>>   # Weston on X11
>>   PACKAGECONFIG[x11] =
>> "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb
>> libxcb libxcursor cairo"
>>   # Headless Weston
>> @@ -50,6 +49,10 @@ PACKAGECONFIG[fbdev] =
>> "--enable-fbdev-compositor,--disable-fbdev-compositor,ude
>>   PACKAGECONFIG[launch] =
>> "--enable-weston-launch,--disable-weston-launch,libpam drm"
>>   # VA-API desktop recorder
>>   PACKAGECONFIG[vaapi] =
>> "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
>> +# Weston with EGL support
>> +PACKAGECONFIG[egl] = "--enable-egl
>> --enable-simple-egl-clients,--disable-egl
>> --disable-simple-egl-clients,virtual/egl"
>> +# Weston with cairo glesv2 support
>> +PACKAGECONFIG[cairo-glesv2] =
>> "--with-cairo-glesv2,--with-cairo=image,cairo"
>>     do_install_append() {
>>         # Weston doesn't need the .la files to load modules, so wipe them
>
>
> Looks good to me.
> Sorry Otavio for the delay introduced by the discussions. Hope it will be
> merged quickly and get your issue solved :)

No problem; it was for the better and ensures we have a full
understanding of it :-) Please 'ack' it if you can.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] weston : refactor to identify EGL, cairoglesv2 support
  2014-03-28 15:37   ` Otavio Salvador
@ 2014-03-28 15:44     ` Valentin Popa
  0 siblings, 0 replies; 5+ messages in thread
From: Valentin Popa @ 2014-03-28 15:44 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Prabhu Sundararaj, OpenEmbedded Core Mailing List

On 03/28/2014 05:37 PM, Otavio Salvador wrote:
> On Fri, Mar 28, 2014 at 12:32 PM, Valentin Popa <valentin.popa@intel.com> wrote:
>> On 03/28/2014 04:02 PM, Otavio Salvador wrote:
>>> From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
>>>
>>> Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>>> ---
>>>    meta/recipes-graphics/wayland/weston_1.4.0.bb | 9 ++++++---
>>>    1 file changed, 6 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/meta/recipes-graphics/wayland/weston_1.4.0.bb
>>> b/meta/recipes-graphics/wayland/weston_1.4.0.bb
>>> index e0c354d..5213166 100644
>>> --- a/meta/recipes-graphics/wayland/weston_1.4.0.bb
>>> +++ b/meta/recipes-graphics/wayland/weston_1.4.0.bb
>>> @@ -23,13 +23,12 @@ EXTRA_OECONF = "--enable-setuid-install \
>>>                    --enable-simple-clients \
>>>                    --enable-clients \
>>>                    --enable-demo-clients-install \
>>> -                --disable-simple-egl-clients \
>>>                    --disable-libunwind \
>>>                    --disable-rpi-compositor \
>>>                    --disable-rdp-compositor"
>>>      -PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland',
>>> 'kms fbdev wayland', '', d)} \
>>> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms
>>> fbdev wayland egl', '', d)} \
>>>                       ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '',
>>> d)} \
>>>                       ${@base_contains('DISTRO_FEATURES', 'pam', 'launch',
>>> '', d)} \
>>>                      "
>>> @@ -39,7 +38,7 @@ PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES',
>>> 'wayland', 'kms fbdev way
>>>    # Weston on KMS
>>>    PACKAGECONFIG[kms] =
>>> "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa
>>> mtdev"
>>>    # Weston on Wayland (nested Weston)
>>> -PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-egl
>>> --disable-wayland-compositor,virtual/mesa"
>>> +PACKAGECONFIG[wayland] =
>>> "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
>>>    # Weston on X11
>>>    PACKAGECONFIG[x11] =
>>> "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb
>>> libxcb libxcursor cairo"
>>>    # Headless Weston
>>> @@ -50,6 +49,10 @@ PACKAGECONFIG[fbdev] =
>>> "--enable-fbdev-compositor,--disable-fbdev-compositor,ude
>>>    PACKAGECONFIG[launch] =
>>> "--enable-weston-launch,--disable-weston-launch,libpam drm"
>>>    # VA-API desktop recorder
>>>    PACKAGECONFIG[vaapi] =
>>> "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
>>> +# Weston with EGL support
>>> +PACKAGECONFIG[egl] = "--enable-egl
>>> --enable-simple-egl-clients,--disable-egl
>>> --disable-simple-egl-clients,virtual/egl"
>>> +# Weston with cairo glesv2 support
>>> +PACKAGECONFIG[cairo-glesv2] =
>>> "--with-cairo-glesv2,--with-cairo=image,cairo"
>>>      do_install_append() {
>>>          # Weston doesn't need the .la files to load modules, so wipe them
>>
>> Looks good to me.
>> Sorry Otavio for the delay introduced by the discussions. Hope it will be
>> merged quickly and get your issue solved :)
> No problem; it was for the better and ensures we have a full
> understanding of it :-) Please 'ack' it if you can.
>
Acked-by: valentin.popa@intel.com.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] weston : refactor to identify EGL, cairoglesv2 support
  2014-03-28 14:02 [PATCH v2] weston : refactor to identify EGL, cairoglesv2 support Otavio Salvador
  2014-03-28 15:32 ` Valentin Popa
@ 2014-03-28 16:14 ` Denys Dmytriyenko
  1 sibling, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2014-03-28 16:14 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Prabhu Sundararaj, OpenEmbedded Core Mailing List

On Fri, Mar 28, 2014 at 11:02:37AM -0300, Otavio Salvador wrote:
> From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
> 
> Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  meta/recipes-graphics/wayland/weston_1.4.0.bb | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-graphics/wayland/weston_1.4.0.bb b/meta/recipes-graphics/wayland/weston_1.4.0.bb
> index e0c354d..5213166 100644
> --- a/meta/recipes-graphics/wayland/weston_1.4.0.bb
> +++ b/meta/recipes-graphics/wayland/weston_1.4.0.bb
> @@ -23,13 +23,12 @@ EXTRA_OECONF = "--enable-setuid-install \
>                  --enable-simple-clients \
>                  --enable-clients \
>                  --enable-demo-clients-install \
> -                --disable-simple-egl-clients \
>                  --disable-libunwind \
>                  --disable-rpi-compositor \
>                  --disable-rdp-compositor"
>  
>  
> -PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland', '', d)} \
> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
>                     ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
>                     ${@base_contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \
>                    "
> @@ -39,7 +38,7 @@ PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev way
>  # Weston on KMS
>  PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
>  # Weston on Wayland (nested Weston)
> -PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-egl --disable-wayland-compositor,virtual/mesa"
> +PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
>  # Weston on X11
>  PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
>  # Headless Weston
> @@ -50,6 +49,10 @@ PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,ude
>  PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm"
>  # VA-API desktop recorder
>  PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
> +# Weston with EGL support
> +PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl"
> +# Weston with cairo glesv2 support
> +PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"

Thanks! This was something I was also looking at recently. I'll give it a shot 
in my testing.

-- 
Denys

>  do_install_append() {
>  	# Weston doesn't need the .la files to load modules, so wipe them
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-28 16:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-28 14:02 [PATCH v2] weston : refactor to identify EGL, cairoglesv2 support Otavio Salvador
2014-03-28 15:32 ` Valentin Popa
2014-03-28 15:37   ` Otavio Salvador
2014-03-28 15:44     ` Valentin Popa
2014-03-28 16:14 ` Denys Dmytriyenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox