From patchwork Fri Jan 27 05:54:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18722 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 5F560C61DA7 for ; Fri, 27 Jan 2023 05:54:48 +0000 (UTC) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web11.96460.1674798884013357508 for ; Thu, 26 Jan 2023 21:54:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GR2ibsQk; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id e10-20020a17090a630a00b0022bedd66e6dso7592818pjj.1 for ; Thu, 26 Jan 2023 21:54:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lXpb91oY7OYnCRArreNCc8eVWPBYwVypOOjEldrHTBo=; b=GR2ibsQk1Uz+N88+WCL/R57tZJVrLSzWLdaGH9RUlCBEMnoyApc9lia3oaGFjLhRY0 GFHd7nTRBq+R9ZSzP5zeu2ZnbsxNexecxMmBfS9XKeumSpFOHXGp0SrKUxpk2l6dwRk2 uD8g63a2iQGu+ztMF2EEpX/UGrnCeaJBS1EWPmDuxChUEa8pVThzt2Tqrqj5dZyyeqV3 n3cpAiQPIcl8GIrAJ0kEXWexargQtuW4DmAWLsdjNL0WxFLw7haRcR1lL7O84TFQt9j/ iiqIFhMmiXmNH/5A4t9fSGfa9sxIbQ9HGiZ5VeJXQZD1DdBdbOT0YeQbLgt02oyaRYmx JCDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lXpb91oY7OYnCRArreNCc8eVWPBYwVypOOjEldrHTBo=; b=TeMyJkiULe7BvSKFnxSFsRSilStyNQ2UUnz5Fz/shEie/AZF87hhoEVPjmOqK4VUqL E7gzblWPzfUcHsiijjDnoSZBzT17C+5fqp43IwuKu43SKpwuFycYHHK6Q9aUv5O5dHzW 3URdISNPZpCfqun6CuVEpOX+plQLZFz9UM9kWISr25ez5qx5qqLIBhds9IAowzCOB68V TOAmObia95O6q0ppxo3NhJrKoqM/gC53NDhxF9fY9KY/wItWsZ+foX45dmxDAPmEdY7D zL7zVE1D3wiWS4Pq1lyXWhzIj9aIOZ4twy6aQmxpdOc3gyBcQnzZm7zg6GSRd6/DIpXt 47PQ== X-Gm-Message-State: AO0yUKX61q8tqBn6GaRGtiHaIDYhnFtthEdPNR9InB56WD82/MYhGlMT mKExocH9e1sWFhVq5HIyMQ/Qeov+oMvydQ== X-Google-Smtp-Source: AK7set+pYM4cBmJQTDubBvpUZMRLsEjg5mb4uN0knnCtSi5eerEnlqgfYhzWgq/725CE10zSFYl3NQ== X-Received: by 2002:a05:6a20:d48d:b0:b8:76c7:bdda with SMTP id im13-20020a056a20d48d00b000b876c7bddamr4717206pzb.60.1674798882798; Thu, 26 Jan 2023 21:54:42 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:42 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 01/10] poco: Do not use std::atomic Date: Thu, 26 Jan 2023 21:54:31 -0800 Message-Id: <20230127055440.2108933-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.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 ; Fri, 27 Jan 2023 05:54:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100805 They are not implemented for all arches e.g. RISCV on gcc 13 yet Fixes riscv64-yoe-linux/gcc/riscv64-yoe-linux/13.0.1/ld: lib/libPocoFoundation.so.94: unde fined reference to `__atomic_exchange_1' Signed-off-by: Khem Raj --- ...tomic-int-instead-of-std-atomic-bool.patch | 60 +++++++++++++++++++ meta-oe/recipes-support/poco/poco_1.12.4.bb | 1 + 2 files changed, 61 insertions(+) create mode 100644 meta-oe/recipes-support/poco/poco/0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch diff --git a/meta-oe/recipes-support/poco/poco/0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch b/meta-oe/recipes-support/poco/poco/0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch new file mode 100644 index 0000000000..b06135222a --- /dev/null +++ b/meta-oe/recipes-support/poco/poco/0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch @@ -0,0 +1,60 @@ +From 4cbb225811205b51b65371d0d8abc2d2af8233b6 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 14:56:36 -0800 +Subject: [PATCH] Use std::atomic instead of std::atomic + +GCC on RISCV does not yet support inline subword atomics [1] +Therefore avoid them until fixed + +Upstream-Status: Pending + +[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338 + +Signed-off-by: Khem Raj +--- + Foundation/include/Poco/AsyncChannel.h | 2 +- + Foundation/src/AsyncChannel.cpp | 5 ++--- + 2 files changed, 3 insertions(+), 4 deletions(-) + +diff --git a/Foundation/include/Poco/AsyncChannel.h b/Foundation/include/Poco/AsyncChannel.h +index 190bae7dd..d73ea6c72 100644 +--- a/Foundation/include/Poco/AsyncChannel.h ++++ b/Foundation/include/Poco/AsyncChannel.h +@@ -111,7 +111,7 @@ private: + NotificationQueue _queue; + std::size_t _queueSize = 0; + std::size_t _dropCount = 0; +- std::atomic _closed; ++ std::atomic _closed; + }; + + +diff --git a/Foundation/src/AsyncChannel.cpp b/Foundation/src/AsyncChannel.cpp +index 37cdec477..e829b180c 100644 +--- a/Foundation/src/AsyncChannel.cpp ++++ b/Foundation/src/AsyncChannel.cpp +@@ -48,11 +48,10 @@ private: + Message _msg; + }; + +- + AsyncChannel::AsyncChannel(Channel::Ptr pChannel, Thread::Priority prio): + _pChannel(pChannel), + _thread("AsyncChannel"), +- _closed(false) ++ _closed(0) + { + _thread.setPriority(prio); + } +@@ -95,7 +94,7 @@ void AsyncChannel::open() + + void AsyncChannel::close() + { +- if (!_closed.exchange(true)) ++ if (!_closed.exchange(1)) + { + if (_thread.isRunning()) + { +-- +2.39.1 + diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb b/meta-oe/recipes-support/poco/poco_1.12.4.bb index f66a272524..51bd5611fb 100644 --- a/meta-oe/recipes-support/poco/poco_1.12.4.bb +++ b/meta-oe/recipes-support/poco/poco_1.12.4.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc" DEPENDS = "libpcre2 zlib" SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \ + file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \ file://run-ptest \ " SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9" From patchwork Fri Jan 27 05:54:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18720 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 6B920C61DB3 for ; Fri, 27 Jan 2023 05:54:48 +0000 (UTC) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mx.groups.io with SMTP id smtpd.web11.96461.1674798884372085416 for ; Thu, 26 Jan 2023 21:54:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DIMcckHQ; spf=pass (domain: gmail.com, ip: 209.85.216.44, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f44.google.com with SMTP id m11so3647060pji.0 for ; Thu, 26 Jan 2023 21:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E3zBRjazlwkDdJ1BQrd//sITmgiOW5QFmk7X/40pztk=; b=DIMcckHQWn0ld0tFPE7JieALNMTrr/yJr7DOhNDP78chjPRDnqu5WTu6MPFd+LnGbw GmGYCQQeW7deUqADymvrTBuHxxV8pIUfd+bblx/xt6dnLlr82w661oZJaIDxGNwhJHXh Q208Ytjhvl5jVTYtiO+UgPjY3ZS6JCcORe7mc5ef7SKx51jYh6gnf7bmeaWUHTq5xV+x ROx606d018181HTj6HDx2sSFW0SxwC/zsDPSoSgAMtFaDicSylQhz/WyoHT1TbyDAF7N NxiSZ8gElcymdMx6PC4rKy2nt2RKRThs/BL8UNJEC9TwrO+Icht6vCz4K+UQvSUhPidl CVwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E3zBRjazlwkDdJ1BQrd//sITmgiOW5QFmk7X/40pztk=; b=wQrwk+o3MLu7vQ304KMq2mV83zddaa1qHn0XXGdv13d3iZlt4YO3jACqwwI2SaxhBC bAgf7J+H6aQrV0MSPl2TFyuVWH+wC6xxTXLl55XRGBGzSZev2LRR/TAsiDxH2iCHekHg 5C1iWr/mQKJuKQyirrAsGxLImA0tMjUm5tnr/TRtGfu85lZMx1FeMfckDqwzC4WcQjCx iAP2KiofNpXHfDHLjiCpDRYNQmx+z6Kmsgx5PAvA2hQ8xvFPWMe5nLNE2EEjUjep3Jp/ 8GZoDwO8NXNFUrODTF++ioELTK87iBYcS0JAeXox8/wQbF3Byd4LETN8YzsLXd4aUzvT bO5A== X-Gm-Message-State: AFqh2kqv+ZajTYLrBYOY1smpo2DJ754FuLJcqEA9NY4A+SfGvrSO2CwP zRpUjfqgqJfO+kFQrYwzrhjDZnqNu96lKg== X-Google-Smtp-Source: AMrXdXtkEEOxH7nT+Vs9R6IFHMW2bDKjoOQwP9qJ9dZiegnyMYnGFSXN3UpaRZ+E7b8/i6EG/FZqIQ== X-Received: by 2002:a17:902:d888:b0:192:991f:d8e8 with SMTP id b8-20020a170902d88800b00192991fd8e8mr38688169plz.53.1674798883540; Thu, 26 Jan 2023 21:54:43 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:43 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 02/10] libwebsockets: Fix build with gcc13 Date: Thu, 26 Jan 2023 21:54:32 -0800 Message-Id: <20230127055440.2108933-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100806 Signed-off-by: Khem Raj --- ...int-mismatch-in-lws_tls_server_abort.patch | 32 +++++++++++++++++++ .../libwebsockets/libwebsockets_4.3.2.bb | 3 +- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-Fix-Werror-enum-int-mismatch-in-lws_tls_server_abort.patch diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-Fix-Werror-enum-int-mismatch-in-lws_tls_server_abort.patch b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-Fix-Werror-enum-int-mismatch-in-lws_tls_server_abort.patch new file mode 100644 index 0000000000..41d004d9ff --- /dev/null +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-Fix-Werror-enum-int-mismatch-in-lws_tls_server_abort.patch @@ -0,0 +1,32 @@ +From 722e44cb5b74cae206f47a6dc0d985eba8ed1b2e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 17:17:49 -0800 +Subject: [PATCH] Fix -Werror=enum-int-mismatch in + lws_tls_server_abort_connection() + +GCC 13 is findinf this function signature mismatch. + +../git/lib/tls/openssl/openssl-server.c:713:1: error: conflicting types for 'lws_tls_server_abort_connection' due to enum/integer mismatch; have 'int(struct lws *)' [-Werror=enum-int-mismatch] + +Upstream-Status: Submitted [https://github.com/warmcat/libwebsockets/pull/2824] +Signed-off-by: Khem Raj +--- + lib/tls/openssl/openssl-server.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/tls/openssl/openssl-server.c b/lib/tls/openssl/openssl-server.c +index f2e77324f..43d65e030 100644 +--- a/lib/tls/openssl/openssl-server.c ++++ b/lib/tls/openssl/openssl-server.c +@@ -699,7 +699,7 @@ lws_tls_server_new_nonblocking(struct lws *wsi, lws_sockfd_type accept_fd) + return 0; + } + +-int ++enum lws_ssl_capable_status + lws_tls_server_abort_connection(struct lws *wsi) + { + if (wsi->tls.use_ssl) +-- +2.39.1 + diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb index d401a187e2..67269b05af 100644 --- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb @@ -7,7 +7,8 @@ DEPENDS = "zlib" S = "${WORKDIR}/git" SRCREV = "b0a749c8e7a8294b68581ce4feac0e55045eb00b" -SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.3-stable" +SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.3-stable \ + file://0001-Fix-Werror-enum-int-mismatch-in-lws_tls_server_abort.patch" UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases" UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" From patchwork Fri Jan 27 05:54:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18718 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 6BCE8C636BD for ; Fri, 27 Jan 2023 05:54:48 +0000 (UTC) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web11.96460.1674798884013357508 for ; Thu, 26 Jan 2023 21:54:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A8nbSMMI; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id e10-20020a17090a630a00b0022bedd66e6dso7592866pjj.1 for ; Thu, 26 Jan 2023 21:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5O9nje3BDhw2Gu0fBw9hn9L5Vel8kyIMTQN82IWaPiQ=; b=A8nbSMMIG6AVw/WG3NO7GMY0D5mac9XRnLs43v/VfzUPNXNURKJajFCKV3o4/Fk+BM GNSWM47rc29EWneB8B/OlWtpGGeX6mXlIkkbe/Usr843jQMeod9YPnsLX2ejepxzjEhj Ss4vCz3ZPjRGJfVzdOXGkmCUtsUgvLk4Fh8/491xy0FCd+Qc6hfil8oBB4951fV618/o 5AohV9LkGo+yTPHYaWH6jrN4x3MoLD0xI/9QfPn19dyF17Bo8TQulEFhb/fCY5I4NZ+k hqkW9MYWFKZ8mfJOQ4d0EJkBSzLmzq9qpyH1vbCgSGGwjTt6lw53DbdiiHOcmdQCCCWV xqMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5O9nje3BDhw2Gu0fBw9hn9L5Vel8kyIMTQN82IWaPiQ=; b=ijEqrZVDGjikVrJB3eWbACpo06N5MtN0Az+jj1O1tnXAWQ4jvsS6wG3WUNLrnRyIak oPiKkrupQ2XYM7J+8hgG0ggdK9WJrdQXiLAwjgUS4/36ySvgVfkPo7xiIgM7un9FU6sB HPZGU9S/e4OnamZTMyIIdA/KuZZZB4hDq5h2QQQNMsO2cHpFXN5JA5Kkw4PnYKgLHJ19 /dF1AqagPWVxeVH0wXh5xqab/8MD058o3amyQOLVHkdfI9HMYTDYvdxi6Qj+WpibqR3J rmPygyXWBzJjBtjIuPNU6gqFnYGl6ZJbN8qdpUWHR28NFPtjMHq02ECbD5kOQXPkJL4Z D5SA== X-Gm-Message-State: AFqh2kojrNpQndV4b/6gWSEtExPwvJJsTskAShJj2QD3rdtQqs/CyQq3 6iIIgqHw0Rv+Plc+JKkIM54JCt/yyiPhNw== X-Google-Smtp-Source: AMrXdXsQb9SdExwp/D3Gnyw1k15RB/IePb81ppyZGIBytZKDHM+jORez3uGZIkn/4zk7L2k4oDW3Ig== X-Received: by 2002:a17:902:c948:b0:186:def0:66f2 with SMTP id i8-20020a170902c94800b00186def066f2mr49034824pla.11.1674798884396; Thu, 26 Jan 2023 21:54:44 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:44 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 03/10] v4l-utils: Fix build with gcc13 Date: Thu, 26 Jan 2023 21:54:33 -0800 Message-Id: <20230127055440.2108933-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100807 Signed-off-by: Khem Raj --- ...nclude-missing-cstdint-for-uintptr_t.patch | 31 +++++++++++++++++++ .../v4l2apps/v4l-utils_1.23.0.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-media-info-Include-missing-cstdint-for-uintptr_t.patch diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-media-info-Include-missing-cstdint-for-uintptr_t.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-media-info-Include-missing-cstdint-for-uintptr_t.patch new file mode 100644 index 0000000000..032bf00c7d --- /dev/null +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-media-info-Include-missing-cstdint-for-uintptr_t.patch @@ -0,0 +1,31 @@ +From 1d9ce7cd799770981043f656373cbd1bf7558b9a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 17:00:00 -0800 +Subject: [PATCH] media-info: Include missing for uintptr_t + +gcc 13 moved some includes around and as a result is no longer +transitively included [1]. Explicitly include it. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Upstream-Status: Submitted [https://lore.kernel.org/linux-media/20230127010741.3883339-1-raj.khem@gmail.com/] +Signed-off-by: Khem Raj +--- + utils/common/media-info.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/utils/common/media-info.cpp b/utils/common/media-info.cpp +index 53e132f5..1a25a4b6 100644 +--- a/utils/common/media-info.cpp ++++ b/utils/common/media-info.cpp +@@ -3,6 +3,7 @@ + * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved. + */ + ++#include + #include + #include + #include +-- +2.39.1 + diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb index 383be4a543..b42300f096 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb @@ -32,6 +32,7 @@ SRC_URI = "\ file://0003-original-patch-export-mediactl-headers.patch \ file://0004-Do-not-use-getsubopt.patch \ file://0005-configure.ac-Makefile.am-Support-building-without-NL.patch \ + file://0001-media-info-Include-missing-cstdint-for-uintptr_t.patch \ " SRCREV = "fd544473800d02e90bc289434cc44e5aa8fadd0f" From patchwork Fri Jan 27 05:54:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18721 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 5EE63C61DA3 for ; Fri, 27 Jan 2023 05:54:48 +0000 (UTC) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web10.96374.1674798886088706448 for ; Thu, 26 Jan 2023 21:54:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YtlP0cwk; spf=pass (domain: gmail.com, ip: 209.85.214.175, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f175.google.com with SMTP id k13so4039777plg.0 for ; Thu, 26 Jan 2023 21:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wHJmXwTcBWcKpcrEaf1p4EwEgSDghiyJDjn6TwsOU9k=; b=YtlP0cwkadUzH7YJIqi+/PXKDVfGp+4VLJ13ZcT9GexvUvIhK79VYLaRsSmAmnA+ZK 4q57fsSLuDUTm15T8IVkbeOB/gtuDnqT09qNR6dXUZreO5AUrmi1tvho1niy30Hr2qkH nnZx4gH2VEsKuZRaogYgFayRK9hipxeWgRWpcWwkKmV1OSfir5pUl7CsqTxztMHsBo4h CgpKPFZZYFEfwQMng4PN4FN5wd0oYRL9DyPEsprV5BTtlhk63y4BAbrDtQdAoYRaGmWK FDHPuzl1Wm1VF5BEprXIgbs1QQNnVw1a2TG+8SGRHXb+O4DyzAx3ot2eYr502QkzAP8p H6uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wHJmXwTcBWcKpcrEaf1p4EwEgSDghiyJDjn6TwsOU9k=; b=pZBYhRkF2z0b58k4Oh8jd5zBkVymaY0EkyLboWz4w7llFsaq87OfTDPrhO+5IO1ZKD yuz5+ZJv+L8kmDAUiY47+yqvTNKA3l7pYP/kz9Z4K9jfzdje64NONhedBbKWXMjiRrvL uFE7izmtc9TZgQXcLHTAYwInxDqpq4R+PTObDw78E5woWgGT/+u/MLgSPAVq1WmxQ7So v3tYFfW950DEKBh0wF3/hLMSiTy/wcObyOqLExmwBjnDpZX86db/6gpxFSCuwiQTTnmf wzIL0Jym/4I2yIprH/3SVLRCW4Ym25r/z/BGDKxrCNFSI/x9XA2Di3ey2Z8R/hKiQerJ +6aQ== X-Gm-Message-State: AO0yUKUpcbLMHybhE8xk47M+sVD6tAL6I374tCKmhwiHCajiZBHX67QP mVvnL4FHewtj1aeRSfMABXl3JoKRg+z5Xw== X-Google-Smtp-Source: AK7set87UX+y4ZHXjJnbDqDHdc5ytxx+5Da13J8CFyr+7T4Dga+tSgVuxnQxy7LvCAUyk/q/zed5dQ== X-Received: by 2002:a17:902:e747:b0:196:13cd:19a with SMTP id p7-20020a170902e74700b0019613cd019amr15841534plf.6.1674798885321; Thu, 26 Jan 2023 21:54:45 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:44 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 04/10] proj: Upgrade to 9.1.1 release Date: Thu, 26 Jan 2023 21:54:34 -0800 Message-Id: <20230127055440.2108933-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100808 Signed-off-by: Khem Raj --- .../recipes-navigation/proj/{proj_9.1.0.bb => proj_9.1.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-navigation/proj/{proj_9.1.0.bb => proj_9.1.1.bb} (90%) diff --git a/meta-oe/recipes-navigation/proj/proj_9.1.0.bb b/meta-oe/recipes-navigation/proj/proj_9.1.1.bb similarity index 90% rename from meta-oe/recipes-navigation/proj/proj_9.1.0.bb rename to meta-oe/recipes-navigation/proj/proj_9.1.1.bb index 218f083969..6ce1c88772 100644 --- a/meta-oe/recipes-navigation/proj/proj_9.1.0.bb +++ b/meta-oe/recipes-navigation/proj/proj_9.1.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27445198ba1500f508fce2b183ce0ff" DEPENDS = "sqlite3 sqlite3-native" SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.gz" -SRC_URI[sha256sum] = "81b2239b94cad0886222cde4f53cb49d34905aad2a1317244a0c30a553db2315" +SRC_URI[sha256sum] = "003cd4010e52bb5eb8f7de1c143753aa830c8902b6ed01209f294846e40e6d39" inherit cmake lib_package From patchwork Fri Jan 27 05:54:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18719 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 5D3D8C54EAA for ; Fri, 27 Jan 2023 05:54:48 +0000 (UTC) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.web10.96375.1674798886930880157 for ; Thu, 26 Jan 2023 21:54:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h5wyOhVI; spf=pass (domain: gmail.com, ip: 209.85.216.43, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f43.google.com with SMTP id h5-20020a17090a9c0500b0022bb85eb35dso3908235pjp.3 for ; Thu, 26 Jan 2023 21:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lYDmqExTYmpuTw28j2yaYj1pQt9rIzYMj22P0NwP0u0=; b=h5wyOhVIQtyvxTYQcjDFSPwiWGnGrzTqreGgYGHzTnn677KNphYpLSuTp6MHKyj43H LLXaeI2sWtQz0n1Wi+JjrklQjgQxnhLeBRlgQ0X0IuLC9bM2fBssp+MDVOpk64zHyvjF 72LBikjdIifKPC8mgCfHz/DVfxKdww1APLxMXrJUh0kJu4kH+DOo2GhUV4JivTu6Ppz6 y9DloIvRroMAV9BH6n/vm0jGThjuIbgmbKZdvC+PpL76qwPxJNhhkbxCnvmYW/wk168x AzAofDYxa7F6DQBmcAHk0VBVbIWtDt0tdurQ+D7+z0fcOF9t4MLxIfYIL+8okqJgLmWU b/cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lYDmqExTYmpuTw28j2yaYj1pQt9rIzYMj22P0NwP0u0=; b=qCLzv0rHSLgrbUtrfsDomQkkwFzbdIsmF6rZ0wS+F9+DiXr83y5likq/GuUvEXRZJ2 Rauwit6f+uBy3PyiLC6sqD27xhNBrZTFElr8spja3V7aAukt2a7zikKe6I88RyS3Z8+i WvWLxe4tZNdW1cesDeztKX+nuheknrr6N90Fdt7FvtLF3S4K/IlFunGBUBdbwmql+nRn PSG2Ow/bh7S8/hOBnkeChAReVyGqqXagDzbIIhlTmtD+TgH43zc//oBvpCggd5c4mAc+ J1qSIYqG9WOPMXED4KFRrQkR70O7QfAdozmZQiOlrS8TwdiB6Pdb5PZSDsuKnagWa7nQ G6RA== X-Gm-Message-State: AO0yUKWo121GvSdOhI/I9RwMeX/EIWHqcBI00mcVgGlVNV9KhJcHLjw4 tAcawNDk++PmuhS2AZxgpzx3k11LIErknw== X-Google-Smtp-Source: AK7set+W0ZwJyQcp2WbzWpwhk4+675VMYlrkfSogCVE6FQw35ACpNY/sMYfblwuFsc/YgtK0hwUgLQ== X-Received: by 2002:a17:902:d2c6:b0:196:1cc3:74d5 with SMTP id n6-20020a170902d2c600b001961cc374d5mr14086788plc.52.1674798886083; Thu, 26 Jan 2023 21:54:46 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:45 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 05/10] mpd: Upgrade to 0.23.12 release Date: Thu, 26 Jan 2023 21:54:35 -0800 Message-Id: <20230127055440.2108933-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100809 Signed-off-by: Khem Raj --- .../musicpd/{mpd_0.23.9.bb => mpd_0.23.12.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-multimedia/recipes-multimedia/musicpd/{mpd_0.23.9.bb => mpd_0.23.12.bb} (98%) diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.9.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.12.bb similarity index 98% rename from meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.9.bb rename to meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.12.bb index e63c1b5e19..13938444c8 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.9.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.12.bb @@ -21,7 +21,7 @@ DEPENDS += " \ SRC_URI = "git://github.com/MusicPlayerDaemon/MPD;branch=v0.23.x;protocol=https \ file://mpd.conf.in \ " -SRCREV = "12147f6d5822899cc4316799b494c093b4b47f91" +SRCREV = "d91da9679801224847c30147f5914785b6f8f240" S = "${WORKDIR}/git" EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-Dsystemd=enabled -Dsystemd_system_unit_dir=${systemd_system_unitdir} -Dsystemd_user_unit_dir=${systemd_system_unitdir}', '-Dsystemd=disabled', d)}" From patchwork Fri Jan 27 05:54:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18724 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 2EB11C61DA3 for ; Fri, 27 Jan 2023 05:54:58 +0000 (UTC) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web10.96376.1674798887982528054 for ; Thu, 26 Jan 2023 21:54:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cTjjsvqw; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id lp10so3608665pjb.4 for ; Thu, 26 Jan 2023 21:54:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dMp9V/BwnFjk3bm/5JB6bQwBJNRIN3vuiRm21Rt21ak=; b=cTjjsvqwflJW0HcNezzmFXPhOKquppt4aC8fS2C/lWI1Ce5mknUY7TuzYW/1IWXrgQ oRLirbKlU/TTpg4iq5aD+ZLjAAE0PJLZaq2ISy1995OTVa5gBjS7i0MoydRRvV18FcNy Amy1tgqJU9j21GjSzQ86eCTcQPo6Je7hrYnSWfZcd1+5+knqAKvYLIKjSAcgZbEDytKH e0U7h7lj/RJyviMxHEFRMetKbHq804+ivBSL9B6T6QisgAUNC09CzZMEyZYsEqArhbLU aeTOUF6qpfzfBWk8eyCI8LkF1cdW3wNKln6yRldI5Zi9B0xBDER1vz5Vabt5+AwpGYCH 0KtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dMp9V/BwnFjk3bm/5JB6bQwBJNRIN3vuiRm21Rt21ak=; b=AAHQ3koTWX9ZD/o6IiRmpiEAOzv4aNslcxYMABCh4/8nVycqza0RG3wjwtT01IJAST KLtOBd1T0NUtxM9W8QkR9aIP+Z2deJhOSYwP0U2CArd6uNmT5wr0oM9ILGPdnlge+Gxf FK/krURGV7hIwrfEImhTz7zy8V4oGShBOn6SGRp4MuOY27UUzenAzkFdWdUpP+nVeU65 CL1wcj+2NDsYL+UVmv/AZHVYxg32yN/nrkqlbidzzx1G9vJRGWU7fPY8BLTPJ3fgvuKg bURdyWzpDygLvGvkI/Wn4v7EWeFnTd/plxV0qx4JeHCbYO3SOM8UFs2PA4FFi8RjfN03 xCwA== X-Gm-Message-State: AO0yUKUddc3txhV6/PSgubKQL+lgEgpD8H8xFk9f+pVuRav0W5yLZcfd /8LWu67hGLHUDJsmuyOmwy1TvyIXyNkBuA== X-Google-Smtp-Source: AK7set+qLWHSRKGUbPXjNx01Xh7PrXFJ+gM0UWuJv7FAx/zU59SDfrIrm86Zv/UQSi6u9oK5Nira4Q== X-Received: by 2002:a17:902:c602:b0:196:35cf:3afb with SMTP id r2-20020a170902c60200b0019635cf3afbmr5171399plr.54.1674798886942; Thu, 26 Jan 2023 21:54:46 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:46 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 06/10] geos: Upgrade to 3.9.4 Date: Thu, 26 Jan 2023 21:54:36 -0800 Message-Id: <20230127055440.2108933-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100810 Merge .inc into .bb Signed-off-by: Khem Raj --- meta-oe/recipes-navigation/geos/geos_3.9.3.bb | 3 --- meta-oe/recipes-navigation/geos/{geos.inc => geos_3.9.4.bb} | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 meta-oe/recipes-navigation/geos/geos_3.9.3.bb rename meta-oe/recipes-navigation/geos/{geos.inc => geos_3.9.4.bb} (81%) diff --git a/meta-oe/recipes-navigation/geos/geos_3.9.3.bb b/meta-oe/recipes-navigation/geos/geos_3.9.3.bb deleted file mode 100644 index fdb72204ea..0000000000 --- a/meta-oe/recipes-navigation/geos/geos_3.9.3.bb +++ /dev/null @@ -1,3 +0,0 @@ -require geos.inc - -SRC_URI[sha256sum] = "f8b2314e311456f7a449144efb5e3188c2a28774752bc50fc882a3cd5c89ee35" diff --git a/meta-oe/recipes-navigation/geos/geos.inc b/meta-oe/recipes-navigation/geos/geos_3.9.4.bb similarity index 81% rename from meta-oe/recipes-navigation/geos/geos.inc rename to meta-oe/recipes-navigation/geos/geos_3.9.4.bb index 484ca9154f..7822cde30d 100644 --- a/meta-oe/recipes-navigation/geos/geos.inc +++ b/meta-oe/recipes-navigation/geos/geos_3.9.4.bb @@ -5,7 +5,8 @@ SECTION = "libs" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "http://download.osgeo.org/geos/geos-${PV}.tar.bz2" +SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2" +SRC_URI[sha256sum] = "70dff2530d8cd2dfaeeb91a5014bd17afb1baee8f0e3eb18e44d5b4dbea47b14" inherit autotools pkgconfig binconfig From patchwork Fri Jan 27 05:54:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18727 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 3A980C636BD for ; Fri, 27 Jan 2023 05:54:58 +0000 (UTC) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mx.groups.io with SMTP id smtpd.web11.96462.1674798888491056513 for ; Thu, 26 Jan 2023 21:54:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MPiiASU2; spf=pass (domain: gmail.com, ip: 209.85.216.52, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f52.google.com with SMTP id z9-20020a17090a468900b00226b6e7aeeaso3934238pjf.1 for ; Thu, 26 Jan 2023 21:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sFcgUD5Nbmsvzf/AlIxGZZvNTsPYaohm8i77YZ53P2Q=; b=MPiiASU23mrorBNVKg3yS8AaJ7THqTOvx8KysR9NiEjqd8mnEUBWknRcNP7Di5EHVu 25Yg+dRof7QFBr+I6cf7LaAbVYg3Jyw8sq79gl6FXzkbKJ5x9XNGPK07PZtSVjkEJMD1 1qzGvvyvB+YuTN+9f4Do77apVygPDFDCSBwyLS5BOjPZAz4yzCVwLuD49JF8EKhu6iqQ h8y2Hu9/s6ofYobhEAF/STHwB4bsJK643msgFAaSQckoT3209FFD1iKaj4ia9eD0gxOJ V7wWmRLivYHuxFOlQJMFuE3TwAh8ALjvDp3JxNLIrOLQje9YqguP2MH2ppl/WnFUXwEi B5vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sFcgUD5Nbmsvzf/AlIxGZZvNTsPYaohm8i77YZ53P2Q=; b=H6xiwE7+jUJyDHif5pye4VWKYqkXyeqpCaU4W2ig09/kvGKU10gcZeW6VnElUCvjbN z4JIeNUPxENDV5HNKzFymtqbMdDxSSAd/MWZWhRQdoL17+PufhMqyt1bUIqwiIlf/nEK BN9EXjYIngAc0shRgMeFeWISjXYYNeAH28WKGp1c6Mrdo/5dvZ4XPbKPfRz/xeb5H1re YK5BrZhj3Myhm+Ln2Gsmb1rU07LgTQq+SnUHT+2NIh6naMOEEGAcMBXBhNKlKlCCdlb+ Z3siwWnuzcWzFijqBB4/6+3S0shfshzU30VJrnZ1LJyOD5PN1bEpbElZxlQzk5p0SDrm jI/g== X-Gm-Message-State: AO0yUKVDyrRjL86HTXe8Z8Zq4ZFsjWIJcwOR8siouruAWKh/AmZEcpab ED5I9nrrDL/OcA+3qI4nbxLN1m63BUyvFw== X-Google-Smtp-Source: AK7set88prYLGF2bxekRVPftIpPl0ruf0AKZ0EoenUueX3dxnJbh2Gp/AK9eU0U4v/edaMMnmZSphQ== X-Received: by 2002:a17:902:c24d:b0:196:3bbb:e9db with SMTP id 13-20020a170902c24d00b001963bbbe9dbmr5495865plg.10.1674798887664; Thu, 26 Jan 2023 21:54:47 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:47 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 07/10] geos: Fix build with gcc13 Date: Thu, 26 Jan 2023 21:54:37 -0800 Message-Id: <20230127055440.2108933-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100811 Signed-off-by: Khem Raj --- .../geos/0001-include-missing-cstdint.patch | 82 +++++++++++++++++++ meta-oe/recipes-navigation/geos/geos_3.9.4.bb | 3 +- 2 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-navigation/geos/geos/0001-include-missing-cstdint.patch diff --git a/meta-oe/recipes-navigation/geos/geos/0001-include-missing-cstdint.patch b/meta-oe/recipes-navigation/geos/geos/0001-include-missing-cstdint.patch new file mode 100644 index 0000000000..6cfd2e81bc --- /dev/null +++ b/meta-oe/recipes-navigation/geos/geos/0001-include-missing-cstdint.patch @@ -0,0 +1,82 @@ +From 11b9ef265a942cb3fdd373520d0c3fce67d3cdf9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 18:05:33 -0800 +Subject: [PATCH] include missing + +gcc 13 moved some includes around and as a result is no longer transitively included [1]. Explicitly include it for uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Upstream-Status: Backport [https://github.com/kraj/geos/commit/0e8d4368b] +Signed-off-by: Khem Raj +--- + include/geos/geomgraph/TopologyLocation.h | 1 + + include/geos/io/WKTWriter.h | 1 + + include/geos/shape/fractal/HilbertCode.h | 1 + + include/geos/shape/fractal/HilbertEncoder.h | 1 + + include/geos/shape/fractal/MortonCode.h | 1 + + 5 files changed, 5 insertions(+) + +diff --git a/include/geos/geomgraph/TopologyLocation.h b/include/geos/geomgraph/TopologyLocation.h +index 4cbbacb3..a3ecd212 100644 +--- a/include/geos/geomgraph/TopologyLocation.h ++++ b/include/geos/geomgraph/TopologyLocation.h +@@ -25,6 +25,7 @@ + #include + #include + ++#include + #include + #include + #include +diff --git a/include/geos/io/WKTWriter.h b/include/geos/io/WKTWriter.h +index c0af8e71..0d60e975 100644 +--- a/include/geos/io/WKTWriter.h ++++ b/include/geos/io/WKTWriter.h +@@ -25,6 +25,7 @@ + + #include + #include ++#include + + #ifdef _MSC_VER + #pragma warning(push) +diff --git a/include/geos/shape/fractal/HilbertCode.h b/include/geos/shape/fractal/HilbertCode.h +index 46012efc..beeb28c6 100644 +--- a/include/geos/shape/fractal/HilbertCode.h ++++ b/include/geos/shape/fractal/HilbertCode.h +@@ -17,6 +17,7 @@ + + #include + #include ++#include + + // Forward declarations + namespace geos { +diff --git a/include/geos/shape/fractal/HilbertEncoder.h b/include/geos/shape/fractal/HilbertEncoder.h +index 61c0010d..0126d3d9 100644 +--- a/include/geos/shape/fractal/HilbertEncoder.h ++++ b/include/geos/shape/fractal/HilbertEncoder.h +@@ -16,6 +16,7 @@ + #pragma once + + #include ++#include + #include + #include + +diff --git a/include/geos/shape/fractal/MortonCode.h b/include/geos/shape/fractal/MortonCode.h +index 6743f87c..ad4a42e7 100644 +--- a/include/geos/shape/fractal/MortonCode.h ++++ b/include/geos/shape/fractal/MortonCode.h +@@ -17,6 +17,7 @@ + + #include + #include ++#include + + // Forward declarations + namespace geos { +-- +2.39.1 + diff --git a/meta-oe/recipes-navigation/geos/geos_3.9.4.bb b/meta-oe/recipes-navigation/geos/geos_3.9.4.bb index 7822cde30d..558acd92bf 100644 --- a/meta-oe/recipes-navigation/geos/geos_3.9.4.bb +++ b/meta-oe/recipes-navigation/geos/geos_3.9.4.bb @@ -5,7 +5,8 @@ SECTION = "libs" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2" +SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2 \ + file://0001-include-missing-cstdint.patch" SRC_URI[sha256sum] = "70dff2530d8cd2dfaeeb91a5014bd17afb1baee8f0e3eb18e44d5b4dbea47b14" inherit autotools pkgconfig binconfig From patchwork Fri Jan 27 05:54:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18725 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 3A810C61DA7 for ; Fri, 27 Jan 2023 05:54:58 +0000 (UTC) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.web11.96463.1674798889474202405 for ; Thu, 26 Jan 2023 21:54:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NYml532w; spf=pass (domain: gmail.com, ip: 209.85.216.54, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f54.google.com with SMTP id b10so3625190pjo.1 for ; Thu, 26 Jan 2023 21:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XPm75PhwJN1SS/fXStfTMg6Rd2ntnkxrbx+9PX7m3xY=; b=NYml532wIgVS1cAJpJZam4VDs706+iRzeUbKsbnTOGDw/UqrHz+mroBbqlQTpr/16n UeWSYkSS8dgs90w0TVGChwQLWxe4cc/g5c2u0FL6x25F2GwabxqyWMGhN8kDJn/pLKdw HAzKF59MV7DNE5jAa4JhZEvSETTGfpNdTKcPotpsqwwIIMzqN93zjqfqWayc+gxkoQfK 2U2c3ZlsCm1P7lHfEYzEi3uFzw1ntJv89G32zMiWtYFGGsx5iSYTxO4ZxAz5+YTgeF2e XLxWf1CO5y4In0/aLh/pw+D+r4f+ZEql0TVj2MWC+1sPbSg5xyIHycmbifAmaVNFiWap b84Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XPm75PhwJN1SS/fXStfTMg6Rd2ntnkxrbx+9PX7m3xY=; b=b2DO0vy10YCGE3Fph+dXopmL+sKKK5Zie1H4n9olY9+VCZ4jh6JCmOllR95dMpnM94 2P3SL8mAbnCDnjfhf+UJyAnIprBeUgNj5fLHCXl0XO0JcWPhI77vcp3x9QqFzFNy2Def Jn8Qwt11+id5FmWfgOqeplo5EBg5IIiNa8YFT5b95HEEoZDTL07RoYPcqxR8vi+bKtBm NEetc/VidFfdG1Z6Bv5SkAEgfnDEwo8maMT3rdgwne2ym/LAllL1vMr99DaATOWGMTVj wL6IxFV6sRs6b3STQNszXqkpoTLGdLoWPkzdEzaE4a6vtiSz9cDsS7TKwTM8eSn9ZOej x2bg== X-Gm-Message-State: AFqh2koI4qvFESx04vBrgPYPQi2CTtNsg+moxSkd/NzXZPMC/xUxU0x3 agNsXq8xkwxUqubiMbMcgomv9L5K4zr1+w== X-Google-Smtp-Source: AMrXdXtZv1L5zCKmjnUL6D393Q9iEEDoFOdr2H/HovI34zInLqI/fT/C1ASXZwUbQyiPGiLdHA5ulQ== X-Received: by 2002:a17:903:1252:b0:194:d9ca:7c56 with SMTP id u18-20020a170903125200b00194d9ca7c56mr33352599plh.58.1674798888555; Thu, 26 Jan 2023 21:54:48 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:48 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 08/10] libinih: Upgrade to version 56 Date: Thu, 26 Jan 2023 21:54:38 -0800 Message-Id: <20230127055440.2108933-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100812 Change SRC_URI to benhoyt fork, it seems to be well maintained. Signed-off-by: Khem Raj --- meta-oe/recipes-support/inih/libinih_56.bb | 14 +++++++++++++ meta-oe/recipes-support/inih/libinih_git.bb | 23 --------------------- 2 files changed, 14 insertions(+), 23 deletions(-) create mode 100644 meta-oe/recipes-support/inih/libinih_56.bb delete mode 100644 meta-oe/recipes-support/inih/libinih_git.bb diff --git a/meta-oe/recipes-support/inih/libinih_56.bb b/meta-oe/recipes-support/inih/libinih_56.bb new file mode 100644 index 0000000000..89d68c6e16 --- /dev/null +++ b/meta-oe/recipes-support/inih/libinih_56.bb @@ -0,0 +1,14 @@ +SUMMARY = "inih (INI Not Invented Here)" +DESCRIPTION = "A .INI file parser written in C that was designed to be small and simple." +HOMEPAGE = "https://github.com/benhoyt/inih" +SECTION = "libs" +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7a95d2af90376e85a05318794e6f202" + +SRC_URI = "git://github.com/benhoyt/inih.git;protocol=https;branch=master" + +S = "${WORKDIR}/git" +SRCREV = "5e1d9e2625842dddb3f9c086a50f22e4f45dfc2b" + +inherit meson pkgconfig diff --git a/meta-oe/recipes-support/inih/libinih_git.bb b/meta-oe/recipes-support/inih/libinih_git.bb deleted file mode 100644 index cf390800b9..0000000000 --- a/meta-oe/recipes-support/inih/libinih_git.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "C and C++ INI Library" -HOMEPAGE = "http://code.google.com/p/inih/" -PV = "0.0+gitr${SRCPV}" -PKGV = "${GITPKGVTAG}" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=dae28cbf28207425e0d0b3eb835f4bde" - -PR = "r3" - -# The github repository provides a cmake and pkg-config integration -SRCREV = "c858aff8c31fa63ef4d1e0176c10e5928cde9a23" -SRC_URI = "git://github.com/OSSystems/inih.git;branch=master;protocol=https \ - file://0001-include-install-header-files-without-prefix-dir-inih.patch \ - " - -UPSTREAM_CHECK_COMMITS = "1" - -S = "${WORKDIR}/git" - -inherit gitpkgv cmake - -# We don't have libinih since we only have static libraries -ALLOW_EMPTY:${PN} = "1" From patchwork Fri Jan 27 05:54:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18723 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 2EADDC54EAA for ; Fri, 27 Jan 2023 05:54:58 +0000 (UTC) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mx.groups.io with SMTP id smtpd.web10.96377.1674798890336744139 for ; Thu, 26 Jan 2023 21:54:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MKbD3dF2; spf=pass (domain: gmail.com, ip: 209.85.214.169, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f169.google.com with SMTP id d9so3966238pll.9 for ; Thu, 26 Jan 2023 21:54:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=npLwqcghuTHByYbQfwpNlwM5spDgDJfPUlSpkDM++xc=; b=MKbD3dF247frRBmSqMygRrIIqbG9XcUE7nE95YcdlMBH+0/OBsZdnNb4bgWCZH25rt +VZzMLAffyJIAi/SFNathkNSFhun7ZgBSGFb6izsACWzhElZCMazgCmlVXlYRTXpU0ly 3rril+vdI+Oh82npvXFyHCXqDm7NttL67e87/vU5VO4LI2vQdaamhgIw5C37s7+5oPQq sChi6rcmiModcWG7Rp8SKfUSEPEf+E8Pk4JF5aTJghxavreIyg5WZgELieRRJraqDSf/ lPR6Ywa2oyMRLz14RKJ8ZaKJ5xgm+kT8G0d9ZYm6QLGGhGhz/aCUDZrT9UqKGMow1ztZ JQ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=npLwqcghuTHByYbQfwpNlwM5spDgDJfPUlSpkDM++xc=; b=f82FpcM3dhL/k6+5f2SkvaA/mXqcdTFicn5/XYpwTVO0kVir17I3azsiA9pJUMQnkS U0+wBkZq3XixjaNgM7BBktZYI22YKvJ0G4x1ASCRfJGT6jtqM+8mFx1U/bclAE+WM1/B CHLlYSfb5avcLJd5DYj+RK4CH/iOYGTemH0R7fST+L+gjZ+Lrdv83fEX6fZI9CPIqp8W l3P2SF2D+/Ti9FNE0GM+EXtflg5Bb68heWF38APotyfgb0bVZ6eFEgngkczsd6w2Um8P 182zD1I9kzq3g+AnQlg83za9KmuerY5wDxNOuJ5L9lsMpBFNd1pPCL2x0iW+OETtylcu n0lw== X-Gm-Message-State: AO0yUKUjTpzOCimnJHn5/1kFfUKuFEzqOHm53Qtz1fNvnGflzlQVtFlK rO/cdpm9eqvEASWBKgig6+JMMCIpYR6s1g== X-Google-Smtp-Source: AK7set/nSoBLMVO5tunEF/g63TYTjN8oxUl8wGmxUcYt2C65HcOuJ3Ed0ldLpVqlYl0v2ELH+M0kTA== X-Received: by 2002:a17:902:d4c3:b0:196:349f:4df3 with SMTP id o3-20020a170902d4c300b00196349f4df3mr8689274plg.50.1674798889524; Thu, 26 Jan 2023 21:54:49 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:49 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 09/10] python3-pybind11: Upgrade to 2.10.3 Date: Thu, 26 Jan 2023 21:54:39 -0800 Message-Id: <20230127055440.2108933-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100813 It gets pkgconfig support which is required by some dependent packages like rwmem Signed-off-by: Khem Raj --- ...11_2.10.0.bb => python3-pybind11_2.10.3.bb} | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) rename meta-python/recipes-devtools/python/{python3-pybind11_2.10.0.bb => python3-pybind11_2.10.3.bb} (68%) diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.10.0.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb similarity index 68% rename from meta-python/recipes-devtools/python/python3-pybind11_2.10.0.bb rename to meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb index 66aefac3d6..bb604982d0 100644 --- a/meta-python/recipes-devtools/python/python3-pybind11_2.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb @@ -5,16 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f" DEPENDS = "boost" -SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ - file://0001-Do-not-strip-binaries.patch \ -" +SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https" -SRCREV = "aa304c9c7d725ffb9d10af08a3b34cb372307020" +SRCREV = "0bd8896a4010f2d91b2340570c24fa08606ec406" S = "${WORKDIR}/git" -BBCLASSEXTEND = "native" - EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" inherit cmake setuptools3 python3native @@ -23,17 +19,17 @@ PIP_INSTALL_DIST_PATH = "${S}/dist" PIP_INSTALL_PACKAGE = "pybind11" do_configure() { - cmake_do_configure + cmake_do_configure } do_compile() { - setuptools3_do_compile - cmake_do_compile + setuptools3_do_compile + cmake_do_compile } do_install() { - setuptools3_do_install - cmake_do_install + setuptools3_do_install + cmake_do_install } BBCLASSEXTEND = "native nativesdk" From patchwork Fri Jan 27 05:54:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 18726 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 39D13C38142 for ; Fri, 27 Jan 2023 05:54:58 +0000 (UTC) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web11.96464.1674798891123466735 for ; Thu, 26 Jan 2023 21:54:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=duyAyAh2; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id j5so3602451pjn.5 for ; Thu, 26 Jan 2023 21:54:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vw/EPCRcySJR2taKRvcF7zGWK+jFTVoAHgAbxUzqYCo=; b=duyAyAh2wBdQuyqRM2s06LtxKHmPhwb2OuWNy/OAgBDXrb5fpMbS1ny9wEpT2sXQUN qZQ6HbDgxRlaTWHghLMVMXCUbY1n5xZmXhT0IaQPu6VobOuiA4fyAAvQrOSO1CyZimU0 HUc/qB4MqgG41U5K0sXkvR8ZzS3cvgyUXDZO3Sin55toep1vkzEikgeAGmdcUoM2TT/o 02P+R/c/UAjZdexdinJ5wj6/W0hjfImzk6EszYwuC3dswDdUu8J+APuh083g1vuhHM2y tOxFS2TII2dtQpzeB5W8kSSYyS70PUimIA3OwbHooMFTR0ni4ZjrZPLP5EhHuUTu09iQ qfwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vw/EPCRcySJR2taKRvcF7zGWK+jFTVoAHgAbxUzqYCo=; b=2pBq6TJ5BLX0hgkk3jQPxU/b8f3mdUujFJZJtVajn+ZxF+TuUJ7VERqXDEiiJsQKsK vHHjt+4XI9lEv0X6pqnoxARRWBJAjSLpuzZhkKvGcHxhq1Kh0t2Si00TzRebOK1TrbeM u80q/Zsv/r84nEz7xHjOdJPUv2AmUBZAScqaPzqNIBbqJODnGmFsnKFFyh7Vmcj4FprI e/gTm4L/Tw74qHAXLYy5+PcqcC1OaJJu6Hclc2GUgJBE73+HujLchP5xGYc3bXznNgfH DwKlh4+Fdh2xZEKbbwSQEM3Z7lWS7UDxy/EsJFwifbAuS3yCnNHfWkalw1x2rmxLfz90 1xiA== X-Gm-Message-State: AFqh2ko6MN2A41M5ye+8D5T0SYYJQs7nAZLi5RlIOBnoIdlQvHpotScQ Q05TfZKA7MJ8+tmSeAR7m7Pl7Dg03Amb3g== X-Google-Smtp-Source: AMrXdXt+zz9l/CxrIhJHFZb/E/jA4uo/y57NIFSjdbbBn1vQ0P+kKjFuJuiKxjG7tNPInpu8ChHZEw== X-Received: by 2002:a17:903:11c7:b0:194:a531:4b39 with SMTP id q7-20020a17090311c700b00194a5314b39mr52077977plh.67.1674798890318; Thu, 26 Jan 2023 21:54:50 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:1cf0::aee3]) by smtp.gmail.com with ESMTPSA id b13-20020a170902b60d00b001947982eb8fsm230074pls.60.2023.01.26.21.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 21:54:50 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 10/10] rwmem: Update to latest Date: Thu, 26 Jan 2023 21:54:40 -0800 Message-Id: <20230127055440.2108933-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127055440.2108933-1-raj.khem@gmail.com> References: <20230127055440.2108933-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 ; Fri, 27 Jan 2023 05:54:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100814 - Switch to using meson - Fix build with gcc13 - Use packageconfig for enabling python support and static libs Signed-off-by: Khem Raj --- .../rwmem/0001-include-missing-cstdint.patch | 32 +++++++++++++++++++ .../recipes-bsp/rwmem/rwmem_1.2.bb | 26 +++++++-------- 2 files changed, 45 insertions(+), 13 deletions(-) create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem/0001-include-missing-cstdint.patch diff --git a/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem/0001-include-missing-cstdint.patch b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem/0001-include-missing-cstdint.patch new file mode 100644 index 0000000000..0560daa4c2 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem/0001-include-missing-cstdint.patch @@ -0,0 +1,32 @@ +From 84e884f99e581515b49d8973538bb17e1e6c0dc0 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 20:45:57 -0800 +Subject: [PATCH] include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Upstream-Status: Submitted [https://github.com/tomba/rwmem/pull/7] +Signed-off-by: Khem Raj +--- + librwmem/helpers.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/librwmem/helpers.h b/librwmem/helpers.h +index a0a738b..8d02c9c 100644 +--- a/librwmem/helpers.h ++++ b/librwmem/helpers.h +@@ -1,6 +1,7 @@ + #pragma once + + #include ++#include + #include + #include + #include +-- +2.39.1 + diff --git a/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb index 7bca24cc0a..8ccdc27a8e 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb @@ -11,25 +11,25 @@ In i2c mode rwmem accesses an i2c peripheral by sending i2c messages to it." LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" -DEPENDS += "python3 python3-pybind11" +DEPENDS += "fmt libinih" PV .= "+git${SRCPV}" -SRCREV_rwmem = "3ec3e421211b58e766651c2e3a3a21acf14a1906" -SRCREV_inih = "4b10c654051a86556dfdb634c891b6c3224c4109" +SRCREV = "8416326777b2aada0706539b8f9f6acefa476b16" -SRCREV_FORMAT = "rwmem_inih" - -SRC_URI = " \ - git://github.com/tomba/rwmem.git;protocol=https;name=rwmem;branch=master \ - git://github.com/benhoyt/inih.git;protocol=https;name=inih;nobranch=1;destsuffix=git/ext/inih \ -" +SRC_URI = "git://github.com/tomba/rwmem.git;protocol=https;name=rwmem;branch=master \ + file://0001-include-missing-cstdint.patch" S = "${WORKDIR}/git" -inherit cmake pkgconfig +inherit meson pkgconfig python3native + +PACKAGECONFIG ?= "python static" +PACKAGECONFIG[python] = "-Dpyrwmem=enabled,-Dpyrwmem=disabled,cmake-native python3 python3-pybind11" +PACKAGECONFIG[static] = "-Dstatic-libc=true,-Dstatic-libc=false," -do_install() { - install -D -m 0755 ${B}/bin/rwmem ${D}${bindir}/rwmem - install -D -m 0644 ${B}/lib/librwmem.a ${D}${libdir}/librwmem.a +do_install:append() { + install -D -m 0644 ${B}/librwmem/librwmem.a ${D}${libdir}/librwmem.a } + +FILES:${PN} += "${libdir}/python3.11/site-packages/pyrwmem"