From patchwork Wed Jul 9 17:30:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66509 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 E6E13C83F0F for ; Wed, 9 Jul 2025 17:31:15 +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.web10.3041.1752082269259966363 for ; Wed, 09 Jul 2025 10:31:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=d2Dvk/Md; 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-558fa0b2c99so46662e87.2 for ; Wed, 09 Jul 2025 10:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082267; x=1752687067; 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=Fa3MvJJHYurEEo5zvO+BQMixdbtGW3HYl+VfE8m7lTs=; b=d2Dvk/Md8ae2dcO2k0dl4ucr9J+CuCuoQ0nxWTDbo7mDUAxnLV/o8HVVzRfp2v9ySL 4wUnvJASq307dmwDLOcUrGJ8J6B1KaCYPwnIcbL4687cDemqMex5T2ma/+lQvoax8xA5 lm5jD1XJCPVegbxlV/P4MLHfra1Y7s0SzeHDXkMw3ormaCEJku13ZaOi0FE7DcK27NSr WJ/JQIjxGqNVsySRUkjXNwZ1TrzovTqU17ElzMCCgh2iKvq0kdAcX65FdH9YZOxi1/5K HXKIQeBAZDTtL2qasN6/9nWoNIO3m9X3d3mBCG26mTJnPrMm+wtMmZQ+Wxr7UXOVnjZc pxxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082267; x=1752687067; 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=Fa3MvJJHYurEEo5zvO+BQMixdbtGW3HYl+VfE8m7lTs=; b=IIVX6cmx0BWwwgRkNNyYT2/ej7cm9nHolM2I1LTgzZir0bab/OvC3SV031HkclvdQf 6rzI5BGQamZg5WuOAQaZtQaJYmIPJZN8JonA/Mlx3AhTBirL5sfeF5Zoyh+6XBfCt0N2 tOYmTLibASvntKRS/ZVCG0CdvMOJ5z87I950I3ulGdno8csufEEjJ+gz/iATrcJVd471 fPIoiqivsaIN2KyUwrCLO9ks1oAfer9HxHdNHeS1+0XQfkay97zyQxLDekr3jvM7+yjW eprBEMXSqHX8RIbWLaBJURjR6SnRtt1WloA5Vl2WaHB2mA3WzCNY17LL+mPfQViKiFVo sPQg== X-Gm-Message-State: AOJu0Yxp9LekCIKTW6ct4zlZ5Szkz/UzndjOlEw0zhHMPGKwmmFZVsbh ZXLYYn7UUtbhVmTGFqHersIbMGygnsR8IP9sqtcKs0wq5EUfnJ2kdX/8J+dVyQ== X-Gm-Gg: ASbGnctQhTgfwVKzDsKONri3v+g8uIQ5T9cosp6lQg7C3RxMvh89Kw4uNU82YiRD9nb C+GnDz9E5VvqIfqndXi1mIDzIYzGFg3xE7WcSE3QaG5490HEtngmo1zUW/8e7QDUCLymb8Q3LGH o+6x1WgFUIYnvUOHbm0SbiFQ13AN5zRoECZHmBLmegjK47rw7yIf0SK2QDDkTiIWwjjz+0gLh1u NDFxaiWqhkr6PaTPOTZCWtqL/Vqcn27gbncVsmK0nKNru44wTIIuCfartI2VbKgNPiU2bg4UQ9i uYf7idFfxzCeYUQHCTgfqjTtz87q5lbvc7O/UYHrih9yPFxzs69M1bm5NUvSjKaxXUaEgsAQ5xr wIek= X-Google-Smtp-Source: AGHT+IGUrGMywHHMMvCHDyXlE1uFtLCRYamMroULx2qIzoRge6U+8+gUhwpz5S5v7cB3dt7WrffGXw== X-Received: by 2002:a05:6512:3182:b0:558:f948:b57a with SMTP id 2adb3069b0e04-558fa8fac64mr1345130e87.37.1752082266593; Wed, 09 Jul 2025 10:31:06 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:06 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 01/20] librdkafka: Upgrade 1.8.2 -> 2.11.0 to allow CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:35 +0300 Message-ID: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118355 - Dropped patch because fixed in the newer version. - The LICENSE file has changed so updated LIC_FILES_CHKSUM to match the new md5sum. - curl is needed as a dependency, so add it to prevent build error. Changelog: https://github.com/confluentinc/librdkafka/blob/v2.11.0/CHANGELOG.md 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 --- .../0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch | 30 ------------------- ...brdkafka_1.8.2.bb => librdkafka_2.11.0.bb} | 11 +++---- 2 files changed, 4 insertions(+), 37 deletions(-) delete mode 100644 meta-oe/recipes-support/librdkafka/librdkafka/0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch rename meta-oe/recipes-support/librdkafka/{librdkafka_1.8.2.bb => librdkafka_2.11.0.bb} (66%) diff --git a/meta-oe/recipes-support/librdkafka/librdkafka/0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch b/meta-oe/recipes-support/librdkafka/librdkafka/0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch deleted file mode 100644 index 053a4cc2d8..0000000000 --- a/meta-oe/recipes-support/librdkafka/librdkafka/0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch +++ /dev/null @@ -1,30 +0,0 @@ -From ed1dd35e0e23a98e57567718a0d474fd29cc348a Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 19 Mar 2022 21:36:41 -0700 -Subject: [PATCH] cmake: Use CMAKE_INSTALL_LIBDIR - -this ensures that it is portable across platforms e.g. ppc64/linux -uses lib64 not lib - -Upstream-Status: Submitted [https://github.com/edenhill/librdkafka/pull/3770] -Signed-off-by: Khem Raj ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d1129bce..774473fa 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -219,7 +219,7 @@ configure_file("packaging/cmake/config.h.in" "${GENERATED_DIR}/config.h") - - include(GNUInstallDirs) - --set(config_install_dir "lib/cmake/${PROJECT_NAME}") -+set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") - - set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") - --- -2.35.1 - diff --git a/meta-oe/recipes-support/librdkafka/librdkafka_1.8.2.bb b/meta-oe/recipes-support/librdkafka/librdkafka_2.11.0.bb similarity index 66% rename from meta-oe/recipes-support/librdkafka/librdkafka_1.8.2.bb rename to meta-oe/recipes-support/librdkafka/librdkafka_2.11.0.bb index 968094daff..b1f5196f93 100644 --- a/meta-oe/recipes-support/librdkafka/librdkafka_1.8.2.bb +++ b/meta-oe/recipes-support/librdkafka/librdkafka_2.11.0.bb @@ -5,18 +5,15 @@ HOMEPAGE = "https://github.com/edenhill/librdkafka" SECTION = "libs" LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2be8675acbfdac48935e73897af5f646" +LIC_FILES_CHKSUM = "file://LICENSE;md5=40b04809b5d6f648f20f45143cbcb1ad" -SRC_URI = "git://github.com/edenhill/librdkafka;protocol=https;branch=master \ - file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch \ - " -SRCREV = "063a9ae7a65cebdf1cc128da9815c05f91a2a996" +SRC_URI = "git://github.com/edenhill/librdkafka;protocol=https;branch=master" +SRCREV = "c56a3e68483ae33622901988ab9c4085f0785c3c" -DEPENDS = "zlib openssl zstd" +DEPENDS = "zlib openssl zstd curl" inherit cmake - FILES:${PN} += "${datadir}" EXTRA_OECMAKE += "-DRDKAFKA_BUILD_EXAMPLES=OFF -DRDKAFKA_BUILD_TESTS=OFF" From patchwork Wed Jul 9 17:30:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66513 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 E982EC83F0A for ; Wed, 9 Jul 2025 17:31:15 +0000 (UTC) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by mx.groups.io with SMTP id smtpd.web10.3042.1752082270529559538 for ; Wed, 09 Jul 2025 10:31:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O3eQvVg5; spf=pass (domain: gmail.com, ip: 209.85.167.43, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-558fc8f0750so81182e87.2 for ; Wed, 09 Jul 2025 10:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082268; x=1752687068; 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=X4A1fJfJcLcacda4JC85ZL8Blx36VXEF8sju2HRNuz4=; b=O3eQvVg5xceABRmIAQLX5u4SYgaT4FsmUo8EBOSxmZ266wWcaQ9xdUWMt/kSRvqiP7 mssYL8B9IPYNY3IbzE4gXuHn1TIcIK1qHqd0tHUa0DTUs4vQUN/Et6+9Y0ZpRlNJkfVn 432hpjBfYRRodrP3xKLGrw9de/lzG1NFNCW3CGL3bTSUNtchoRdi7YyhHZSuzWEoMDSM P+MxJoRuTLvizTrrupaOI3xZjnhHVa2relq6kFIGTY/Ix4B9IZsM7UB0ERNZ5WToSejk zshZn73Ps7s0irnmMtpCzzSrBCrNVE8K2i8UukSgTunkwx1HkMBPEZkBnNT38vCR9rua M7ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082268; x=1752687068; 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=X4A1fJfJcLcacda4JC85ZL8Blx36VXEF8sju2HRNuz4=; b=wETnzHqfdp6HzwgtzA2cgU8/k9ujOgypkYMwYeTpPTzB53SZt9RurKrEEQ7A+15rIo gBG+qPfZkrjqbBTG9UMU/1V3Fck7tqos/0eFjp8W1RqSbnVfy1csuU8FSUqem902TXyz gm1utURja/z0sVbwB/MOIqJR+LQ+XeSxiCz6HWKbYEbTUQ0imi3+81DrsnOP2CY5PfvI Z0qBH9WDzTOspIghZJ7ijkd5wp3N4HLHwxgekbBq09hjEDNcdnFz5JlI4eLaozDYqgyg 8j487ZszYtdbLQEXs9WzZXkDHNEvX1fPdJQ9KrR5XY9i7Ca3MOJHe9pwgnrbTaczURMt OOsA== X-Gm-Message-State: AOJu0YzUjG39yj/TN2LnfUexQdWhuWnSZdaAXBtPri0kGZIMekyUWM2U Zm6kp7PVbvvimgJidwvoSF2IatSHjCOZ5SHN5/LeIi10BGfgwErWx//NIGpFxA== X-Gm-Gg: ASbGncvSV7kkxyg577MFZ2UlnEEuLW5kCbrftnNldBTPPAaTMsCovF2A9peN0QWxUv6 UNJ5nE5LyrxurfErDHxoQ8rVfvEdSKI645oW96EuDdUOf754MF6UUDkn3imBBJleVxZTcboM7C6 1paY6bFefhcr6pqpita6hyVw9dUeb5qkJk3nVnI7SO4XRp96pOsIGpVWc4U24oYON1slkpqg6ex Utq4cCRiqtrOEStSe8oEUOtH/oRUlrsNIfpddwKG/vUs6gLKAP0zEdzzJxyEXHhxorm6SFJTewj Fw7M0SLzXXxbsMyberAUYi31LF/q9DePVoTTHQArtvJKAHt57IDu/yhYYnkKAWXnwKxVFw2e5+7 q3HFpuEsJKj780Q== X-Google-Smtp-Source: AGHT+IECq1aWX3wCLEd5Ct2cPOkJRTGfXghwarQE7KxFFo0JpqTD7sUqfJJ5YYKMDk8OKqrOjIbk2g== X-Received: by 2002:a05:6512:124c:b0:545:5d:a5ea with SMTP id 2adb3069b0e04-558fa877d37mr1522692e87.3.1752082267967; Wed, 09 Jul 2025 10:31:07 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:07 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 02/20] msgpack-c: Upgrade 6.0.0 -> 6.1.0 to allow CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:36 +0300 Message-ID: <20250709173054.605430-2-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118356 Changelog: https://github.com/msgpack/msgpack-c/blob/c-6.1.0/CHANGELOG.md 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 --- .../msgpack/{msgpack-c_6.0.0.bb => msgpack-c_6.1.0.bb} | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) rename meta-oe/recipes-devtools/msgpack/{msgpack-c_6.0.0.bb => msgpack-c_6.1.0.bb} (82%) diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb b/meta-oe/recipes-devtools/msgpack/msgpack-c_6.1.0.bb similarity index 82% rename from meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb rename to meta-oe/recipes-devtools/msgpack/msgpack-c_6.1.0.bb index aa7629763c..b7f3625c2a 100644 --- a/meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb +++ b/meta-oe/recipes-devtools/msgpack/msgpack-c_6.1.0.bb @@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \ file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c \ " -SRC_URI = "git://github.com/msgpack/msgpack-c;branch=c_master;protocol=https \ - " -SRCREV = "8160ede5e20fd3019a77eea46d9c72cf6163f802" - +SRC_URI = "git://github.com/msgpack/msgpack-c;branch=c_master;protocol=https" +SRCREV = "445880108a1d171f755ff6ac77e03fbebbb23729" inherit cmake pkgconfig -EXTRA_OECMAKE += "-DMSGPACK_BUILD_TESTS=off" +EXTRA_OECMAKE += "-DMSGPACK_BUILD_TESTS=off" BBCLASSEXTEND += "native nativesdk" From patchwork Wed Jul 9 17:30:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66510 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 E5C42C83F03 for ; Wed, 9 Jul 2025 17:31:15 +0000 (UTC) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by mx.groups.io with SMTP id smtpd.web11.3015.1752082271832856090 for ; Wed, 09 Jul 2025 10:31:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UMk5b8/h; spf=pass (domain: gmail.com, ip: 209.85.167.43, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-558f7fda97eso36036e87.2 for ; Wed, 09 Jul 2025 10:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082270; x=1752687070; 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=Quk8R4sDQKBvrKUaFCE01cKAUMdOMINoAsL/Vc2LJbw=; b=UMk5b8/hNvkivCcydYYc/fxStXaFpgTovmL1Zl+Z+UeB3szmIK8iWcONA7FeFNjZOf CNAKoNZMyTdCmZOBVq5rwC9NmFBaBGEklO/VqSaODYMy9A9urbhpGR9SpPM+omNeg/W5 yHz5eQwQUn8S2+gSiqO83A6DPuqaD3cOF6wu7ArNL+sj78XPuICRbfPX+N0dISROdydp 7VFEVQoMtXg1xgg3CwJ1h9dEZa6tVbiH26cr1ruSyW0Qb8LV50wmvwcN+Q80J8+ZwLS8 kotI/66Rpe5W53xj+nINgWdQ3ykw+KuyLEWCO+4Xg4wG+RX1tYuFu00tqEdfNlP/xwfL hpgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082270; x=1752687070; 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=Quk8R4sDQKBvrKUaFCE01cKAUMdOMINoAsL/Vc2LJbw=; b=bn7R1RPyS1xhQRnjjdHBZarqWNAhfEUXb6pp3dOgzlMBdxQSIxYrlS2Hrv4FLRqnEo y3V2Ahg38YASPlhoQzULArWXo6f8NTiCjg00jBOQoJhwadO1YHIebm7vg3ItSKqgwv2s kMNxaIEpP0GLrr5QwvVwvrj2HLGxjX2UQOHSd7gUofcUJ7wqLkkNk6Rsf+LIFV0bIcnr c90ItrLyFIJIatGEcyqbcJwwkDwkr89yHTbLJBxNk8H+AkUjXn1aVoDCpMSXurOnQ1SE AHtGwBY12UXHsLQVHbPk2vVQiPo4zjr9LOh/TKQnLL7SirkzeaxtszJbRLwdxYKDn5c+ 125g== X-Gm-Message-State: AOJu0YwwMHdD8WGwnsGUc7xvYK+M0eNUDa4+adq2vWiiasFmYPQ7XqcN m9ULzUlbJHiyU4Ccpkvryp9Reao54Skmf37PgMzpXqsiDvpquerOihEHI/IuQA== X-Gm-Gg: ASbGncsyKN21ehmNCByqOD8H1oxTU5x4uAaZVtNGGiyU8nkN/y/+uDEaykv5Etrc0A6 UAIV6mTgC11a+NIj0BHthEModw6Bj5PwaONuHj6OlU1L1LkO76De45V01nYHzED9dkxzspYOllf mldribPnROMNZlH01yMBGh3oOzkE5ur6E+TykpahUKFhSUf9JjODmvL5e3+ZzQpXCj4BE5Okre9 Vwz9LbqfM6r3xnnrrPy2oz4DujkJFTWj99MKe3CEhJJNps3mu9qz3vyS4oSJrBFLEaCwPkgTuqG UJXyIOZLPfmam78/BCrG0COrQE/HCZH1ZX+Pe3QW96cx1PlDVJPYF70KHW0t3v3pRj3PEEowebN 57Cc= X-Google-Smtp-Source: AGHT+IFEL1Pyv0igmcSBICFxfQmKVX4Dr7iIx01+38Bak3rlG+6zUO9UHAnP3uzVEAg1riN8CuyEsg== X-Received: by 2002:a05:6512:3da8:b0:558:f7fc:87c4 with SMTP id 2adb3069b0e04-558fa8ff944mr1400458e87.32.1752082269249; Wed, 09 Jul 2025 10:31:09 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:08 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 03/20] ade: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:37 +0300 Message-ID: <20250709173054.605430-3-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118357 Fix: | CMake Error at CMakeLists.txt:7 (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 --- .../ade/0001-allow-build-with-cmake-4.patch | 43 +++++++++++++++++++ meta-oe/recipes-support/opencv/ade_0.1.2.bb | 4 +- 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-support/opencv/ade/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/opencv/ade/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/opencv/ade/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..6deabea160 --- /dev/null +++ b/meta-oe/recipes-support/opencv/ade/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From 342406450ebd9fbc68a3c3022b2c91c6e0c3de03 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 11:00:41 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:7 (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/opencv/ade/commit/8b24d5f1286d178fd0d3a22d584e1a798f5e9a6c] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index af78061..45dfb09 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -4,7 +4,7 @@ + # SPDX-License-Identifier: Apache-2.0 + # + +-cmake_minimum_required(VERSION 3.2) ++cmake_minimum_required(VERSION 3.5) + + project(ade) + +-- +2.43.0 + diff --git a/meta-oe/recipes-support/opencv/ade_0.1.2.bb b/meta-oe/recipes-support/opencv/ade_0.1.2.bb index b54c28d624..6a0559a577 100644 --- a/meta-oe/recipes-support/opencv/ade_0.1.2.bb +++ b/meta-oe/recipes-support/opencv/ade_0.1.2.bb @@ -4,7 +4,8 @@ and processing framework. ADE Framework is suitable for \ organizing data flow processing and execution." HOMEPAGE = "https://github.com/opencv/ade" -SRC_URI = "git://github.com/opencv/ade.git;branch=master;protocol=https" +SRC_URI = "git://github.com/opencv/ade.git;branch=master;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" SRCREV = "1e02d7486bdb9c87993d91b9910e7cc6c4ddbf66" @@ -13,7 +14,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit cmake - EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release" FILES:${PN}-dev += "${datadir}/${BPN}/*.cmake" From patchwork Wed Jul 9 17:30:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66512 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 02EE1C83F16 for ; Wed, 9 Jul 2025 17:31:16 +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.web10.3043.1752082273124912454 for ; Wed, 09 Jul 2025 10:31:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GkY4Ei8n; 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-553b16a0e38so68137e87.1 for ; Wed, 09 Jul 2025 10:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082271; x=1752687071; 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=w7ZGdYRTOarVzwX2zsHbOj6nDQpn7LCAtQ/m6E5rpys=; b=GkY4Ei8n3ntj7ZssEckfTsqjfTLO9Xe3StqRSKezBLQq1P8X1wmtbPmnughUsGwOTn 0lRbbpSihWuV1tPkdXcURE5eDuGt+25sDuLVDQc9MVHvPLPOBv4isK8RiDyRI7MFKXFE uIx1s4EEnO+j9Mmwp//ItGD267J8U3Hvcih/dt85LMgROkcv5jdBOG3axLgt0ab2H2v1 B+zkGw+qG4LO8DLE353eIqT7rYOYr6n9Tukz2BgnqltbMRtAvdcCTvUjlh7r3339oNAd MRqtrHb3Y6SYwV3D7EL8R/qcnoSJoznZJJKo+iO8MPyWxRrlG8XqJMMrNGiEIfgh/qTF csOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082271; x=1752687071; 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=w7ZGdYRTOarVzwX2zsHbOj6nDQpn7LCAtQ/m6E5rpys=; b=DyDOF51T9V9gIo5Al6Tlfljrp8VcWqEQr+Azbx0RU5ChBSuoK7cJja+lOsN6/dTyo+ zOCrLs9eGreScHw9Mquy2IXhN3Cvlj9U+0lXuBvgsMRs9hHAFxFo+Nf0nkBqhTB8VrVY KRTOh4Wxy3sKJRx53FV/freBShPzyA8fexZ2KFpVaVjANFpOD5iFGjYwPGcarUpnzCdU 9XpvL+ruT6sjsA8qEicyqne4wcmCYIfpMe8TCmGX9tyi/R0ntZ1FrrCvvIK/Yc7HpsPs 6U142WPEZNUH4wGBSnlrHnhNM9jTOgjeh1Y/7/8et1ibC1mN41GTN5rq+n6vWEOzcE2H TuiA== X-Gm-Message-State: AOJu0YxW9qAiJWYwmzqzDZa+mxXfqDNcj704/QgiwIUGRnAaawNW3P6w E/4TiV+HZ0a8pyygfQn2qcXdfxEDCNbuacYaRWg2ydqLDdBlKSG9nu+RowUA3Q== X-Gm-Gg: ASbGncvBCQ8Z9T76QcJiMGKvkA4I82R//xCsWCFCoRehJJ3tIlyw1gSy565hzbmpr2q kfulXkSNsfQjkFTRYhiOSYc1hOeNvRVO9y6w4vNYlvXTl3G1prP4//EwXQmIz+2E+0TLvDITPhl 20xKafa1mtMnNHDt+08u6fsm/Wl4skeN8phGlwsyKfOdgpMNDzANRFQgwIhqxQaT/Jm1GZpASKh kDLw3J6RRN+XjAhImYfhrzSGHLFO/rDfJlAQePTvF5KwAkEjl47n+AIzBuCgQUvxbRb8is6H4CR KP34q8OP989/if8yguw9Ci+C2YNvkGxfvMaAdcCexy3IZHGuxfLiuTt8dbTNMvfY0eXZGcZa1Nh Nfd8= X-Google-Smtp-Source: AGHT+IH+HfB6PXsKLG/E0cI98ZZxLZ/f4+Ws91Hn2USDYI3TgWNxJAMtcSLf4ehUEecHeDw9RzXJ5Q== X-Received: by 2002:a05:6512:3f23:b0:553:543d:d963 with SMTP id 2adb3069b0e04-559000865f1mr261054e87.36.1752082270659; Wed, 09 Jul 2025 10:31:10 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:10 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 04/20] mraa: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:38 +0300 Message-ID: <20250709173054.605430-4-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118358 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 --- .../mraa/0003-allow-build-with-cmake-4.patch | 40 +++++++++++++++++++ meta-oe/recipes-extended/mraa/mraa_git.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta-oe/recipes-extended/mraa/mraa/0003-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-extended/mraa/mraa/0003-allow-build-with-cmake-4.patch b/meta-oe/recipes-extended/mraa/mraa/0003-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..4b9699ac46 --- /dev/null +++ b/meta-oe/recipes-extended/mraa/mraa/0003-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From daa2cd10b3858f3908a0a29ad69430bfd94c13f0 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 11:09:26 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +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! + +Upstream-Status: Submitted [https://github.com/eclipse/mraa/pull/1141] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 370b891..0814e5c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 2.8.11) ++cmake_minimum_required (VERSION 3.5) + project (mraa C) + + FIND_PACKAGE (Threads REQUIRED) +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb index b53be9803e..f9b4122439 100644 --- a/meta-oe/recipes-extended/mraa/mraa_git.bb +++ b/meta-oe/recipes-extended/mraa/mraa_git.bb @@ -12,6 +12,7 @@ SRC_URI = "git://github.com/eclipse/${BPN}.git;protocol=https;branch=master \ file://0001-cmake-Use-a-regular-expression-to-match-x86-architec.patch \ file://0001-mraa-Use-posix-basename.patch \ file://0002-gpio-Include-limits.h-for-PATH_MAX.patch \ + file://0003-allow-build-with-cmake-4.patch \ " From patchwork Wed Jul 9 17:30:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66511 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 02A9EC83F14 for ; Wed, 9 Jul 2025 17:31:16 +0000 (UTC) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mx.groups.io with SMTP id smtpd.web10.3044.1752082274555506718 for ; Wed, 09 Jul 2025 10:31:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ACMCdPZG; spf=pass (domain: gmail.com, ip: 209.85.167.42, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-553e5df44f8so52144e87.3 for ; Wed, 09 Jul 2025 10:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082272; x=1752687072; 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=87MHml1AbFhr75URXS3+HD/xH1Fz3APrHUY79vAMvmY=; b=ACMCdPZG04y5MGmxfnowk0FwB7uRIvpOMeiOxcCzr8e59um9x0P3SRD0YKO9I2xQ9n NFmu0zo8w2UCeXh0xq3aWA3yezsm7GCo6LE7BvOwi8w+GrjC6nk+NEJzT/zycWqZ6WYz fz6ctH3LzOGexFAmFkds3zDGXMb1iTE/ID9PwgsfGdFX/d2fHZ0VtyuIL0xsxw+p/xs8 bYLWwSCA+5yIFdGS0owuRifxsnfb9ODMTueVvcz7T6inrtDEanc4aQjFu3fiKwytvhXa Adn/QeWxAHs3w9HA/OWimx6JJwyQNzUZ+WVsdE8rsYVApnFp93SsTZhlXhElDHBQx34h 8bFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082272; x=1752687072; 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=87MHml1AbFhr75URXS3+HD/xH1Fz3APrHUY79vAMvmY=; b=wbWaY3rA55c8EcuRgTDFejK9SUeg4Xlj+ApDRz8wxzKamqz5z+7S4+yFEc5KSsES1n qwGqE/EOWizgANFPM+YdOs9hZfxGY+tAk/074S4qg/+QulfDJ/s3kZRpXImHQwUV0Y35 Rt4L/Zf8e/LqGPb56pM4VrINAh6OAWnOtE0ininAHgOq6MQ63Aws87SLPvQ2xuWNUdV+ tQ+pQQRyFmO7TbIkJ3LTo+hbWbB4GQs4XExLU4VwoQneZefUmMWG91ODhVVDrolFPX+t wYaXz2vXBQe5YphS2wOnuZ4PuyLC3fLHmvmD5pnbHlmxkJ8RxCfBmyx+Re5J0b9901Le 29gQ== X-Gm-Message-State: AOJu0YysD8sK8iPZ9t0Fkvu3p2w1FegTExN9cZ59zkdYEdAyURKvAGxR VkeBcmZanYEi/12SSHObiC9fzyAqxxnkr6MuobNaU1dqSANDQJEBrUE2lYSNMw== X-Gm-Gg: ASbGncusbNfdz8wmK82IR5bQSgaTq09xJuGV7MQap/nrZhsmATKu/6tG27sTlRfzR8c wAbvoAYPzc0TceFY5fwCGVuMoYVHT8q5oqkXWRj/RK0ADGnLNsoRl2HJf42bxQwLzcKoYVpTlzW deLIxk/rGL7Dv/nOp0j8VcST3OXODWxkush658C+bAC2fWQrjP7dp+i1Xx4a2foModOIGiBfOoC Y8I4I7GU31YWOcB3I3JdrYQ3D24GEjVxP/ScqpYnEb00UfwMFcxianFzk802oAyYZ6EgC59OcX2 qJcyEPEICh3Ef7/lf+ZfJ92zLmpYrJSt2Ath/8x6a7CyTB7740HFQI9oybJQ7DTASss7FYBq/kH wo4Y= X-Google-Smtp-Source: AGHT+IHzbSpfny7y3lw5Uwsai1T1jKtZYj8l/959/o/7ZVtEI4z8m0gmrzeBW6IQ8F/looQmNcQFug== X-Received: by 2002:a05:6512:3ca1:b0:553:25b2:fd2d with SMTP id 2adb3069b0e04-558fa8ffb81mr1070161e87.30.1752082272073; Wed, 09 Jul 2025 10:31:12 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:11 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 05/20] libcbor: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:39 +0300 Message-ID: <20250709173054.605430-5-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118359 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 --- .../0001-allow-build-with-cmake-4.patch | 40 +++++++++++++++++++ .../libcbor/libcbor_0.12.0.bb | 5 ++- 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-extended/libcbor/libcbor/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-extended/libcbor/libcbor/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-extended/libcbor/libcbor/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..1edca539ba --- /dev/null +++ b/meta-oe/recipes-extended/libcbor/libcbor/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From 4b34fd7b4d674eeba5e9572df1d88bafa1d100e3 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 11:29:39 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +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! + +Upstream-Status: Backport [https://github.com/PJK/libcbor/commit/1183292d4695300785b272532c1e02d68840e4b8] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 815675e..a9f9bd5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + + project(libcbor) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/libcbor/libcbor_0.12.0.bb b/meta-oe/recipes-extended/libcbor/libcbor_0.12.0.bb index 60c3c6fadd..fa48d23bde 100755 --- a/meta-oe/recipes-extended/libcbor/libcbor_0.12.0.bb +++ b/meta-oe/recipes-extended/libcbor/libcbor_0.12.0.bb @@ -4,9 +4,10 @@ DESCRIPTION = "C library for parsing and generating CBOR, the general-purpose sc LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f3b3881df62ca763a02d359a6e94071" -SRC_URI = "git://github.com/PJK/libcbor.git;protocol=https;branch=master" -SRCREV = "ae000f44e8d2a69e1f72a738f7c0b6b4b7cc4fbf" +SRC_URI = "git://github.com/PJK/libcbor.git;protocol=https;branch=master \ + file://0001-allow-build-with-cmake-4.patch" +SRCREV = "ae000f44e8d2a69e1f72a738f7c0b6b4b7cc4fbf" inherit cmake From patchwork Wed Jul 9 17:30:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66515 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 06634C83F0F for ; Wed, 9 Jul 2025 17:31:26 +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.web10.3046.1752082275887571428 for ; Wed, 09 Jul 2025 10:31:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dQtXAIcc; 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-54d98aa5981so106750e87.0 for ; Wed, 09 Jul 2025 10:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082274; x=1752687074; 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=vx6RtbPochu3fDxcoEWmGnp5l0glyURQgYGL4l4IEeo=; b=dQtXAIcchZMmkYo0rHEvKH8/t92j/FcLUF2b9AEgYZ8AAUQyN2jP+AXmC9Vjhs0oIF GHo62gTttYgMWDdk9p9U+Mz2WdP0BQ21hPvJhQAHpraSJ9RqQUWIH/qPgvEH+TT0vANr Qrg0KoCcBgSa4+F+c6GSP+s3QgwP2y5CT9al/NfJkf5DTPFMv53bf2zOrIifDG7qkdsT Q+7pJ0veT7+ivjXGGxy9oZYHoW6l7bMIJtH8xjFiC4Gxn6l9qnTjuRrHYo9b5L/3X86d pwQD9JgsHYakYgCyRUdePtHTD5Zg9t3Hoj5FDS8+2Itvg7v+90xhTDyoOe8seJDmlY2w onkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082274; x=1752687074; 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=vx6RtbPochu3fDxcoEWmGnp5l0glyURQgYGL4l4IEeo=; b=u+A1fzU5L3+a6QJAa2KPVu/XeUM8FdGcqycnDDdNo2+3qm48x35P/pd88JI8iT2m2O wPGZ5gvfxA6mpVHFFOF8UdOmux6T6T452uGM4a2wLbQTM9j/Jh+AZoAsFabKD5rew/1j 6ZOyPauHcADSuPOQo28qeU1Svq12IUeMo9i1gkuGVz3LN7uWOIBdlgt+j0D36k0FxJk1 mFWqQ7EQHxZ2L8JZCDk6jROFak7LYmAjFk4IceN8rUtmb+7j0xWnoMONNKJLshpGmtt/ CSNIeldXuKOyi3w7aLuWr6vSVZ4aHr1KVfmTcxwj2zVidNxo93hwml/X0t2meZYibZSo KsUQ== X-Gm-Message-State: AOJu0YzDX09tPc8FjE5Ebux8wiXXcMrs+OVrq7B+mbHg5yhAIv8yc48v OuGKAcOQpMiFlKcv3ctCfWEUT7YNZGeUgwSzj1vtGzOzL604Bj/eJ/bCgt5mVg== X-Gm-Gg: ASbGncvmxeiJ35RiuTsK+no8VTHJ99i+pJJAk4pm2z6D1d8N7vT6elooNcyNu2wL5Ey Hsst6yRwFftjD6rVp8LIpu6GwbV1K3Xa1fjhF0dd44hcVeh6TxyS+EA+Nmj8Ibj5tKJkC/Nt4oZ YUQtLLWiFm4toxmzPxJKyeCIaWSmAil9TmrB00RQpVPfCARvGVVZ1GBDFFDNZcv/U/LzyB1wquc 2+2c7J4jXZWAA8pvAepsYMKZ1mhMINXjR4a09MK+gkt+7Q7vDOcoMxLIwZHvUkSZIisgu7HHj77 lNSYvLr08dqllo9JptiJEip2UCWIunC7X29jeN0NQ4WM/Qd/s+sPbLy4PXNFRBElDPCUofQcgeH zih4= X-Google-Smtp-Source: AGHT+IHMCpFf3za/2zga9wzYWUXOD8EqX8q/IGQQEoB/vBNYMqt0kT2fJkpzPxEdYrtE0w5XtKL2mQ== X-Received: by 2002:a05:6512:acc:b0:553:263d:ab97 with SMTP id 2adb3069b0e04-558fa876adamr1237993e87.1.1752082273452; Wed, 09 Jul 2025 10:31:13 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:12 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 06/20] p8platform: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:40 +0300 Message-ID: <20250709173054.605430-6-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118360 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 --- .../0001-allow-build-with-cmake-4.patch | 42 +++++++++++++++++++ .../p8platform/p8platform_git.bb | 5 ++- 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-extended/p8platform/p8platform/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-extended/p8platform/p8platform/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-extended/p8platform/p8platform/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..cb49cf3624 --- /dev/null +++ b/meta-oe/recipes-extended/p8platform/p8platform/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,42 @@ +From 0cfe5772f35d067cb10daf3c66b7fe5f3901f260 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 11:47:58 +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: Backport [https://github.com/Pulse-Eight/platform/commit/d7faed1c696b1a6a67f114a63a0f4c085f0f9195] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f5b2ff8..b7cf077 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,6 @@ + project(p8-platform) + +-cmake_minimum_required(VERSION 2.8.9) ++cmake_minimum_required(VERSION 3.5) + enable_language(CXX) + + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}) +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/p8platform/p8platform_git.bb b/meta-oe/recipes-extended/p8platform/p8platform_git.bb index e69d544b66..e7af1c7298 100644 --- a/meta-oe/recipes-extended/p8platform/p8platform_git.bb +++ b/meta-oe/recipes-extended/p8platform/p8platform_git.bb @@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://src/os.h;md5=752555fa94e82005d45fd201fee5bd33" PV = "2.1.0.1+git" -SRC_URI = "git://github.com/Pulse-Eight/platform.git;branch=master;protocol=https" -SRCREV = "a7cd0d5780ed80a4e70480d1650749f29e8a1fb2" +SRC_URI = "git://github.com/Pulse-Eight/platform.git;branch=master;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" +SRCREV = "a7cd0d5780ed80a4e70480d1650749f29e8a1fb2" inherit cmake pkgconfig From patchwork Wed Jul 9 17:30:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66516 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 0D683C83F0A for ; Wed, 9 Jul 2025 17:31:26 +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.web10.3047.1752082277281671195 for ; Wed, 09 Jul 2025 10:31:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kHdjAQOR; 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-553b5165cf5so97432e87.0 for ; Wed, 09 Jul 2025 10:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082275; x=1752687075; 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=5U/NDcbkX/i0mrXcKFQOKnPw2TQuHVeB8wl1IlXYv4w=; b=kHdjAQORz5XYz+RLM5Jose0kqJc8Ht0guw+U8H1N6sPhxs4X+xBENh4xL7LcM+er8P FP50OJhz9w9vc2zzFISDaFxBJdVvJyNTFfTU0uj34dT19kExBBPg2q+vBzFvEMYToSWM FF9E+8843nAmJzEDkVQizMpxkG2dyEp/+Z+EbVtL2x16FA98BFjBIsKJ3YD4QTl4egUz 6zC0IwcGYYq986K4IPKcXyPfZSaXYZNwpWRXozED85f4hq9P/QmuvRWHF5PxpK2kLsdU 03s01jVSUELwf8/AMFdFNxE9QvliwKwOhSKL3xwdGaCQe80ATngbihPQM/RxVvdB/O8q 4JQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082275; x=1752687075; 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=5U/NDcbkX/i0mrXcKFQOKnPw2TQuHVeB8wl1IlXYv4w=; b=OeZHfZwkGYjVn3vNJwbgZzH0ValmOhNMvxP2s22LaB5RWLI4Q7Z6FyoVdK/I7Y+B4t CVn89d6atkiGSd+r4yjx5B2GYOpFubHZ+pYW407mrCkyc3OPKiJo3jvxdd90G/422EId Nf3hYdQJS7FlQP6F873g45lVTFHT8l3D8Tf1nfS9jNUO9VG9QbtV++sAc9/4MvroVxuz K1XWoU1MWArfgaxWZ8aOrDpd3tPB1k9nHxjg/CA1P/2upwn+yApbCNnewpLUiROD1aog 4McQ8HeK/sMfn5WpjBiMAvoIc3a3EILeaeIFUlIrr7+qaSZrjIApZAePOMSulmsvaGDY kSWQ== X-Gm-Message-State: AOJu0YyIROfzqw2U2gEpXWY52VJBfogQJBcSb5yqqgqMWENACDbLB0HH 7/2zFwBZdrw5rOvcLYrJYLNYQWBsX39zGrpn9EN4P26hAAQFhDsQ8psj/NR85g== X-Gm-Gg: ASbGncswaK5CXjn6UID7B/Y8KSo+DheDpi2XyTfSbfMPBzfZGXuDSmDb948FtjVUW3a h+krUl8n2nZLtZNg3Tstaa1/uzeT4pbr0uPN8LUclJMM+/ax0BnUE/6SUt62O/qtD3z9zrIoTGK cyQ+/8NlLVyyRJFXcIiiuuFRETEdNZMHJJ3i/qEKik0HNvHYoL/IdKfJDi16LLA69QAQ34ZvCLm JvEhxdUqhHX7nOaUQ8RWhJb/y34IPaodD/I0hbRwLIo9f+vzqC3JfyrzRkSKlRKKTSHv8CuJpCv eTPm+umJckO6LkFwRdQSc1ZhJ1Wo3QF6lvLSJXSENFVVqkmfi5Vp9au+2CWaEch0GxU//8uxFuC 8oFw= X-Google-Smtp-Source: AGHT+IG/pinb5+IXDjmOD0UuoxkAuJzEzAAtoXoONUp9aLTuI9xRFflw315EZBffZgEeFklyE7CogQ== X-Received: by 2002:a05:6512:400d:b0:54b:117b:b54e with SMTP id 2adb3069b0e04-558fa9187b1mr1222993e87.57.1752082274890; Wed, 09 Jul 2025 10:31:14 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:14 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 07/20] libsimplelog: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:41 +0300 Message-ID: <20250709173054.605430-7-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118361 Fix: | CMake Error in CMakeLists.txt: | No cmake_minimum_required command is present. A line of code such as | | cmake_minimum_required(VERSION 4.0) | | should be added at the top of the file. The version specified may be lower | if you wish to support older CMake versions for this project. For more | information run "cmake --help-policy CMP0000". | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak --- .../0001-allow-build-with-cmake-4.patch | 40 +++++++++++++++++++ .../libsimplelog/libsimplelog_1.0.8.bb | 4 +- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..17adf92bb0 --- /dev/null +++ b/meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From 77be1b3e7d6ff4261114424278413a679672bb92 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 12:10:37 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error in CMakeLists.txt: +| No cmake_minimum_required command is present. A line of code such as +| +| cmake_minimum_required(VERSION 4.0) +| +| should be added at the top of the file. The version specified may be lower +| if you wish to support older CMake versions for this project. For more +| information run "cmake --help-policy CMP0000". +| +| +| -- Configuring incomplete, errors occurred! + +Upstream-Status: Submitted [https://github.com/thuanalg/simplelog-topic/pull/1] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index dca80f1..0fc6db0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,3 +1,5 @@ ++cmake_minimum_required(VERSION 3.5) ++ + # Add main.cpp file of the project root directory as a source file + project(simplelog_topic_project) + set(SOURCE_LIB_FILES src/simplelog.c ) +-- +2.43.0 + diff --git a/meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb b/meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb index 31dce12155..41b9d47686 100644 --- a/meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb +++ b/meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb @@ -5,11 +5,11 @@ HOMEPAGE = "https://github.com/thuanalg/simplelog-topic" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c" -SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;tag=v${PV}" +SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;tag=v${PV} \ + file://0001-allow-build-with-cmake-4.patch" SRCREV = "093d80b4006042b75a433a5e63760ae9bebad142" - inherit cmake # Specify any options you want to pass to cmake using EXTRA_OECMAKE: From patchwork Wed Jul 9 17:30:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66520 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 21FAEC83F15 for ; Wed, 9 Jul 2025 17:31:26 +0000 (UTC) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mx.groups.io with SMTP id smtpd.web11.3021.1752082278696743159 for ; Wed, 09 Jul 2025 10:31:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kCcffaAi; spf=pass (domain: gmail.com, ip: 209.85.167.42, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-558fa0b2cc8so61069e87.1 for ; Wed, 09 Jul 2025 10:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082276; x=1752687076; 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=4jsH5eubNbr/sm1/NAIF7FIK4uYq+6w3VOoSeNTp0CA=; b=kCcffaAiksY8FJk4AKjpyQNp9BLDDHLaAzfnJ4Ske6IoPGOU3EpQCr6OGrSvMlsXsB FS3D1w/VLZMgUPPUlERTczeG51Jd+H3y+it1NcSeQ0kHi+x7EjR+eAjgRrSNg1sgQaBB r+MiDvITfUB6aC7TCaMId8mjgazfex5wWWP7wRHu3IVH6A5DQq+TVSh3kcwZmTC1BuRa gYBxMiWFXrxrhSHZi8rgeXY+HPj8iVSOIAoXYecoy8+Cmpi6N442rtgYtFevfZIx4G/q FYP0AfxGXxXVbuEmswtPcOkOd74pbpIvGEU9ZbNPtRExPYBIoBs9LENDGH7XJR2b+dA9 iRWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082276; x=1752687076; 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=4jsH5eubNbr/sm1/NAIF7FIK4uYq+6w3VOoSeNTp0CA=; b=EaOWbL3FRLOcszovZPeb8IoH1vmfAJu94vQJmPeXXt24IqOOLLxOuZCWR7gkviPPGC 43FBivQW5ySs9bH4B/YtF29D19RHLj+C6d7etTlDcmxvGUbTcYqL+RtgxWSfdoUZoUf9 1zbTMW7P+khgsfjKTXYvSxr9YFZ9wC46iN6lIEKxF938vciZ5Sa+RQTE32ZYTuZokPIr rIDoieDXdvxPIC8cMY8+rIGNWpqS8oZ4CxxvUXujJoNRWVh/d6LFZt3FsTkcaU9VPT9V /zSsLBhMQpcgxDqnfXXcNE3dE2+H71oUkXwUz7G6qbrA9ivnDnGXw5WnnpX3vKzykZal 4YpQ== X-Gm-Message-State: AOJu0YwDX/56+nT1pa6vpSkFunUZ58mLMZpdQYhRQldUXmpQnSTlS0LJ HpnpLL7EOBrMlWIHipjH9wmJJYccjgFlS/zCXhK7UhGb021S10O31SpfL6pWTQ== X-Gm-Gg: ASbGncsttorbf5KZciel1gMq9V2QCv92C0Dx4oq6TBKZ0TiLDvRF8W/aIqCxpSu+vXk 9QsDrWMhj1TilCVbUjCPk0cRlgirkGeG2rzD/QSy//yN/+VpAup3paNB266ABjTtA5Cn3gsQzO/ sgB/PrhwIG2NTJzG3BlsTRUiIU4jhEk6LeC1HDTBQQhU/E/Po2/g9beEa75u1X3aysZ9ifABwVF 2X7SEL+AEu1ARQW3DyofmWeWL1SkNOS7tXViXMjpqGNFtJaiwEUiNMVDM+hlp1bXHmM9iCXIegm z0MDTP1Q7l1mLv0xfU45tMhsGGCp8f2qrJkpDbE8zNoiEDyJIafx4tae4wsLPPtR4eWLTbwmm/i v4h0= X-Google-Smtp-Source: AGHT+IHj1OIjDvRv5+gPQbtXqSHfZ9PKvzroV1jezu+JlkoXi7Nxp6oV4aYX7SwDX999nhmJbK9FgA== X-Received: by 2002:a05:6512:2c8d:b0:553:cc61:1724 with SMTP id 2adb3069b0e04-559000476bemr269518e87.24.1752082276260; Wed, 09 Jul 2025 10:31:16 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:15 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 08/20] snort3: Upgrade 3.7.1.0 -> 3.9.1.0 to allow CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:42 +0300 Message-ID: <20250709173054.605430-8-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118362 - Drop 0001-Fix-build-with-gcc-15.patch because fixed in the newer version. Changelog: https://github.com/snort3/snort3/blob/3.9.1.0/ChangeLog.md 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 --- .../snort3/0001-Fix-build-with-gcc-15.patch | 79 ------------------- .../{snort3_3.7.1.0.bb => snort3_3.9.1.0.bb} | 6 +- 2 files changed, 2 insertions(+), 83 deletions(-) delete mode 100644 meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-with-gcc-15.patch rename meta-networking/recipes-connectivity/snort/{snort3_3.7.1.0.bb => snort3_3.9.1.0.bb} (87%) diff --git a/meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-with-gcc-15.patch b/meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-with-gcc-15.patch deleted file mode 100644 index f9cade5256..0000000000 --- a/meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-with-gcc-15.patch +++ /dev/null @@ -1,79 +0,0 @@ -From 2bfb46b11d35f2fc5f3926376651cc936c6eab13 Mon Sep 17 00:00:00 2001 -From: Nguyen Dat Tho -Date: Mon, 31 Mar 2025 15:59:51 +0900 -Subject: [PATCH] Fix build with gcc-15 - -Signed-off-by: Nguyen Dat Tho - -Upstream-Status: Submitted ---- - tools/snort2lua/config_states/config_ignore_ports.cc | 1 + - tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc | 1 + - tools/snort2lua/preprocessor_states/pps_frag3_engine.cc | 1 + - tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc | 1 + - tools/snort2lua/rule_states/rule_gid_sid.cc | 1 + - 5 files changed, 5 insertions(+) - -diff --git a/tools/snort2lua/config_states/config_ignore_ports.cc b/tools/snort2lua/config_states/config_ignore_ports.cc -index 4ddfebb5d..ec180a558 100644 ---- a/tools/snort2lua/config_states/config_ignore_ports.cc -+++ b/tools/snort2lua/config_states/config_ignore_ports.cc -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - - #include "conversion_state.h" - #include "helpers/converter.h" -diff --git a/tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc b/tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc -index 2a41decb8..79e98dd2b 100644 ---- a/tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc -+++ b/tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc -@@ -25,6 +25,7 @@ - - #include - #include -+#include - - namespace preprocessors - { -diff --git a/tools/snort2lua/preprocessor_states/pps_frag3_engine.cc b/tools/snort2lua/preprocessor_states/pps_frag3_engine.cc -index d5c1fcf4d..c0309cc6f 100644 ---- a/tools/snort2lua/preprocessor_states/pps_frag3_engine.cc -+++ b/tools/snort2lua/preprocessor_states/pps_frag3_engine.cc -@@ -19,6 +19,7 @@ - - #include - #include -+#include - - #include "conversion_state.h" - #include "helpers/converter.h" -diff --git a/tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc b/tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc -index 1e97a58ad..3df35340e 100644 ---- a/tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc -+++ b/tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc -@@ -20,6 +20,7 @@ - #include - #include - #include -+#include - - #include "conversion_state.h" - #include "helpers/s2l_util.h" -diff --git a/tools/snort2lua/rule_states/rule_gid_sid.cc b/tools/snort2lua/rule_states/rule_gid_sid.cc -index 7f2b84ae4..d3215b655 100644 ---- a/tools/snort2lua/rule_states/rule_gid_sid.cc -+++ b/tools/snort2lua/rule_states/rule_gid_sid.cc -@@ -27,6 +27,7 @@ - - #include - #include -+#include - - #include "conversion_state.h" - #include "helpers/converter.h" --- -2.34.1 - diff --git a/meta-networking/recipes-connectivity/snort/snort3_3.7.1.0.bb b/meta-networking/recipes-connectivity/snort/snort3_3.9.1.0.bb similarity index 87% rename from meta-networking/recipes-connectivity/snort/snort3_3.7.1.0.bb rename to meta-networking/recipes-connectivity/snort/snort3_3.9.1.0.bb index e9169a050f..598b1f4dfb 100644 --- a/meta-networking/recipes-connectivity/snort/snort3_3.7.1.0.bb +++ b/meta-networking/recipes-connectivity/snort/snort3_3.9.1.0.bb @@ -9,11 +9,9 @@ DEPENDS = "flex-native hwloc libdaq libdnet libpcap libpcre libtirpc libunwind l SRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master \ file://0001-cmake-Check-for-HP-libunwind.patch \ - file://0001-cmake-Pass-noline-flag-to-flex.patch \ - file://0001-Fix-build-with-gcc-15.patch" - -SRCREV = "6a11279883a8584e06ad9ab2df162c639961cd61" + file://0001-cmake-Pass-noline-flag-to-flex.patch" +SRCREV = "6730d53f99f3714654804d07203f33e6b1b8a107" PACKAGES =+ "${PN}-scripts" From patchwork Wed Jul 9 17:30:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66518 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 2705BC83F17 for ; Wed, 9 Jul 2025 17:31:26 +0000 (UTC) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by mx.groups.io with SMTP id smtpd.web11.3022.1752082279890465796 for ; Wed, 09 Jul 2025 10:31:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A/tC0fs/; spf=pass (domain: gmail.com, ip: 209.85.167.43, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-553d771435fso52802e87.3 for ; Wed, 09 Jul 2025 10:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082278; x=1752687078; 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=gyYbquG+69KHkFrG6XS8HnYm78pyhsXcGTcERkC0CG4=; b=A/tC0fs/bFKCqBJZe+J51Z0KX453wXntGQfPDTLTuqO/s7gjnnIU4nbyDS2dUV5mYm l801qWWE97wugMnyRfZzMKzmyn3xN7LFQo8Mh4tbx4j5keIN22uwPJ+iqOiS05lVx9vN mDh9aIUU2XSMrhWae+W5+zYqn7VUM3yLAUL9W2lPbXhk6rwHsRRZlmYmRx664wqgjTuV EuUsHfSQ8Ietir+SMpDpHhjepBCPfLiQTOc+5SS3OnGMUcNpU/KK3BDzyvHp7xztf3vY 5RYXvDFYf6P1QVCSBXlRhT3iTGe14a94baTcwD+p3q45ocIIYxMlifEQrnb4/Wnw261J 1GGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082278; x=1752687078; 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=gyYbquG+69KHkFrG6XS8HnYm78pyhsXcGTcERkC0CG4=; b=kYrFCqWjcKNpKOCspWMlQRx8qxNKvQfMRTfEIf7cksZUA+W7oNUyvdyPwghWRYb6s6 2vB2fIjbUvnUm7G9SrV98R63qH4IfOOunZhCtJitonco8Jp9yVRRn9greKx9q2j2+/6/ OXQWrX9of6tSx2tAwSdAryTRyDYkxGmwx/RcJk0oLB3F887IuQ+E+NorHskI3Dt/0kQH gqk9EmwJtERMBcWldf+55yPCjt6DAtMlgL/EuQJi7Ue7kNr0e7XTA+bPXWTyu4/ncOFD jLBVFq/UoPTtjs42Vp9BI6gyCtzYPS/8T6x4umUhmIat+JEKHhAg3nPN7iKewUh5vGWG IoPA== X-Gm-Message-State: AOJu0YzFrtc81HThKiKo3j0U40Ss1M5tFAQv5iOu6e/OntnXMQAAAa1r GN3jiOYrBdXmaz3Ssn9R/0POMY6+rNlM+fIanMmW3bmFF1xORbOQ6vfqN4Rx1w== X-Gm-Gg: ASbGncs1SrRwqj4P6X+95juCl/qMchxXP0lal01Ab8EWq8voU357v87a5N9wNJ1qIII qyJkXx2VP0OTYGKfhaZRrGchUKAw9br4wKot5q5GfZv5npC+fXmENIsqJfh19r9IdAQY+gdIak1 H2K0zfVrv8q5Zea3g9leEQlPxxRxsN+EDptWMA40NaiXUhg6we9J93lSMsbYaiwMLORepixe8x+ IpD2zE1h6ADypbIv/gG8yvpryu9+qdjnfPDfD407zvjDljGFHjZq3dfJXkl87DGvXjz0Cf1YXyK HuFmO/R7ItnubQLFRUrGoZjxHx6KZ4XwkFd7YfQmT9ZPrhRgvcyw4bMXAMhv4iHYXKnsjWRDe2O WL99KjDybwTUx5g== X-Google-Smtp-Source: AGHT+IEgGpRxDRIktfF4cWKz/MTdiXRYRByKrkaA+eTK01luKy4t4y0WqJ1L11d18PYPQRnVU5QdHw== X-Received: by 2002:a05:6512:114c:b0:552:1c1b:556 with SMTP id 2adb3069b0e04-558fa8b24ddmr1207540e87.24.1752082277427; Wed, 09 Jul 2025 10:31:17 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:17 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 09/20] libuvc: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:43 +0300 Message-ID: <20250709173054.605430-9-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118363 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 --- .../0001-allow-build-with-cmake-4.patch | 40 +++++++++++++++++++ .../recipes-multimedia/libuvc/libuvc_0.0.7.bb | 5 ++- 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 meta-multimedia/recipes-multimedia/libuvc/libuvc/0001-allow-build-with-cmake-4.patch diff --git a/meta-multimedia/recipes-multimedia/libuvc/libuvc/0001-allow-build-with-cmake-4.patch b/meta-multimedia/recipes-multimedia/libuvc/libuvc/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..bc91f3bf92 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/libuvc/libuvc/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From 347567b4a01079faa1e5d3796f185241efee6e4c Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 12:49:18 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +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! + +Upstream-Status: Submitted [https://github.com/libuvc/libuvc/pull/294] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fbaffc9..54e7431 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.5) + project(libuvc + VERSION 0.0.7 + LANGUAGES C +-- +2.43.0 + diff --git a/meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb b/meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb index 10e64e9878..9a3f718e16 100644 --- a/meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb +++ b/meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb @@ -6,8 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2f1963e0bb88c93463af750daf9ba0c2" DEPENDS = "libusb jpeg" -SRC_URI = "git://github.com/libuvc/libuvc.git;branch=master;protocol=https" -SRCREV = "68d07a00e11d1944e27b7295ee69673239c00b4b" +SRC_URI = "git://github.com/libuvc/libuvc.git;branch=master;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" +SRCREV = "68d07a00e11d1944e27b7295ee69673239c00b4b" inherit cmake pkgconfig From patchwork Wed Jul 9 17:30:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66519 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 2F741C83F16 for ; Wed, 9 Jul 2025 17:31:26 +0000 (UTC) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by mx.groups.io with SMTP id smtpd.web10.3049.1752082281251777134 for ; Wed, 09 Jul 2025 10:31:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MIgdtmcF; spf=pass (domain: gmail.com, ip: 209.85.167.43, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5550dca1241so71586e87.0 for ; Wed, 09 Jul 2025 10:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082279; x=1752687079; 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=8o/Fz1jDmreNFFMbtvyPNK/r60rF4NoKG8sRm/1zYws=; b=MIgdtmcF1FcuvyL5tAvfjqPZv8AOU/TE6Up15ECvrzHvpnqbsR7E587XP9J65GuI3z E0G/st/QGwtDG2Ii8t4CJQnVtNQMaVBqYF8RBfARCBhR2qwixsRybEmIRPGjG5GlG0iR Om4wnDcYgFqYk0yi0VRzLW3fXPCKAvpl9O1mHqgzsJR5elWMRN8Xbz9mvNsi3GzOwQv3 A3j/o9TeoMQNmPSyE+3+tnrf6ntEaHqUmTrS2K5m5OMKkmaDavRiYuHYLoT7sKtSApju PCTTdXmiJDDjXx1M1/3a09E2BuygTOFU2UzhPfmDNi8xwDSfB+ONop7JKCr9btpVtvu9 NAow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082279; x=1752687079; 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=8o/Fz1jDmreNFFMbtvyPNK/r60rF4NoKG8sRm/1zYws=; b=DTRvQj03b/jq6/K1/hTDvEMB+f4OAl7FuxfLGrpmQ45ihWNX4lH9+gSUqD/POJ17qf JUjn2mXljbbR0Un9W15OioNhssc/qEejuJH7jA/PS2ytKYEnB8Mk5OqrZtqS3gocIYSh hhJdMPYeIvr8RxUCdsmnwwYB5/nsBHpxCCLBmaOfM1+Q4+6R1bNUYCzxqbVNN+r0r9SD +wYPZjmHTZnc99lgjIKSjsoNUvwxatFhyiQB2fe2hbjKG+wOfz3U9vu6hGNZlM8SqwMR U10RXSffHWS2rrD4fMeZ6uwK1akL10+VH1rQtWHpxujjL5D9HBxuBYNqTO0d43DlF1fx 7+Dg== X-Gm-Message-State: AOJu0YwX1eyDxpw0l8xp2TgEEOMfWoXlSBrXaQ9ZTfvA7MWP44Y0wSVY sq2PPjX4dXSDHJ9RbeA/whR0mZq7p7f99qTXBcbXy/FElqP7cQQ3JuwVru+JvA== X-Gm-Gg: ASbGncuVXZzv5a27Qe0ILxT6Cq8QWzqVJP+F9rASeGAIQsQ3ycgPlOj6x5XBBXIr/g/ 5JD7F336SBZwD60ADWLa6CMDe60mxfjypfAps6okjIVrMfCPYRPorCH8oGXhfgbXN89Jxual9Bt UUovcRWDHyDGOQxzPH6YmsVf39Jn9KRiG63s25D3xjq5SV8H4idKTc2+vaozAod2cY2ibQG5xA3 UKqas+75Oc2WCQaCMS8Rh19051N1qmTmYTlX6Njz4lu/uXVDYHu0u9YusHr+TvN9/BmWPcn+ubh iDnJJ/zWH72Pz3lkh+IgeSclFIHVF9iRCLQM0Z+bmcWbeRzo17ern7VEZl/PpIYiQyxmjGzcSSM RB8I= X-Google-Smtp-Source: AGHT+IGRLMilwkMdPuJJ30QZ8HMpnacbnat2hIrYqVm/enY8+yQZfDG30YjuKgS8RrXwZ9yThq+A4A== X-Received: by 2002:a05:6512:3c86:b0:553:5e35:b250 with SMTP id 2adb3069b0e04-559000c51e0mr306651e87.32.1752082278801; Wed, 09 Jul 2025 10:31:18 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:18 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 10/20] flatcc: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:44 +0300 Message-ID: <20250709173054.605430-10-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118364 Fix: | CMake Error at CMakeLists.txt:2 (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 | 52 +++++++++++++++++++ meta-oe/recipes-devtools/flatcc/flatcc_git.bb | 2 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-devtools/flatcc/flatcc/0002-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-devtools/flatcc/flatcc/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-devtools/flatcc/flatcc/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..b0b0cedbfb --- /dev/null +++ b/meta-oe/recipes-devtools/flatcc/flatcc/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,52 @@ +From 4a53680194dac08b8f0247a7f3459c95ce0fddbb Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 13:03:33 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:2 (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/dvidelabs/flatcc/pull/349] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + external/hash/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cb6715a..b69b0bb 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,5 @@ + # Ubuntu 14.04 (Trusty) +-cmake_minimum_required (VERSION 2.8.12.2) ++cmake_minimum_required (VERSION 3.5) + # Centos 7 + #cmake_minimum_required (VERSION 2.8.11) + #cmake_minimum_required (VERSION 2.8) +diff --git a/external/hash/CMakeLists.txt b/external/hash/CMakeLists.txt +index 7b7d990..12eb3da 100644 +--- a/external/hash/CMakeLists.txt ++++ b/external/hash/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 3.0.2) ++cmake_minimum_required (VERSION 3.5) + + project (HashTest) + +-- +2.43.0 + diff --git a/meta-oe/recipes-devtools/flatcc/flatcc_git.bb b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb index 2565e3b9bd..a4bdda162d 100644 --- a/meta-oe/recipes-devtools/flatcc/flatcc_git.bb +++ b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb @@ -11,10 +11,10 @@ PV = "0.6.2+git" SRC_URI = " \ git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \ file://0001-Check-for-C-standard-version-23-for-__fallthrough__.patch \ + file://0002-allow-build-with-cmake-4.patch \ " SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196" - inherit cmake # Enable installation for target From patchwork Wed Jul 9 17:30:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66517 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 1898EC83F14 for ; Wed, 9 Jul 2025 17:31:26 +0000 (UTC) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web11.3025.1752082282474651618 for ; Wed, 09 Jul 2025 10:31:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BEy0/W+0; spf=pass (domain: gmail.com, ip: 209.85.167.45, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-556fd896c99so52016e87.3 for ; Wed, 09 Jul 2025 10:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082280; x=1752687080; 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=4sigPTdlxjlso66biZlRr35yPENNc9DBP+z2j2ZWXdY=; b=BEy0/W+08d19Oao5C1/1r1BuZBX52eZqSvMT7+hoo61O18CieVSrtDDrsU2yGYhOFr qcuFIUCOXUi+mgSNNn3BnOnXYE0kUqiAK72vzhbe1m4p+KujOwTUY7ZMZR95Rc6jXXZ0 Y/VAVa/Yt54JsL+VUK9KDloobkxOmP5HcVry0CpP78F/N7oFft90WIkBgk7/8mQD5BVG HmnqOMch5qvfXC60ZLwD3dsEVN6Z8gX35jArUVu77k4qM3xDvuP05yEu92O9lurcudMy Xa84xTbjJwy/kpS+OtpMC3kyg7xXjR7YDe8e/ks+l7ylmm4CX44yC+u1Y0nl6/VdikXN TcVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082280; x=1752687080; 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=4sigPTdlxjlso66biZlRr35yPENNc9DBP+z2j2ZWXdY=; b=AZn3pXScBPLBOuYxu9LZy76xcwfOC4w3s0otRxWU8HnRSkDqAjTknnCLwXvSiKxQDI Led5Ags1KEeVQI7ENbQ47btiYGoPXAcNkn08h5jCOZar5eceXPByGutl5Yc4edK/XAzO A6ep1UfNjtpfn/bR0MmfVD6z+zFda+7VBv/tHDwORMTuAg3/YlwyRE3G6zyprppvO+ZU Ueiow3OXxIt86j5s2CjRyZCVKoBhgAzEIUM30uOrqphoe6YX/lpz3G74tpnCHC45936B UNc51s7pZsvAXJqE3OoHxnch/D0bXcY+Kpmz2DEAtStQknWuDRfJp/Tl2nG8UIDDe540 ccaA== X-Gm-Message-State: AOJu0YzWsUIKHpv7HJKUriTmlngn6yZblA5/f9kKmyZ3BMtlGR4Dysv2 fFeS4yLNV1acP6YwXEfaqp/tBNmj1RMiYgEzM2HTmk45LnECIYwahPeaYObRbA== X-Gm-Gg: ASbGnct/H1wsjk8GfLjwntSm2ZJHbkId4HJpiKRTpVrot4Zzx3Q7fkOGETJinn2p1qX cTTXvxMIqzbhDEX3x6+C0Syjwznggrl0xcgc6olrmnA/a4XpeWzQpRLcNu0pdqOa02wQd1j22OI qm5/1vKYLFvq+zBygkC7cccQe+1y+6BFSKbP9ky5qRCUcHo1N8SGPFkMH0NuEFRrwiC3u8xCQBn 6KFIq9rDW+62+aFes4OE1rbB+liaiTa5qB9zw8swK/oi4MHsWGlLV+ZoBTfWPfTNKtpj3PIYgog wfnZcJDxld13OVdq/cqi155iTnBd9HpMrvn/FH6rYu+8kjNd4aDJ2Jj70XK8bHoztYMW5RSmtFC fgkM= X-Google-Smtp-Source: AGHT+IFYqs08i2BVzNOuGsZNjj0k7g5mSXhdtSZ1AI0p9sztaoRs3n9bmr5YmK30JzNWXCu6CVVhqQ== X-Received: by 2002:a05:6512:234f:b0:553:522f:61b6 with SMTP id 2adb3069b0e04-558fa8f8625mr1519871e87.33.1752082279988; Wed, 09 Jul 2025 10:31:19 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:19 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 11/20] nanomsg: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:45 +0300 Message-ID: <20250709173054.605430-11-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118365 Fix: | CMake Error at CMakeLists.txt:27 (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 | 57 +++++++++++++++++++ .../nanomsg/nanomsg_1.2.1.bb | 4 +- 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-connectivity/nanomsg/nanomsg/0001-allow-build-with-cmake-4.patch diff --git a/meta-networking/recipes-connectivity/nanomsg/nanomsg/0001-allow-build-with-cmake-4.patch b/meta-networking/recipes-connectivity/nanomsg/nanomsg/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..f61966134d --- /dev/null +++ b/meta-networking/recipes-connectivity/nanomsg/nanomsg/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,57 @@ +From 2e293eb9d3753ef87a5e05bc6ac270add0ad8fa8 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 13:25:54 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:27 (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/nanomsg/nanomsg/pull/1123] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + demo/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a9ae6a24..2e93724d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -24,7 +24,7 @@ + # IN THE SOFTWARE. + # + +-cmake_minimum_required (VERSION 2.8.12) ++cmake_minimum_required (VERSION 3.5) + + project (nanomsg C) + include (CheckFunctionExists) +diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt +index 4807f160..5ea96c4a 100644 +--- a/demo/CMakeLists.txt ++++ b/demo/CMakeLists.txt +@@ -6,7 +6,7 @@ + # + # Thanks for the idea goes to @maddouri. + # +-cmake_minimum_required (VERSION 2.8.7) ++cmake_minimum_required (VERSION 3.5) + + project(nanomsg-demo) + +-- +2.43.0 + diff --git a/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.1.bb b/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.1.bb index 8dce6c5c4a..3aaf056adf 100644 --- a/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.1.bb +++ b/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.1.bb @@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=587b3fd7fd291e418ff4d2b8f3904755" SECTION = "libs/networking" -SRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https;branch=master" +SRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https;branch=master \ + file://0001-allow-build-with-cmake-4.patch" + SRCREV = "fc3f684a80151a3319446fc96083a9ff384ee4fe" From patchwork Wed Jul 9 17:30:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66521 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 3BC85C83F18 for ; Wed, 9 Jul 2025 17:31:26 +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.web10.3050.1752082283796801369 for ; Wed, 09 Jul 2025 10:31:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HshSG/aX; 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-556fd896c99so52026e87.3 for ; Wed, 09 Jul 2025 10:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082282; x=1752687082; 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=Nr4ZoUMj1tSQXOLhN30vQi3SjRHMSWJFqYPivwJd1ro=; b=HshSG/aXG1gOcjRIkSBa0YfHiKYliFyDh5WqwJh+Ivnfa6mYm1iIg29f14mcRThiHZ pmoKuS2LRj9vWKDcg0ncuT+69PVZnycZKuL21vz+24pm+NX832qS9SPRHNNml8G6H9Yw dwMoLD88lRzmmzKhNEtWfHjk8S7iRyKUFgr2GH1l2qKOGADWkoatp3VjME85TQ4HNuQX w/tOYjau+1S1XuJKBlptmrHaLUmxGDaXG2jzHh4F7U2TBkFBz8Xf7gSzwZFYQ1IBb/8f Jv/xnmG3XOvAN4CT79VQ+LQ3HUuXtfEzTNkIqMQTYLe+1bi+JldhcMC6xuEo768XOibZ LOvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082282; x=1752687082; 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=Nr4ZoUMj1tSQXOLhN30vQi3SjRHMSWJFqYPivwJd1ro=; b=KxOyEfs0uPbHpW48zk7BhsrO43tOhGE4tniQVfsWv/p32859m2HY27HM4uNsIOf7vx ZzZ2GzZVK1Z6RxkocSDZohFHIeRkMrMDG95pJQUXYriuOmCU/BbXq0IsofS0KjSlNpur 8bm8KpT71Jq7G3iJryOCC4RzMMswIyxRyCabR7I8xrn72H7CJYMzToWpyBqAa3+RheBZ pRZw7xj751BLakFMjxe8Yl3CC9P8F9Jkycj3CybdheMJQrzZLMaj7GqISUlBWCsKBGW3 o/ds4JZdaqq5c5FPshcuARnsVPArKyYtHv7itRVGxJwiNBK+f6dXbmy1jhFFdFxjHnFP AHcg== X-Gm-Message-State: AOJu0YxpWCuZJwhNdlOr8F/n2uHtl8Sk/cgpz0WOT+G8ScuuiusPvVOl xZXubaGthgN5wRKAy96Orq8Bz6FfHYhg5RUQKvxMFLyKvjfyx6vc4Si7pdvTPA== X-Gm-Gg: ASbGncsOvEZFdPa0G/1vP7diTV00n6AKp8YWBAJx+kNzyRjD39WOEdzkG7q8ovH4MHS flzU6+2JZLLfDtFHiEgMwDGNP7+os6F2B3ZffLo2LdeavN5XCyl/rGXqB6HgJHcbVJxJBhYw/r+ ZvFp+VMSg85+M97pVMjAvQkmK4q0jrkpDMsoYJ1QakAeKU3brDXXQGenlw62JPJVh2KVrutBYzI adfl3IWFWecwjMCGlJV03VInrKxklL4ZOaSc+eRyIHGk3iMKF3SNjteN6y12NnWufENp37KEktf drS8mWZDGUSr18vnK2GWNT5b8ViqRkslrkHYmRv6rGnuZkgopSQXAsFtMnTusy550ubQUUFzeuA 1QAHijKlJI/Qbzw== X-Google-Smtp-Source: AGHT+IGODKo8WRVSxuN9mF4k1IpU6QUOxHNAqrv5PK7ePtSX/a9NeqKQdAkYJrpEYRORTKUZ/yDDaA== X-Received: by 2002:a05:6512:3c9d:b0:553:37e7:867b with SMTP id 2adb3069b0e04-558fa8f88bemr1275332e87.31.1752082281401; Wed, 09 Jul 2025 10:31:21 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:20 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 12/20] cppgenerate: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:46 +0300 Message-ID: <20250709173054.605430-12-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118366 Fix: | CMake Error at CMakeLists.txt:6 (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 +++++++++++++++++++ .../cppgenerate/cppgenerate_0.3.bb | 5 ++- 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-devtools/cppgenerate/cppgenerate/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-devtools/cppgenerate/cppgenerate/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-devtools/cppgenerate/cppgenerate/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..419a9c0b5d --- /dev/null +++ b/meta-oe/recipes-devtools/cppgenerate/cppgenerate/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From c7df183e6c34171fc4ce316c049ce69e87ae38a1 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 13:39:08 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:6 (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/rm5248/libcppgenerate/pull/11] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bec9d86..00b4abf 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,7 +3,7 @@ + # + # Copyright 2018 Robert Middleton robert.middleton@rm5248.com + # +-cmake_minimum_required( VERSION 3.1 ) ++cmake_minimum_required( VERSION 3.5 ) + + project( libcppgenerate VERSION 0.3) + +-- +2.43.0 + diff --git a/meta-oe/recipes-devtools/cppgenerate/cppgenerate_0.3.bb b/meta-oe/recipes-devtools/cppgenerate/cppgenerate_0.3.bb index 6e709b6e7e..edb5538425 100644 --- a/meta-oe/recipes-devtools/cppgenerate/cppgenerate_0.3.bb +++ b/meta-oe/recipes-devtools/cppgenerate/cppgenerate_0.3.bb @@ -4,9 +4,10 @@ SECTION = "libs" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" -SRC_URI = "git://github.com/rm5248/libcppgenerate.git;branch=master;protocol=https" -SRCREV = "930c5503f76c877b72b9ff8546353d6f422bd010" +SRC_URI = "git://github.com/rm5248/libcppgenerate.git;branch=master;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" +SRCREV = "930c5503f76c877b72b9ff8546353d6f422bd010" inherit cmake From patchwork Wed Jul 9 17:30:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66514 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 065F9C83F03 for ; Wed, 9 Jul 2025 17:31:26 +0000 (UTC) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web10.3051.1752082285204130263 for ; Wed, 09 Jul 2025 10:31:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=U6k6CH/y; spf=pass (domain: gmail.com, ip: 209.85.167.45, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-54d98aa5981so106942e87.0 for ; Wed, 09 Jul 2025 10:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082283; x=1752687083; 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=fr1o/PcHwo/y06ySz3WvapzKuZLXPtQMX1DNFm9w4Jc=; b=U6k6CH/yG1/4+OGCxd3bnpM0qgdjGXIRMKuhrS/ML2uDL+gKQetf/Z5f2HjCny9uGm LJzf0d8hSoytDT3BxU402CuqScNv3pbZwHWYk4eoC87CdEn2usMf3qb9IOsR5M3naBPL yWpmaNpuEedLoPNZaR4Qob+xfHcbyGdSagDldojqCDe5ZjpdWTESVW4g/qklKX2tBWTG PJxlTKvh7EN7XTSOJUwLQNmcoYymYt+dGCcyRj2bNQyG94BYFPsEpTZgXaDEZOYx9J5M fhuaqsV7gW60XxCH+QMUC5a808qPIF3gi7xBxeMIgjD8L02mRMZgYynNrvKkDh+HzVIJ cVpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082283; x=1752687083; 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=fr1o/PcHwo/y06ySz3WvapzKuZLXPtQMX1DNFm9w4Jc=; b=gqOH01/0+mj80OWp5vVvJYq5LYMhwhR/XQVQijtpPF/C/b02GxP5MixsZXbveL1qhY GliTmKJG5MrowyI/H7GvN9IyPmc7T/I6cNdyK7zUVHLDhAH/XyCpzW+JYZEboULTsucw N0FMIiQMAX+q1hyAtZYLj6Wh2vqzyAY4l+tK7U7kXXzCGpNkH2QojSJTav+4U5fkI3xJ aHrrUzK+tExBxee0gba7n5Lj60RhOd9evDQn2fO9Hj/Vb8da+0g+FZ+nHVbmPtQdyjMV PURMZ/c3L73hj+t99nfJkPrP7m9u9MjC46LT8SNYaSQkDScXDEoAZQ6xByYcYGIsTHpM 7BhQ== X-Gm-Message-State: AOJu0YzT9LO8G3LuviYnrPPN25duL9XaJeIxkJ7+wN7Z2UIUGIyAr9dK XlDgTxGIZFws6W7QrjSrFSxL4CU3Rta5/KipYTgTEHM4uv8DOEplLBkDrzZ6Uw== X-Gm-Gg: ASbGncvD8ZZgoqzIBB4lKLKBwWkqJVjGA2s6TfwEymBRWO68g44+APw9thPzYF6OEqJ mwI4+c4i0gHf60YTXyLxfLdh4ea52VQsb64nZiV4gVnu30L3Ph/w5tLrrz1Vphlxet1SRpx7Jbe 0f+S2mzUiEx4aMBMRE68zc3/qoCOYjz2zA6ZBUDKNiztLN6QBHF2lPiCfcdEibIReUfLLidwqiV CecmGbNBUsBr106Ca3DiE9byEU1YeKBP1Rinjh/l5N3ajdZO8nG2QJhfuSFtB5WukJRjRFhe098 S5qN/nUH1KDxRhJCYXdHvcv6u32JkzlFJ74Ih1sE91+FyKwLD3pOrNLTSAir0ZPRnVDq640A+c5 q1k0= X-Google-Smtp-Source: AGHT+IE2057/oq2halRUKENTM7kDXDMukASMzfk53iocIVF3zUxcae+93gfOmv+U2d+Os5IeKD7SPw== X-Received: by 2002:a05:6512:238e:b0:553:34b7:5731 with SMTP id 2adb3069b0e04-558fa87690amr1526443e87.3.1752082282748; Wed, 09 Jul 2025 10:31:22 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:22 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 13/20] read-edid: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:47 +0300 Message-ID: <20250709173054.605430-13-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118367 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 --- .../0002-allow-build-with-cmake-4.patch | 40 +++++++++++++++++++ .../read-edid/read-edid_3.0.2.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta-oe/recipes-support/read-edid/read-edid/0002-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/read-edid/read-edid/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/read-edid/read-edid/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..b1a1352945 --- /dev/null +++ b/meta-oe/recipes-support/read-edid/read-edid/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From affb4ef9dda539222eaad0784577254be1e17195 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 14:02:08 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +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! + +Upstream-Status: Pending + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2b9bc86..98c90aa 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 2.6) ++cmake_minimum_required (VERSION 3.5) + project (read-edid) + + option(I2CBUILD "Build I2C get-edid implementation" ON) +-- +2.43.0 + diff --git a/meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb b/meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb index 5ea0fb852a..86ea350d1d 100644 --- a/meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb +++ b/meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=292c42e2aedc4af636636bf7af0e2b26" SRC_URI = "http://polypux.org/projects/read-edid/read-edid-${PV}.tar.gz \ file://0001-Do-not-install-license-file.patch \ file://0001-get-edid-define-quiet-once.patch \ + file://0002-allow-build-with-cmake-4.patch \ " SRC_URI[sha256sum] = "c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f" From patchwork Wed Jul 9 17:30:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66523 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 3AA6EC83F0F for ; Wed, 9 Jul 2025 17:31:36 +0000 (UTC) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mx.groups.io with SMTP id smtpd.web11.3026.1752082287797460247 for ; Wed, 09 Jul 2025 10:31:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c1UP8W8z; spf=pass (domain: gmail.com, ip: 209.85.167.48, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-553b60de463so56773e87.3 for ; Wed, 09 Jul 2025 10:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082285; x=1752687085; 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=XEVOg8awUVziPWxUcgUh6JXWqxoNySqku+ut2WkXh7Y=; b=c1UP8W8zcSKfpJ6+okFzVAyYW6VVtBFXTsz1MJNsyy2P0MKF72TZVjbIosXVe1Q/Cq ig6SNBMXYNJjNSbrXooheOK6bocgDY/XJlZI5Rjhe30mWTDeHFnFCAgkmg2E0AnVRQaJ 5ONEQCKMtrQNc72dtIZUCcAeJgtQTDX9EAXsYpRfL5wKvi/EhXcH+v+3FoGIQXsSg5Tg fFHxGZIjFi1WLr3forOYnjhW6fHaG/iUTbsouim0ZYGQomL4gjoqG0eidqtGDOWv7R/0 rVRroSGSojC66vHlVE89JCA+Oy+KP87qlZ4PnuafAsgh3UlS6y8dJQ/c84iSedpqd16P SUoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082285; x=1752687085; 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=XEVOg8awUVziPWxUcgUh6JXWqxoNySqku+ut2WkXh7Y=; b=mpdqYjZWnk3lQwDDI4Prc9bB+ATzLKU61dVM6nKF0GG48VJU/YxblIGLUU+vwvbaby p5EZ2eDWQX1irOQFiVt+Te4/qWhfs7LhX3eJu4OYOu2LLztRyQwb+D27wht5/oscSPI1 jvTSqwlY/vbZkhOzRIbJHaPnis+CELoP5Evulgs1Ghq1FhqxeI6P+QhIaLlHEibUaSu6 r3sCLTG16MwKxbSlFPcTYmLtcyK77Eh1rXNl65N9du6rysgaM+I/lcHwdXQWQ1Blo3Gv OQzYEtt7y0LSrwnWnVat8AjHoW6LYwYVIKZA25T0Xf0iX8eNVG2X9Cek5SMY/89Itvv1 zv0w== X-Gm-Message-State: AOJu0YwG8gw9DCcFn1gEH12TqseXEobuMgvZA5d377YUT6olbem3w/xn SYZXeKfkKROZHW0fkWJlVuwNs3ykpqTyMrMsJyRnlwqfUytd2ncaiW8VvvDrbA== X-Gm-Gg: ASbGncv1qdDwjCQwgQvA8i2KCUx/PVy5n6Yze3BYY2YSUGo7QXqoHZta8XUp0RLnSPU h13LClVg7hcMsu0joa8qaE5ubvMDF3pt/0hwmQPMgSiOrdJeM5NYmpYdOCidE9BE6lgyYuQzwrL WTrR8Dhtt7IEiAVFrZVDNAXUk/dGfBUE+tKDTxnXcRUlzZCCRWFtW2nTnokVM9LrtwbDPAr/tlG XHgWmIB/wVDZS4+zKtYKjIIW7zDKK4BYZtbHXl9A9cjwlcVrtPn3WvSvACkbdgUaxMmXWrB80sF s1JTJ53up5z7aDYN4gEDU+FDKyYMM1Tw1Or5f+xdJ9VylKOR2k5bSe3UxrwfhPn5ms1YkpOtqt0 TlfY= X-Google-Smtp-Source: AGHT+IFsNIJ97Uiz5tn68HiLQn5lYRuevatSXANanmX2DSkO8vVqZPz/wHNS9fUORQyGNpvkLXOgjw== X-Received: by 2002:a05:6512:3da8:b0:553:ae51:1066 with SMTP id 2adb3069b0e04-559000423c1mr289072e87.12.1752082285136; Wed, 09 Jul 2025 10:31:25 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:23 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 14/20] ettercap: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:48 +0300 Message-ID: <20250709173054.605430-14-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118368 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 --- .../0002-allow-build-with-cmake-4.patch | 54 +++++++++++++++++++ .../ettercap/ettercap_0.8.3.1.bb | 4 +- 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 meta-networking/recipes-support/ettercap/ettercap/0002-allow-build-with-cmake-4.patch diff --git a/meta-networking/recipes-support/ettercap/ettercap/0002-allow-build-with-cmake-4.patch b/meta-networking/recipes-support/ettercap/ettercap/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..70e48f7d9e --- /dev/null +++ b/meta-networking/recipes-support/ettercap/ettercap/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,54 @@ +From 337e790d4fc8fed00a4f62047de1bc702f06105e Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 14:15:32 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +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! + +Upstream-Status: Submitted [https://github.com/Ettercap/ettercap/pull/1279] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + cmake/Modules/FindGTK3.cmake | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1c08875a..600bd9f4 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.5) + project(ettercap C) + + set(VERSION "0.8.3.1") +diff --git a/cmake/Modules/FindGTK3.cmake b/cmake/Modules/FindGTK3.cmake +index e07a4e90..f37fee1c 100644 +--- a/cmake/Modules/FindGTK3.cmake ++++ b/cmake/Modules/FindGTK3.cmake +@@ -351,7 +351,7 @@ endif() + # + if(GTK3_FIND_VERSION) + if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) +- cmake_minimum_required(VERSION 2.6.2) ++ cmake_minimum_required(VERSION 3.5) + endif() + set(GTK3_FAILED_VERSION_CHECK true) + if(GTK3_DEBUG) +-- +2.43.0 + diff --git a/meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb b/meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb index d5dc10a889..027b6dd190 100644 --- a/meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb +++ b/meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb @@ -21,11 +21,11 @@ DEPENDS += "ethtool \ RDEPENDS:${PN} += "bash ethtool libgcc" SRC_URI = "gitsm://github.com/Ettercap/ettercap;branch=master;protocol=https \ - file://0001-sslstrip-Enhance-the-libcurl-version-check-to-consid.patch" + file://0001-sslstrip-Enhance-the-libcurl-version-check-to-consid.patch \ + file://0002-allow-build-with-cmake-4.patch" SRCREV = "7281fbddb7da7478beb1d21e3cb105fff3778b31" - EXTRA_OECMAKE = " \ -DCMAKE_SKIP_RPATH=TRUE \ -DBUNDLED_LIBS=ON \ From patchwork Wed Jul 9 17:30:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66522 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 3AA18C83F03 for ; Wed, 9 Jul 2025 17:31:36 +0000 (UTC) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mx.groups.io with SMTP id smtpd.web10.3055.1752082289944720318 for ; Wed, 09 Jul 2025 10:31:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Xmk4JKqz; spf=pass (domain: gmail.com, ip: 209.85.208.172, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-32b4876dfecso12282861fa.1 for ; Wed, 09 Jul 2025 10:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082288; x=1752687088; 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=S00wi3suuJt+pCO1BDp8VSgVrOEwUDdHyapME4xg3+0=; b=Xmk4JKqz/udTvxxc7/zJwx1vwJOcSm3YhykQM0S5NOjh6RodS42dwtvnPFSaNzh4yb Vn+E3c5Yu2lbRYvPSeORxC9Fk2V4RCYsJgCijW1X4UTmX/6v8E5uJ3kk4GUuZQE3zU0v XW6vwCHHYftuUHeT309llWw+FA9GsxsvDQo/3rbpF6mWkD9fiuygaoSdLf0R8l5AQaPp dCUNT6eU7199UIETF3ZEE7QHuF71C444/+LfbaBYzLsxkHeMQ67TJNCO07BYvFJN/DZm /e6kJezXw7K8IzfMZ5kJ1+gV7Tm+FqfXgevcLOofwoRjDv/w7P5OpmShEXel1rgQn3jY dIXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082288; x=1752687088; 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=S00wi3suuJt+pCO1BDp8VSgVrOEwUDdHyapME4xg3+0=; b=pDI7zLYvbT4GMI/GbvadD4dH1nSslET+QSbMYVMsoJkqwQTfgYSApHVUteozk5QDA4 Edikgx5F4JooVuJl+ojV5BcP/2sBk4G5PtntoLQU4CdVYgVNDHOL3RUIk7ajyx3FTNs6 6eVDtfs1Ah2cbtzc4gwh9mxe2isMgdU84iBNZPzXVXfZ1FIUhlUS9IH8e2pjXWaQDrjC wNiQq0/ZHSSG05I5opxPxB2w2fEtaBtuwtXjt/bLsuPG2/cT7X5BM80nsBNZQnXflA12 7fz/ZzqgFL5kzuZ3uQUrNra+LxP/7K9gukGKHIfOdeayYTYY8Koduu8i3hQizIWBGLUk J1IQ== X-Gm-Message-State: AOJu0Yz/+rdC67a20KcwdWQm6w+PtJVjBn1pFUWNevosCcpXkRPZFPoM tb+gs+9InYQZ3y75ULrV5pHosELbXNcr04b6RYkI72fzu4HzAuOzIJcE0SUTfA== X-Gm-Gg: ASbGncvdjI6MVTOIYbB5eOal620jfKjVnUE7BgiwvAGMvHIRfCcz6+sReangUS56LiO 43uqJLj7+CFjOkRzve4ldTdKaFSIeiInM0TfLhTpBUf9VOLsok0mrVdWFwebTuP+B1X3AxtMJ8b dSZkY+4tACm7cxBGRNsjdIxnExUxTf7Z3qT1CzvtQ61Fots0MckUIrQMp9uB4BP3dzjCHyL80jj DvzviLdM47bOKmUciKic1Gwa4k7BD2BU2ImXLXxV5hchaMVgOYHA4VWDPM8kepFoY/zCujOeFS2 9H9W/73p4enpd4lrtypnRaU89Kx6ZGV6A+vYDA8ZG4gCcZTl2aF2d9i9Y1AJ9vgO/4sog7lW7kK 5G0Zt/Geeqakgrg== X-Google-Smtp-Source: AGHT+IGgLjH29Rp9KsT7eOcq/o9/RAZwmkvPjJBQlFjvBGBCT3BacxUenBkQSJjLuimL6dNdAuObZA== X-Received: by 2002:a05:6512:ba8:b0:553:2a16:2503 with SMTP id 2adb3069b0e04-5590071e6d8mr150729e87.22.1752082287444; Wed, 09 Jul 2025 10:31:27 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:25 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 15/20] dlt-daemon: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:49 +0300 Message-ID: <20250709173054.605430-15-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118369 Fix: | CMake Error at CMakeLists.txt:17 (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 --- .../0003-allow-build-with-cmake-4.patch | 99 +++++++++++++++++++ .../dlt-daemon/dlt-daemon_2.18.10.bb | 1 + 2 files changed, 100 insertions(+) create mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-with-cmake-4.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..ac5fec5684 --- /dev/null +++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0003-allow-build-with-cmake-4.patch @@ -0,0 +1,99 @@ +From ae23f2cccc169874d89903cad24bf36e19bef659 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 18:18:33 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:17 (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/COVESA/dlt-daemon/pull/755] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + examples/example1/CMakeLists.txt | 2 +- + examples/example2/CMakeLists.txt | 2 +- + examples/example3/CMakeLists.txt | 2 +- + examples/example4/CMakeLists.txt | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 94185b8..2a0f619 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -14,7 +14,7 @@ + ####### + + # Set minimum Cmake version and setup policy behavior +-cmake_minimum_required(VERSION 3.3) ++cmake_minimum_required(VERSION 3.5) + + if(${CMAKE_VERSION} VERSION_GREATER "3.20" OR ${CMAKE_VERSION} VERSION_EQUAL "3.20") + cmake_policy(SET CMP0115 OLD) +diff --git a/examples/example1/CMakeLists.txt b/examples/example1/CMakeLists.txt +index 60644a1..44cd053 100644 +--- a/examples/example1/CMakeLists.txt ++++ b/examples/example1/CMakeLists.txt +@@ -17,7 +17,7 @@ + # DLT example implementation + # + +-cmake_minimum_required( VERSION 2.6 ) ++cmake_minimum_required( VERSION 3.5 ) + project( automotive-dlt-example1 ) + + # +diff --git a/examples/example2/CMakeLists.txt b/examples/example2/CMakeLists.txt +index 66a4f24..a8efbcf 100644 +--- a/examples/example2/CMakeLists.txt ++++ b/examples/example2/CMakeLists.txt +@@ -17,7 +17,7 @@ + # DLT example implementation + # + +-cmake_minimum_required( VERSION 2.6 ) ++cmake_minimum_required( VERSION 3.5 ) + project( automotive-dlt-example2 ) + + # +diff --git a/examples/example3/CMakeLists.txt b/examples/example3/CMakeLists.txt +index 45b7467..4d4958d 100644 +--- a/examples/example3/CMakeLists.txt ++++ b/examples/example3/CMakeLists.txt +@@ -17,7 +17,7 @@ + # DLT example implementation + # + +-cmake_minimum_required( VERSION 2.6 ) ++cmake_minimum_required( VERSION 3.5 ) + project( automotive-dlt-example3 ) + + # +diff --git a/examples/example4/CMakeLists.txt b/examples/example4/CMakeLists.txt +index 53a4fad..161c333 100644 +--- a/examples/example4/CMakeLists.txt ++++ b/examples/example4/CMakeLists.txt +@@ -17,7 +17,7 @@ + # DLT example implementation + # + +-cmake_minimum_required( VERSION 2.6 ) ++cmake_minimum_required( VERSION 3.5 ) + project( automotive-dlt-example4 ) + + # +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb index 8b48d20aac..82edde6c9d 100644 --- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb +++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb @@ -20,6 +20,7 @@ SRC_URI = "git://github.com/COVESA/${BPN}.git;protocol=https;branch=master \ file://544.patch \ file://567.patch \ file://0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.patch \ + file://0003-allow-build-with-cmake-4.patch \ " SRCREV = "0f2d4cfffada6f8448a2cb27995b38eb4271044f" From patchwork Wed Jul 9 17:30:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66524 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 4754AC83F0A for ; Wed, 9 Jul 2025 17:31:36 +0000 (UTC) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mx.groups.io with SMTP id smtpd.web10.3057.1752082291343264957 for ; Wed, 09 Jul 2025 10:31:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jiLtbtq+; spf=pass (domain: gmail.com, ip: 209.85.167.47, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-555024588b1so79392e87.1 for ; Wed, 09 Jul 2025 10:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082289; x=1752687089; 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=AUB8N4WXrg+XkwXzifByJ9OL09RByS6k3nCdhE6XPdA=; b=jiLtbtq+c9rSW0X7vsMK78Zk8ABC0gd1sCtUnYUbhKWvqWYu5MvpcC1hUvI2nKLOsw f9KaF2DjQYyPhsmYJmUnfUbT08PYjgaabHxFgFO42NwhGm3LuE6eQW+tiIjpwhE9zNw1 2YYVmFQx5GYxVZsOQ6IGSr/5OUlNoOq64JeKzoqMeq56kQuvPt5TucB2eUy9hTIR2ZZh RSuLSdLUwUeejYzmK4XANwPHLrC7HztLt9f52e68OL267LcHGOnEKLxSktY107jlSAtr AYEEiW2fvnRQLk6nWzjDqI3z+h/u1cFFqVgraWiodAwsLmWv2Is5jpQCZCZxClRoxkAS lDtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082289; x=1752687089; 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=AUB8N4WXrg+XkwXzifByJ9OL09RByS6k3nCdhE6XPdA=; b=MaAhRmLZ+9TMJ9HZ1sxYe0PPkBxpEUSzzN7pCniaSO/pN3PBKOLGsQdH6H+hIruyxX o7yar6ik5a1wc8rWdyvrd6FmM+E0jqaUiyIceiDkzsCepwfWO6FloRJ1b0ZfyxEaHuLO PchzCZXzpesZF+QBjkn67rNrOyV6nSQE3uwSfSA3sqoPT3bF52Kz+pWZ6KZrht3DAw0g rVpE3zFx6LLwPQb8GXZylNRFWXjTi1ITYikUFXN6I0rTVRgSMtVLr2QqyuQAdhEPvH/t 9I9ooUAb5dXGFSaHjH5Dx5o5oSoPbIqXqjOrg5XaDEh+haKC4SOgBMbP8qD4zud4o+nD DW1w== X-Gm-Message-State: AOJu0Ywfcs9/mi+inY8nRAlzVns0vh7eLNevxsg3+DG1ZYoEHWLzO5W3 3jOdV/PbiyD58hW+OYPYLoh23qdmHP9DAEArASNpzOrZiKSqGEdmHAuuyYZQxA== X-Gm-Gg: ASbGncv49l2mskbChT1GYX4YAXwObHB+nB9/DKusssF6qgmfo6i3ZKqZqZxwmlINYvi p/DAMwUcvkbQkfJuFW/sVsQCbja9s/cupvB11EpWPeojOftwLMiCWWO2TbXE05CMd6WeTfH1VEs mi/fAHYHkD8FuxkLOBaqCMGFZOveMSUhaIhYWCLitonmDUWHDxmAsLgsMAw3pwp13l3dUu5zwmS Glu5UJIlHBXFqK+RZ1MgcQp5ztcW8xXDqMlu6KcGjjn9zYvXXbr4JEasbTPTqJ4Zz9bdrmvbfft rRmCMmCK2teh+4c4eSHD8bGwVreY6on0MRCBAdTQX0lZgKF9Oyiwq/W5if4lQhLKAncQK5o/zM6 aeUo= X-Google-Smtp-Source: AGHT+IFAWNyICQxo2xgJ9IQnzToSytdGY9lDLr0YpA32vGltjXM14Vn3lLrWU/5H/WsQuC6JRu0wsw== X-Received: by 2002:a05:6512:159b:b0:553:2868:6362 with SMTP id 2adb3069b0e04-558fa90285emr1095340e87.26.1752082288879; Wed, 09 Jul 2025 10:31:28 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:28 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 16/20] cpputest: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:50 +0300 Message-ID: <20250709173054.605430-16-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118370 Fix: | CMake Error at CMakeLists.txt:8 (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 +++++++++++++++++++ meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 5 ++- 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-test/cpputest/cpputest/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-test/cpputest/cpputest/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-test/cpputest/cpputest/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..cb12fe5f63 --- /dev/null +++ b/meta-oe/recipes-test/cpputest/cpputest/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From 2f264a05a1b0be02a8889427ff1e917f851097ea Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 18:50:25 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:8 (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/cpputest/cpputest/commit/fbb8526750aa370e642da7c21a98d6efdf7a3f37] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 88e0cfb5..1fa3f27e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -5,7 +5,7 @@ set(CppUTest_version_minor 0) + + # 2.6.3 is needed for ctest support + # 3.1 is needed for target_sources +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.5) + + ############### + # Conan support +-- +2.43.0 + diff --git a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb index 5710585b6c..bdc954c1e9 100644 --- a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb +++ b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb @@ -5,9 +5,10 @@ SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" -SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master" -SRCREV = "67d2dfd41e13f09ff218aa08e2d35f1c32f032a1" +SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master \ + file://0001-allow-build-with-cmake-4.patch" +SRCREV = "67d2dfd41e13f09ff218aa08e2d35f1c32f032a1" inherit cmake From patchwork Wed Jul 9 17:30:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66525 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 47584C83F15 for ; Wed, 9 Jul 2025 17:31:36 +0000 (UTC) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mx.groups.io with SMTP id smtpd.web11.3027.1752082292677698751 for ; Wed, 09 Jul 2025 10:31:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JW74ryeL; spf=pass (domain: gmail.com, ip: 209.85.167.47, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-553b6a349ccso106311e87.0 for ; Wed, 09 Jul 2025 10:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082290; x=1752687090; 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=tAjilhC+HhC8jZGVkpZ6NgFfXdxPNJ+yhk220h+Jr9s=; b=JW74ryeLOiFhG/0Pd0szDamtUvq3WNaZVE1jX7sR5MjaFLGUp311UGQRNygTzk7YT+ iMpCCDqVcd6/EL/AlgCoAZGefkriKx234l2oZG1uhPt4m4upPa1QTyx8abqFfW5gG4Gg Bofz1TJ94BTwhKvPFjtDPN0484Kn/ustMUr1B01E/RiPbdHdVv1hN7WiDko8reea/6mZ cUTxX66r5rLUBqs5evUmJ5UJPslYHsSXjptnLjR6bbuYKNhcxYH7R+8WA1nlqNOIbfQe bgG7/4/pdaWsPse6sLUkDWCPbQHjda/K6U5kIxqL2aZndWbHz2hroiPtl8qq+4/pWhJI AghA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082290; x=1752687090; 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=tAjilhC+HhC8jZGVkpZ6NgFfXdxPNJ+yhk220h+Jr9s=; b=IrBW1VBAvpMjViJ0VQXHk4/cWDe+f237OTvv8W+mA+Ju6Knl41jgNNq3zqO06JHuHx ffF0SIwok5tOT5T2kw1Gpr69X/VWPnJeC9nfA2iheCJZZy5bTHLAOvTcx2UrTlPREBGO xUnSuI2JROOL4HYvG4/KBW4Bl7hsNp1OvWTRaFNWW1/E5oy31nwAM5mclEnEaPZB/4yk bN/q7kVGz1f/8auyyypH47wzK7xnWM1yOUqK4uaoHRmri7fC8LY57wnxdmgfJQAvaICY //LtC10miBvbdZ58kgvHtCfi6lS/xIsAk+mqlJM2/pKz7YOQTlelYjTK4Ysgh07u5A6Y xmFQ== X-Gm-Message-State: AOJu0YxnfDEwg3xAbmCOL44CzVZ0WyX/8RaYTfbndmX3iry9EWD2z//S PRinSpfkKabDPepxPpPZq793V5m9qUNk0H7x2iVYeKFXG9OrqSIKURBqfoPg8w== X-Gm-Gg: ASbGncueYR4AqOylbxBKias2U0t+Ack2eSgPj5ab+cDlwD2wi+QzEsE3rbWuwHlOzft WXMvZPYum6LYcx93RsHzbOGSVYFGS/EsrF4e2IWIGxZKFeLtq19TKSQ02JMI0FgD3CWJE1kma3n VXesWc4Es2uUTXc8iBluOwDGBbHIgFJQX183f7W7njESb3DZuPNQ58DUHPLy+74jQIIalBES/hu WumRaH9C8sTNKeaPi6ZHMlY3WPLrgNqF81PfOmI9QhCO3KeNluWuPRpaG2U0S6eVx0zKuir4522 rIo9OANsVd4GvoUz2dUuCRZccIkaJaEO4XlbTf2UwTAqltyHrUfvqDald3JIAUjrS5BhjWIVuca WXFY= X-Google-Smtp-Source: AGHT+IF5/JMyasVzeGnuEI1ntBRkXWMI0Go5FwRfc5ZI2dEbPpsAkNO95mx2jxD1B5xjhmChLDXouw== X-Received: by 2002:a05:6512:3d02:b0:554:e7f2:d759 with SMTP id 2adb3069b0e04-55900087a75mr273332e87.28.1752082290175; Wed, 09 Jul 2025 10:31:30 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:29 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 17/20] msgpack-cpp: Upgrade 6.1.1 -> 7.0.0 to allow CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:51 +0300 Message-ID: <20250709173054.605430-17-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118371 Changelog: https://github.com/msgpack/msgpack-c/blob/cpp-7.0.0/CHANGELOG.md 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 --- .../msgpack/{msgpack-cpp_6.1.1.bb => msgpack-cpp_7.0.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/msgpack/{msgpack-cpp_6.1.1.bb => msgpack-cpp_7.0.0.bb} (90%) diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.1.bb b/meta-oe/recipes-devtools/msgpack/msgpack-cpp_7.0.0.bb similarity index 90% rename from meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.1.bb rename to meta-oe/recipes-devtools/msgpack/msgpack-cpp_7.0.0.bb index 3457964609..5b296a20cd 100644 --- a/meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.1.bb +++ b/meta-oe/recipes-devtools/msgpack/msgpack-cpp_7.0.0.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \ " SRC_URI = "https://github.com/msgpack/msgpack-c/releases/download/cpp-${PV}/msgpack-cxx-${PV}.tar.gz" -SRC_URI[sha256sum] = "5fd555742e37bbd58d166199e669f01f743c7b3c6177191dd7b31fb0c37fa191" +SRC_URI[sha256sum] = "7504b7af7e7b9002ce529d4f941e1b7fb1fb435768780ce7da4abaac79bb156f" UPSTREAM_CHECK_URI = "https://github.com/msgpack/msgpack-c/releases" UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" From patchwork Wed Jul 9 17:30:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66527 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 52277C83F16 for ; Wed, 9 Jul 2025 17:31:36 +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.3028.1752082293865008198 for ; Wed, 09 Jul 2025 10:31:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WFx/pD3u; 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-553dceb342fso67896e87.0 for ; Wed, 09 Jul 2025 10:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082292; x=1752687092; 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=1nAfYjSrSFmwuT1JheVI1SJZY6wRqr1atUwOW8IVZ8M=; b=WFx/pD3uSmqvAw57vuv1Uh0HYeC9izKh+qhxXg/P/LfinrVQfvu8dpCfUpKSHPGhBv 5Bi2nawMho8XDEYaVnpF1p3KwHn3LSrMZ4BsDRKYhJwOjAn/zAsSDzWvWvtra5Zrogko mxKFyjpxKXfgXnYZOoRNzXbTZI4aF0GEdS41maTF1FhPWjYfZfSlGMV6HzdDtYiCl8tO jd13L01eHF7k4dQGnLSVSXyplfTap1G2en5jMDXiD91lB8HviW/kW2ABRHVuhCw6QcRT Ph8tuvfLAAqVfB90OM/IV18rKIUjVwlB/Uc7/ZdDeee3h5kXfnQH2V12pYL4PXy15uWe Wv7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082292; x=1752687092; 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=1nAfYjSrSFmwuT1JheVI1SJZY6wRqr1atUwOW8IVZ8M=; b=uQq9yxlLUodZh0/LMeJCfllG8kCG0P9uJMiSspKYEyl0AuR+fxuXTsG3Q6+u7Mj3JO qfzez0IfNfSuC2Vur+e/+Pn4mC2dOuhxZTlnKt67MMy6uwHHFYpuUs2fSCraACMS6yV6 Dkg5ra8mFuabwAzhgO7Y4cVYHW6IJDeHvNm7wM80KSa7j2006833EXCiHR/+391kq9Rm lPRfitXecDek/buCttfKZAAtUmxf4JRorxhYB0uMCeJHaNR4fKurPQYYq8vqXpqu1mG6 Fsn6cSpP02tHUM7ELnUPT10sR9nPauAkclo/SSiiXjZNbhfaBsF05Cg3RFusuReeh9Hv 9OcQ== X-Gm-Message-State: AOJu0YxIAzhq5oHiQC45+oNThQfBVnUodCIBOB1PanpuKDlpcg8Vvjxm DwZAFFsT0osltdscMOIjJl90wqeCPAkQoAYNutVRhaf1/x4EvfF0SjSRz2x8pw== X-Gm-Gg: ASbGncvjB9ZTV96T66aWUpOvAwzJIWbIVXioiYbBDKTfYpB+1xoD7Tuayc9ksowDsND lsI6pA6VYjDwm/HQ8CbKM9o2urVcEwKhPTUbptMv1h0eEEMXM1zhlNVAg3JujxVzPXvc4T+ufyV a9scr3bhd+kvlYlf4lZY3TdVtvwTVHbm169CBd/0kPuKSExhlTdty4gPCJ6vPW9I6OpuJ8IuWwM jQCOmi0btqLFJUGcR6TfiFGs+bIfG3UlKSbH2tyeW8u6OdnOEgb95yfuT7auRhuNUap5z9b6Iv1 niTMO/sa/XaZtaqTZGGUyyv925Lip1GhUGEyqv87TpFXV0JiJHSoHSnAGzqqDE+OaUCxMtAom2A hXfw= X-Google-Smtp-Source: AGHT+IGJYRQs+OGel3XvNQcdAKg81X0Pp9KSjJB/2yu757mq8C4UxkCWbPKBoyedC5aF4p5d8H12TA== X-Received: by 2002:a05:6512:6d5:b0:553:314e:8200 with SMTP id 2adb3069b0e04-558fa877c8dmr1286780e87.8.1752082291375; Wed, 09 Jul 2025 10:31:31 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:30 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 18/20] fatcat: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:52 +0300 Message-ID: <20250709173054.605430-18-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118372 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 --- .../0003-allow-build-with-cmake-4.patch | 40 +++++++++++++++++++ .../recipes-utils/fatcat/fatcat_1.1.1.bb | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta-filesystems/recipes-utils/fatcat/fatcat/0003-allow-build-with-cmake-4.patch diff --git a/meta-filesystems/recipes-utils/fatcat/fatcat/0003-allow-build-with-cmake-4.patch b/meta-filesystems/recipes-utils/fatcat/fatcat/0003-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..1baa9c7e87 --- /dev/null +++ b/meta-filesystems/recipes-utils/fatcat/fatcat/0003-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From a2a3d85d44fc27edfee5c4d9667b2c315dfacd23 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 19:38:06 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +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! + +Upstream-Status: Submitted [https://github.com/Gregwar/fatcat/pull/46] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d6a2649..8f3eadc 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.5) + project(fatcat) + + OPTION(DEFINE_WIN "Compiling windows" OFF) +-- +2.43.0 + diff --git a/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb b/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb index bdde0d311a..876e8618eb 100644 --- a/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb +++ b/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb @@ -11,9 +11,9 @@ SRC_URI = "git://github.com/Gregwar/fatcat.git;branch=master;protocol=https \ file://0001-Use-unistd.h-not-argp.h-for-all-POSIX-systems.patch \ file://0002-Enable-64bit-off_t.patch \ file://0001-Replace-std-ptr_fun-for-c-17.patch \ + file://0003-allow-build-with-cmake-4.patch \ " SRCREV = "99cb99fc86eb1601ac7ae27f5bba23add04d2543" - inherit cmake From patchwork Wed Jul 9 17:30:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66526 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 59F6EC83F17 for ; Wed, 9 Jul 2025 17:31:36 +0000 (UTC) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) by mx.groups.io with SMTP id smtpd.web10.3060.1752082295108373397 for ; Wed, 09 Jul 2025 10:31:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=haeK0TsZ; spf=pass (domain: gmail.com, ip: 209.85.167.44, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-553c31542b1so60338e87.2 for ; Wed, 09 Jul 2025 10:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082293; x=1752687093; 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=+QkVWSmJMxN+O+WUuCx2bHCrknwlUOuQUOL7tMIilZM=; b=haeK0TsZYaGT8y5vbfW+axPk5ZlyySux8s7vGKYCGU/maNI2U0Nk54n7paW4uMlpS5 lbLZSrRAl1GQ4zFKnRwfrLrC5nYgLxjzPxyAnPzRoQF/ZloFYEL3XvKj0K4azeisBbgl hccg/C2kV2K4cuFgXydNhQ6wG4QmodC4ixB5w4127D+pmstyMbmu4DO+xBDnDTOTdlSs 8dg4XP9Qrlej4CEuaKhzwG/QksV/laOQpJUPcN6rPf7H5g0I9aqUcwDIk6VBC0bU4UL4 Fun+MYi4tQHI8bQaYtgQrGg8+/eIeNrX386MNgdHyd2VsETuAEVvZJNJ91kgGPAWXECi t5Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082293; x=1752687093; 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=+QkVWSmJMxN+O+WUuCx2bHCrknwlUOuQUOL7tMIilZM=; b=gfAqm1NOMTi5II+3qxVB7NsBZbsQ7HsjBSTU6jxeEjpej82PR5Pk2yBG0oQBIkBnd4 6LiCGCC3P1DhHL1ckpUK6vJcquLr5EAYlTClJKcVdKRn+oCcd3Y/Zdih3A5so8H+CHxg jebPkijRtlTp1ZMg42QiHKE6mn5jfDDqQulfFGQxqb5E0Q9aHTirtJFy+TSNyfisuMP3 X/j9lQwLX4CUW8qrw3hJIYHLkI1/5IWux14cQh9QiOuA+Je4yCFXIsWFuSPA260Q79k3 JEFlYwiWSGhBFvj0fhA26uTt0qtAeYCST5Gze5Axg7yvWpn4zaiJM1wnNbObH98SeCw2 1law== X-Gm-Message-State: AOJu0YzEazT69vJSYgjGTzPE9tgG09y13azgTvF9QKm7+JqWYS1u9SID WnH4CZmo25ePdwTE4yb8eXRoq1hEiqDR8itv3TpT4VscuGONjBmSOAL2XiiQKQ== X-Gm-Gg: ASbGncug/lBamguhX/wZnEhBRHyzi7F34IAXbI5oJrBgGaWdbYn1Bg3JXL6o73qY8Ma YpFlG2yXr2Sp03g0xLsg4xf4QJrqhSyFcnj3TO146z/o3OL63WtZSHas8AMVGtZ+/BgwfS7EPta IboSHyTPGzRtkqCgCmFPY8Zr0/4Un3rcNrUvpIjlEPICYeRSlbVZsIGYOthjC4RwVcq2G12kgd4 Eyq7hAyQ6fn5ZgSHxUpgww0JsVLoIGbANEuWSC+IGvTfgh989wJayQ8dHrXXRbnS4g8ChwnXY/8 n74ROu/iCW95BW1tgYsEr6ZherrH/mkyisedSaGLy9gGqs8F/AYsuwnIxsyi1+k3mbv59gq4mAe qsK8= X-Google-Smtp-Source: AGHT+IHb1ZAfP+8KtpoFhFK2SWsPnhdktJdcD2uxCa6u1XJPkig2Iah0b1rCA5ZHiDpu3O+5wsXfpA== X-Received: by 2002:a05:6512:3d1e:b0:549:5866:6489 with SMTP id 2adb3069b0e04-558fa9098a3mr1394180e87.47.1752082292618; Wed, 09 Jul 2025 10:31:32 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:32 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 19/20] serial: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:53 +0300 Message-ID: <20250709173054.605430-19-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118373 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 --- .../0002-allow-build-with-cmake-4.patch | 40 +++++++++++++++++++ .../recipes-support/serial/serial_1.2.1.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta-oe/recipes-support/serial/serial/0002-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/serial/serial/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/serial/serial/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..7dba62429c --- /dev/null +++ b/meta-oe/recipes-support/serial/serial/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From 35fe02e5376fd1372fd5feaee5b9148744ed77eb Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 19:54:57 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +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! + +Upstream-Status: Submitted [https://github.com/wjwwood/serial/pull/311] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0e4ede8..d03e39b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8.3) ++cmake_minimum_required(VERSION 3.5) + project(serial) + set (SERIAL_VERSION_MAJOR 1) + set (SERIAL_VERSION_MINOR 2) +-- +2.43.0 + diff --git a/meta-oe/recipes-support/serial/serial_1.2.1.bb b/meta-oe/recipes-support/serial/serial_1.2.1.bb index 42151da532..654173fa38 100644 --- a/meta-oe/recipes-support/serial/serial_1.2.1.bb +++ b/meta-oe/recipes-support/serial/serial_1.2.1.bb @@ -7,6 +7,7 @@ SRC_URI = " \ git://github.com/wjwwood/${BPN}.git;protocol=https;branch=main \ file://Findcatkin.cmake \ file://0001-Add-SOVERSION-for-shared-lib-and-comment-example.patch \ + file://0002-allow-build-with-cmake-4.patch \ " SRCREV = "10ac4e1c25c2cda1dc0a32a8e12b87fd89f3bb4f" SRC_URI[sha256sum] = "c8cd235dda2ef7d977ba06dfcb35c35e42f45cfd9149ba3ad257756123d8ff96" From patchwork Wed Jul 9 17:30:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66528 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 4FFD1C83F03 for ; Wed, 9 Jul 2025 17:31:46 +0000 (UTC) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web10.3061.1752082296491906715 for ; Wed, 09 Jul 2025 10:31:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HXCKP468; spf=pass (domain: gmail.com, ip: 209.85.167.45, mailfrom: alperyasinak1@gmail.com) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-555024588a8so76898e87.0 for ; Wed, 09 Jul 2025 10:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752082294; x=1752687094; 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=JP0v8hxfwPPinYFYeAUgIB3vR19NN2Of2/bXVo/tGQA=; b=HXCKP468xFuznODmg6S0Axg25zhj4IzA0sAZgIgx41PrLqMCUQ4NH6y4X2wks9iYac HYnuPv8KeMq9D1lr6YvOQsUyH1cZSKcOCN0Z3cGduoiahIuxfHJfHMostnoCUnYg7qAZ AbX/wGRIaeYl0Ugh78sVVgd/NtoY1ufQD/zB4KdRivXczuuZpDR6rHRg6C8T89gkvfzI RJFX2gLQjmp91NEF8AU5f5hqJ8zUKABYPvMM3iGbBxJA5QKfSFhd3kbizJLu0/QjSG46 9XnwoBb3baG/JG5sSVLvbFGu0fhg6AnMHPeNQwGjsm9POZ6CVE5MwGiS8aQoGigaP87R mwTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752082294; x=1752687094; 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=JP0v8hxfwPPinYFYeAUgIB3vR19NN2Of2/bXVo/tGQA=; b=Qsickpgy/dB4mCXqaiFf5Pabhj+1UUX2loxDCGYl8Je81+TRB3bioy+tJ+zojw0bPT Mm+b+nov8chDq2fA3Cc+N35Eo53C3MA0kqqPMFVcePAcwqw6Lxm96qUCixRYwNmquynb /rLEUd5dlLmIUC6Bv2K4gUgqLkEovQOVeN+yxPOnAmj1QiITF1jvN2C0oCStqf26M8t+ R/fztkzxPWW+KllORRSl1CcFbRUsae1H2SBTEbs+cWII2qfE6nivuD5OTr/UnAG3jx7U +zDBSPbMYn4pM0PaBUpjnGfY4efW9kFjf39wte1jxuqbikUcZCZOJ1SuDPAVqLK+E8mx h9TQ== X-Gm-Message-State: AOJu0YwBC5KjZqxBU3a2ejCpb2SDYjxOcuq3E+Ac+kieGfv/mELxlfBu pexwnMKwsMNSf32dsX5fuxTUyeHNMNd2EXbRC/PjDExfs2MhFcrOn4lMwYluzw== X-Gm-Gg: ASbGncvsk71c/MjJcNm+cihY0HAXFV+T7Kwg69DcZY53P80367gmoDajKv6eUpdvb5s qaKYRyT2BcmZkX2HI9lRHwfacXKnJm3HroCYeS04lYfDSVgg0PFRU9x0H3KxtWlhZ0O9Y0YuWCv 3NRSpV003of7J4TDkDPwPzFIKgB1r/a5QemdRg8LysDqYrkSrKBCvhZE4oiYiQzS/Ssx7BqeYgS rBy52Sm/x0vDDLmOZxjz44Atp2W5irrB7VmUthdJnpIospSwq/2LZBbBnq0BA9LGa6RdlrSPDpE 0oWja57FezNPdMzX/2dMg7/gHGLPXvA/rrBRAxlkugN9IcTfa02NxjaVfJ8aIZw7o6h0SSrq8p2 ahS4C6nzF6uGCAg== X-Google-Smtp-Source: AGHT+IEO8HzHpI8GNN2YuV8zKYSCoSQ8hzsCcqchF14c/ttqhjiIkgcQDfUSyf2J95roXIibifrdvA== X-Received: by 2002:a05:6512:4002:b0:553:32f3:7ec4 with SMTP id 2adb3069b0e04-558fa8f8726mr1218477e87.29.1752082294028; Wed, 09 Jul 2025 10:31:34 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-556383baeffsm2073854e87.2.2025.07.09.10.31.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 10:31:33 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 20/20] libcyusbserial: Add patch for CMake 4+ compatibility Date: Wed, 9 Jul 2025 20:30:54 +0300 Message-ID: <20250709173054.605430-20-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250709173054.605430-1-alperyasinak1@gmail.com> References: <20250709173054.605430-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 ; Wed, 09 Jul 2025 17:31:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118374 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 --- .../0002-allow-build-with-cmake-4.patch | 51 +++++++++++++++++++ .../libcyusbserial/libcyusbserial_git.bb | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/libcyusbserial/libcyusbserial/0002-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/libcyusbserial/libcyusbserial/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/libcyusbserial/libcyusbserial/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..433c845f4c --- /dev/null +++ b/meta-oe/recipes-support/libcyusbserial/libcyusbserial/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,51 @@ +From 0998662e52a4a31e8e7cfe89d695341082aea238 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Wed, 9 Jul 2025 20:19:39 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +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! + +Upstream-Status: Submitted [https://github.com/cyrozap/libcyusbserial/pull/8] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + include/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4d42eb2..4bbb2b0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8.4) ++cmake_minimum_required(VERSION 3.5) + + project(libcyusbserial C) + +diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt +index 8f0c90b..63f4d02 100644 +--- a/include/CMakeLists.txt ++++ b/include/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.5) + + ################################################################################ + # Install libbladeRF header files +-- +2.43.0 + diff --git a/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb b/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb index 939e7db24e..7c9a9908ad 100644 --- a/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb +++ b/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb @@ -11,9 +11,9 @@ SRCREV = "655e2d544183d094f0e2d119c7e0c6206a0ddb3f" SRC_URI = "git://github.com/cyrozap/${BPN}.git;branch=master;protocol=https \ file://0001-CMakeLists.txt-don-t-fall-back-CMAKE_INSTALL_LIBDIR-.patch \ file://0001-Fix-gcc-15-incompatible-pointer-types-error.patch \ + file://0002-allow-build-with-cmake-4.patch \ " - inherit cmake PACKAGES =+ "${PN}-utils"