From patchwork Thu Jul 10 17:38:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66580 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 226EBC83F1B for ; Thu, 10 Jul 2025 17:39:00 +0000 (UTC) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by mx.groups.io with SMTP id smtpd.web11.1131.1752169136505964087 for ; Thu, 10 Jul 2025 10:38:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jIMre/ZB; spf=pass (domain: gmail.com, ip: 209.85.167.49, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-55511c3e203so1171516e87.3 for ; Thu, 10 Jul 2025 10:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752169134; x=1752773934; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=efqe4zVXEXcxQSoF2wZfOCFxuFe2/KQkJYMnJQ+wUXw=; b=jIMre/ZBeQXNOxbWLQjdFAGU6PtLziRFtm1mj7bsYvh162ta8YOftpjgPvEVpN96Nq NcbDuFZKeR+b/bSxwjEXQgmi4U1qoYVugoGQel9fpcxEmSb18KWhc3lRj+lIzm69XMm/ qRae/pm8pxzoBoXIO3JiHrhVWEb1jTWK8CiyybD7b6pAV0AGGCBGWl5bg9SfT8idUydz ZcHSIJq7kFX9B4QwnCo57GWJ6iSlAH/sL+wZN/teZRqTKNaCWVUU0D0W9/3qrZ3lsI5S af5478NgaANxUa/+c7t2EL+uz+gGMJ0IH2V+R0LBxELgdckADZISrIqscsr6+gHAYpdG OjWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752169134; x=1752773934; 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=efqe4zVXEXcxQSoF2wZfOCFxuFe2/KQkJYMnJQ+wUXw=; b=O1oKi+WlGrFx1ciIF/NugUtbNP6BJKYZns8o1uG+1Ne7nq9TLSQU6Suhh+Gkq1kzWv +/Vshgts6V1bqctWeMP9mTz0xA65JYiI0VcwHY3H+cFxRnGDrPQoldv4PJwqyk+fvwFz yks1ePZpDmib+ReuAvmmtzDt/IUGHWMSZ7yJgUzPWGauOkmoTfKuJWL14u2wddYUWfPE UTBHn9WZIUia5/bCYhJn2rl4oqz2AUNbo1NKI8a4R2E9LnEGs0u3kNY2iuLqO97nAQmb h5qqqd3Ot51yHWsSoZriIqwpz/oax5BKWRwE94XxN5rl9RwnmPShdhqkdD1v/Sbq5/q9 pQew== X-Gm-Message-State: AOJu0YwRX77UpwKmX9cKRV0VVCHKKh0cPrMlyzrG2g5+PpumijeGqn0R OQm/+5SOWdRO5oydRo5xtA0+JnzvDJ650by1JnVqHEOaqw85iDIBaH/FamW+1g== X-Gm-Gg: ASbGnctppP7FHO2V4967y9tjxpIC39G7lruCD5mmSlxlASyWcfIhCMTmnRmUmZiONwO Aid/YIMGjxO4M/oiWaSh5qsyByRpa8A+aJmd7V5Ci2Lvo/O9WoQEOZkg3mXHivNq52BvFc6gdqM K9FNORiAUsMGyetsiCEZ33SwaMdEpqrHM/Ie5xlv3BZS6PrLvVkTzqYQZN9Um2p9ZzRTc//iJ1I g5y6CAolMhu2XHVTP0D/doQ3il5OyF0+vdxPUEFANHU40l+u7ON2iHYHcoZhmpFWN73DTGAlNuZ uiDESXID7Nsq7JSmm9yMtMCkp62s5dkxRBgr/Q5vtEA5p7E9dwZE3UDEQoAs5syOAWLKuw1sM6z PF40= X-Google-Smtp-Source: AGHT+IFKAjqnIQf4uZ2/bLNNpSUmrmDQ8aTUEvdvo2H9616EMpaVuN3Gyn6vUKktQ21oYt0kzTWn2g== X-Received: by 2002:a05:6512:1104:b0:553:abe9:c321 with SMTP id 2adb3069b0e04-55935b35c7fmr1309473e87.44.1752169133735; Thu, 10 Jul 2025 10:38:53 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b8185csm431191e87.246.2025.07.10.10.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 10:38:53 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 1/5] physfs: Add patch for CMake 4+ compatibility Date: Thu, 10 Jul 2025 20:38:23 +0300 Message-ID: <20250710173827.43239-1-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 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 ; Thu, 10 Jul 2025 17:39:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118416 Fix: | CMake Error at CMakeLists.txt:12 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument value. Or, use the ... syntax | to tell CMake that the project requires at least but has been updated | to work with policies introduced by or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak --- .../0001-allow-build-with-cmake-4.patch | 43 +++++++++++++++++++ .../recipes-support/physfs/physfs_3.0.2.bb | 3 +- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 meta-filesystems/recipes-support/physfs/physfs/0001-allow-build-with-cmake-4.patch diff --git a/meta-filesystems/recipes-support/physfs/physfs/0001-allow-build-with-cmake-4.patch b/meta-filesystems/recipes-support/physfs/physfs/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..1584921e65 --- /dev/null +++ b/meta-filesystems/recipes-support/physfs/physfs/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From 09f8ca5776f5265571d95454b7307bbee56474da Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Thu, 10 Jul 2025 13:19:24 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:12 (cmake_minimum_required): +| Compatibility with CMake < 3.5 has been removed from CMake. +| +| Update the VERSION argument value. Or, use the ... syntax +| to tell CMake that the project requires at least but has been updated +| to work with policies introduced by or earlier. +| +| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. +| +| +| -- Configuring incomplete, errors occurred! + +Upstream-Status: Backport [https://github.com/icculus/physfs/commit/f7d24ce8486d9229207cca1ff98858fe60ffe583] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4a67c27..f0f0183 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -9,7 +9,7 @@ + # compile, using preprocessor checks for platform-specific bits instead of + # testing in here. + +-cmake_minimum_required(VERSION 2.8.4) ++cmake_minimum_required(VERSION 3.5) + + project(PhysicsFS) + set(PHYSFS_VERSION 3.0.2) +-- +2.43.0 + diff --git a/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb b/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb index 57cfdcdf82..2571d3f6a0 100644 --- a/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb +++ b/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb @@ -8,7 +8,8 @@ inherit cmake PE = "1" -SRC_URI = "http://icculus.org/${BPN}/downloads/${BP}.tar.bz2" +SRC_URI = "http://icculus.org/${BPN}/downloads/${BP}.tar.bz2 \ + file://0001-allow-build-with-cmake-4.patch" SRC_URI[md5sum] = "dc751294aaf59d1359bbe34e693d1d87" SRC_URI[sha256sum] = "304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863" From patchwork Thu Jul 10 17:38:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66579 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 243ADC83F22 for ; Thu, 10 Jul 2025 17:39:00 +0000 (UTC) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mx.groups.io with SMTP id smtpd.web11.1132.1752169138320381942 for ; Thu, 10 Jul 2025 10:38:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Q66Yfq1g; spf=pass (domain: gmail.com, ip: 209.85.167.54, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-55502821bd2so1278683e87.2 for ; Thu, 10 Jul 2025 10:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752169136; x=1752773936; darn=lists.openembedded.org; 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=npn0lmJuh9VBbUYnCUVRxxmZ9OewhaiqJEPZYP6Fo5Y=; b=Q66Yfq1g3nuPgkepwjz9Vj0ysoaivwyODPtBex+2eD50nArU5mgtgkD9Y4N0j5+tPu y6uqkmuq8rk+GS/rsnIhAc9hALRvmd3xtltspnTqR9KX8oEuq/2mYaImWVbEoI7mWQZR VJVw40ZnCpZ0Sd0kqbZv3eeJVMJhanW3I1DRmxcZKy4b7vGB+GTzoaRQROamWeekRAaE 8ZLjKvmiH/PRIYfapK1aa5SvN+Xzbuq9WAtOmilbPXRePb2eFasdRCzdjjpuKo01p5df An4LLEMGXO6Ub6C36JtKabZXBRLV6k68d8pEfzQRJbOuDv2jGH308vPjxOQS4mvLqVTa Gh6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752169136; x=1752773936; 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=npn0lmJuh9VBbUYnCUVRxxmZ9OewhaiqJEPZYP6Fo5Y=; b=IsJAgjTHzMMrPtY0NgkeBfYQuztYCQ6wb1j7g4vz1+0gX7G/K2hPajuGtnIQLsotNQ Q8eS4o/lyHXm1rglJdMryJ7dndlAoK6Fn+UM5HzeIU4Je+BbvnBGi7MGr+544BmZdPjl Sou7I2ZH2c4TnajTedpbZSmAeU5XdexVlSLOuu1T3tGgHnaol0CrQldrLBgCFauw+akP Q9nUifBhc3Ed57pLYWWQH9lmgHwpCihmu4maR3WFU+nLid3tkuhvclPUll5P/hLd72qM KzXB6kEi8VMKS8Gxx+qyvofKz6Ys27HziOdyLLmB7BjK73lhWyh06yRstXuGrmEwZYFA EFEg== X-Gm-Message-State: AOJu0Yy/j7Qew2EWjDPuE9ao0M5NtknRSxsbSzGtCiukxKI6uuQJAaTv rRLH0ASvP98+DndGcrb59m9Z4AT9j4LOYsFcupyr7qYZcAE5QjpicdRGe1sLUg== X-Gm-Gg: ASbGncszqTkEkiKU5EsfczJX0eH15Mvrgrmt0EGXGQ4HRr+nqrbZjirc/WAHjJlTX8M OSGF65ARATSFgt28vZrvlUpIFubJxrpf+xWCnxDO6iadLavA/IHQwxaNX/mjpB6ud4ZATZ2IJNQ Wz8OX3oRR2lhggDAhh+eDqKoMOOUhFu1QiRab2AmRTBhtnS7fAKk79MyiaAwyH2x0e7M8mplvPG 6pclMw0CVRhLVArbUWkZHfLHKw/8gMeQzJLhqxZrsyaNLsF2Os7StOQYJuLpdN04pzyzIBmcT21 YCPHmM7E0uDlbpJE/0qd+OuuNt93Gj4eiBtNfuffr7a4poicZWj/eGudJkY/qhZJiYSz7tYqymz HA7U= X-Google-Smtp-Source: AGHT+IER4CckKqDNTAtOFVhoqVEbkh8D/P22403Dl6AIIjWwgCT1a4PVoyRiWyqG4uVL2RZa2oae+g== X-Received: by 2002:a05:6512:3b89:b0:553:ab51:12a4 with SMTP id 2adb3069b0e04-55935b77ed5mr1404508e87.56.1752169135178; Thu, 10 Jul 2025 10:38:55 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b8185csm431191e87.246.2025.07.10.10.38.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 10:38:54 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 2/5] srt: Add patch for CMake 4+ compatibility Date: Thu, 10 Jul 2025 20:38:24 +0300 Message-ID: <20250710173827.43239-2-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250710173827.43239-1-alperyasinak1@gmail.com> References: <20250710173827.43239-1-alperyasinak1@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 ; Thu, 10 Jul 2025 17:39:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118417 Fix: | CMake Error at CMakeLists.txt:10 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument value. Or, use the ... syntax | to tell CMake that the project requires at least but has been updated | to work with policies introduced by or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak --- .../srt/0002-allow-build-with-cmake-4.patch | 43 +++++++++++++++++++ .../recipes-support/srt/srt_1.4.4.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-multimedia/recipes-support/srt/srt/0002-allow-build-with-cmake-4.patch diff --git a/meta-multimedia/recipes-support/srt/srt/0002-allow-build-with-cmake-4.patch b/meta-multimedia/recipes-support/srt/srt/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..ba281a3a53 --- /dev/null +++ b/meta-multimedia/recipes-support/srt/srt/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From 5a71ca427a10fe89ad48e9dbb6641e4403d81fa7 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Thu, 10 Jul 2025 13:30:25 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:10 (cmake_minimum_required): +| Compatibility with CMake < 3.5 has been removed from CMake. +| +| Update the VERSION argument value. Or, use the ... syntax +| to tell CMake that the project requires at least but has been updated +| to work with policies introduced by or earlier. +| +| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. +| +| +| -- Configuring incomplete, errors occurred! + +Upstream-Status: Backport [https://github.com/Haivision/srt/commit/0def1b1a1094fc57752f241250e9a1aed71bbffd] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 328a433f..448d6254 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,7 +7,7 @@ + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + +-cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) ++cmake_minimum_required (VERSION 3.5 FATAL_ERROR) + set (SRT_VERSION 1.4.4) + + set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/scripts") +-- +2.43.0 + diff --git a/meta-multimedia/recipes-support/srt/srt_1.4.4.bb b/meta-multimedia/recipes-support/srt/srt_1.4.4.bb index 91651fda8e..e72a36f657 100644 --- a/meta-multimedia/recipes-support/srt/srt_1.4.4.bb +++ b/meta-multimedia/recipes-support/srt/srt_1.4.4.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad" SRCREV = "8b32f3734ff6af7cc7b0fef272591cb80a2d1aae" SRC_URI = "git://github.com/Haivision/srt;protocol=https;branch=master \ file://0001-don-t-install-srt-ffplay.patch \ + file://0002-allow-build-with-cmake-4.patch \ " UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" From patchwork Thu Jul 10 17:38:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66578 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 1EBA8C83F17 for ; Thu, 10 Jul 2025 17:39:00 +0000 (UTC) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mx.groups.io with SMTP id smtpd.web11.1133.1752169139369517623 for ; Thu, 10 Jul 2025 10:38:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MMpTkbwe; spf=pass (domain: gmail.com, ip: 209.85.167.53, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-555163cd09aso972087e87.3 for ; Thu, 10 Jul 2025 10:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752169137; x=1752773937; darn=lists.openembedded.org; 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=QLD4Crmkcv63Sp7Jk46k5AHxrlMZNLYqVt5Ct+TAnio=; b=MMpTkbweyw8JkRpJ+5IBwSzEfUWCPxh7IrAmYg3bvt6bAfVUBxcIR6I9Updgdz/vZK O2RcX52YbCQk20uWS7vWKrhT0Mw7ahOc34OcwYlluWnyNAMsvJjsrvtKy8yoIUIBFEYr /ZUWSMbMD34RvJ2HWUA2dWLwCgbdmHOn82r6QdxMDdpca7rBaTzuszU5BPEONX09RUP/ BsLf9oCD2j3CPh2xNDGUXVZMYWCXLIcDXL2FCWk3HBDj7UxaC29tSeeAbdMe6wj/boO5 4aYLi4ogJnTv/Ztu/jV9hfSFL4Ju46G04KzATsWIfeAOxIxGEcEoWrcnfQqnUSxXCY69 8ueA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752169137; x=1752773937; 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=QLD4Crmkcv63Sp7Jk46k5AHxrlMZNLYqVt5Ct+TAnio=; b=FeQvulaCZY5MCTT31P7OgpUzRJdDiY+BEeltJf8Mk+KAewGSlDWaX4kkhnRV+81pPv fL8xdOef0yrlkv+wb9cMrvStpC2iEtaNIWAAeXqVa2NwWmHfov2gvzTACBjFAIln5Dy8 NGzbwiLT/Ndnbwp3vRTCHHWYFNIBs4W7Ql4C0LNwsatxJ+3zke4QjtSKM9a3WYMyxf8Y rnTSp8zawPtgpO6m4kz/3Xnmoh7d6OldfxuAb9c9Fo2zhAxIMHJKkXFvKeUSYbHXSH3h +q+ZUwU7w36go/UMdEC8Q8nP1xg0F3UB4XQsSdE4Lw3KoM43VvaJmKaeQCByhnuTLKda bKKA== X-Gm-Message-State: AOJu0YzjKOJJaCTHKI2v4fd1smR4+v64Y/rm4hij8WsTmdIVk3+TWzpW CLcmOX6FS0Dhaht8+STECIGlsXow7EcQxDInMJ/BKSpiJpx/41Wv/n3cY/9etg== X-Gm-Gg: ASbGncuCMXXc2VgM5xiDkQKYPJYY3a6MD3DMCfPZweIUCpzdmZ9JjmHa7o6Sh435M7m n7MgUUrOGRYSPPbojmTWV1zASNPtcLzo7wXXNasLu8ueUjgnRyFQgcnm5kjx+CCAcp/znX7a/QB Tofpr5HYKDl0IvQEJWOqPrXJqKjmiiBfVjT2xlAgqH2aYZnqnYD6637NSxlJ1yDBWJoj5qVJTT7 jgUm5QJehc9J5GTKj+DQODVZlbqBViUYv32e/qZuBB5OuLq+XgdqnVVvVH9N9LhXzQgM93QpqbP VxKLh/YOTUxYQp1430ap3+gRDiVhRPuLkc3g//vRR7Q/S5UJuoI9IZchvLb27Pz0nXfV9pEonDk SLJQ= X-Google-Smtp-Source: AGHT+IF9Z2B0YnMtqGS/zdVOwbFsFfeMBDeGZ1YvpwUuWkgXsNQb/+42Zb59MHyLx8oLm2xpDQnraw== X-Received: by 2002:a05:6512:2c86:b0:550:e4a2:e0e0 with SMTP id 2adb3069b0e04-558fa9116b3mr2568640e87.44.1752169136776; Thu, 10 Jul 2025 10:38:56 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b8185csm431191e87.246.2025.07.10.10.38.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 10:38:55 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 3/5] cmatrix: Add patch for CMake 4+ compatibility Date: Thu, 10 Jul 2025 20:38:25 +0300 Message-ID: <20250710173827.43239-3-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250710173827.43239-1-alperyasinak1@gmail.com> References: <20250710173827.43239-1-alperyasinak1@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 ; Thu, 10 Jul 2025 17:39:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118418 Fix: | CMake Error at CMakeLists.txt:3 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument value. Or, use the ... syntax | to tell CMake that the project requires at least but has been updated | to work with policies introduced by or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak --- .../0002-allow-build-with-cmake-4.patch | 42 +++++++++++++++++++ .../recipes-extended/cmatrix/cmatrix_2.0.bb | 1 + 2 files changed, 43 insertions(+) create mode 100644 meta-oe/recipes-extended/cmatrix/cmatrix/0002-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-extended/cmatrix/cmatrix/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-extended/cmatrix/cmatrix/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..ab5229a94a --- /dev/null +++ b/meta-oe/recipes-extended/cmatrix/cmatrix/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,42 @@ +From 1099359c94bb3e404446d3624e4400823de27367 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Thu, 10 Jul 2025 13:39:21 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix + +| CMake Error at CMakeLists.txt:3 (cmake_minimum_required): +| Compatibility with CMake < 3.5 has been removed from CMake. +| +| Update the VERSION argument value. Or, use the ... syntax +| to tell CMake that the project requires at least but has been updated +| to work with policies introduced by or earlier. +| +| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. +| +| +| -- Configuring incomplete, errors occurred! + +Upstream-Status: Submitted [https://github.com/abishekvashok/cmatrix/pull/201] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a2f8b4d..3e60aec 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,6 @@ + # CMake build system for CMatrix + +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.5) + + project(CMatrix LANGUAGES C) + set(VERSION "2.0") +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb b/meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb index e1a6af622b..2c00c6ded4 100644 --- a/meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb +++ b/meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = " \ git://github.com/abishekvashok/cmatrix.git;branch=stable;protocol=https \ file://0001-reproducibility-Prevent-configuration-from-reading-h.patch \ + file://0002-allow-build-with-cmake-4.patch \ " SRCREV = "adfdf1656f23e5ab3b52c7d7edf91249a4477e8d" From patchwork Thu Jul 10 17:38:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66582 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 EDECBC83F1B for ; Thu, 10 Jul 2025 17:39:09 +0000 (UTC) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by mx.groups.io with SMTP id smtpd.web11.1135.1752169140802704724 for ; Thu, 10 Jul 2025 10:39:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HFj4NPl5; spf=pass (domain: gmail.com, ip: 209.85.167.51, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-558f7fda97eso772336e87.2 for ; Thu, 10 Jul 2025 10:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752169138; x=1752773938; darn=lists.openembedded.org; 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=bkbZ1iddh0zLz5DLooGTAYxrMNch1xkIu/wBJWL5qSw=; b=HFj4NPl5e4UV/DXynTL0fcQu0XTYMec3JRqah/GDavlWdMfuQ2bPFkjmBN0Nyw5+ip twFWOl2110T5ra0eRMY4tNr7j4awuyxwIle41uIMu/XsgSjKUb+jyvdeUOXzfCHhQP8z N3nBe9k7RtGK9eTPzL5r+i3fjk5ejMkeWF3TMpqqcUUoLM0caz3FL1zqXdAVbk405WqL 3A2SvVPo4QFMasmoVKHNTR1lYrrywcJpkxH0K4BHoqFbLxR05VxUmeWm+fiiobhcrTET eWV5zBVKWwJKkVoDBbZI71gx9cNC7ewvh6hpFVVEv067erTAUurEUjhd63MDx/a5ZfjS DaOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752169138; x=1752773938; 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=bkbZ1iddh0zLz5DLooGTAYxrMNch1xkIu/wBJWL5qSw=; b=asSkebDNxeagwTRMsqZChFhpTseEg5Tfhb9x+WBA8HTsLSuI52C8tUxSkCepP7HwBE Pi/RU6n6scfq9lHfzSrHgNOD88Q6CFgazFg1FuArXdtZlg5jng1gWLiN8m0Tnke/dg0g x8ikgq16dTgklvt5dy2Hf1kjyVejGWZvx1hG/0Ht0Smdb2MiKoqDvG3cZ1SIzM3qd/O4 IqYNEo724zFZtVcKnOe3vCQJLR76foBHq3YGHKNfT99Nb6QJ061sLiZzS2GxE6IMiM2n oh7jsFIXL5pd0p4Esg8B8nO3qS4dL7Ie42Zh/QPlG+hoGoSHcie6WQ55wDNO0LbR/fJq NPfw== X-Gm-Message-State: AOJu0YzXoc9DRtZlZfPueVlOCF9oTSzWhbwE/fbGWJqUN7UwJIc3FxEC vA1U7fHo/99nSXYs1jCtF28o5kCJdoSMKSspAsRzVLSFDYkrRuf3s/3+vOTlAg== X-Gm-Gg: ASbGnctCR2HMJgYmr1pXYZVf9dhmQE1gl7RQb2c8O7DPTkYkuEke5cp8PQ7ukAn1+EE QSrf2eUCdjrDiRTU1lm6rwzs5gxQdmVV1+ytFVLobH/LXCTKFYcQ+TBC0bsCsigx2GI+9eGM5y5 B3mkWtJmODdd8PkDni7Jg5qmgWNCd/CRVfvq7HWGZkiBD1It3Klfin5FVd8Ul7bQ/u33nq9zvIn 6Aqr+UKv+S8DmFevBdsZBtPnucunfYe6n4YAO31jHckU2WAtywXtIpSQd6o8+3EW4HssdNiCHSz fkh7kf/+zpAe9dRmZZGNyyO9r5fqT/pQpk7Uyfv4cJoA2S7SA64O/Nv9weVs07OK9fUyZh6Qkim 78pM= X-Google-Smtp-Source: AGHT+IEThGcx+qZMnbFWx/szIr99FU4n4RkODC2/osXBdl9QNKq34/sfeOIoeqQAjo67yUcJD5cR4w== X-Received: by 2002:a05:6512:1343:b0:553:3892:5ec6 with SMTP id 2adb3069b0e04-5592e3e1179mr1000953e87.35.1752169138182; Thu, 10 Jul 2025 10:38:58 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b8185csm431191e87.246.2025.07.10.10.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 10:38:57 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 4/5] sqlite-orm: Upgrade 1.5 -> 1.9.1 to allow CMake 4+ compatibility Date: Thu, 10 Jul 2025 20:38:26 +0300 Message-ID: <20250710173827.43239-4-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250710173827.43239-1-alperyasinak1@gmail.com> References: <20250710173827.43239-1-alperyasinak1@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 ; Thu, 10 Jul 2025 17:39:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118419 - Dropped the patch as the issue is already fixed in the newer version. - The LICENSE file has changed so updated LIC_FILES_CHKSUM to match the new md5sum. - Updated CMake flag to disable tests according to the new version. Changelog: https://github.com/fnc12/sqlite_orm/compare/v1.5...v1.9.1 https://github.com/fnc12/sqlite_orm/releases Fix: | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument value. Or, use the ... syntax | to tell CMake that the project requires at least but has been updated | to work with policies introduced by or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak --- ...01-fix-cstdint-error-with-gcc-15.0.1.patch | 52 ------------------- ...{sqlite-orm_1.5.bb => sqlite-orm_1.9.1.bb} | 7 ++- 2 files changed, 3 insertions(+), 56 deletions(-) delete mode 100644 meta-oe/recipes-devtools/sqlite-orm/sqlite-orm/0001-fix-cstdint-error-with-gcc-15.0.1.patch rename meta-oe/recipes-devtools/sqlite-orm/{sqlite-orm_1.5.bb => sqlite-orm_1.9.1.bb} (68%) diff --git a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm/0001-fix-cstdint-error-with-gcc-15.0.1.patch b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm/0001-fix-cstdint-error-with-gcc-15.0.1.patch deleted file mode 100644 index af884808f2..0000000000 --- a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm/0001-fix-cstdint-error-with-gcc-15.0.1.patch +++ /dev/null @@ -1,52 +0,0 @@ -From f011501e719e0042fc6ca29ac7b33e8a14562246 Mon Sep 17 00:00:00 2001 -From: "mark.yang" -Date: Tue, 1 Apr 2025 19:45:01 +0900 -Subject: [PATCH] fix cstdint error with gcc-15.0.1 - -* see more details: - http://errors.yoctoproject.org/Errors/Details/850148/ - TOPDIR/tmp/work/core2-64-oe-linux/sqlite-orm/1.5/git/examples/synchronous.cpp:7:5: error: 'uint16_t' does not name a type - 7 | uint16_t src_port; - | ^~~~~~~~ - TOPDIR/tmp/work/core2-64-oe-linux/sqlite-orm/1.5/git/examples/synchronous.cpp:3:1: note: 'uint16_t' is defined in header ''; this is probably fixable by adding '#include ' - 2 | #include - +++ |+#include - 3 | #include - -While this was backported from 6a96d1cec4(Explicitly included in examples and unit tests), -since it was a commit made in v1.9, only synchronous.cpp was modified as other files do not exist in the current version. - -Signed-off-by: mark.yang - -Upstream-Status: Backport [6a96d1c Explicitly included in examples and unit tests] ---- - examples/synchronous.cpp | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -diff --git a/examples/synchronous.cpp b/examples/synchronous.cpp -index d10da13d..b103b48c 100644 ---- a/examples/synchronous.cpp -+++ b/examples/synchronous.cpp -@@ -1,15 +1,16 @@ - - #include -+#include - #include - - struct Query { - std::string src_ip; -- uint16_t src_port; -- uint16_t txn_id; -- uint32_t tv_sec; -- uint32_t tv_usec; -+ std::uint16_t src_port; -+ std::uint16_t txn_id; -+ std::uint32_t tv_sec; -+ std::uint32_t tv_usec; - std::string name; -- uint16_t type; -+ std::uint16_t type; - }; - - int main(int, char **) { - diff --git a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.9.1.bb similarity index 68% rename from meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb rename to meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.9.1.bb index ee203f83e2..a4da31ebc7 100644 --- a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb +++ b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.9.1.bb @@ -1,19 +1,18 @@ SUMMARY = "SQLite ORM light header only library for modern C++" HOMEPAGE = "https://github.com/fnc12/sqlite_orm" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b5bf5ee8bb16d8e19359efe11bdc3f2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6" inherit cmake DEPENDS += "sqlite3" -SRCREV = "e8a9e9416f421303f4b8970caab26dadf8bae98b" +SRCREV = "5f1a2ce84a3d72711b4f0a440fdaba977868ae67" SRC_URI = " \ git://github.com/fnc12/sqlite_orm;protocol=https;branch=master \ - file://0001-fix-cstdint-error-with-gcc-15.0.1.patch \ " -EXTRA_OECMAKE += "-DSqliteOrm_BuildTests=OFF -DLIB_INSTALL_DIR=${libdir} \ +EXTRA_OECMAKE += "-DBUILD_TESTING=OFF -DLIB_INSTALL_DIR=${libdir} \ -DCMAKE_INSTALL_DIR=${libdir}/cmake \ -DPKGCONFIG_INSTALL_DIR=${libdir}/pkgconfig" From patchwork Thu Jul 10 17:38:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66581 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 EDF03C83F21 for ; Thu, 10 Jul 2025 17:39:09 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web10.1046.1752169142525529554 for ; Thu, 10 Jul 2025 10:39:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=f4mUcyRf; spf=pass (domain: gmail.com, ip: 209.85.208.177, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-32b7cf56cacso12721621fa.1 for ; Thu, 10 Jul 2025 10:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752169140; x=1752773940; darn=lists.openembedded.org; 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=lh/z4ecFPAfaS9VjIwhZexM32Gtd1kSIBHqSUc5StEQ=; b=f4mUcyRfghGWHTdXqdXqgu2sb26iTbfyHG8idXRbc+bZTLbTHph+T5QLAyt9xY2jxf NUUwKLCAudWrjVQnD80WokltjnUulmcmhuPozHs/0OImcCrUvSoXqhZeGSof0S01pmpZ IEryvKdGEFAJeNCO527ysuFx0MRtGn5/st3ffhmk0c2sNNVyzVs6aNo/4HIwuU1DdHGK Kc4UhpF45HwG/g/UIFk9o9SFXJ3y6tiUJSnz2XoxA1p+uNlnyr1Ot6CxCgq0CHXSKzul trOhLi6wRH2ZC50RyAcUKXWO26aWbc7Issyq2/BmqmCSFvvFzL6yB1vc2j5I9aXHXaza s5+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752169140; x=1752773940; 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=lh/z4ecFPAfaS9VjIwhZexM32Gtd1kSIBHqSUc5StEQ=; b=bdbqByrJAa+v8Y01EmxE0ep1+c9Nqd1GEM4h5M3haEMl6r98Ph9+F5XYgnc16lig9R ujLtIFV1FRfCosJ2uasWXA8BBS6YNSWy7pt7TZZ+QEX3HhFxbtf4ZtmMEQ+qP6zmZ8rO 6L6Ir3XUhV7r/H5QKMQWeJTGzu+I5Fjd/xMSSBWNE83jE+CkQoaAav2rSRAbv1sgbkYW 6DIPyn0OD6oNwHmMngiJbpPJ/A9mTuAa4Fs2msK3cAhJ6/v7iX1oP0xMXIiEzQg7+Fw0 WGL/s20r2VhpQEL9Gu+XF6FkOnoFi5HioU+K6RE/Lfdd/f8fH0dMRVrQy/4QYmjk6XnW 2ZDA== X-Gm-Message-State: AOJu0YxTnFHmGebXHA8OK+5qQ8ZOb20ZuaBFxJOcbd4noCkMym1FyPaL sKHXFFBViijNqd6NOskdwe/h/qyo6yeDIXBOYEYJkBho6HHCKbw/SxaU9wnSlA== X-Gm-Gg: ASbGnctWmfBfuJxVN8Ejus3nJ9viq6rv5nc9RTWoY3a62Atpef8ZHuiBUhuUUaHVG8y sVLlg32MTDNiL4asWOMQTwF76xN0m7p1fNO411G779gKkY1DG2G+JTLbnRgtWKnkIj3fFDRt7Zb vs3qk2/45fhnN39g+awPcz/x1aGOxm7A++/LCPu1AsXo2CK1WBY0REclkBqIgG1xeS+k5Xrxsm4 F8Et5mc+opkS6csvpK7CXSQtBUQTYRYzFc2NtL/wrP68NiIkSrL2x5KBebhLSs2kPcIhvsHUaaf ncZzAoqKPDv+HlP8NUqfy3FOptq93HtktYQqrWp7bKovSMnIfMWU4cxo8ScfJvJkIIT0u+VQLkG GrPZ6ayYqY0dRwQ== X-Google-Smtp-Source: AGHT+IHc8Oeysh1zd/3c/MJAxfuVtumW8LgR8di58HJ9YVeX3I6YDXp4kXj/gs55syfZG24jyTR0lw== X-Received: by 2002:a05:6512:4013:b0:549:38eb:d694 with SMTP id 2adb3069b0e04-558fa8f915fmr2504822e87.26.1752169139652; Thu, 10 Jul 2025 10:38:59 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55943b8185csm431191e87.246.2025.07.10.10.38.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jul 2025 10:38:58 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 5/5] linux-serial-test: Add patch for CMake 4+ compatibility Date: Thu, 10 Jul 2025 20:38:27 +0300 Message-ID: <20250710173827.43239-5-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250710173827.43239-1-alperyasinak1@gmail.com> References: <20250710173827.43239-1-alperyasinak1@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 ; Thu, 10 Jul 2025 17:39:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118420 Fix: | CMake Error at CMakeLists.txt:4 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument value. Or, use the ... syntax | to tell CMake that the project requires at least but has been updated | to work with policies introduced by or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak --- .../0001-allow-build-with-cmake-4.patch | 43 +++++++++++++++++++ .../linux-serial-test_git.bb | 3 +- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-test/linux-serial-test/linux-serial-test/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-test/linux-serial-test/linux-serial-test/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-test/linux-serial-test/linux-serial-test/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..0b67ad03b1 --- /dev/null +++ b/meta-oe/recipes-test/linux-serial-test/linux-serial-test/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From 83ec3d72913cbdee0c0f27fe74f77bf2ef1d1901 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Thu, 10 Jul 2025 14:11:22 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:4 (cmake_minimum_required): +| Compatibility with CMake < 3.5 has been removed from CMake. +| +| Update the VERSION argument value. Or, use the ... syntax +| to tell CMake that the project requires at least but has been updated +| to work with policies introduced by or earlier. +| +| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. +| +| +| -- Configuring incomplete, errors occurred! + +Upstream-Status: Submitted [https://github.com/cbrake/linux-serial-test/pull/60] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 10e3968..4ce6ef1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: MIT + + project(linux-serial-test C) +-cmake_minimum_required(VERSION 2.6) ++cmake_minimum_required(VERSION 3.5) + add_executable(linux-serial-test linux-serial-test.c) + target_link_libraries(linux-serial-test rt) + install(TARGETS linux-serial-test DESTINATION bin) +-- +2.43.0 + diff --git a/meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb b/meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb index c617cf09a3..a451db2a76 100644 --- a/meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb +++ b/meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb @@ -3,7 +3,8 @@ HOMEPAGE = "https://github.com/cbrake/linux-serial-test" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSES/MIT;md5=544799d0b492f119fa04641d1b8868ed" -SRC_URI = "git://github.com/cbrake/linux-serial-test.git;protocol=https;branch=master" +SRC_URI = "git://github.com/cbrake/linux-serial-test.git;protocol=https;branch=master \ + file://0001-allow-build-with-cmake-4.patch" PV = "0+git" SRCREV = "2ee61484167eab846f7b7c565284d7c350d738d3"