* [oe-core][RFC PATCHv5 1/5] libsdl2: align native and target build
@ 2022-05-22 8:47 Markus Volk
2022-05-22 8:47 ` [oe-core][RFC PATCHv5 2/5] libxkbcommon: allow to build native/nativesdk Markus Volk
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Markus Volk @ 2022-05-22 8:47 UTC (permalink / raw)
To: openembedded-core; +Cc: Markus Volk
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index c1c827af79..358efc8694 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -57,14 +57,11 @@ 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.filter('DISTRO_FEATURES', '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] 6+ messages in thread* [oe-core][RFC PATCHv5 2/5] libxkbcommon: allow to build native/nativesdk 2022-05-22 8:47 [oe-core][RFC PATCHv5 1/5] libsdl2: align native and target build Markus Volk @ 2022-05-22 8:47 ` Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 3/5] xkexboard-config: " Markus Volk ` (2 subsequent siblings) 3 siblings, 0 replies; 6+ messages in thread From: Markus Volk @ 2022-05-22 8:47 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/libxkbcommon_1.4.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.4.0.bb b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.4.0.bb index 34652e9c4e..9840b0797b 100644 --- a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.4.0.bb +++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.4.0.bb @@ -34,3 +34,5 @@ python populate_packages:prepend () { # Fix a following runtime error: # xkbcommon: ERROR: couldn't find a Compose file for locale "C" RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}" + +BBCLASSEXTEND = "native nativesdk" -- 2.25.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [oe-core][RFC PATCHv5 3/5] xkexboard-config: allow to build native/nativesdk 2022-05-22 8:47 [oe-core][RFC PATCHv5 1/5] libsdl2: align native and target build Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 2/5] libxkbcommon: allow to build native/nativesdk Markus Volk @ 2022-05-22 8:47 ` Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 4/5] libdecor: initial add recipe Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 5/5] libsdl2: add PACKAGECONFIG options Markus Volk 3 siblings, 0 replies; 6+ messages in thread From: Markus Volk @ 2022-05-22 8:47 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/xkeyboard-config_2.35.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.35.1.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.35.1.bb index 5215131e3e..46c73879e6 100644 --- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.35.1.bb +++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.35.1.bb @@ -28,3 +28,5 @@ do_install:append () { install -d ${D}${datadir}/X11/xkb/compiled cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg } + +BBCLASSEXTEND = "native nativesdk" -- 2.25.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [oe-core][RFC PATCHv5 4/5] libdecor: initial add recipe 2022-05-22 8:47 [oe-core][RFC PATCHv5 1/5] libsdl2: align native and target build Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 2/5] libxkbcommon: allow to build native/nativesdk Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 3/5] xkexboard-config: " Markus Volk @ 2022-05-22 8:47 ` Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 5/5] libsdl2: add PACKAGECONFIG options Markus Volk 3 siblings, 0 replies; 6+ messages in thread From: Markus Volk @ 2022-05-22 8:47 UTC (permalink / raw) To: openembedded-core; +Cc: Markus Volk 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_l_k@t-online.de> --- .../libdecor/libdecor_0.1.0.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta/recipes-graphics/libdecor/libdecor_0.1.0.bb diff --git a/meta/recipes-graphics/libdecor/libdecor_0.1.0.bb b/meta/recipes-graphics/libdecor/libdecor_0.1.0.bb new file mode 100644 index 0000000000..3223d914ad --- /dev/null +++ b/meta/recipes-graphics/libdecor/libdecor_0.1.0.bb @@ -0,0 +1,30 @@ +SUMMARY = "libdecor - A client-side decorations library for Wayland clients" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" + +SRC_URI = "git://gitlab.gnome.org/jadahl/libdecor.git;protocol=https;branch=master" + +DEPENDS = " \ + cairo \ + libxkbcommon \ + pango \ + wayland \ + wayland-native \ + wayland-protocols \ +" + +S = "${WORKDIR}/git" +SRCREV = "3ec3fadd59a21835079fbb3046d2bec6c649d6fa" + +PACKAGECONFIG ?= "dbus" + +PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus" +PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libgl" + +inherit meson pkgconfig + +EXTRA_OEMESON += "--buildtype release" + + +BBCLASSEXTEND = "native nativesdk" + -- 2.25.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [oe-core][RFC PATCHv5 5/5] libsdl2: add PACKAGECONFIG options 2022-05-22 8:47 [oe-core][RFC PATCHv5 1/5] libsdl2: align native and target build Markus Volk ` (2 preceding siblings ...) 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 4/5] libdecor: initial add recipe Markus Volk @ 2022-05-22 8:47 ` Markus Volk 2022-05-23 12:33 ` Luca Ceresoli 3 siblings, 1 reply; 6+ messages in thread From: Markus Volk @ 2022-05-22 8:47 UTC (permalink / raw) To: openembedded-core; +Cc: Markus Volk Signed-off-by: Markus Volk <f_l_k@t-online.de> --- meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb index 358efc8694..1f18aa35f8 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb @@ -61,7 +61,7 @@ PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl gles2', d)}" PACKAGECONFIG ??= " \ ${PACKAGECONFIG_GL} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11 wayland', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pipewire pulseaudio x11 wayland', d)} \ ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \ " PACKAGECONFIG[alsa] = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib," @@ -70,7 +70,12 @@ PACKAGECONFIG[directfb] = "-DSDL_DIRECTFB=ON,-DSDL_DIRECTFB=OFF,directfb,direc PACKAGECONFIG[gles2] = "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2" PACKAGECONFIG[jack] = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack" PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm virtual/libgbm" +PACKAGECONFIG[libdecor] = "-DSDL_WAYLAND_LIBDECOR=ON,-DSDL_WAYLAND_LIBDECOR=OFF,libdecor,libdecor" +# The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers, +# so we'll just use libusb when it's available. +PACKAGECONFIG[libusb] = ",,libusb1" PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl" +PACKAGECONFIG[pipewire] = "-DSDL_PIPEWIRE=ON,-DSDL_PIPEWIRE=OFF,pipewire" PACKAGECONFIG[pulseaudio] = "-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio" PACKAGECONFIG[wayland] = "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native wayland wayland-protocols libxkbcommon" PACKAGECONFIG[x11] = "-DSDL_X11=ON,-DSDL_X11=OFF,virtual/libx11 libxext libxrandr libxrender" -- 2.25.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [oe-core][RFC PATCHv5 5/5] libsdl2: add PACKAGECONFIG options 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 5/5] libsdl2: add PACKAGECONFIG options Markus Volk @ 2022-05-23 12:33 ` Luca Ceresoli 0 siblings, 0 replies; 6+ messages in thread From: Luca Ceresoli @ 2022-05-23 12:33 UTC (permalink / raw) To: Markus Volk; +Cc: openembedded-core Hi Markus, Il giorno Sun, 22 May 2022 10:47:52 +0200 "Markus Volk" <f_l_k@t-online.de> ha scritto: > Signed-off-by: Markus Volk <f_l_k@t-online.de> This patch does not apply, it is conflicting with a previous patch from you that is on master. Can you rebase and resend? Thanks. -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-05-23 12:33 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-05-22 8:47 [oe-core][RFC PATCHv5 1/5] libsdl2: align native and target build Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 2/5] libxkbcommon: allow to build native/nativesdk Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 3/5] xkexboard-config: " Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 4/5] libdecor: initial add recipe Markus Volk 2022-05-22 8:47 ` [oe-core][RFC PATCHv5 5/5] libsdl2: add PACKAGECONFIG options Markus Volk 2022-05-23 12:33 ` Luca Ceresoli
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox