All of lore.kernel.org
 help / color / mirror / Atom feed
* Disable Wayland on a build.
@ 2013-08-13 17:19 Diego
  2013-08-13 18:27 ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Diego @ 2013-08-13 17:19 UTC (permalink / raw)
  To: Meta Freescale

Hi everybody.

I'm hitting this build problem:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5007

Discussing with Otavio it is probably related to Wayland and this patch:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=master-next&id=20d7652906491f5b1851b979dc6ab174a835197b

I'm seeing that Wayland is in DISTRO_FEATURES:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto/conf/distro/poky.conf#n15

Is there a way to disable it in local.conf?

Thanks,
Diego



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

* Re: Disable Wayland on a build.
  2013-08-13 17:19 Disable Wayland on a build Diego
@ 2013-08-13 18:27 ` Otavio Salvador
  2013-08-14 10:55   ` Diego
  0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2013-08-13 18:27 UTC (permalink / raw)
  To: Diego; +Cc: Meta Freescale, Saul Wold

On Tue, Aug 13, 2013 at 2:19 PM, Diego <diego.ml@zoho.com> wrote:
> Hi everybody.
>
> I'm hitting this build problem:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=5007
>
> Discussing with Otavio it is probably related to Wayland and this patch:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=master-next&id=20d7652906491f5b1851b979dc6ab174a835197b
>
> I'm seeing that Wayland is in DISTRO_FEATURES:
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto/conf/distro/poky.conf#n15
>
> Is there a way to disable it in local.conf?

http://privatepaste.com/378a2494e4

You need the above patch. Saul, has this been queued?

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


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

* Re: Disable Wayland on a build.
  2013-08-13 18:27 ` Otavio Salvador
@ 2013-08-14 10:55   ` Diego
  2013-08-16 15:16     ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Diego @ 2013-08-14 10:55 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Meta Freescale, Saul Wold

In data martedì 13 agosto 2013 15:27:54, Otavio Salvador ha scritto:
> On Tue, Aug 13, 2013 at 2:19 PM, Diego <diego.ml@zoho.com> wrote:
> > Hi everybody.
> > 
> > I'm hitting this build problem:
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=5007
> > 
> > Discussing with Otavio it is probably related to Wayland and this patch:
> > http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=master-ne
> > xt&id=20d7652906491f5b1851b979dc6ab174a835197b
> > 
> > I'm seeing that Wayland is in DISTRO_FEATURES:
> > http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto/conf/distro
> > /poky.conf#n15
> > 
> > Is there a way to disable it in local.conf?
> 
> http://privatepaste.com/378a2494e4
> 
> You need the above patch. Saul, has this been queued?

Hi Otavio,

I had to make the assignment conditional:
POKY_DEFAULT_DISTRO_FEATURES ?= "largefile opengl multiarch wayland"
to be able to override it in my build/conf/local.conf file.

Back to the original topic: removing wayland from the DISTRO_FEATURES allows 
mesa-demos to build correctly, so the cause of the problem is this patch:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?id=20d7652906491f5b1851b979dc6ab174a835197b
It fixes Wayland only builds, but breaks X11 + Wayland builds (as in EGL-X11 
packages are not able to build against Wayland's libEGL.so in that case).

Bests,
Diego



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

* Re: Disable Wayland on a build.
  2013-08-14 10:55   ` Diego
@ 2013-08-16 15:16     ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2013-08-16 15:16 UTC (permalink / raw)
  To: Diego; +Cc: Meta Freescale, Saul Wold

On Wed, Aug 14, 2013 at 7:55 AM, Diego <diego.ml@zoho.com> wrote:
> In data martedì 13 agosto 2013 15:27:54, Otavio Salvador ha scritto:
>> On Tue, Aug 13, 2013 at 2:19 PM, Diego <diego.ml@zoho.com> wrote:
>> > Hi everybody.
>> >
>> > I'm hitting this build problem:
>> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=5007
>> >
>> > Discussing with Otavio it is probably related to Wayland and this patch:
>> > http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=master-ne
>> > xt&id=20d7652906491f5b1851b979dc6ab174a835197b
>> >
>> > I'm seeing that Wayland is in DISTRO_FEATURES:
>> > http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto/conf/distro
>> > /poky.conf#n15
>> >
>> > Is there a way to disable it in local.conf?
>>
>> http://privatepaste.com/378a2494e4
>>
>> You need the above patch. Saul, has this been queued?
>
> Hi Otavio,
>
> I had to make the assignment conditional:
> POKY_DEFAULT_DISTRO_FEATURES ?= "largefile opengl multiarch wayland"
> to be able to override it in my build/conf/local.conf file.
>
> Back to the original topic: removing wayland from the DISTRO_FEATURES allows
> mesa-demos to build correctly, so the cause of the problem is this patch:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?id=20d7652906491f5b1851b979dc6ab174a835197b
> It fixes Wayland only builds, but breaks X11 + Wayland builds (as in EGL-X11
> packages are not able to build against Wayland's libEGL.so in that case).

X11 + Wayland is not supported by Vivante GPU.

You should override the DISTRO_FEATURES completely. I sent two patches for it:

http://patchwork.openembedded.org/patch/55895/
http://patchwork.openembedded.org/patch/55893/

These should make it easier. Please look at commitlog for use example.

Regards,

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


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

end of thread, other threads:[~2013-08-16 15:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 17:19 Disable Wayland on a build Diego
2013-08-13 18:27 ` Otavio Salvador
2013-08-14 10:55   ` Diego
2013-08-16 15:16     ` Otavio Salvador

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.