From patchwork Fri Mar 22 20:49:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 41388 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 7AE46C47DD9 for ; Fri, 22 Mar 2024 20:50:15 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by mx.groups.io with SMTP id smtpd.web10.6177.1711140610646070926 for ; Fri, 22 Mar 2024 13:50:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@denx.de header.s=phobos-20191101 header.b=igJQKo2P; spf=pass (domain: denx.de, ip: 85.214.62.61, mailfrom: marex@denx.de) Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 55AC387D87; Fri, 22 Mar 2024 21:50:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1711140608; bh=lrs6Ii1TOP4C9mk7XUedCov9VPZoXO6GoX+l05NTs70=; h=From:To:Cc:Subject:Date:From; b=igJQKo2Pp/jWT5weKXZtv4aLJLPwW1oQRy2DQJe4FYx7urhGxt/kaXYpvH1MdvN1U M5SC+KjJh69YUnx5u2hAVkWQwDgbu+gwbEgF7ECQT92CMXc7eppbvDibpaeYKYQ6Mq rP9eV2Wce2GnPT+nv2lK5PA+5UqaAttqgUG1cc0zoXhgtv7SXbvCS74ixUbxBN1rym 1+ERqPDJOqf3gpu2j0wGRCj6Dy6/DQRCgKASkFs8cdYRHLSSZN71SWW2EXgmrJy4jE LStz5gv8B0eBjQ4ksw4VaUPzSdX8XorPE3tOE4fB8KxriEC0h1FhSa7ZarnFsY0eEQ 9V7EWkCQFcTmQ== From: Marek Vasut To: openembedded-devel@lists.openembedded.org Cc: Marek Vasut , Christophe Chapuis , Khem Raj , Martin Jansa Subject: [meta-oe][PATCH 1/3] lvgl: Drop superfluous ALLOW_EMPTY Date: Fri, 22 Mar 2024 21:49:13 +0100 Message-ID: <20240322204951.43007-1-marex@denx.de> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 ; Fri, 22 Mar 2024 20:50:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/109527 This ALLOW_EMPTY was a workaround for LVGL built as static library. The lvgl is now built as shared library, drop this remnant. Signed-off-by: Marek Vasut --- Cc: Christophe Chapuis Cc: Khem Raj Cc: Martin Jansa --- meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb index fc967e6d1..304068399 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb @@ -21,8 +21,6 @@ inherit cmake EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON" S = "${WORKDIR}/git" -ALLOW_EMPTY:${PN} = "1" - PACKAGECONFIG ??= "drm" require lv-conf.inc From patchwork Fri Mar 22 20:49:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 41390 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 95B5ACD11DF for ; Fri, 22 Mar 2024 20:50:15 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by mx.groups.io with SMTP id smtpd.web10.6178.1711140611104419236 for ; Fri, 22 Mar 2024 13:50:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@denx.de header.s=phobos-20191101 header.b=jMsd//TW; spf=pass (domain: denx.de, ip: 85.214.62.61, mailfrom: marex@denx.de) Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9C0FB87F50; Fri, 22 Mar 2024 21:50:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1711140609; bh=Cbw4YZwcHcuo75uyOJOOVt9u+pEuG7XQmo9aKXQFvMw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jMsd//TWOtyzKXqePJfXjWI7Y25wVzQN7mx15mil7Ai1AZ8Vv0SH3W679XXprvhub weatDgbrQXPz5+Cm54AhqgwYlK/33JT70QO/kGWKWOBsItxDALbJ4hohx5qakilVW5 fylQSEdJTa5sjaUpVRf4IQWTHnQejBQshvhH/o7sDO85csz7+HJ6WIfqQt3uQM0oXk yZpa30+HbqI3z+rjjmSKTc1qdjZcPZChB953huqP56W7EAKL+qDGg4BW1puyQUyavi KJTqGRHQGHmFi4zjezqG8DDzMLIAVAO9ksZI2rwnF6Ty7Qa9LPwnhQYWyHmUpjnr5d JylIB7+2YQ9Lw== From: Marek Vasut To: openembedded-devel@lists.openembedded.org Cc: Marek Vasut , Christophe Chapuis , Khem Raj , Martin Jansa Subject: [meta-oe][PATCH 2/3] lvgl: Drop unnecessary PV append Date: Fri, 22 Mar 2024 21:49:14 +0100 Message-ID: <20240322204951.43007-2-marex@denx.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240322204951.43007-1-marex@denx.de> References: <20240322204951.43007-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 ; Fri, 22 Mar 2024 20:50:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/109528 The PV has been appended because the source has been pulled from git as of specific revision past 9.0.1 release of LVGL. The current source is pulled as of tagged release 9.1.0, drop the extra git suffix. Signed-off-by: Marek Vasut --- Cc: Christophe Chapuis Cc: Khem Raj Cc: Martin Jansa --- meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb | 1 - meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb | 1 - 2 files changed, 2 deletions(-) diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb index 542b70ea2..2bf56e293 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb @@ -17,7 +17,6 @@ SRC_URI = "\ SRCREV_demo = "dccc6a1ca48372aa993dbea7a8e17dec6f42df6a" SRCREV_lvgl = "e1c0b21b2723d391b885de4b2ee5cc997eccca91" SRCREV_FORMAT = "demo_lvgl" -PV .= "+git${SRCPV}" EXTRA_OEMAKE = "DESTDIR=${D}" diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb index 304068399..353d0002f 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb @@ -14,7 +14,6 @@ SRC_URI = "\ file://0007-fix-cmake-generate-versioned-shared-libraries.patch \ " SRCREV = "e1c0b21b2723d391b885de4b2ee5cc997eccca91" -PV .= "+git${SRCPV}" inherit cmake From patchwork Fri Mar 22 20:49:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 41389 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 8F6A2C54E71 for ; Fri, 22 Mar 2024 20:50:15 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by mx.groups.io with SMTP id smtpd.web11.6136.1711140611299167860 for ; Fri, 22 Mar 2024 13:50:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@denx.de header.s=phobos-20191101 header.b=XZmukxyu; spf=pass (domain: denx.de, ip: 85.214.62.61, mailfrom: marex@denx.de) Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 96E2487FA3; Fri, 22 Mar 2024 21:50:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1711140609; bh=by+cC6VWym+xJjBnma2b4CzXP7hZF/5+09S0VyifsmE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XZmukxyuXXbha9OcGVUTZmydn1kwmp4lZB0jCywUNJMiiMRABWwpjhIBvhEsCT6uC JERywmJTLPCg3nGxiABJ+qjn4wUh3EsaBPTeivgpyQaPguY3lOLPcNOor1IP5AUetB znFXBkDH/zQnfnExQiidlFBi9aumycF0zlNiIocn+PW+qdjDUCRM1PA6lmxRnJ6xbX 02cvZN5eg/LvbF6jzBQybd3K1+GWD76B29V+pZ1sFDWAV5uYpQH4n1L/FCvCKTINcC WCO/vbjWcOB8VP/WZkzTykzOwF3NP4iiV4wmEaXYUCM828wcLgpihlskp/5ORvjaz0 XT7fBpJz8TnoA== From: Marek Vasut To: openembedded-devel@lists.openembedded.org Cc: Marek Vasut , Christophe Chapuis , Khem Raj , Martin Jansa Subject: [meta-oe][PATCH 3/3] lvgl: Deduplicate PACKAGECONFIG into lv-conf Date: Fri, 22 Mar 2024 21:49:15 +0100 Message-ID: <20240322204951.43007-3-marex@denx.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240322204951.43007-1-marex@denx.de> References: <20240322204951.43007-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 ; Fri, 22 Mar 2024 20:50:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/109529 Move the default PACKAGECONFIG setting from both recipes into lv-conf.inc to avoid duplication. No functional change. Signed-off-by: Marek Vasut --- Cc: Christophe Chapuis Cc: Khem Raj Cc: Martin Jansa --- meta-oe/recipes-graphics/lvgl/lv-conf.inc | 2 ++ meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb | 1 - meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-graphics/lvgl/lv-conf.inc index 8596790ae..8fd3412c0 100644 --- a/meta-oe/recipes-graphics/lvgl/lv-conf.inc +++ b/meta-oe/recipes-graphics/lvgl/lv-conf.inc @@ -1,3 +1,5 @@ +PACKAGECONFIG ??= "drm" + PACKAGECONFIG[drm] = ",,libdrm" PACKAGECONFIG[fbdev] = ",," PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image" diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb index 2bf56e293..3fc3f9286 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb @@ -20,7 +20,6 @@ SRCREV_FORMAT = "demo_lvgl" EXTRA_OEMAKE = "DESTDIR=${D}" -PACKAGECONFIG ??= "drm" LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0" LVGL_CONFIG_LV_USE_LOG = "1" LVGL_CONFIG_LV_LOG_PRINTF = "1" diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb index 353d0002f..0ebd6ec42 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb @@ -20,7 +20,6 @@ inherit cmake EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON" S = "${WORKDIR}/git" -PACKAGECONFIG ??= "drm" require lv-conf.inc do_install:append() {