All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland
@ 2022-05-31 19:06 Markus Volk
  2022-05-31 19:06 ` [oe-core][PATCH 2/4] libxcb: " Markus Volk
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Markus Volk @ 2022-05-31 19:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 60bc8c76fa..30122f2bfa 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -23,4 +23,4 @@ UNKNOWN_CONFIGURE_OPT_IGNORE += "--enable-malloc0returnsnull --disable-malloc0re
                                 --without-xmlto --with-xmlto \
 "
 
-REQUIRED_DISTRO_FEATURES ?= "x11"
+ANY_OF_DISTRO_FEATURES ?= "x11 wayland"
-- 
2.25.1



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

* [oe-core][PATCH 2/4] libxcb: allow to build for wayland
  2022-05-31 19:06 [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland Markus Volk
@ 2022-05-31 19:06 ` Markus Volk
  2022-05-31 19:06 ` [oe-core][PATCH 3/4] xdg-utils: " Markus Volk
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: Markus Volk @ 2022-05-31 19:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-graphics/xorg-lib/libxcb_1.15.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb
index 839577326e..6205030591 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb
@@ -24,7 +24,7 @@ FILES:${PN} = "${libdir}/libxcb.so.*"
 inherit autotools pkgconfig features_check
 
 # The libxau and others requires x11 in DISTRO_FEATURES
-REQUIRED_DISTRO_FEATURES = "x11"
+ANY_OF_DISTRO_FEATURES = "x11 wayland"
 
 export PYTHON = "python3"
 
-- 
2.25.1



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

* [oe-core][PATCH 3/4] xdg-utils: allow to build for wayland
  2022-05-31 19:06 [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland Markus Volk
  2022-05-31 19:06 ` [oe-core][PATCH 2/4] libxcb: " Markus Volk
@ 2022-05-31 19:06 ` Markus Volk
  2022-05-31 19:06 ` [oe-core][PATCH 4/4] libsdl2: dont mix opengl and gles backends " Markus Volk
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: Markus Volk @ 2022-05-31 19:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
index 73acf6b744..ef698d9f09 100644
--- a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
+++ b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
@@ -31,8 +31,9 @@ UPSTREAM_CHECK_REGEX = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?
 # Needs brokensep as this doesn't use automake
 inherit autotools-brokensep features_check
 
-# The xprop requires x11 in DISTRO_FEATURES
-REQUIRED_DISTRO_FEATURES = "x11"
+ANY_OF_DISTRO_FEATURES = "x11 wayland"
 
 DEPENDS = "xmlto-native libxslt-native"
-RDEPENDS:${PN} += "xprop"
+
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
+PACKAGECONFIG[x11] = ",,,xprop"
-- 
2.25.1



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

* [oe-core][PATCH 4/4] libsdl2: dont mix opengl and gles backends for wayland
  2022-05-31 19:06 [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland Markus Volk
  2022-05-31 19:06 ` [oe-core][PATCH 2/4] libxcb: " Markus Volk
  2022-05-31 19:06 ` [oe-core][PATCH 3/4] xdg-utils: " Markus Volk
@ 2022-05-31 19:06 ` Markus Volk
  2022-05-31 20:54   ` richard.purdie
  2022-06-01 15:00 ` [oe-core][PATCH 1/4] xorg-lib-common: allow to build " Luca Ceresoli
  2022-06-06 10:20 ` Ross Burton
  4 siblings, 1 reply; 12+ messages in thread
From: Markus Volk @ 2022-05-31 19:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk

This fixes "Could not initialize egl display" in libsdl2 apps for
wayland without DISTRO_FEATURE x11

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
index 8519e7f732..e057b5cbbc 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
@@ -56,14 +56,16 @@ EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
 
 # opengl packageconfig factored out to make it easy for distros
 # and BSP layers to pick either (desktop) opengl, gles2, or no GL
-PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
+PACKAGECONFIG_GL ?= " \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'gles2', '', d)} \
+"
 
 PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}"
 PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}"
 PACKAGECONFIG ??= " \
     ${PACKAGECONFIG_GL} \
-    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \
+    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11 wayland', d)} \
     ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
 "
 PACKAGECONFIG[alsa]       = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"
