To my knowledge libsdl2 is theĀ  only consumer of libdecor right now. If you want to be able to run sdl programs in windows instead of just having them pasted to the background you would want to enable it by default. I love libsdl so my answer would be ... of course it should be build with decoration by default for weston. But on the other hand ... its mostly useful for games and fun stuff so it really depends on your goals.

Markus
If it is in core, there should be something in core that consumes and
makes use of it, and preferably automated tests for it. Is this the
case? Shall weston enable it by default then?

Alex

On Thu, 19 May 2022 at 21:43, Markus Volk <f_...@t-online.de> wrote:
It doesn't need to be in core, but i would call having window decoration a core 
component
because otherwise things will just not work as expected for weston/gnome-shell. 
I could also
send that recipe to meta-oe if you prefer or just store it in meta-wayland 
since its wayland related stuff but
if you aim to support libsdl in a proper way this recipe should be around 
somewhere i think.
Personally i prefer sway. It has server side decoration and there is no need 
for libdecor.

Markus

  Am 19.05.22 um 18:46 schrieb Alexander Kanavin:

Also, does this need to be in core (as opposed to meta-oe)? Why?

Alex

On Thu, 19 May 2022 at 18:43, Luca Ceresoli via lists.openembedded.org
<luca.ceresoli=bootlin....@lists.openembedded.org> wrote:

Hi Markus,

Il giorno Thu, 19 May 2022 08:43:11 +0200
"Markus Volk" <f_...@t-online.de> ha scritto:

libdecor is a client-side decoration library for Wayland clients. It
is used by libsdl2 for window decoration and is required to provide
decoration for shells that use client-side decoration such as
gnome-shell or weston.

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

I'm afraid we're having an issue with this patch as well:

AssertionError:
The following recipes do not have a maintainer assigned to them. Please
add an entry to meta/conf/distro/include/maintainers.inc file. libdecor
(/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/recipes-graphics/libdecor/libdecor_0.1.0.bb)

https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/3547/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3604/steps/15/logs/stdio

And also this warning:

WARNING: Nothing RPROVIDES 'nativesdk-libdecor' (but
virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-graphics/libdecor/libdecor_0.1.0.bb
RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for
'nativesdk-libdecor' NOTE: Runtime target 'nativesdk-libdecor' is
unbuildable, removing... Missing or unbuildable dependency chain was:
['nativesdk-libdecor'] WARNING: Nothing RPROVIDES
'nativesdk-libdecor-dev' (but
virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-graphics/libdecor/libdecor_0.1.0.bb
RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for
'nativesdk-libdecor-dev' NOTE: Runtime target 'nativesdk-libdecor-dev'
is unbuildable, removing... Missing or unbuildable dependency chain
was: ['nativesdk-libdecor-dev']

https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/5543/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4571/steps/12/logs/stdio

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






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#165911): 
https://lists.openembedded.org/g/openembedded-core/message/165911
Mute This Topic: https://lists.openembedded.org/mt/91203655/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to