From patchwork Sat Jun 4 05:30:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8829 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CF44CCA47E for ; Sat, 4 Jun 2022 05:30:48 +0000 (UTC) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by mx.groups.io with SMTP id smtpd.web08.7374.1654320646447016274 for ; Fri, 03 Jun 2022 22:30:47 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.18, mailfrom: f_l_k@t-online.de) Received: from fwd71.dcpf.telekom.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout04.t-online.de (Postfix) with SMTP id 986981537 for ; Sat, 4 Jun 2022 07:30:44 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd71.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMMv-0Vhqdd0; Sat, 4 Jun 2022 07:30:37 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv2 1/6] xorg-lib-common: allow to build for wayland Date: Sat, 4 Jun 2022 07:30:23 +0200 Message-Id: <20220604053028.4682-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654320637-014319F2-ECD80D9E/0/0 CLEAN NORMAL X-TOI-MSGID: e439f316-575f-4698-8fb5-8052d9a9e934 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 04 Jun 2022 05:30:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166536 Signed-off-by: Markus Volk --- 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" From patchwork Sat Jun 4 05:30:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8828 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A6B8C43334 for ; Sat, 4 Jun 2022 05:30:48 +0000 (UTC) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by mx.groups.io with SMTP id smtpd.web10.7315.1654320646500694865 for ; Fri, 03 Jun 2022 22:30:47 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.18, mailfrom: f_l_k@t-online.de) Received: from fwd71.dcpf.telekom.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout04.t-online.de (Postfix) with SMTP id 9D84B9A03 for ; Sat, 4 Jun 2022 07:30:44 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd71.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMMx-0Vhqde0; Sat, 4 Jun 2022 07:30:40 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv2 2/6] libxcb: allow to build for wayland Date: Sat, 4 Jun 2022 07:30:24 +0200 Message-Id: <20220604053028.4682-2-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053028.4682-1-f_l_k@t-online.de> References: <20220604053028.4682-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654320640-014319F2-1C32C72E/0/0 CLEAN NORMAL X-TOI-MSGID: 7888b784-73aa-43ac-88aa-88531e7d7640 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 04 Jun 2022 05:30:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166533 Signed-off-by: Markus Volk --- 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" From patchwork Sat Jun 4 05:30:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8831 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24ABCCCA477 for ; Sat, 4 Jun 2022 05:30:48 +0000 (UTC) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by mx.groups.io with SMTP id smtpd.web12.7381.1654320646586023094 for ; Fri, 03 Jun 2022 22:30:47 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.18, mailfrom: f_l_k@t-online.de) Received: from fwd71.dcpf.telekom.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout04.t-online.de (Postfix) with SMTP id A3A209A04 for ; Sat, 4 Jun 2022 07:30:44 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd71.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMMz-0Vhqdf0; Sat, 4 Jun 2022 07:30:41 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv2 3/6] xdg-utils: allow to build for wayland Date: Sat, 4 Jun 2022 07:30:25 +0200 Message-Id: <20220604053028.4682-3-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053028.4682-1-f_l_k@t-online.de> References: <20220604053028.4682-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654320641-014319F2-5BCCE3D9/0/0 CLEAN NORMAL X-TOI-MSGID: 872a77b4-b623-46ed-a3b8-5db5d404a7e3 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 04 Jun 2022 05:30:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166535 Signed-off-by: Markus Volk --- 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((\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" From patchwork Sat Jun 4 05:30:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8833 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02F6DC43334 for ; Sat, 4 Jun 2022 05:30:58 +0000 (UTC) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by mx.groups.io with SMTP id smtpd.web09.7340.1654320646447514622 for ; Fri, 03 Jun 2022 22:30:46 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.18, mailfrom: f_l_k@t-online.de) Received: from fwd71.dcpf.telekom.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout04.t-online.de (Postfix) with SMTP id A4D979A05 for ; Sat, 4 Jun 2022 07:30:44 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd71.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMN0-0Vhqdg0; Sat, 4 Jun 2022 07:30:42 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv2 4/6] libsdl2: dont mix opengl and gles backends for wayland Date: Sat, 4 Jun 2022 07:30:26 +0200 Message-Id: <20220604053028.4682-4-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053028.4682-1-f_l_k@t-online.de> References: <20220604053028.4682-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654320642-014319F2-8E712E3B/0/0 CLEAN NORMAL X-TOI-MSGID: f54f53bf-4ad7-4df0-a212-53956c0cb3c4 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 04 Jun 2022 05:30:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166534 This fixes "Could not initialize egl display" in libsdl2 apps for wayland without DISTRO_FEATURE x11 Signed-off-by: Markus Volk --- 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," From patchwork Sat Jun 4 05:30:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8830 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BB1FC433EF for ; Sat, 4 Jun 2022 05:30:48 +0000 (UTC) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by mx.groups.io with SMTP id smtpd.web08.7375.1654320647261891543 for ; Fri, 03 Jun 2022 22:30:47 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.83, mailfrom: f_l_k@t-online.de) Received: from fwd71.dcpf.telekom.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout07.t-online.de (Postfix) with SMTP id A9EDC5C36 for ; Sat, 4 Jun 2022 07:30:44 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd71.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMN1-0Vhqdh0; Sat, 4 Jun 2022 07:30:43 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv2 5/6] xorg-font-common.inc: allow to build for wayland Date: Sat, 4 Jun 2022 07:30:27 +0200 Message-Id: <20220604053028.4682-5-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053028.4682-1-f_l_k@t-online.de> References: <20220604053028.4682-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654320643-014319F2-282558A1/0/0 CLEAN NORMAL X-TOI-MSGID: 56a0a489-b54d-4e0d-a6f0-2934aec3b691 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 04 Jun 2022 05:30:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166537 Signed-off-by: Markus Volk --- meta/recipes-graphics/xorg-font/xorg-font-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc index 2df23efed4..f552bb0076 100644 --- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc +++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc @@ -15,7 +15,7 @@ S = "${WORKDIR}/${XORG_PN}-${PV}" inherit autotools pkgconfig features_check # The mkfontscale-native requires x11 in DISTRO_FEATURES -REQUIRED_DISTRO_FEATURES = "x11" +ANY_OF_DISTRO_FEATURES = "x11 wayland" EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)" From patchwork Sat Jun 4 05:30:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8832 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07392C433EF for ; Sat, 4 Jun 2022 05:30:58 +0000 (UTC) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by mx.groups.io with SMTP id smtpd.web09.7341.1654320648543236870 for ; Fri, 03 Jun 2022 22:30:48 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.18, mailfrom: f_l_k@t-online.de) Received: from fwd71.dcpf.telekom.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout04.t-online.de (Postfix) with SMTP id 3AD039A03 for ; Sat, 4 Jun 2022 07:30:47 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd71.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMN2-0Vhqdi0; Sat, 4 Jun 2022 07:30:44 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv2 6/6] xorg-app-common: allow to build for wayland Date: Sat, 4 Jun 2022 07:30:28 +0200 Message-Id: <20220604053028.4682-6-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053028.4682-1-f_l_k@t-online.de> References: <20220604053028.4682-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654320644-014319F2-47570D8E/0/0 CLEAN NORMAL X-TOI-MSGID: c9462e6e-4d46-4169-a563-d07ddcb7c2a7 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 04 Jun 2022 05:30:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166538 --- meta/recipes-graphics/xorg-app/xorg-app-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc b/meta/recipes-graphics/xorg-app/xorg-app-common.inc index 5dbe8abe86..7aed6e7138 100644 --- a/meta/recipes-graphics/xorg-app/xorg-app-common.inc +++ b/meta/recipes-graphics/xorg-app/xorg-app-common.inc @@ -6,7 +6,7 @@ LICENSE = "MIT" DEPENDS = "util-macros-native virtual/libx11" # depends on virtual/libx11 -REQUIRED_DISTRO_FEATURES = "x11" +ANY_OF_DISTRO_FEATURES = "x11 wayland" SRC_URI_EXT = "bz2" SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.${SRC_URI_EXT}"