-- 
2.25.1



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

* Re: [oe-core][PATCH 4/4] libsdl2: dont mix opengl and gles backends for wayland
  2022-05-31 19:06 ` [oe-core][PATCH 4/4] libsdl2: dont mix opengl and gles backends " Markus Volk
@ 2022-05-31 20:54   ` richard.purdie
  2022-05-31 21:06     ` Khem Raj
  2022-05-31 21:13     ` Markus Volk
  0 siblings, 2 replies; 12+ messages in thread
From: richard.purdie @ 2022-05-31 20:54 UTC (permalink / raw)
  To: Markus Volk, openembedded-core

On Tue, 2022-05-31 at 21:06 +0200, Markus Volk wrote:
> This fixes "Could not initialize egl display" in libsdl2 apps for
> wayland without DISTRO_FEATURE x11
> 
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> index 8519e7f732..e057b5cbbc 100644
> --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> @@ -56,14 +56,16 @@ EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
>  
>  # opengl packageconfig factored out to make it easy for distros
>  # and BSP layers to pick either (desktop) opengl, gles2, or no GL
> -PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
> +PACKAGECONFIG_GL ?= " \
> +    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \
> +    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'gles2', '', d)} \
> +"
>  
>  PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}"
>  PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}"
>  PACKAGECONFIG ??= " \
>      ${PACKAGECONFIG_GL} \
> -    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \
> -    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \
> +    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11 wayland', d)} \
>      ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
>  "
>  PACKAGECONFIG[alsa]       = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"

If you have opengl, x11 and wayland in DISTRO_FEATURES, does that cause
an issue? It would seem to change the config?

Cheers,

Richard


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

* Re: [oe-core][PATCH 4/4] libsdl2: dont mix opengl and gles backends for wayland
  2022-05-31 20:54   ` richard.purdie
@ 2022-05-31 21:06     ` Khem Raj
  2022-05-31 21:13     ` Markus Volk
  1 sibling, 0 replies; 12+ messages in thread
From: Khem Raj @ 2022-05-31 21:06 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Markus Volk, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2571 bytes --]

On Tue, May 31, 2022 at 1:54 PM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Tue, 2022-05-31 at 21:06 +0200, Markus Volk wrote:
> > This fixes "Could not initialize egl display" in libsdl2 apps for
> > wayland without DISTRO_FEATURE x11
> >
> > Signed-off-by: Markus Volk <f_l_k@t-online.de>
> > ---
> >  meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 8 +++++---
> >  1 file changed, 5 insertions(+), 3 deletions(-)
> >
> > diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> > index 8519e7f732..e057b5cbbc 100644
> > --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> > +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> > @@ -56,14 +56,16 @@ EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF
> -DSDL_ARTS=OFF \
> >
> >  # opengl packageconfig factored out to make it easy for distros
> >  # and BSP layers to pick either (desktop) opengl, gles2, or no GL
> > -PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl',
> d)}"
> > +PACKAGECONFIG_GL ?= " \
> > +    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '',
> d)} \
> > +    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'gles2',
> '', d)} \
> > +"
> >
> >  PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}"
> >  PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES',
> 'x11', d)} ${PACKAGECONFIG_GL}"
> >  PACKAGECONFIG ??= " \
> >      ${PACKAGECONFIG_GL} \
> > -    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio
> x11', d)} \
> > -    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2',
> '', d)} \
> > +    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11
> wayland', d)} \
> >      ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
> >  "
> >  PACKAGECONFIG[alsa]       = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"
>
> If you have opengl, x11 and wayland in DISTRO_FEATURES, does that cause
> an issue? It would seem to change the config?


Right I think wayland + gles + no x11 is a config of its own
It should check that

>
>
> Cheers,
>
> Richard
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#166333):
> https://lists.openembedded.org/g/openembedded-core/message/166333
> Mute This Topic: https://lists.openembedded.org/mt/91458802/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 4454 bytes --]

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

* Re: [oe-core][PATCH 4/4] libsdl2: dont mix opengl and gles backends for wayland
  2022-05-31 20:54   ` richard.purdie
  2022-05-31 21:06     ` Khem Raj
@ 2022-05-31 21:13     ` Markus Volk
  1 sibling, 0 replies; 12+ messages in thread
