All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] weston: for fbdev enabled distro feature, change WESTON_NATIVE_BACKEND
@ 2013-12-19 14:20 Valentin Popa
  2013-12-20  0:36 ` Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: Valentin Popa @ 2013-12-19 14:20 UTC (permalink / raw)
  To: openembedded-core

For builds with fbdev (no drm/kms), set
WESTON_NATIVE_BACKEND to "fbdev-backend.so"; doing this,
weston-launch will be able to know what backend to use.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
---
 meta/recipes-graphics/wayland/weston_1.3.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston_1.3.1.bb b/meta/recipes-graphics/wayland/weston_1.3.1.bb
index d97f6af..4ab2776 100644
--- a/meta/recipes-graphics/wayland/weston_1.3.1.bb
+++ b/meta/recipes-graphics/wayland/weston_1.3.1.bb
@@ -45,7 +45,7 @@ PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/l
 # Headless Weston
 PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor"
 # Weston on framebuffer
-PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
+PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev"
 # weston-launch
 PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam"
 # VA-API desktop recorder
-- 
1.8.3.2



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

* Re: [PATCH] weston: for fbdev enabled distro feature, change WESTON_NATIVE_BACKEND
  2013-12-19 14:20 [PATCH] weston: for fbdev enabled distro feature, change WESTON_NATIVE_BACKEND Valentin Popa
@ 2013-12-20  0:36 ` Saul Wold
  2013-12-20 10:25   ` Valentin Popa
  0 siblings, 1 reply; 4+ messages in thread
From: Saul Wold @ 2013-12-20  0:36 UTC (permalink / raw)
  To: Valentin Popa, openembedded-core

On 12/19/2013 06:20 AM, Valentin Popa wrote:
> For builds with fbdev (no drm/kms), set
> WESTON_NATIVE_BACKEND to "fbdev-backend.so"; doing this,
> weston-launch will be able to know what backend to use.
>
> Signed-off-by: Valentin Popa <valentin.popa@intel.com>
> ---
>   meta/recipes-graphics/wayland/weston_1.3.1.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/wayland/weston_1.3.1.bb b/meta/recipes-graphics/wayland/weston_1.3.1.bb
> index d97f6af..4ab2776 100644
> --- a/meta/recipes-graphics/wayland/weston_1.3.1.bb
> +++ b/meta/recipes-graphics/wayland/weston_1.3.1.bb
> @@ -45,7 +45,7 @@ PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/l
>   # Headless Weston
>   PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor"
>   # Weston on framebuffer
> -PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
> +PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev"

Is this a more general way to do this as suggested by Koen back in May?

+# Needed for weston-launch
+WESTONBACKEND ??= "fbdev-backend.so"
+
+export WESTON_NATIVE_BACKEND = "${WESTONBACKEND}"

See http://patches.openembedded.org/patch/50871/

Sau!


>   # weston-launch
>   PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam"
>   # VA-API desktop recorder
>


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

* Re: [PATCH] weston: for fbdev enabled distro feature, change WESTON_NATIVE_BACKEND
  2013-12-20  0:36 ` Saul Wold
@ 2013-12-20 10:25   ` Valentin Popa
  2013-12-20 11:50     ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Valentin Popa @ 2013-12-20 10:25 UTC (permalink / raw)
  To: Saul Wold, openembedded-core

On 12/20/2013 02:36 AM, Saul Wold wrote:
> On 12/19/2013 06:20 AM, Valentin Popa wrote:
>> For builds with fbdev (no drm/kms), set
>> WESTON_NATIVE_BACKEND to "fbdev-backend.so"; doing this,
>> weston-launch will be able to know what backend to use.
>>
>> Signed-off-by: Valentin Popa <valentin.popa@intel.com>
>> ---
>>   meta/recipes-graphics/wayland/weston_1.3.1.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-graphics/wayland/weston_1.3.1.bb 
>> b/meta/recipes-graphics/wayland/weston_1.3.1.bb
>> index d97f6af..4ab2776 100644
>> --- a/meta/recipes-graphics/wayland/weston_1.3.1.bb
>> +++ b/meta/recipes-graphics/wayland/weston_1.3.1.bb
>> @@ -45,7 +45,7 @@ PACKAGECONFIG[x11] = 
>> "--enable-x11-compositor,--disable-x11-compositor,virtual/l
>>   # Headless Weston
>>   PACKAGECONFIG[headless] = 
>> "--enable-headless-compositor,--disable-headless-compositor"
>>   # Weston on framebuffer
>> -PACKAGECONFIG[fbdev] = 
>> "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
>> +PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor 
>> WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev 
>> mtdev"
>
> Is this a more general way to do this as suggested by Koen back in May?
>
> +# Needed for weston-launch
> +WESTONBACKEND ??= "fbdev-backend.so"
> +
> +export WESTON_NATIVE_BACKEND = "${WESTONBACKEND}"
>
> See http://patches.openembedded.org/patch/50871/
>
> Sau!
Not sure of the context of that patch, but with this patch we have fbdev 
backend -only- if the user builds with fbdev distro feature.
I've tried to build with both kms and fbdev and failed at compile time 
(bug or feature).
>
>
>>   # weston-launch
>>   PACKAGECONFIG[launch] = 
>> "--enable-weston-launch,--disable-weston-launch,libpam"
>>   # VA-API desktop recorder
>>



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

* Re: [PATCH] weston: for fbdev enabled distro feature, change WESTON_NATIVE_BACKEND
  2013-12-20 10:25   ` Valentin Popa
@ 2013-12-20 11:50     ` Burton, Ross
  0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2013-12-20 11:50 UTC (permalink / raw)
  To: Valentin Popa; +Cc: OE-core

On 20 December 2013 10:25, Valentin Popa <valentin.popa@intel.com> wrote:
> I've tried to build with both kms and fbdev and failed at compile time (bug
> or feature).

I'd expect bug as you can build with x11 and drm backends enabled.
Please file a bug for this (and CC me using ross@burtonini.com).

Ross


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

end of thread, other threads:[~2013-12-20 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 14:20 [PATCH] weston: for fbdev enabled distro feature, change WESTON_NATIVE_BACKEND Valentin Popa
2013-12-20  0:36 ` Saul Wold
2013-12-20 10:25   ` Valentin Popa
2013-12-20 11:50     ` Burton, Ross

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.