From patchwork Sat Jun 4 05:39:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8838 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 2F7EBC433EF for ; Sat, 4 Jun 2022 05:40:28 +0000 (UTC) Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by mx.groups.io with SMTP id smtpd.web08.7418.1654321224495468388 for ; Fri, 03 Jun 2022 22:40:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.19, mailfrom: f_l_k@t-online.de) Received: from fwd80.dcpf.telekom.de (fwd80.aul.t-online.de [10.223.144.106]) by mailout06.t-online.de (Postfix) with SMTP id AEFDF16FD6 for ; Sat, 4 Jun 2022 07:40:22 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd80.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMWA-3SU9A10; Sat, 4 Jun 2022 07:40:10 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv3 1/6] xorg-lib-common: allow to build for wayland Date: Sat, 4 Jun 2022 07:39:54 +0200 Message-Id: <20220604053959.4810-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654321210-0143B811-B64ABB08/19/7535076170 SUSPECT MAIL-COUNT X-TOI-MSGID: 277be62e-37b2-4215-8a9f-151e8507dbac 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:40:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166539 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:39:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8836 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 3DFA5CCA480 for ; Sat, 4 Jun 2022 05:40:28 +0000 (UTC) Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by mx.groups.io with SMTP id smtpd.web12.7429.1654321225187749556 for ; Fri, 03 Jun 2022 22:40:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.81, mailfrom: f_l_k@t-online.de) Received: from fwd80.dcpf.telekom.de (fwd80.aul.t-online.de [10.223.144.106]) by mailout03.t-online.de (Postfix) with SMTP id BAAD863FF for ; Sat, 4 Jun 2022 07:40:22 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd80.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMWE-3SU9A20; Sat, 4 Jun 2022 07:40:14 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv3 2/6] libxcb: allow to build for wayland Date: Sat, 4 Jun 2022 07:39:55 +0200 Message-Id: <20220604053959.4810-2-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053959.4810-1-f_l_k@t-online.de> References: <20220604053959.4810-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654321214-0143B811-D7D59F90/19/7535076170 SUSPECT MAIL-COUNT X-TOI-MSGID: e547c977-8060-44f2-a1fd-41b2c3ad2bc2 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:40:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166541 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:39:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8835 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 3307DCCA47E for ; Sat, 4 Jun 2022 05:40:28 +0000 (UTC) Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by mx.groups.io with SMTP id smtpd.web08.7419.1654321225453560631 for ; Fri, 03 Jun 2022 22:40:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.81, mailfrom: f_l_k@t-online.de) Received: from fwd80.dcpf.telekom.de (fwd80.aul.t-online.de [10.223.144.106]) by mailout03.t-online.de (Postfix) with SMTP id BB2AA6401 for ; Sat, 4 Jun 2022 07:40:22 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd80.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMWE-3SU9A30; Sat, 4 Jun 2022 07:40:14 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv3 3/6] xdg-utils: allow to build for wayland Date: Sat, 4 Jun 2022 07:39:56 +0200 Message-Id: <20220604053959.4810-3-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053959.4810-1-f_l_k@t-online.de> References: <20220604053959.4810-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654321214-0143B811-16CA34EC/0/0 CLEAN NORMAL X-TOI-MSGID: edc28c56-7fa9-43fe-9239-fe9380a6b669 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:40:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166542 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:39:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8837 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 3D487CCA477 for ; Sat, 4 Jun 2022 05:40:28 +0000 (UTC) Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by mx.groups.io with SMTP id smtpd.web09.7388.1654321224508449628 for ; Fri, 03 Jun 2022 22:40:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.19, mailfrom: f_l_k@t-online.de) Received: from fwd80.dcpf.telekom.de (fwd80.aul.t-online.de [10.223.144.106]) by mailout06.t-online.de (Postfix) with SMTP id C690916FD9 for ; Sat, 4 Jun 2022 07:40:22 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd80.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMWE-3SU9A40; Sat, 4 Jun 2022 07:40:14 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv3 4/6] libsdl2: dont mix opengl and gles backends for wayland Date: Sat, 4 Jun 2022 07:39:57 +0200 Message-Id: <20220604053959.4810-4-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053959.4810-1-f_l_k@t-online.de> References: <20220604053959.4810-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654321214-0143B811-60B2798F/0/0 CLEAN NORMAL X-TOI-MSGID: 84674be2-af46-42dd-baf0-5de2301ebf51 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:40:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166540 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:39:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8834 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 3248CC43334 for ; Sat, 4 Jun 2022 05:40:28 +0000 (UTC) Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by mx.groups.io with SMTP id smtpd.web08.7420.1654321225508418957 for ; Fri, 03 Jun 2022 22:40:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.81, mailfrom: f_l_k@t-online.de) Received: from fwd80.dcpf.telekom.de (fwd80.aul.t-online.de [10.223.144.106]) by mailout03.t-online.de (Postfix) with SMTP id CAEDF6402 for ; Sat, 4 Jun 2022 07:40:22 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd80.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMWE-3SU9A50; Sat, 4 Jun 2022 07:40:15 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv3 5/6] xorg-font-common.inc: allow to build for wayland Date: Sat, 4 Jun 2022 07:39:58 +0200 Message-Id: <20220604053959.4810-5-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053959.4810-1-f_l_k@t-online.de> References: <20220604053959.4810-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654321215-0143B811-8780E65E/19/7535076170 SUSPECT MAIL-COUNT X-TOI-MSGID: 4e94b598-4b1b-4443-ae22-999339672737 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:40:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166543 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:39:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8839 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 0F39FC43334 for ; Sat, 4 Jun 2022 05:40:38 +0000 (UTC) Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by mx.groups.io with SMTP id smtpd.web11.7343.1654321234311561567 for ; Fri, 03 Jun 2022 22:40:34 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.21, mailfrom: f_l_k@t-online.de) Received: from fwd80.dcpf.telekom.de (fwd80.aul.t-online.de [10.223.144.106]) by mailout10.t-online.de (Postfix) with SMTP id CC4A16D64 for ; Sat, 4 Jun 2022 07:40:22 +0200 (CEST) Received: from localhost.localdomain ([84.163.41.60]) by fwd80.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nxMWF-3SU9A60; Sat, 4 Jun 2022 07:40:15 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCHv3 6/6] xorg-app-common.inc: allow to build for wayland Date: Sat, 4 Jun 2022 07:39:59 +0200 Message-Id: <20220604053959.4810-6-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604053959.4810-1-f_l_k@t-online.de> References: <20220604053959.4810-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654321215-0143B811-F948E827/19/7535076170 SUSPECT MAIL-COUNT X-TOI-MSGID: 88a91958-0d87-4ffc-bc71-ac81b17ee5fb 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:40:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166544 Signed-off-by: Markus Volk --- 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}"