From: Markus Volk @ 2022-05-31 21:13 UTC (permalink / raw)
  To: richard.purdie, openembedded-core

With x11, wayland and opengl:

-   SDL_OPENGL                  (Wanted: ON): ON
--   SDL_OPENGLES                (Wanted: ON): ON
--   SDL_VULKAN                  (Wanted: ON): ON
--   SDL_WAYLAND                 (Wanted: ON): ON
--   SDL_WAYLAND_LIBDECOR        (Wanted: ON): OFF
--   SDL_WAYLAND_LIBDECOR_SHARED (Wanted: ON): OFF
--   SDL_WAYLAND_QT_TOUCH        (Wanted: ON): ON
--   SDL_WAYLAND_SHARED          (Wanted: ON): ON
--   SDL_X11                     (Wanted: ON): ON
--   SDL_X11_SHARED              (Wanted: ON): ON


wayland and opengl:

--   SDL_OPENGL                  (Wanted: OFF): OFF
--   SDL_OPENGLES                (Wanted: ON): ON
--   SDL_VULKAN                  (Wanted: ON): ON
--   SDL_WASAPI                  (Wanted: OFF): OFF
--   SDL_WAYLAND                 (Wanted: ON): ON
--   SDL_WAYLAND_LIBDECOR        (Wanted: ON): OFF
--   SDL_WAYLAND_LIBDECOR_SHARED (Wanted: ON): OFF
--   SDL_WAYLAND_QT_TOUCH        (Wanted: ON): ON
--   SDL_WAYLAND_SHARED          (Wanted: ON): ON
--   SDL_X11                     (Wanted: OFF): OFF
--   SDL_X11_SHARED              (Wanted: OFF): OFF

x11 and opengl:

--   SDL_OPENGL                  (Wanted: ON): ON
--   SDL_OPENGLES                (Wanted: OFF): OFF
--   SDL_VULKAN                  (Wanted: ON): ON
--   SDL_WASAPI                  (Wanted: OFF): OFF
--   SDL_WAYLAND                 (Wanted: OFF): OFF
--   SDL_WAYLAND_LIBDECOR        (Wanted: OFF): OFF
--   SDL_WAYLAND_LIBDECOR_SHARED (Wanted: OFF): OFF
--   SDL_WAYLAND_QT_TOUCH        (Wanted: OFF): OFF
--   SDL_WAYLAND_SHARED          (Wanted: OFF): OFF
--   SDL_X11                     (Wanted: ON): ON
--   SDL_X11_SHARED              (Wanted: ON): ON

Looks good to me. I also had no build problems with wayland,x11 and opengl


Am 31.05.22 um 22:54 schrieb richard.purdie@linuxfoundation.org:
> On Tue, 2022-05-31 at 21:06 +0200, Markus Volk wrote:
>> This fixes "Could not initialize egl display" in libsdl2 apps for
>> wayland without DISTRO_FEATURE x11
>>
>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>> ---
>>   meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 8 +++++---
>>   1 file changed, 5 insertions(+), 3 deletions(-)
>>
>> diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
>> index 8519e7f732..e057b5cbbc 100644
>> --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
>> +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
>> @@ -56,14 +56,16 @@ EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
>>   
>>   # opengl packageconfig factored out to make it easy for distros
>>   # and BSP layers to pick either (desktop) opengl, gles2, or no GL
>> -PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
>> +PACKAGECONFIG_GL ?= " \
>> +    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \
>> +    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'gles2', '', d)} \
>> +"
>>   
>>   PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}"
>>   PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}"
>>   PACKAGECONFIG ??= " \
>>       ${PACKAGECONFIG_GL} \
>> -    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \
>> -    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \
>> +    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11 wayland', d)} \
>>       ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
>>   "
>>   PACKAGECONFIG[alsa]       = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"
> If you have opengl, x11 and wayland in DISTRO_FEATURES, does that cause
> an issue? It would seem to change the config?
>
> Cheers,
>
> Richard


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

