From patchwork Tue Mar 8 15:52:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 4947 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 AD955C433F5 for ; Tue, 8 Mar 2022 15:52:56 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web10.9746.1646754775930843321 for ; Tue, 08 Mar 2022 07:52:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=C4KL19IG; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id e2so17436571pls.10 for ; Tue, 08 Mar 2022 07:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gacJYWfQolFkwFjmVIDNQAGjDbrqdZ7MkPnFNjL4LyA=; b=C4KL19IGARIYOYKNqlLD6ni9gtrklldX3U0AMCiKKsL3ScmDvEODTe/da8tag3ceE2 YunRRunH3Nf10HsGJkuDLuzNqTwaT4dJTNDaLMy5iybk/W8+1zd0UjeI4rijYQz6IF8w Tw8vViWgxkMlmrdcA2/EBqtgLCKVR5xm3M1LpHGhIJ5rXos28q1OIdGTkyHo/aldwCME ixIKYj076DpdJr18+VuPlagV+OLYJu756uV+lbhrcQNhxgAUsiK138ZanXMhTJZ9qE3E c+MVHsO111kf299CzSkzZZMELqWzqtuDbLiJRimHDHqDvSKymc8QX7VgFc7s5j+3e/yx RraQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gacJYWfQolFkwFjmVIDNQAGjDbrqdZ7MkPnFNjL4LyA=; b=cXMuPgg1S5pwQlKIuKG7EkLSCVWXGHV/aVO9zC1RR3w+WtgE1qiIcvBMmkKUzJgJTM IHEPN3EzbqyRZH/PFMeBkdtMSqNaqU6kw0mXtEfunO81VSP3mLkDTmqrZwfcqtNt6ZCD a5qFO+X12yTHtP+BxPU/9g3Ls+l9inNk+kmxBQFKf+RzGO1ovHOH2FsyydZRyiVLo7rz YZKJoacLTS52vkOT26spcknwOmnX/z0TIQKemPJeGL8vmkTHnA+JVnqF7WmFXxy/3M5N n+iY6JbnCVnuyoSQKYxO4o1Y0cw15g68sXQe3igEXsr+WLKfiCV9E4RYiu9R06hy/e9s T4rQ== X-Gm-Message-State: AOAM532IHYjREGxgTmSZPCutzCG7Wuasn682fiMmbY3IfuaaNAyHMy/z bexUQ2OvRtoe0Cp+gD/Pd8nTYWroskm0SA== X-Google-Smtp-Source: ABdhPJwSQ9I0Hs6dkPg/JmdxEDh5fcQS+2nhGZRf8ILYuNLpVM1r13RU1MkNwEHKqmxssC6of4jr7A== X-Received: by 2002:a17:903:191:b0:152:384:117c with SMTP id z17-20020a170903019100b001520384117cmr2742935plg.123.1646754774995; Tue, 08 Mar 2022 07:52:54 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::ff3d]) by smtp.gmail.com with ESMTPSA id o1-20020a637e41000000b003804d0e2c9esm6559106pgn.35.2022.03.08.07.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 07:52:54 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 1/5] qemu: Depend on virtual/egl Date: Tue, 8 Mar 2022 07:52:48 -0800 Message-Id: <20220308155252.2454464-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 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 ; Tue, 08 Mar 2022 15:52:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162929 This abstracts on GL/GLES implementations Signed-off-by: Khem Raj --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index cbbb99f611d..86bf2c1016f 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -163,7 +163,7 @@ PACKAGECONFIG[nettle] = "--enable-nettle,--disable-nettle,nettle" PACKAGECONFIG[libusb] = "--enable-libusb,--disable-libusb,libusb1" PACKAGECONFIG[fdt] = "--enable-fdt,--disable-fdt,dtc" PACKAGECONFIG[alsa] = "--audio-drv-list=default,,alsa-lib" -PACKAGECONFIG[glx] = "--enable-opengl,--disable-opengl,virtual/libgl" +PACKAGECONFIG[glx] = "--enable-opengl,--disable-opengl,virtual/egl" PACKAGECONFIG[lzo] = "--enable-lzo,--disable-lzo,lzo" PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl" PACKAGECONFIG[gnutls] = "--enable-gnutls,--disable-gnutls,gnutls" From patchwork Tue Mar 8 15:52:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 4948 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 8DAB7C433EF for ; Tue, 8 Mar 2022 15:52:57 +0000 (UTC) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mx.groups.io with SMTP id smtpd.web10.9747.1646754777034643744 for ; Tue, 08 Mar 2022 07:52:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Nu5MVIIM; spf=pass (domain: gmail.com, ip: 209.85.214.174, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f174.google.com with SMTP id m2so11463846pll.0 for ; Tue, 08 Mar 2022 07:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rJRPMdw5r8OsIdmST8SlntRhKc3YAQPkF9dqhy6zJ2M=; b=Nu5MVIIM8sSDL7BCSrZTI/b9KUaX4fnCBVqhzg4aN3rA1TN2M5hUDFD1N6VfxJAtLy YTxwcCZHgB/OjP7w8Et064H4asaTcqrk6BnV+ricYCZgxsl7raNPcyFCRYkKIveNT2Zd wTS4XsUyX4euqBBt3ctvNvy0C2sHECf5XCELuTkc1DvRkwvzXmNCCg9G++vUz1bi52jT euS75MjAmsV4IXb0cM82Ym0yduk84ufnYsfWEXl7eTrDqZnQCYtaHBMEX+ZHU5ZtK5bw D6yTMRLOBN3HkmyRW2KwiPadM4+osFPySHTRiebTentVvosgmyBx/mD06PKi55d5fDdB VNwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rJRPMdw5r8OsIdmST8SlntRhKc3YAQPkF9dqhy6zJ2M=; b=7zuSS7zT19DNsUKvqgvKjK3MDuOvRr8J3ca5BAuxic4dd7uzoH9gubmcXFFdgem2AS EB948hgeSWuQiS6DmyxWpaux/G8Xmj5uDHiiot7Ydl8tWeaZxIEuOZV6TLNFDAktz3+4 Ewro/WJcQqVvf6T8UweM3mNmjYc+GDCpO9Q9NSij+KxRh+SlQvmed0NzDIzxtVuLo53R HLYjncR6WOplSWiqqqPvmomsBpDHrmkrgQFuEW/fWiODACaksRaCISrJiZGyI++wXGea 3yIJcFtrpm+Z1Y4A7y2pMxDkfjSh+Jt14HXAQtys9Tl9FwmFz2B+FxYv8azKSF663e+A ueIw== X-Gm-Message-State: AOAM533ucx1TmYtLZYcPxVNlvKly7VB2poJ2YnsFNezcoFMuq4ysCo/6 SBfKqzwEWF8oD3O/KaVvFy2/+bQaJn9FYA== X-Google-Smtp-Source: ABdhPJwJ8dzPRjTutGMEJjyOwk/zyRpaUAh33xQ01IcWiXBg4xpKG3IwsxSpLU+KBhNCJu6rAgHYVA== X-Received: by 2002:a17:902:7595:b0:151:7b0b:11c4 with SMTP id j21-20020a170902759500b001517b0b11c4mr18588794pll.126.1646754776227; Tue, 08 Mar 2022 07:52:56 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::ff3d]) by smtp.gmail.com with ESMTPSA id o1-20020a637e41000000b003804d0e2c9esm6559106pgn.35.2022.03.08.07.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 07:52:55 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 2/5] libsdl2: Depend on virtual/egl Date: Tue, 8 Mar 2022 07:52:49 -0800 Message-Id: <20220308155252.2454464-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220308155252.2454464-1-raj.khem@gmail.com> References: <20220308155252.2454464-1-raj.khem@gmail.com> MIME-Version: 1.0 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 ; Tue, 08 Mar 2022 15:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162930 virtual/libgl may not be implemented by some non-mesa graphics in embedded space, this ensures that libsdl2 can build on such stacks Signed-off-by: Khem Raj --- meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb | 2 +- 1 file changed, 1 insertion(+), 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 90724ab8b79..58bc94cc86b 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb @@ -67,7 +67,7 @@ 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[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/libgl" +PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl" 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" From patchwork Tue Mar 8 15:52:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 4949 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 94459C433F5 for ; Tue, 8 Mar 2022 15:52:58 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web08.9435.1646754777955266701 for ; Tue, 08 Mar 2022 07:52:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=U9B9ki+z; spf=pass (domain: gmail.com, ip: 209.85.214.176, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f176.google.com with SMTP id 9so17437716pll.6 for ; Tue, 08 Mar 2022 07:52:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+m1oHeIDCRMVqLxCFYno5sheYiVACgrIrcq2nPJeIWI=; b=U9B9ki+z3lfeyogPw5Th793Vrzvqk5Ugwhh0PPvy2zUriEevdphEZ6VEdfNUX1e5rX 1rC66jXWhpL8lsBphfKTtA574FZSmi48b5Izo0hrHtbA9DezzmUKip62IZocnhn1ntmu HZyoJCC5sMNQQBvI6hDIexMZuFhErDKbZ9B2QYw88F7Cip/v9v5z3YGqM9VEZb5cei5A +FCXwBV1q2JrokzjfE53001V96CaL+8rhKpJAbPhdMQSPE2i1XaFcri7QO6kfP7At+pD lvWsARV8+47knVl3J5wjmTyRd++NOizdGEq7APeIJepXMQKTHNwB00uP0K1wmFD+feqh NpVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+m1oHeIDCRMVqLxCFYno5sheYiVACgrIrcq2nPJeIWI=; b=eavnY30bHOsZLzSFneq/KuJGnCTjdvjilRo3KCBPdiOkoZYL735rkMii5f8LS9F/l7 VM0IwM76zRHje+QbQtOeAlqytjmZHB1aSYsLYngWmGZZGsm7+03cA079D7R3uFQfXzL8 973glayQzt+ebcf8jCX76BQOonIL3Vh61nQAkJLd0rA2TXs7MxM6zsAjKUNVE5oiKWNE fV51ym/nOKAJ8md/AqJLbA0Bct7EuENclJg974xj+VrFhRGXHbn1A+8D2bgTAJYT50RM pToJcatKRzmYeJX/wOUBBqrN1bMwrT1SjeHXDdw1HfAa2L5d/GRyHPRSNS7JLgi0jLj6 6xVA== X-Gm-Message-State: AOAM531vdf82qBzF4w31oQA7DDqNDaqdSAwirH+FKp0DDFnXeONyMNsm N+rfGMlCM1+hPAcG7xCi8ZDOFt7/Ux5iAw== X-Google-Smtp-Source: ABdhPJwhiAk+FTx3QovHRMLbY2o/qdyQPrCz7ewhF1y2Z4N+epSMd2c4NeHLalF8RchwnDO2RNzMdA== X-Received: by 2002:a17:903:2308:b0:151:8ca0:cd8d with SMTP id d8-20020a170903230800b001518ca0cd8dmr17966263plh.119.1646754777179; Tue, 08 Mar 2022 07:52:57 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::ff3d]) by smtp.gmail.com with ESMTPSA id o1-20020a637e41000000b003804d0e2c9esm6559106pgn.35.2022.03.08.07.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 07:52:56 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 3/5] piglit: Remove virtual/libgl Date: Tue, 8 Mar 2022 07:52:50 -0800 Message-Id: <20220308155252.2454464-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220308155252.2454464-1-raj.khem@gmail.com> References: <20220308155252.2454464-1-raj.khem@gmail.com> MIME-Version: 1.0 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 ; Tue, 08 Mar 2022 15:52:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162931 virtual/libgl is usually provided by same package that provides virtual/egl by the stacks which implement it, removing virtual/libgl means we can build it on stacks not implementing GL Signed-off-by: Khem Raj --- meta/recipes-graphics/piglit/piglit_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 865eb4c272c..3ae7a14e465 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -23,7 +23,7 @@ S = "${WORKDIR}/git" X11_DEPS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxrender libglu', '', d)}" X11_RDEPS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa-demos', '', d)}" -DEPENDS = "libpng waffle libxkbcommon virtual/libgl python3-mako-native python3-numpy-native python3-six-native virtual/egl" +DEPENDS = "libpng waffle libxkbcommon python3-mako-native python3-numpy-native python3-six-native virtual/egl" inherit cmake pkgconfig python3native features_check bash-completion From patchwork Tue Mar 8 15:52:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 4950 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 99DA7C433FE for ; Tue, 8 Mar 2022 15:52:59 +0000 (UTC) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mx.groups.io with SMTP id smtpd.web11.9689.1646754778863193525 for ; Tue, 08 Mar 2022 07:52:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RdZ66wjL; spf=pass (domain: gmail.com, ip: 209.85.214.174, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f174.google.com with SMTP id z3so8960479plg.8 for ; Tue, 08 Mar 2022 07:52:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ggpuQbtADVfXTsJWBTdchnnYyfUrDJWmJBfzwEBxmt8=; b=RdZ66wjLl+YBk9anL1wuSBNJ/0rtUu/+dQ1JLps46K8Hv0x2Wage8tqftT6J+8pnXP zYwRLPMNk/Lod134Ro7KVdcoLwcm24TDQ9oBkDPf3X9ccwCg1Te3duYZtst9O+FdSJt6 OtjMVXp9BIkPlPJ0GVgEAUnRg67m+SgFtBbKSXp4MBQPjyyHyfToXL+miafox2XK0MXN vR5eUdUDYMZRqUz8aNf3HMaGZsEEQ1nbvWfr7Pt+OzukrDKIPVotU6VPzpcn4KYk/PNB eWxqEkmesXVVcY8NBCOE8e7IzjxUrPopZb0bVTiaMXBH06LEa+SIRN6YKNa9229JIkcL Pgig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ggpuQbtADVfXTsJWBTdchnnYyfUrDJWmJBfzwEBxmt8=; b=b961QDoFzNVNoOO1vPte4S2x2oxDB5u46T/t+RB14hInCwR7eQzHWTCtJpZZQ1mmyf 2/KcI+onSjGYFqQLhqCfL23VW9h3GnhqLuDt9mnmx8ciBZ9S5Ej1L2sbhNkFzcjhKGyE KOTIYLy+LqsrCMcisQ9yWiv7kdGpOh3OlW7OW1QpKpznlmWpmDyAO8KP2FInUHB6srHf FmffoibarMSSnWc5W1D0Sp45r8wfZQjpB+VuYQ9JRE86VavroJcwCm2X1Nehdyc+9yJW Fn+kDCFx8JS2nfpa9zWXS+adCxNAYuVz+KiM7YLs8hAzR4bs7VVfXhYBiA/oOqlw7AeY YcRA== X-Gm-Message-State: AOAM532FrecE4kKSt5Q3I1e4eXR9qUVY5DF11ty2OQdTwv2e9GUgoWf+ 6gy2qELG6fnlbl5QlhHZXqiIqH7OIGSyCw== X-Google-Smtp-Source: ABdhPJw7ICHeNe3i66Hk1PAUlOoEY958YM6o57I6UXuOl+VPWaGbNzVTM/WLbY5YHT0NtGNmQQyAmw== X-Received: by 2002:a17:902:e302:b0:151:bfe9:da34 with SMTP id q2-20020a170902e30200b00151bfe9da34mr17409160plc.100.1646754778188; Tue, 08 Mar 2022 07:52:58 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::ff3d]) by smtp.gmail.com with ESMTPSA id o1-20020a637e41000000b003804d0e2c9esm6559106pgn.35.2022.03.08.07.52.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 07:52:57 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 4/5] waffle: Use the right dependencies as needed Date: Tue, 8 Mar 2022 07:52:51 -0800 Message-Id: <20220308155252.2454464-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220308155252.2454464-1-raj.khem@gmail.com> References: <20220308155252.2454464-1-raj.khem@gmail.com> MIME-Version: 1.0 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 ; Tue, 08 Mar 2022 15:52:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162932 using virtual/libgl is a broad brush, we can be more specific and ask for dependencies which are really needed Signed-off-by: Khem Raj --- meta/recipes-graphics/waffle/waffle_1.7.0.bb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meta/recipes-graphics/waffle/waffle_1.7.0.bb b/meta/recipes-graphics/waffle/waffle_1.7.0.bb index 0ff82036e7e..b9315157007 100644 --- a/meta/recipes-graphics/waffle/waffle_1.7.0.bb +++ b/meta/recipes-graphics/waffle/waffle_1.7.0.bb @@ -31,16 +31,16 @@ REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX # I say virtual/libgl, actually wants gl.pc PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,virtual/${MLPREFIX}libgl libx11" -# I say virtual/libgl, actually wants wayland-egl.pc, egl.pc, and the wayland +# wants wayland-egl.pc, egl.pc, and the wayland # DISTRO_FEATURE. -PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}libgl wayland wayland-native wayland-protocols" +PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}egl wayland wayland-native wayland-protocols" -# I say virtual/libgl, actually wants gbm.pc egl.pc -PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/${MLPREFIX}libgl udev" +# wants gbm.pc egl.pc +PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/${MLPREFIX}egl virtual/${MLPREFIX}libgbm udev" -# I say virtual/libgl, actually wants egl.pc -PACKAGECONFIG[x11-egl] = "-Dx11_egl=enabled,-Dx11_egl=disabled,virtual/${MLPREFIX}libgl libxcb" -PACKAGECONFIG[surfaceless-egl] = "-Dsurfaceless_egl=enabled,-Dsurfaceless_egl=disabled,virtual/${MLPREFIX}libgl" +# wants egl.pc +PACKAGECONFIG[x11-egl] = "-Dx11_egl=enabled,-Dx11_egl=disabled,virtual/${MLPREFIX}egl libxcb" +PACKAGECONFIG[surfaceless-egl] = "-Dsurfaceless_egl=enabled,-Dsurfaceless_egl=disabled,virtual/${MLPREFIX}egl" # TODO: optionally build manpages and examples From patchwork Tue Mar 8 15:52:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 4951 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 965A5C433F5 for ; Tue, 8 Mar 2022 15:53:00 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web12.9752.1646754779834927192 for ; Tue, 08 Mar 2022 07:52:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gcykBBe6; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id s42so5075249pfg.0 for ; Tue, 08 Mar 2022 07:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t8xwW6YBNsrNQ3tbtFZ1pqCpXR1F43dKW1bx+zIqpeU=; b=gcykBBe6tJ/gWjGVIGkQQQ5XsX5PwMBPFHe7RudVSxsa2p9YAWQVPFhZlCfJQydAeS YicYU8YjTnGntxW7LBeoi5gSTa/nLZitqU9LjtIjSmjWPxN53I9pA4MLorIoJB8uX4pZ zkUc+5OiC5yLhgtTewjBn/XFwn608KfIDbKgIwsnAf5gvW1NvfJUErpsNW0zXlk8MU2T ztly3QA76sGJUYN/cwFVImg7lF+IMYfKKLw8d2mBUjmK+g7t0PxgqbgMYkKII8TdCcYz RvmlFE00NfoKa2ydvUlA8fm/bNU7MYIJpaGEjn+Mo0NMEJjUBdj2ZL46vn55x/+oQOqY PJpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t8xwW6YBNsrNQ3tbtFZ1pqCpXR1F43dKW1bx+zIqpeU=; b=TAAkt7Jda4ayDOAzIniDt7Y/maRiW2gf+aMUbtlw7PWc3oIV6SPRzdf2OUkYN2GuGD w9b43bh51hIIRedFqd8s+wU0gKkcS2zsXIgVHEaxt8ZZ1t9ehaYVYqFmp0u7SDKB6L1q i/Ohfm2PNFDbRiR1B4CLpL1hz/rvlOFhd6VEklRUcCFJwjmy0/qwyii4qHNVg0cTTOTX flpFo9OzQNvGLo3ymKgu5Oh6njNFlornlgj9l5NS4fVXLQJgYTPp+viKvbV3RYeYg5OW PkCIuAeBwMpsDELtgRD0PlHcMrd3uyHM8BRyDo9sQWRJmMOqL/XInQtK4eoOYkT/kTgX 7pVg== X-Gm-Message-State: AOAM530UxjCl3+vOGAkH3jIld5zbjfuGT7ehq3McCleuquPJDKZJ+2Hs zNTRmIVX0aOvZvYDAwJ5rtjs8yyYmlS06w== X-Google-Smtp-Source: ABdhPJzMU2bUZLySfQk1BxaifHb25EHDfGT/3hVCugDF7/95hs3hyuJyqM89V21pPXuSVA2cYnTCFg== X-Received: by 2002:a63:5a4a:0:b0:380:260d:47b0 with SMTP id k10-20020a635a4a000000b00380260d47b0mr10764885pgm.45.1646754779158; Tue, 08 Mar 2022 07:52:59 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::ff3d]) by smtp.gmail.com with ESMTPSA id o1-20020a637e41000000b003804d0e2c9esm6559106pgn.35.2022.03.08.07.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 07:52:58 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 5/5] webkitgtk: Depend on virtual/egl instead of virtual/libgl Date: Tue, 8 Mar 2022 07:52:52 -0800 Message-Id: <20220308155252.2454464-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220308155252.2454464-1-raj.khem@gmail.com> References: <20220308155252.2454464-1-raj.khem@gmail.com> MIME-Version: 1.0 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 ; Tue, 08 Mar 2022 15:53:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162933 This ensures that platforms not implementing GL ( perhaps only providing GLES ) are able to build webkit Signed-off-by: Khem Raj --- meta/recipes-sato/webkit/webkitgtk_2.34.6.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.34.6.bb b/meta/recipes-sato/webkit/webkitgtk_2.34.6.bb index 52cc185eb33..8cea8a86000 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.34.6.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.34.6.bb @@ -60,8 +60,8 @@ PACKAGECONFIG[x11] = "-DENABLE_X11_TARGET=ON,-DENABLE_X11_TARGET=OFF,virtual/lib PACKAGECONFIG[geoclue] = "-DENABLE_GEOLOCATION=ON,-DENABLE_GEOLOCATION=OFF,geoclue" PACKAGECONFIG[enchant] = "-DENABLE_SPELLCHECK=ON,-DENABLE_SPELLCHECK=OFF,enchant2" PACKAGECONFIG[gles2] = "-DENABLE_GLES2=ON,-DENABLE_GLES2=OFF,virtual/libgles2" -PACKAGECONFIG[webgl] = "-DENABLE_WEBGL=ON,-DENABLE_WEBGL=OFF,virtual/libgl" -PACKAGECONFIG[opengl] = "-DENABLE_GRAPHICS_CONTEXT_GL=ON,-DENABLE_GRAPHICS_CONTEXT_GL=OFF,virtual/libgl" +PACKAGECONFIG[webgl] = "-DENABLE_WEBGL=ON,-DENABLE_WEBGL=OFF,virtual/egl" +PACKAGECONFIG[opengl] = "-DENABLE_GRAPHICS_CONTEXT_GL=ON,-DENABLE_GRAPHICS_CONTEXT_GL=OFF,virtual/egl" PACKAGECONFIG[opengl-or-es] = "-DUSE_OPENGL_OR_ES=ON,-DUSE_OPENGL_OR_ES=OFF" PACKAGECONFIG[libsecret] = "-DUSE_LIBSECRET=ON,-DUSE_LIBSECRET=OFF,libsecret" PACKAGECONFIG[libhyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,libhyphen"