* Re: [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland
  2022-05-31 19:06 [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland Markus Volk
                   ` (2 preceding siblings ...)
  2022-05-31 19:06 ` [oe-core][PATCH 4/4] libsdl2: dont mix opengl and gles backends " Markus Volk
@ 2022-06-01 15:00 ` Luca Ceresoli
  2022-06-01 15:10   ` Markus Volk
  2022-06-06 10:20 ` Ross Burton
  4 siblings, 1 reply; 12+ messages in thread
From: Luca Ceresoli @ 2022-06-01 15:00 UTC (permalink / raw)
  To: Markus Volk; +Cc: openembedded-core

Hi Markus,

On Tue, 31 May 2022 21:06:17 +0200
"Markus Volk" <f_l_k@t-online.de> wrote:

> Signed-off-by: Markus Volk <f_l_k@t-online.de>

I applied patches 1 to 3 of this series to my testing branch and got
these failures:

stdio: ERROR: Nothing PROVIDES 'font-util' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libfontenc_1.1.4.bb DEPENDS on or otherwise requires it)
stdio: ERROR: Nothing RPROVIDES 'libxfont2' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libxfont2_2.0.5.bb RDEPENDS on or otherwise requires it)
stdio: ERROR: Nothing RPROVIDES 'libxfont2-dev' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libxfont2_2.0.5.bb RDEPENDS on or otherwise requires it)
stdio: ERROR: Nothing RPROVIDES 'libfontenc' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libfontenc_1.1.4.bb RDEPENDS on or otherwise requires it)
stdio: ERROR: Nothing RPROVIDES 'libfontenc-dev' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libfontenc_1.1.4.bb RDEPENDS on or otherwise requires it)
stdio: ERROR: Nothing RPROVIDES 'libxfont-dev' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb RDEPENDS on or otherwise requires it)
stdio: ERROR: Nothing RPROVIDES 'libxfont' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb RDEPENDS on or otherwise requires it)

See the full logs:

https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5304/steps/12/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5304/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5304/steps/15/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5304/steps/15/logs/stdio

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

* Re: [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland
  2022-06-01 15:00 ` [oe-core][PATCH 1/4] xorg-lib-common: allow to build " Luca Ceresoli
@ 2022-06-01 15:10   ` Markus Volk
  2022-06-03 20:17     ` Luca Ceresoli
  0 siblings, 1 reply; 12+ messages in thread
From: Markus Volk @ 2022-06-01 15:10 UTC (permalink / raw)
  To: Luca Ceresoli; +Cc: openembedded-core

Hi Luca,

i've sent a patch that should hopefully fix your issue

Am 01.06.22 um 17:00 schrieb Luca Ceresoli:
> Hi Markus,
>
> On Tue, 31 May 2022 21:06:17 +0200
> "Markus Volk" <f_l_k@t-online.de> wrote:
>
>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> I applied patches 1 to 3 of this series to my testing branch and got
> these failures:
>
> stdio: ERROR: Nothing PROVIDES 'font-util' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libfontenc_1.1.4.bb DEPENDS on or otherwise requires it)
> stdio: ERROR: Nothing RPROVIDES 'libxfont2' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libxfont2_2.0.5.bb RDEPENDS on or otherwise requires it)
> stdio: ERROR: Nothing RPROVIDES 'libxfont2-dev' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libxfont2_2.0.5.bb RDEPENDS on or otherwise requires it)
> stdio: ERROR: Nothing RPROVIDES 'libfontenc' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libfontenc_1.1.4.bb RDEPENDS on or otherwise requires it)
> stdio: ERROR: Nothing RPROVIDES 'libfontenc-dev' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libfontenc_1.1.4.bb RDEPENDS on or otherwise requires it)
> stdio: ERROR: Nothing RPROVIDES 'libxfont-dev' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb RDEPENDS on or otherwise requires it)
> stdio: ERROR: Nothing RPROVIDES 'libxfont' (but /home/pokybuild/yocto-worker/no-x11/build/meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb RDEPENDS on or otherwise requires it)
>
> See the full logs:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5304/steps/12/logs/errors
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5304/steps/12/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5304/steps/15/logs/errors
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5304/steps/15/logs/stdio
>


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

* Re: [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland
  2022-06-01 15:10   ` Markus Volk
@ 2022-06-03 20:17     ` Luca Ceresoli
  2022-06-04  5:29       ` Markus Volk
  0 siblings, 1 reply; 12+ messages in thread
From: Luca Ceresoli @ 2022-06-03 20:17 UTC (permalink / raw)
  To: Markus Volk; +Cc: openembedded-core

Hi Markus,

On Wed, 1 Jun 2022 17:10:45 +0200
"Markus Volk" <f_l_k@t-online.de> wrote:

> Hi Luca,
> 
> i've sent a patch that should hopefully fix your issue

I guess you refer to:

  [oe-core][PATCH] xorg-font-common.inc: allow to build for wayland

and so I ran a build test with the above patch + the 4 patches in this
series.

However I would find it a lot clearer if you instead sent a v2 series
with all the 5 patches (1 new + 4 as in the previous version). It would
avoid any confusion.

About the test, unfortunately we are still having failures:

https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5316/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5316/steps/14/logs/stdio

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

* Re: [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland
  2022-06-03 20:17     ` Luca Ceresoli
@ 2022-06-04  5:29       ` Markus Volk
  0 siblings, 0 replies; 12+ messages in thread
From: Markus Volk @ 2022-06-04  5:29 UTC (permalink / raw)
  To: Luca Ceresoli; +Cc: openembedded-core

You are certainly right about that. The error message reached me just 
before I had to go to work and so I just quickly changed the file 
without testing anything with it. That's why I hadn't sent out a new 
patchset yet, but I'll make up for that completely this time. Hopefully 
also with a solution for your current problem.
> However I would find it a lot clearer if you instead sent a v2 series
> with all the 5 patches (1 new + 4 as in the previous version). It would
> avoid any confusion.
>
> About the test, unfortunately we are still having failures:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5316/steps/11/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/5316/steps/14/logs/stdio
>


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

* Re: [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland
  2022-05-31 19:06 [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland Markus Volk
                   ` (3 preceding siblings ...)
  2022-06-01 15:00 ` [oe-core][PATCH 1/4] xorg-lib-common: allow to build " Luca Ceresoli
@ 2022-06-06 10:20 ` Ross Burton
  4 siblings, 0 replies; 12+ messages in thread
From: Ross Burton @ 2022-06-06 10:20 UTC (permalink / raw)
  To: f_l_k; +Cc: openembedded-core

On 31 May 2022, at 20:06, Markus Volk via lists.openembedded.org <f_l_k=t-online.de@lists.openembedded.org> wrote:
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
> meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
> index 60bc8c76fa..30122f2bfa 100644
> --- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
> +++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
> @@ -23,4 +23,4 @@ UNKNOWN_CONFIGURE_OPT_IGNORE += "--enable-malloc0returnsnull --disable-malloc0re
>                                 --without-xmlto --with-xmlto \
> "
>
> -REQUIRED_DISTRO_FEATURES ?= "x11"
> +ANY_OF_DISTRO_FEATURES ?= "x11 wayland"

If you’re doing this you might as well just remove the feature check, as the entire point of this was that it should be *impossible* to build the X11 stack on distros which have disabled X11.

Obviously, eg libxrandr isn’t going to actually work on a pure Wayland system, as there isn’t going to be an X server.

So, the question is what is the actual problem you’re trying to solve here, as this isn’t the solution.

Ross

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

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

end of thread, other threads:[~2022-06-06 10:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-31 19:06 [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland Markus Volk
2022-05-31 19:06 ` [oe-core][PATCH 2/4] libxcb: " Markus Volk
2022-05-31 19:06 ` [oe-core][PATCH 3/4] xdg-utils: " Markus Volk
2022-05-31 19:06 ` [oe-core][PATCH 4/4] libsdl2: dont mix opengl and gles backends " Markus Volk
2022-05-31 20:54   ` richard.purdie
2022-05-31 21:06     ` Khem Raj
2022-05-31 21:13     ` Markus Volk
2022-06-01 15:00 ` [oe-core][PATCH 1/4] xorg-lib-common: allow to build " Luca Ceresoli
2022-06-01 15:10   ` Markus Volk
2022-06-03 20:17     ` Luca Ceresoli
2022-06-04  5:29       ` Markus Volk
2022-06-06 10:20 ` Ross Burton

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.