From patchwork Tue Jul 8 19:56:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66436 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 C26DAC8303C for ; Tue, 8 Jul 2025 19:57:38 +0000 (UTC) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mx.groups.io with SMTP id smtpd.web11.5587.1752004650313075317 for ; Tue, 08 Jul 2025 12:57:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eV2TiNJi; spf=pass (domain: gmail.com, ip: 209.85.208.169, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-32b5226e6beso43787871fa.2 for ; Tue, 08 Jul 2025 12:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004648; x=1752609448; 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=D+aHBOGgTdjzHN7Lz837fNO/tGR0yp/L65WkrzJ7siw=; b=eV2TiNJiHft1sK9uoKm6auZS/tneeRi3pE1slZ9MEStZTXZ93cTmny8aeBuVNL9CgX IDZUIlH/lMfGCoFYnWMATXNasoOh5a3I5TBX0aWwECzpbq9SGiQtW/RR1IXBShS/DcRf /n1pKIwWhnmFx04n1e+6nrm19LRU59iyfZhi/obGNrcBLilh8DV917ic9YsVMYYTKckU y079xevp61vn+4hrWl54SlYCbyW4Vw3pp+P2nP+H+7C9b2f/zHEvksD3Arg1NTfkDjVc mgu1wsSCkSAC0nJu96mjbcF9u0+3tU0tUCxe41XTxQfO8Y7XOpHX28x8fw1GRAmemT/H tlnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004648; x=1752609448; 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=D+aHBOGgTdjzHN7Lz837fNO/tGR0yp/L65WkrzJ7siw=; b=pWo6ugmZQSgE/Qab4jbajm4osiaF/fuLFPtLSfi/6F1Idh20rXPLe6u+P2iFv+h9eK CTn9KhjjJoM8CxO/V3Zfk4uSkqtayQFYFBorchO26QhNGM4JZLKxQv/0sPcjCtOJGt9H mdFmnI37buLsZUWXDAmhnFeX0qPFlm/l+8BQBe+5vNKhsM9J3eo0SWej5fdbowH6MxCe VAZue4TA8TYrPX/vVo2ooBK+vi79606YUHgewAiXNOXMfqN4n6wMKcS266EEvCwqqWdl ab/Ye7tZcD+QZuDC9builZEU9zvpnI5wdMQtI616inK+y3OLESNDd0Frfg54PNRD50GC 9tXg== X-Gm-Message-State: AOJu0Yz3zBCAKX5Pwfur3pGifWkDY2FCLZ64WibfTBqCKoT085IT5fDN SIqd+ZYkrJ8TAj53akTCcaZKCW3q4vpxT2Mv5GLRa/kc4hWNeSYneI4FZ4y/4A== X-Gm-Gg: ASbGncuhzQUVk4Hui0w0iKTAmTw5vTWLylHl1NwSxI2wWLBlO0Yx0cw0+s35eLMeb7J VYIlh65283FK+NP19cI0BLcB6AiXMacZkOAIzGdrIbsiAMsDzTHdELJhdK40fPalNTeAcizLWV7 GEa1VJ6WAurzY3q+KPeduVQhmfjBXftUCrOW75SpMr7/q1qhZ5DrWAEumE3OCq2MxmRMGwyvF+C 5LNqyRFQfcdeXhToddqkMKScXgISVbB/3AyYSCQbOOSHvLeILxT0j05jq9Oa9T6opXTdIPzGqyi Y4yKHSPXgfL+MogGnHlNmXwrX1hIp+EHnr8VG/jJHuq9CMI5neEUTNLZwguEDkYPCAwnK5N9j/o TCe0= X-Google-Smtp-Source: AGHT+IE+h18l+5MoVBZ98ZSeYic8UydwA1n8a1s0MUn8NuFwVTDjUuVZA13gDfelmag48/d2Fjp51A== X-Received: by 2002:a05:651c:3255:10b0:32b:3104:f89c with SMTP id 38308e7fff4ca-32f092ed51emr42144521fa.29.1752004647685; Tue, 08 Jul 2025 12:57:27 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:27 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 01/20] cannelloni: Upgrade 1.1.0 -> 2.0.0 to allow CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:17 +0300 Message-ID: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118323 - Drop 0001-include-bits-stdc-.h-only-when-using-libstdc.patch because already fixed in newer version. Changelog: https://github.com/mguentner/cannelloni/compare/v1.1.0...v2.0.0 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 --- ...bits-stdc-.h-only-when-using-libstdc.patch | 37 ------------------- ...annelloni_1.1.0.bb => cannelloni_2.0.0.bb} | 7 +--- 2 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 meta-networking/recipes-connectivity/cannelloni/cannelloni/0001-include-bits-stdc-.h-only-when-using-libstdc.patch rename meta-networking/recipes-connectivity/cannelloni/{cannelloni_1.1.0.bb => cannelloni_2.0.0.bb} (71%) diff --git a/meta-networking/recipes-connectivity/cannelloni/cannelloni/0001-include-bits-stdc-.h-only-when-using-libstdc.patch b/meta-networking/recipes-connectivity/cannelloni/cannelloni/0001-include-bits-stdc-.h-only-when-using-libstdc.patch deleted file mode 100644 index 71f447c94b..0000000000 --- a/meta-networking/recipes-connectivity/cannelloni/cannelloni/0001-include-bits-stdc-.h-only-when-using-libstdc.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 7aed36765ae44b41ede7e139da0a11b3696f2e06 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 13 Nov 2023 00:07:23 -0800 -Subject: [PATCH] include bits/stdc++.h only when using libstdc++ - -We have other c++ runtime implementations e.g. llvm's libc++ which does -not provide this header bits/stdc++.h, therefore make sure that this -header is only included when using libstdc++ - -Fixes -| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/cannelloni/1.1.0/git/tcpthread.cpp:27:10: fatal error: 'bits/stdc++.h' file not found -| 27 | #include -| | ^~~~~~~~~~~~~~~ - -Upstream-Status: Submitted [https://github.com/mguentner/cannelloni/pull/56] -Signed-off-by: Khem Raj ---- - tcpthread.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/tcpthread.cpp b/tcpthread.cpp -index a1b3047..bb5a7b2 100644 ---- a/tcpthread.cpp -+++ b/tcpthread.cpp -@@ -24,7 +24,9 @@ - #include - #include - -+#ifdef __GLIBCXX__ - #include -+#endif - - #include - #include --- -2.42.1 - diff --git a/meta-networking/recipes-connectivity/cannelloni/cannelloni_1.1.0.bb b/meta-networking/recipes-connectivity/cannelloni/cannelloni_2.0.0.bb similarity index 71% rename from meta-networking/recipes-connectivity/cannelloni/cannelloni_1.1.0.bb rename to meta-networking/recipes-connectivity/cannelloni/cannelloni_2.0.0.bb index 835f33055a..287c7685e4 100644 --- a/meta-networking/recipes-connectivity/cannelloni/cannelloni_1.1.0.bb +++ b/meta-networking/recipes-connectivity/cannelloni/cannelloni_2.0.0.bb @@ -2,15 +2,12 @@ SUMMARY = "a SocketCAN over Ethernet tunnel" HOMEPAGE = "https://github.com/mguentner/cannelloni" LICENSE = "GPL-2.0-only" -SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=https;branch=master \ - file://0001-include-bits-stdc-.h-only-when-using-libstdc.patch \ - " -SRCREV = "3d4fb8c8b07f6d7c62b2bdad7e5a94de61c9a29b" +SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=https;branch=master" +SRCREV = "9f649ef21710999c6f674bc3d914ab2e88363bac" LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" inherit cmake - PACKAGECONFIG ??= "lksctp-tools" PACKAGECONFIG[lksctp-tools] = "-DSCTP_SUPPORT=true, -DSCTP_SUPPORT=false, lksctp-tools" From patchwork Tue Jul 8 19:56:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66440 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 E4EC3C83F16 for ; Tue, 8 Jul 2025 19:57:38 +0000 (UTC) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mx.groups.io with SMTP id smtpd.web10.5746.1752004651718458628 for ; Tue, 08 Jul 2025 12:57:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kz2++U2A; spf=pass (domain: gmail.com, ip: 209.85.208.174, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-32cd499007aso36336711fa.0 for ; Tue, 08 Jul 2025 12:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004649; x=1752609449; 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=PAvCRwep7kzbIY12k8wK84q34NsrrpjlU7COJ7gid3s=; b=kz2++U2AyfSq0ebkDqp67RrJkeeL2ZHubB6tSMOOCp2NNi903H4eQAZi56QlaDpuBV 8N2cC/Pc4rSelfSrjTELx017Zs20u6ayYYcnDvDYS/rDrky88tGeB7DeJ/3oxrEv7APB obUbagLgY9iOvWnOvVYfNy22snDX6H/nty07k8BTRZF2COSW/Bd/LmkC0Ttk9rCjKLR4 gLB8Q87u2BxxkiXtzy/auvd/q6+2cjuzhxbO35Zb6TqkIZrW7HEe7hARPklrJq+Airwc C4iB7PuJMV+YaXc9KKMu9xOxSYRCxCH0ezs2IekkWSplu4Qxz/mWaK9sueIO5GRJ4K/x z/xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004649; x=1752609449; 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=PAvCRwep7kzbIY12k8wK84q34NsrrpjlU7COJ7gid3s=; b=D6Tz41nEjVExhevjW1qygNIZCkSYKQ8x3CEzSfqyyND3QdJEF92EZcgsJNALAWWcUm KFBb6EPZUaLwDgJIt/703kOjNsk6MFCKJ2vqYaG32FzgDdEUpOXfKkdTiTXYxJvPK6uS V0LnUxhzNn0VD3ONJyxQNsyywo4bhRejv5Maa6xo8esDvIoYJ/OnRakftK9D6WXa+fs4 yfPJIoWUei0MZs8jAAPNwAkHla6nSPPn1xsA/nKnUNfGBUe6nf4fJyJhq7/42dFBUiPh 0gfS8qcgBFBYuGYFeVs2eNQYMbYx877BI4MihBrjo3YqhZdc6h5SAt3DjZIosoSapE8/ nsfg== X-Gm-Message-State: AOJu0YzGn6Ie6NqEvAKmRJ0flDVFKANunW2/Uz7nA2QsassaK2CLz3fi AeIBcrT1jo3txDIJYMCviXStyRE22ITu0jwCaCdh7l8bTZiR3D0iNSChIOLD4g== X-Gm-Gg: ASbGncvJNPRbOvoI/0Z9kLap/4b6bvQCpCLgCkmjdUNodB4f7MpLSkbOg2i3rPmhfe7 Zg/c1m/Gsn5RECAUnipUHqxrN58PlXIeV7HGe6OEdHMhyR8hteKpYlSO32TZWTfpvuZStSWGeAW b7jFBlLNhmu7tRH+SS8U7lWv9qok5JguRkhxGXki4ZOTyVpZhMxao5dVKx7X1atwMErJGZhELQ6 3CY08rK0kXXZXprvqaX7yrHAKt3eq23WNQaz/YHqIKhmXv7m+pC6Kgyru0wg/QXi66FT7/xDTYb oYL1E7ja9toFwx/uoCaIBpQozvewoJRTRk8NgelqRlgGWQy/JN1PA2ONaUoKbziF/s5NsFhuFBu vagQ= X-Google-Smtp-Source: AGHT+IH4XhwXaxQzthckFfF40XD58+Sgx7/3xQ3Xyq12bYflMNgyNnRJglpb7HLVsKyPIfS6XhvB5A== X-Received: by 2002:a05:651c:1108:10b0:32b:9220:8023 with SMTP id 38308e7fff4ca-32f42d32ef2mr1757571fa.12.1752004649043; Tue, 08 Jul 2025 12:57:29 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:28 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 02/20] jansson: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:18 +0300 Message-ID: <20250708195636.1678606-2-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118324 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 | 38 +++++++++++++++++++ .../jansson/jansson_2.14.1.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta-oe/recipes-extended/jansson/jansson/0002-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-extended/jansson/jansson/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-extended/jansson/jansson/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..5264f26f81 --- /dev/null +++ b/meta-oe/recipes-extended/jansson/jansson/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,38 @@ +From 5d7b2ced666b4fbccd0da6e06d504ae2960575c8 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 14:54:08 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +| 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/akheron/jansson/commit/96d160df90016066d04d493d1d69639474ba4f20] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 72f9762..d07412e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 3.1) ++cmake_minimum_required (VERSION 3.5) + project(jansson C) + + # Options +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/jansson/jansson_2.14.1.bb b/meta-oe/recipes-extended/jansson/jansson_2.14.1.bb index 715b1af5c5..e0916759c6 100644 --- a/meta-oe/recipes-extended/jansson/jansson_2.14.1.bb +++ b/meta-oe/recipes-extended/jansson/jansson_2.14.1.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d9911525d4128bee234ee2d3ccaa2537" SRC_URI = "https://github.com/akheron/${BPN}/releases/download/v${PV}/${BP}.tar.bz2 \ file://0001-Honour-multilib-paths.patch \ file://0001-Only-export-symbols-starting-with-json_-and-jansson_.patch \ + file://0002-allow-build-with-cmake-4.patch \ " SRC_URI[sha256sum] = "6bd82d3043dadbcd58daaf903d974891128d22aab7dada5d399cb39094af49ce" From patchwork Tue Jul 8 19:56:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66441 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 EBD47C83F18 for ; Tue, 8 Jul 2025 19:57:38 +0000 (UTC) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mx.groups.io with SMTP id smtpd.web10.5748.1752004653082783351 for ; Tue, 08 Jul 2025 12:57:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hVKgRAMp; spf=pass (domain: gmail.com, ip: 209.85.208.174, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-32b43c5c04fso2600341fa.0 for ; Tue, 08 Jul 2025 12:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004651; x=1752609451; 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=mcIdOAJRTWqSr8t4XkPghij38qkEgwdenSVyFyRoAVY=; b=hVKgRAMpSjdQHruUC87wIiIA2Jqt7DBJFnvJgb2kYt4MbDM6Wcp5+Mjv0+lGISMVLV n8SbqpokYjEPaPjPkGdBS8xz3fE5gS/oNt1i/xAOFr211/RRKah87fFMswUFg2JKv8sA 0fjmT5QFj8bCh/xhNJKc5F0BIFF0N7oLnjZuKN4OQ9XO66dl1JEjJXBxSckNoQRF6xqK p0qhG4p1d9jh/drtk7ZXUbonqgXf4IA578I4S2BaSo5jD6f86ZBFhcciIWBcd1jKbvb1 6aPNQ07acZXcPGT6NxIVhULKmIJrXyczuXZtTvO1nR7gQlFFRtoEgDJHq+ZehMzF9sR0 SC/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004651; x=1752609451; 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=mcIdOAJRTWqSr8t4XkPghij38qkEgwdenSVyFyRoAVY=; b=Z6w1wHHVfOw7Sv7Pc3NVcK/aMQm0ijwbo6S+PYxztU7gPi6YArqek6sfFjpLU9td+K /JmED13x9KdhvcyzzXUI/LaV5Hd8gvOCbZsliBtJ5BMmz43CUz/rkSeDPko2kosibHEv 6mdVzMtZIboSmUqw48VX/QNiqi5nu19NSM+dBDXarG//Fo/nlSSIdY8PED5yFLEyzkLp PUSfBil8q6noIVWUy9naRRG+m0CC8LMMjR9tx0iQB2Jx1wSnK9zOjqZG2aQCFk6iSHVE AAoRQGlVYgIiakbRGF57ADgVlKX9WA0sQVvPHeaJqeBEF18F+IBAC0AGKScsLjaFO1WD IuKg== X-Gm-Message-State: AOJu0Yy6US2y6D49T3O7zbSGGqsZ5sPGdQnc+nu/DVY3pdzZ46HPMNk0 bUCEHN3vCuJzL5VkVauogYfCfjHFOVY98Zxok9WwQqXWTt22DHJyK9xYwsBqhA== X-Gm-Gg: ASbGncsPX1WdpuXa+KJhoWyhUB9085W5kMN97JUWpf9oGOPVQypKDwuLnC2Og6PTuJ2 T1MbGiGUfSgDxQY291kGYXqb6KLNvoGsV3myBcfbIfJf07XxVtPoytwmNxaou0rMKcQVvyGWqUO DqP03kEZBYzQpXQ9OYTDvaxUJX8Hg9tbJNahgp8KVuBwV15nGdMD44RMhmCBlCr3FrDX7UxBjDh 6vQX+s1J2ljrcDRYd7wWeYVg914A8G/DCcaAJ7a8H8rViu/EZDgmdRJBRxNHl3DmsD9HFE/Vb5j 8USsyXDAtCnK0lAp53zoKCfPPC3Azo08SL+5N6PI7WEQ1Z+tvHs9mzP32hvBLhR1woF94GVV9Ks R6eM= X-Google-Smtp-Source: AGHT+IH3NENcIrGmHNeQSsTLnFf9Zq9MbsyGOWY/cEXp+eAdc8U/vS3+gTeHjlgH2Hm7LjWa7Kvljw== X-Received: by 2002:a2e:a58d:0:b0:32b:7974:5c9b with SMTP id 38308e7fff4ca-32f39aa564fmr17924311fa.4.1752004650416; Tue, 08 Jul 2025 12:57:30 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:29 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 03/20] cjson: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:19 +0300 Message-ID: <20250708195636.1678606-3-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118325 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 --- .../cjson/0001-allow-build-with-cmake-4.patch | 41 +++++++++++++++++++ .../recipes-devtools/cjson/cjson_1.7.18.bb | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-devtools/cjson/cjson/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-devtools/cjson/cjson/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-devtools/cjson/cjson/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..7bd608ca0a --- /dev/null +++ b/meta-oe/recipes-devtools/cjson/cjson/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,41 @@ +From 8622490d650ba4d107561a0e8f3cf881fa0247c7 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 15:09:11 +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/DaveGamble/cJSON/pull/935] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 36a6cb5..9428da5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,5 @@ + set(CMAKE_LEGACY_CYGWIN_WIN32 0) +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + + project(cJSON + VERSION 1.7.18 +-- +2.43.0 + diff --git a/meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb b/meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb index 33c8c28531..7ece0065ba 100644 --- a/meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb +++ b/meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb @@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0" SRC_URI = "git://github.com/DaveGamble/cJSON.git;branch=master;protocol=https \ file://run-ptest \ + file://0001-allow-build-with-cmake-4.patch \ " SRCREV = "acc76239bee01d8e9c858ae2cab296704e52d916" - inherit cmake pkgconfig ptest RDEPENDS:${PN}-ptest += "cmake" From patchwork Tue Jul 8 19:56:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66435 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 C3603C83F09 for ; Tue, 8 Jul 2025 19:57:38 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web10.5749.1752004654131972206 for ; Tue, 08 Jul 2025 12:57:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zgs78039; spf=pass (domain: gmail.com, ip: 209.85.208.177, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-32f1df5b089so32927321fa.3 for ; Tue, 08 Jul 2025 12:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004652; x=1752609452; 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=kxDi2PWK837Bwc8w88ziEbPwI/v4J8BYZlDwbc0Nzng=; b=Zgs78039xkNMAQ8cTCAMSpbnk+YNLjRB/DNRjde/PF+Kskun4zIopRPq3ev/xV8/Un OFLsilKFszQnNjs8Ge5LgGl7rrOIIwC04tb9vZxdt9bQqUxUKMw0VULFtteqaqwfQ2ht dgmSLuYZRmszEF/fIb+3ac+dUnNchpZ6ndmltK8y2UIG+wuOSwTM5A2paNXbJ+HNSdPj gMHEj4wU327sxFV4WFGBisBvegYMNj98sl5cwgXs8WpUITINxzvM9LK0GMqnxu1U+opx nRD50gESNU/KtNySCVgaZJD/1lR3k46qdTIMBNl9TaKw8lZSYIH0WOXkikzvHs/YW8gJ GfVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004652; x=1752609452; 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=kxDi2PWK837Bwc8w88ziEbPwI/v4J8BYZlDwbc0Nzng=; b=FQihN1o4a6+hg7BO5EBepF8uOfFwOhzP4GXcBXaq3jIEU86EA3Bzni2v30/AN+VIwd ZKYKnjZPWcrtETgxIpi8vrbFMkjVOgsICxRV7s5S0fIDEyHKZOXDWKozd4ld30N9KW20 X+rIOEvjBiSpXUa79HMBZ4LgGMVXVkrL5mfbBHFG+VNHno1xs+LDCF6lbfxcjZfF6W1s UWM0iqqBPMMavVWlbmLjexcNlDj6QFsHeXmqYahAb3Qf3/sIwFuEk3M+IZ50kjD2xHu2 mbgE5VrveZmlOoB6DkZgYGddTiZb93FcJcWGURDXfXsH/0F8CFk5FUIU1zevDBRM/yhS C9nA== X-Gm-Message-State: AOJu0YyyX4HggKRZawwNWYSdTBrF1GNocbk379NW3iW5ZNTGQKZlyNmZ LUiyhDUXzWmTvVQPOs2cLCD2VN3jzeoluddMSVhRWlnACHDBRDAqmNEFdB+LqQ== X-Gm-Gg: ASbGnctSQ9N7P1Iy2E0+M4e1TUgzCxmLmVnUvkN79wGkKOvpakxOV1RuhHxZ7fh//jp JSGJk29NISqbySJCZYgrr5wM/4XWHov5s+hFXY+/PPQgIRVxC8CgvlTRgddXCfDFGUUpf5tbBXM g297b541F0FXv4ZNNfdSaGedO7c3KbOaYO9h68DiS8p4v3Q1G5E0AP1NAjq/28Rs4L4JFfuzNR6 xV/Y09VlVTyuJ1maTZIwPKaS++iGo93OiZOjCDit4V4Vw1QYAc0Puv2njbagBB0QjwUWm4CMTof 2sMEBzpl01hvb30G9IbmN+orl1GoOMsVPUiVYEKAFpw1j2s7sizj70vuzQ480ovuxHxMzP9I3YG Yd2U= X-Google-Smtp-Source: AGHT+IE0fhnTixYNbN8KEZruJsHYow9M8uAQlHzipYNb3qRSmh2xgpdd03jHkwdoJk9mcNz/YIPBuQ== X-Received: by 2002:a2e:b8c8:0:b0:32a:7d76:262e with SMTP id 38308e7fff4ca-32f39a9ac80mr14810481fa.3.1752004651785; Tue, 08 Jul 2025 12:57:31 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:31 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 04/20] hiredis: Upgrade 1.2.0 -> 1.3.0 to allow CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:20 +0300 Message-ID: <20250708195636.1678606-4-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118326 Changelog: https://github.com/redis/hiredis/releases/tag/v1.3.0 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 --- .../hiredis/{hiredis_1.2.0.bb => hiredis_1.3.0.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta-oe/recipes-extended/hiredis/{hiredis_1.2.0.bb => hiredis_1.3.0.bb} (96%) diff --git a/meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb b/meta-oe/recipes-extended/hiredis/hiredis_1.3.0.bb similarity index 96% rename from meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb rename to meta-oe/recipes-extended/hiredis/hiredis_1.3.0.bb index 8678447cf5..0cf03bfcda 100644 --- a/meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb +++ b/meta-oe/recipes-extended/hiredis/hiredis_1.3.0.bb @@ -8,8 +8,7 @@ SRC_URI = " \ git://github.com/redis/hiredis;protocol=https;branch=master \ file://run-ptest \ " -SRCREV = "60e5075d4ac77424809f855ba3e398df7aacefe8" - +SRCREV = "ccad7ebaf99310957004661d1c5f82d2a33ebd10" inherit cmake ptest From patchwork Tue Jul 8 19:56:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66438 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 C915CC83F10 for ; Tue, 8 Jul 2025 19:57:38 +0000 (UTC) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by mx.groups.io with SMTP id smtpd.web11.5590.1752004655500071536 for ; Tue, 08 Jul 2025 12:57:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WJ/3a3Xa; spf=pass (domain: gmail.com, ip: 209.85.208.173, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-32f3ef6178bso6918821fa.1 for ; Tue, 08 Jul 2025 12:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004653; x=1752609453; 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=PnRe4mECvhvFVBMsCDg+e37WpmUKsFgh/5X/YXZ0WNs=; b=WJ/3a3XaMwpTfjqnmVo5vYMwrk0pMBED0GpDxIIsr3cqvopWoWLjzo3LW1JO7NhqCn tf3EYwc6IyymxyTMIJHJ87d6vnjbH4fqoTCkKB3QKNKrIZtLZNV7OhETRzIUYaEHxtY8 GaojLGSzEETL3zvSNQbdIStQmDH8r3VHLrHG9STpZvql37UKNXBZvwMF2reTae9zUOwM oV70WYGrU58WebuvzeiFQMegLD67DWxYvB5Y6so05ZyxmX3w5+DHl6Wj9ejVhwf2mJPE kmlrqd+vHmLSaFaglXXYQuTbNyEVDSvhqr2B9h3mgTLPBI+yigu4gHSkq5QUq86Aat8g GvOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004653; x=1752609453; 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=PnRe4mECvhvFVBMsCDg+e37WpmUKsFgh/5X/YXZ0WNs=; b=nZMBxzU/w0VTM+z6FoY4JKBg3QCykrOslNIWpBySQif5/WO2+la9f43hJzHqeD8RIU E+hzBc+v9MLP7YhRbIW4LfOUc3CYw6sz7i631pZL0EilLjDVPpYkrRM4WKl61qvXKUCi 4qxDIR+iCA2YujfzCsVdZU84Fjto+b0ee36wgazTnfeyHnrB4jmkmQPoWAyEXvHu4fbu atRNkVtvh09s7BI1wWOovaUexnolS+spT8cIeBU3tEQtq9GvPFewaZZlYyD26gnWGOfq T6LjCoAOKEr99BtHDFb9frqeMkNwFKWTWSwDEYGuxJWT8/3jNJ7RIZOENYqTa1dvajDh y25Q== X-Gm-Message-State: AOJu0YyDPe+mwan73x9chvEhKusR0k8dIrOCKWHAC24LM6oKHA/HhrUC Nyz8nP7Ag66gT3HZFNfN8msm6Ifo0v9wm4JbzTPhpf/2uKf+UnXu7wTxZX3RQA== X-Gm-Gg: ASbGncta3IMf8zYsOXA1B8QeJYyRQEq9sidEaLyzc0FIvyANaivKsAmedjQNNYRE7hM L32KSQNnFUZZnHwLkfNuEOvpw2Hfrgwd5vxMDF/yeAOJI5ygT38yhpFqoNBZWx1GiKTpVpUI7eO TmvIFjZDfbPWrZ7zVdoWremiqYlKpWPg00370kTH624tbtdEemvAKONJ88U/IZp0BJ5FO8oh/R0 KTPuDct584asOWGzLpZfLj15HXxPImgLCQcLIYVIq5iUBpPRs+B9ygdP0TL12Rbjwjk6DH3cWZa TQ6wzIaZz7dsvxLZQgcb1O97xkUwQZRRadn+HPw+85nI1/0wHbwVSCs/b1MsBYG0rsO0mvH8/78 Ns5g= X-Google-Smtp-Source: AGHT+IEfNgGJ7XcAzsjm6cyaXAPamjyk3rOPW/hBQ291FzyKguNl6mJFBl9jznGqYg7XminFEkoEqg== X-Received: by 2002:a05:651c:40c2:b0:32c:a006:2a1d with SMTP id 38308e7fff4ca-32f42d15dcamr1232451fa.4.1752004653009; Tue, 08 Jul 2025 12:57:33 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:32 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 05/20] libebml: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:21 +0300 Message-ID: <20250708195636.1678606-5-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118327 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-mkv/libebml/libebml_1.4.5.bb | 5 ++- 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 meta-multimedia/recipes-mkv/libebml/libebml/0001-allow-build-with-cmake-4.patch diff --git a/meta-multimedia/recipes-mkv/libebml/libebml/0001-allow-build-with-cmake-4.patch b/meta-multimedia/recipes-mkv/libebml/libebml/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..f62d412ac4 --- /dev/null +++ b/meta-multimedia/recipes-mkv/libebml/libebml/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From b54451a2cc63672284c7768ecf5562214826ea50 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 17:15: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: Backport [https://github.com/Matroska-Org/libebml/commit/cc63f6b3ed2007a3ef04206a26f9ad5a657331bd] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b168a38..a8b789f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1.2) ++cmake_minimum_required(VERSION 3.5) + + project(ebml VERSION 1.4.5) + +-- +2.43.0 + diff --git a/meta-multimedia/recipes-mkv/libebml/libebml_1.4.5.bb b/meta-multimedia/recipes-mkv/libebml/libebml_1.4.5.bb index 4b439e2ca5..1bc56b788b 100644 --- a/meta-multimedia/recipes-mkv/libebml/libebml_1.4.5.bb +++ b/meta-multimedia/recipes-mkv/libebml/libebml_1.4.5.bb @@ -3,9 +3,10 @@ HOMEPAGE = "https://github.com/Matroska-Org/libebml" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://github.com/Matroska-Org/libebml.git;branch=v1.x;protocol=https" -SRCREV = "1878e784321673561039a6a37076b2736f4dc98f" +SRC_URI = "git://github.com/Matroska-Org/libebml.git;branch=v1.x;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" +SRCREV = "1878e784321673561039a6a37076b2736f4dc98f" inherit pkgconfig cmake dos2unix From patchwork Tue Jul 8 19:56:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66437 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 D1473C83F0F for ; Tue, 8 Jul 2025 19:57:38 +0000 (UTC) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by mx.groups.io with SMTP id smtpd.web11.5591.1752004656719951108 for ; Tue, 08 Jul 2025 12:57:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=As8+tel2; spf=pass (domain: gmail.com, ip: 209.85.208.179, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-32e14ce168eso43751791fa.1 for ; Tue, 08 Jul 2025 12:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004654; x=1752609454; 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=A4Z2+hqJBWgTw92k454g9fClJ/UHHS6m0GiwMRU13jk=; b=As8+tel2HgbIU22eKDFCIglzmIPLX3tKvazARgH+JUvaboljE4iFGZM7WDycO+jdR4 QsIntFY6I7HbyoTbaCxW9ruvfWe/GFqBMCN0mp/tMVSVtRBKnWO81RcVlNd/PyJsUN/t 5kJfQuwgBqFURdgUOsh3SkzSrSOrLKQBfcguWIoO6q7h4F/0Uo/v75dj9cTHogew2OXy 7jwpJvDdo4e+hjH49a6iOIVKontd0EPn5MVdyiqyC12uGUt/aC+nlBvg/MQKuSrEJ1mh T2JTyuXD/OBC8RBcaEtuWqKIrzrn6Tn4ys9sSRssdz3iT6wlI6aXbNF/wq5Cgb1mgfjv +VgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004654; x=1752609454; 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=A4Z2+hqJBWgTw92k454g9fClJ/UHHS6m0GiwMRU13jk=; b=hvWi/c5u1ehKtEHsqar+gHgdRgNFoxZTAGCv+c1NSYKz7P4L4KUPxUccEvKU1FlVtm 9ePJP4TuvCLMuU7a3IfQYVm9a72A/0NYlBy8gK7HskzbPTW36HZycffSfFOinKp7zzJo rFkcuQx9gQK0EtaNyRclN5SPXHTztY0vd+V/Hna7t/mwmZfIIrKR61JIRqlqGZi1laoH gu+pBSO6oyNHaX29g9LpelaCGFZ6MERc9tQF78hDxaluGD08XRDd+4PcZXgUyX4vrw2E pg/K3EEzwVIPFXsNyjjnWIEsmadjw7XsOWHulwPd6sBeGSXyqohRGNfSIxxAjyifu6MV 2UVg== X-Gm-Message-State: AOJu0Yync64cUiT9pgKKT/Oy62EqLwmpA8x8bP+ioFnBC+XFon26wIvn sW1Qydb/Gza7fYP7ijTuncssioREAGl2x510FbijBo4deBZVKLcekkq3V8WAgg== X-Gm-Gg: ASbGncu6af6DdPtViFQIYOLRpEdqujM3+PU70TEdqHJ66cT1vpjYAltpGgK1LNfizIP LwLR3rvNkoCbr1qphnK2UBCpHX03YTJkKNKZfWU3yWyCe4KprOAUNVg4OjTJOARx+Qiw/rXCMq3 NH5wCXuDUF8jsl14BRl5dNZQs9qF3axqARCe6m6/m07pAHQzbpipHc8fouGoViAXbjoRLbt6WgN teJmMeO0AQw+TaN0J/hXv1yET5RY50sKCdv2nYe56s2LmjybGww5DtCL7+dne2MwI7ZMsK8PXyN YboEzJ/Eg3rsmW+ghFOCE+Eh7I40S0ZhpMInyVHCDfHW1uG2FIy8zfFJj1/flLiuammrEPHO6/p R4W0= X-Google-Smtp-Source: AGHT+IHSUDVat+ga1nS4QMOw629iGErJLjBCg+NbeeoAOE91qdDra0byW3AbCxkVvZGFTMJLby+INg== X-Received: by 2002:a05:651c:1108:20b0:32f:45e5:df57 with SMTP id 38308e7fff4ca-32f45e5e10cmr831351fa.20.1752004654267; Tue, 08 Jul 2025 12:57:34 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:33 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 06/20] qhull: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:22 +0300 Message-ID: <20250708195636.1678606-6-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118328 Fix: | CMake Error at CMakeLists.txt:71 (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 --- .../qhull/0002-allow-build-with-cmake-4.patch | 43 +++++++++++++++++++ .../recipes-extended/qhull/qhull_2020.2.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-extended/qhull/qhull/0002-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-extended/qhull/qhull/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-extended/qhull/qhull/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..5ca865316d --- /dev/null +++ b/meta-oe/recipes-extended/qhull/qhull/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From 26db5aece1220e4142b5b82720123371a9223bc7 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 17:44:57 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:71 (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/qhull/qhull/commit/62ccc56af071eaa478bef6ed41fd7a55d3bb2d80] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c2248f9..b2303c6 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -68,7 +68,7 @@ + # $DateTime: 2020/09/03 21:26:22 $$Author: bbarber $ + + project(qhull) +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + + # Define qhull_VERSION in README.txt, Announce.txt, qh-get.htm, CMakeLists.txt + # qhull-zip.sh (twice), qhull-wiki.md, qhull-news.htm, File_id.diz, index.htm +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/qhull/qhull_2020.2.bb b/meta-oe/recipes-extended/qhull/qhull_2020.2.bb index 13638c391b..9efadbc7f4 100644 --- a/meta-oe/recipes-extended/qhull/qhull_2020.2.bb +++ b/meta-oe/recipes-extended/qhull/qhull_2020.2.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=484ee0cacf0472e8b40225b116f6296c" SRC_URI = "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz \ file://0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch \ + file://0002-allow-build-with-cmake-4.patch \ " SRC_URI[sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e" From patchwork Tue Jul 8 19:56:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66439 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 DE720C83F15 for ; Tue, 8 Jul 2025 19:57:38 +0000 (UTC) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by mx.groups.io with SMTP id smtpd.web11.5593.1752004658134709154 for ; Tue, 08 Jul 2025 12:57:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KEeSHNx1; spf=pass (domain: gmail.com, ip: 209.85.208.173, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-32b78b5aa39so45227641fa.1 for ; Tue, 08 Jul 2025 12:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004656; x=1752609456; 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=kLtEmXyN+M04XUHkU12mKECizQf3A2get8NAK6XWR4Y=; b=KEeSHNx1/M8S0+jc4Lgmze65ruSw5jL1Q85FBkxie4mRJ6hxnzCbdGs8Cb4uUODP/a wuc9nqqdBUHOA5Cm4Rmz9Cog/0KAgSHE6vm6JhnVSiRs9B96vxZDg5oXqb3rEXOYS9uP pijfPyeaMTCQ3P4wJcgb0mKgQfn/eiiLYDixcjA6rd8GVOPqeYBaH6A0ZK6Qu6STSDTP hznP4ssapVZOdeJ9r2rYcZJpS7LjeBtHLzTtNjt8TPMoU47TVYtlED8tKM1mbNdREKCq v88XQMbz8VeWp7XJMtDf4ztNpYzxg+361VvjLVhobBPrN3OHOMFt7gUpLx/LD/NMiURF jc7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004656; x=1752609456; 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=kLtEmXyN+M04XUHkU12mKECizQf3A2get8NAK6XWR4Y=; b=d24JkW/V/V1TxusrWQaT4OtnGZFlJsTB07L+1TSVq94hYmYemt2T5QMHAsjmvxJG5n v071gUKdsU6xn8Iahr+JO9PTmccYJjIeXMU60Be8PLt06VaEpQAF4Az3uESM6/+85wQJ /Z8TY5AP4/ukakzGb4DSWVrF7/IOj/6DaCjanpt93esL/GEVDyRy4wvKyHvLLPex+2G7 gFqLCVpQLjZerYnNP4EeZH1V3zGluaQuXhSRyDhXSLSVA4tN9wkkaXsiAMw55pBWzypW YCFOK4YzpkyGA3fMhfOZgtgNlL9j0YT+BhjYUdloTvdr5JD8+dbrk/L3gxoS+D4Lonm0 fslQ== X-Gm-Message-State: AOJu0YyicBq4kjAyuAeSjgSPwJMNggGbljwjc2v36tHNRIGDOebl86f2 f6XOWODGQUIBS31Xck4vFPpUkPYFANmy0Vt1NPLfuC3m4jgI+9DF76Y42F9fFg== X-Gm-Gg: ASbGncsyTRXCmUmpgRvUKEXt9UFonxfmkmwcShqzNZg38R+l3Iv5WWZm6d4sNOvJ39h aPv0tkNvIZU3GTx6VcyZxo8BE+ZbYqIYGawbG7pE8KAYQWHeOX4ksXBMn8HsX7Si1VLUei7id4a ed98Hh62zw1OP1GoqFgMHUTTUHcD9CzhjdexnC06YWUMqSpb/FYdAczKDOeqG+9MyLZX+R8caGg p6aknotAxwoT/3pOlR0d5zgPViCBLD9Jx3fAyVqXyIw5wjOgbU7u93nDhKO5hqxLO22JyDoxxlt GblzzCAFPYEWc4KOI7z5D15A0SCI89iojjnwXQIWUYT+Ms6zePztnN7VgKPOrU5pI7sbzPJ/2t8 1jOtXqemrzhRmSA== X-Google-Smtp-Source: AGHT+IHPLudHpRhizWnWwpr70L7wJWGfGj7eZtLfwqTuav6HvaNOoCV1zDyfx0clSRbUck3O37e9sQ== X-Received: by 2002:a05:651c:1502:b0:32b:4749:f929 with SMTP id 38308e7fff4ca-32f092f1d0cmr61685431fa.30.1752004655665; Tue, 08 Jul 2025 12:57:35 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:35 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 07/20] wavpack: Upgrade 5.6.0 -> 5.8.1 to allow CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:23 +0300 Message-ID: <20250708195636.1678606-7-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118329 - Drop patches becaus already fixed in the newer version. - The LICENSE file has changed so updated LIC_FILES_CHKSUM to match the new md5sum. Changelog: https://github.com/dbry/WavPack/blob/5.8.1/ChangeLog 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 --- .../wavpack/{wavpack_5.6.0.bb => wavpack_5.8.1.bb} | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.6.0.bb => wavpack_5.8.1.bb} (56%) diff --git a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb b/meta-oe/recipes-multimedia/wavpack/wavpack_5.8.1.bb similarity index 56% rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.8.1.bb index 651fbc4192..63d0db1b67 100644 --- a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb +++ b/meta-oe/recipes-multimedia/wavpack/wavpack_5.8.1.bb @@ -1,16 +1,11 @@ DESCRIPTION = "WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode." LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4" +LIC_FILES_CHKSUM = "file://license.txt;md5=3a6eec695493cff01ff6f7b7888c5631" DEPENDS = "openssl" -SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https \ - file://set-soversion-and-version.patch \ - file://extract-libtool-and-convert-to-soversion.patch \ - " - -SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce" - +SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https" +SRCREV = "4827b9889665b937b6ed71b9c6c0123152cd7a02" inherit cmake pkgconfig lib_package From patchwork Tue Jul 8 19:56:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66443 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 E9174C83F10 for ; Tue, 8 Jul 2025 19:57:48 +0000 (UTC) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by mx.groups.io with SMTP id smtpd.web11.5594.1752004659277978668 for ; Tue, 08 Jul 2025 12:57:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z4rKjGn9; spf=pass (domain: gmail.com, ip: 209.85.208.180, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-32ca160b4bcso54554371fa.3 for ; Tue, 08 Jul 2025 12:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004657; x=1752609457; 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=cMPKJgL1djg+o+3/P7bOUAumHWKef1WsebK0BJuq7M8=; b=Z4rKjGn9Zn/wcMSGE2tW3YxXPqqccKfNVhUW5HinrJHff9XlRdGpXbgh2P2x9uAD6N hHkqPyos9BUElbpga3THKqQCZvR2WwaKFSWNNd3XkvftC5URqhC1eg91Zte/PyEd/XUy 3kqviWcpppzAnYMTNSoqMUCibpVafagLHe/jki76yVSqYF7Q03LjBa3uKaWTFXcFRSXV s+kktCLfeLYWfp4JXLeBPFNEaH0fgBMLE1muWO2G0Frs/T7R3vSa5GNz7LzBybC3AJsS KDpfvshbgwBfmFZjfy7/VTraTWVPfu5GTWC6GIPWsG1hsFW1jHi9uLBXZymH3tLWylUz aqDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004657; x=1752609457; 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=cMPKJgL1djg+o+3/P7bOUAumHWKef1WsebK0BJuq7M8=; b=bHUbfyDi37LqCRPPSPKZmL6pAHRagCvK8FvP3dMEtCxoh10LCfRHm6fox/+ljTnSfo EGgg/+Uqt/QOwd/0gzZvGm5BgtGUtZos6xPQB4iazPeyQG0Vw/T9bRI2A872bdPvaIFl IylNqSMHdYiTZ41PTSWQuA7WSka4O7yRDga7l2aJAGSjf8LtfWumIqZTUM93XHTJtEn4 tVgeoFKF5Nitw96BDRU5pQbKie5EMqJARYc/LFWgxONfSaycUhsDocD5+1h7Jqw9TzwF KNDW3RwF+UvtKQYBT9KMbbfH0FOAdmIwwKTZwMtEwqZcHJ0FotGvK3SZihxLWVnGDajY TKCw== X-Gm-Message-State: AOJu0Yz0fDd961CPYOnyR3CQ76eRSTDKhrZiwipkzGwFmvAVbE5dmKjU 4CBbL4U696cp6YZNgmQd+Nav+rmX6ke302b9cehEQidXIHTU+xitbyrcLkRN3Q== X-Gm-Gg: ASbGnct7mi69ZdjEYDyO3TKIm+/2P0as2rlCV/Wsv6ORaKvKQgjrZm1OCOq4KZiJZMx /i1NCkQarCsKWWr7V4vSp+9gGUlR5xJNr3ned1cXZ/QHbZaB0puerffoy5tEXvVTTWNnOxl3Kin wTYiKfYawXmxLaj0JkI2pKR1/5EunIW0b3Gb46oeIhoaRKsF5Txp7cHDoPIW7BFrO3Xm7NP+YR2 4zMrt02mx/MvNA+J9xZbWfsxA6l7T8Gh7niqOMCN385c+c2w4dEcnt/lEX5Dll98h50Jgk4hbv4 NM5Gsu0bHCY/f/9zImPAf3sGEk4Cx9Kp9c28DSYanP9teLrdfWLZHNEa6vKwlEHhp5oPN9Tmcm8 raZY= X-Google-Smtp-Source: AGHT+IEWQ46P6/n2J84xXBV4MosQohXyOXpMzZ5yQWXSCUPEZblYG9mPsz3nMp2c6uHGYvUrQ1HMUw== X-Received: by 2002:a2e:b8d3:0:b0:32a:80bc:1755 with SMTP id 38308e7fff4ca-32f4254ce1cmr3169511fa.0.1752004656857; Tue, 08 Jul 2025 12:57:36 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:36 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 08/20] portaudio-v19: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:24 +0300 Message-ID: <20250708195636.1678606-8-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118330 - Since recipe uses a fixed release version and not a git snapshot, the "+git" suffix in PV is unnecessary and has been dropped. 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 +++++++++++++++++++ .../portaudio/portaudio-v19_19.7.0.bb | 6 +-- 2 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-support/portaudio/portaudio-v19/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/portaudio/portaudio-v19/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/portaudio/portaudio-v19/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..d6b17ce2be --- /dev/null +++ b/meta-oe/recipes-support/portaudio/portaudio-v19/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From ff000097d226f21cf05a94c22459e55cf1f5c5c6 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 18:06:03 +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/PortAudio/portaudio/commit/ccd16c85e64d8c1a5462541388b6fbcaedbb1cad] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 87d0bb8..eee16fd 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1.0) ++cmake_minimum_required(VERSION 3.5) + project(PortAudio VERSION 19.8) + + # +-- +2.43.0 + diff --git a/meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb b/meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb index 4451e96307..7376f7ca77 100644 --- a/meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb +++ b/meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb @@ -3,12 +3,10 @@ SECTION = "libs/multimedia" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df" -PV .= "+git" - -SRC_URI = "git://github.com/PortAudio/portaudio.git;branch=master;protocol=https" +SRC_URI = "git://github.com/PortAudio/portaudio.git;branch=master;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" SRCREV = "929e2e8f7af281c5eb4fa07758930d542ec43d97" - inherit cmake pkgconfig EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" From patchwork Tue Jul 8 19:56:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66446 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 148B6C83F18 for ; Tue, 8 Jul 2025 19:57:49 +0000 (UTC) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) by mx.groups.io with SMTP id smtpd.web11.5595.1752004660841108059 for ; Tue, 08 Jul 2025 12:57:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OOZjZ1AA; spf=pass (domain: gmail.com, ip: 209.85.208.175, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-32b7f41d3e6so3430151fa.1 for ; Tue, 08 Jul 2025 12:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004658; x=1752609458; 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=Sm2X8FHAAywiJk+A42qd3J9CMr0oPtnulw5cW+KFKrM=; b=OOZjZ1AAB1TEHBlXwE9wixH33ZjSWrDBBtWENHL35jKyt1LRxG5bS1LBFH+Pfc/Myt OMut9NsMEOM79X1j1NmN0yZxBSy1nzHHfmN5sdwkl54pvH7+XuDsN6ofg39GA5fIeWXR g29Bt17hCwjFEEgoA/mNwQuTC8pKV776pU1w6fTFO0GEFttXadT7948EpXiZfLCp+pge 1zNRYWkYVTkYA8z/G+1LoNA3+6cYZ1bQ6fm6P8PsavUIR0Db75aXtwJAIyAVe0d11CWN 3xLXeUz3tg/qhfbyFRvmdHLLZ7pttbyKY0/xvxaVE3YbCcVpcxxoKp2pMg764UVf2BGx kBdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004658; x=1752609458; 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=Sm2X8FHAAywiJk+A42qd3J9CMr0oPtnulw5cW+KFKrM=; b=DF642exEXN38kkiG6DB0hjUJtTcj2IPAKtnISNAC6b8fX8fjfgfs+Sj/XfFLZkG0Af MziMzi5fUwTAMNVTmr53Nx+RlW9bkYbTv7kbVv8pZ0362sd1MOuhp54EkDwdFlpfWkyk Zyy2TkLO67QvkiVIhNOb98PqBpBB1RlnzSBeG/qc78BHJhpyToCgvEbKc5VZYe7Grv6g fsYd67RZXAOelqF5TEaGc14o2SyrPpVXYOo/XvG1cfn8rr+X7OcjEeNjeeQuOUyeCF3D NdB0+DPiQyM9vYD4u8Jlp8OhgkAOYEOWSsmFraeRvNpHXOceKR3vbvdwkbE4i2yRiB3T gCZA== X-Gm-Message-State: AOJu0YwPsI+Sx3cWA3b5EPNdGYshKUKpVTKsgID/MpzaOpMDJmScCgbM mhjpavNk0F+rG6DwLr5rOcPlD/0IZx8dBvZjdqyMBMIsGiNcyNN2aWLYaAxB5g== X-Gm-Gg: ASbGncuQppodylx28UxwRtszsR0ELp+OoGGqyYqU+QsypZDm6jCC4i30huiK9hp5gfI BMnLFopTckDpAxlVbsxy6BUKHwbk42I6xEhD8ML2PqBXCfP4nL57rhA+/JHOVNPaN7oqYbjtK/+ ed9zkOBVbSL/nxdxuT/G+uvzxJ7dZGU7I3AG8B2INHRQxFN5ow1okmcl6T8qnGKyFlyJT4H4V6O XrX8Wj8jnrh9y2rbhMewe6YpELfd94nv6pCiRlxfOYC5MR11xs/NVVVvhqSsjy1LeYCdndZOb1h SWKJTfO86OlFVLnVLVaqJ8EB61lYs8gSNs4AebrB+eGiVRdr2S+4GN/HFXsUGBUdJbDE6V3HO71 vhrJffYqpjBCo1g== X-Google-Smtp-Source: AGHT+IHYVtgT5bHrltyuciWPm+djP55zyEM42JOAsSijy1xpmdeis6u0uMFSI3CnWZsrdZsOaXWyPA== X-Received: by 2002:a05:651c:510:b0:329:1712:c38d with SMTP id 38308e7fff4ca-32f39ab0f14mr15971521fa.5.1752004658263; Tue, 08 Jul 2025 12:57:38 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:37 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 09/20] yajl: Add patch for CMake 4+ compatibility and fix build issue Date: Tue, 8 Jul 2025 22:56:25 +0300 Message-ID: <20250708195636.1678606-9-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118331 - CMake 3.0 and newer disallow reading the LOCATION property of targets directly. Instead, use the recommended $ generator expression when referencing the output binary in add_custom_command. Fixes: | CMake Error at CMakeLists.txt:15 (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! ----- | CMake Error at reformatter/CMakeLists.txt:38 (GET_TARGET_PROPERTY): | The LOCATION property may not be read from target "json_reformat". Use the | target name directly with add_custom_command, or use the generator | expression $, as appropriate. | | | | CMake Error at verify/CMakeLists.txt:32 (GET_TARGET_PROPERTY): | The LOCATION property may not be read from target "json_verify". Use the | target name directly with add_custom_command, or use the generator | expression $, as appropriate. Signed-off-by: Alper Ak --- .../yajl/0001-allow-build-with-cmake-4.patch | 43 ++++++++++++ ..._FILE-instead-of-LOCATION-property-f.patch | 67 +++++++++++++++++++ meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb | 3 +- 3 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-devtools/yajl/yajl/0001-allow-build-with-cmake-4.patch create mode 100644 meta-oe/recipes-devtools/yajl/yajl/0002-cmake-Use-TARGET_FILE-instead-of-LOCATION-property-f.patch diff --git a/meta-oe/recipes-devtools/yajl/yajl/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-devtools/yajl/yajl/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..c62a846da9 --- /dev/null +++ b/meta-oe/recipes-devtools/yajl/yajl/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From 3dfd5276ab30ba7f6820cd4585d390c3706684b0 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 18:17:56 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:15 (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/lloyd/yajl/pull/256] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4c0a9be..a49e52c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -12,7 +12,7 @@ + # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +-CMAKE_MINIMUM_REQUIRED(VERSION 2.6) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.5) + + PROJECT(YetAnotherJSONParser C) + +-- +2.43.0 + diff --git a/meta-oe/recipes-devtools/yajl/yajl/0002-cmake-Use-TARGET_FILE-instead-of-LOCATION-property-f.patch b/meta-oe/recipes-devtools/yajl/yajl/0002-cmake-Use-TARGET_FILE-instead-of-LOCATION-property-f.patch new file mode 100644 index 0000000000..8b64ffd7d1 --- /dev/null +++ b/meta-oe/recipes-devtools/yajl/yajl/0002-cmake-Use-TARGET_FILE-instead-of-LOCATION-property-f.patch @@ -0,0 +1,67 @@ +From 1b07726910d4ff7ce1829845471a066bb97dd411 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 18:33:48 +0300 +Subject: [PATCH] cmake: Use $ instead of LOCATION property for + binary path + +CMake 3.0 and newer disallow reading the LOCATION property of targets directly. +Instead, use the recommended $ generator expression when +referencing the output binary in add_custom_command. + +Fix: + +| CMake Error at reformatter/CMakeLists.txt:38 (GET_TARGET_PROPERTY): +| The LOCATION property may not be read from target "json_reformat". Use the +| target name directly with add_custom_command, or use the generator +| expression $, as appropriate. +| +| +| +| CMake Error at verify/CMakeLists.txt:32 (GET_TARGET_PROPERTY): +| The LOCATION property may not be read from target "json_verify". Use the +| target name directly with add_custom_command, or use the generator +| expression $, as appropriate. + +Upstream-Status: Pending + +Signed-off-by: Alper Ak +--- + reformatter/CMakeLists.txt | 5 +---- + verify/CMakeLists.txt | 5 +---- + 2 files changed, 2 insertions(+), 8 deletions(-) + +diff --git a/reformatter/CMakeLists.txt b/reformatter/CMakeLists.txt +index 52a9bee..b202fa5 100644 +--- a/reformatter/CMakeLists.txt ++++ b/reformatter/CMakeLists.txt +@@ -34,10 +34,7 @@ IF (NOT WIN32) + TARGET_LINK_LIBRARIES(json_reformat m) + ENDIF (NOT WIN32) + +-# copy the binary into the output directory +-GET_TARGET_PROPERTY(binPath json_reformat LOCATION) +- + ADD_CUSTOM_COMMAND(TARGET json_reformat POST_BUILD +- COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) ++ COMMAND ${CMAKE_COMMAND} -E copy_if_different $ ${binDir}) + + INSTALL(TARGETS json_reformat RUNTIME DESTINATION bin) +diff --git a/verify/CMakeLists.txt b/verify/CMakeLists.txt +index 967fca1..37eac62 100644 +--- a/verify/CMakeLists.txt ++++ b/verify/CMakeLists.txt +@@ -28,10 +28,7 @@ ADD_EXECUTABLE(json_verify ${SRCS}) + + TARGET_LINK_LIBRARIES(json_verify yajl_s) + +-# copy in the binary +-GET_TARGET_PROPERTY(binPath json_verify LOCATION) +- + ADD_CUSTOM_COMMAND(TARGET json_verify POST_BUILD +- COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) ++ COMMAND ${CMAKE_COMMAND} -E copy_if_different $ ${binDir}) + + INSTALL(TARGETS json_verify RUNTIME DESTINATION bin) +-- +2.43.0 + diff --git a/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb b/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb index e4434bee45..8c0d84f811 100644 --- a/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb +++ b/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb @@ -12,10 +12,11 @@ SRC_URI = "git://github.com/lloyd/yajl;branch=master;protocol=https \ file://CVE-2017-16516.patch \ file://CVE-2022-24795.patch \ file://CVE-2023-33460.patch \ + file://0001-allow-build-with-cmake-4.patch \ + file://0002-cmake-Use-TARGET_FILE-instead-of-LOCATION-property-f.patch \ " SRCREV = "a0ecdde0c042b9256170f2f8890dd9451a4240aa" - inherit cmake lib_package EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" From patchwork Tue Jul 8 19:56:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66448 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 19AB2C83F17 for ; Tue, 8 Jul 2025 19:57:49 +0000 (UTC) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mx.groups.io with SMTP id smtpd.web10.5752.1752004662035033612 for ; Tue, 08 Jul 2025 12:57:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ORW9dHVp; spf=pass (domain: gmail.com, ip: 209.85.208.170, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-32b8134ef6aso41740991fa.0 for ; Tue, 08 Jul 2025 12:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004660; x=1752609460; 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=CHyMTTBgWUZIQX3DgC5BXCJSsgkuSqZDWPfK41HuBvQ=; b=ORW9dHVp/NsJ+mNVzne6MipXp6gVi7JuFR2hG3y3O5gbL8PFXU2/rf1Bxf5amttwIB UUUzgoxhBdQwUcC4DIP2w34nNDf/wqYRAosjLuT/OOlVXpflAtb9iudXX/R5DlAcYf7K w6fk+08bAfnC3E0q73GbI6Ik5o9Cj5uqs7xjxG6huY8+91cCdYDy+D+iDJQ2WM6Z/kn/ rae3mSjdRY7V6cGJlZATGgU+JlsyUIBDeXEaDhdUXY91K3DzDxN3aYPhISO0qDeymDrZ o1a4dAXu8ckqh671JhJJ9InvhNNkpsTWr05VMOTVt2mxQisgpJ2XlY2TA5/8Arq4Q4wD QKmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004660; x=1752609460; 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=CHyMTTBgWUZIQX3DgC5BXCJSsgkuSqZDWPfK41HuBvQ=; b=olGttDvkV0dDV40FmicFCIiO9zg09Wjt0xGjAboam/1bxEym5N3VPQD1YHtk2JY/Yw vZftGgXitaHzY9v6WKxOF33Z+iojWCgmLL18NFl4JURSehOm0r4Nt4U0Z2fDRyxe19h2 nTF3/pRX6i5/8OQVb4/h6M1hk2xc6SaKIIGkpxcxaaP/Um78knTgKN1ZKYdwRFZjAY9F DeqcOBcJt650y4wJ7FL9Wak153c/EtYLgdK4ctwe5DGZ5Smna+yB2Qvyar8OrhQLcD0G 8X539pTosfK1i8Oq5pTMAVr5/jb/Ah2cUOd++zwPHyCH43FbN6SF+fZifg9a0CZW4FUF KAVQ== X-Gm-Message-State: AOJu0YxDE2IXvpelLA1fPNHvd9jnRnDjGmPJbwsK0Ajc6FZrrDzqTtG6 wtQ2ka1CodnRLbkkICju7q2IfLvAyciOZud8bsto+hkmmflrTWUzqW/JGmANaQ== X-Gm-Gg: ASbGncu2466hXRAeaPmCICEcLQkwLQZ0s+yHsCFP7yd3BUWuMvRqNoTwMvZbPEAoRBR 8rlf10gK8ZpgxjO6uEGMxiqSzliL3N7b+Lf0Vrhd5wBBLKUi18+BHSUqRg8Kyf+r9F+YGarbTiw AGFBRpr7qKyEZdyQXYLkVleAo9wVHSEsMnWXeu9nL4dbChduwTo6UhahBSYVy3iajFDWljtgY5a vrjgGRo4nmEJ+OWLli5xD25308RGO3G+CZrwkPwfiGT7QSCQv1PGCr4HaQ9RUdLzY4SfXlYam0v GQAtD3ocyuGLkyPypYMudAHT4tD/aif1EJnt9YNCgbG96YoQQVNcDJsj/al29iwEBfH1S+pYnQE lzDM= X-Google-Smtp-Source: AGHT+IFS/nmZHbukip8KL4GOZyrsGTB4oI4f7P3H5RmTXUa3/Eep7nGkgbrPyf03vtqj1m1djmOZmA== X-Received: by 2002:a2e:b982:0:b0:32a:86ea:a1f2 with SMTP id 38308e7fff4ca-32f434b29ebmr2204021fa.22.1752004659552; Tue, 08 Jul 2025 12:57:39 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:39 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 10/20] rapidjson: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:26 +0300 Message-ID: <20250708195636.1678606-10-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118332 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 +++++++++++++++++++ .../rapidjson/rapidjson_git.bb | 4 +- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-devtools/rapidjson/rapidjson/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-devtools/rapidjson/rapidjson/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..e40b9fe06c --- /dev/null +++ b/meta-oe/recipes-devtools/rapidjson/rapidjson/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From b855b1632f9afe5199e01d84da54068a4cb152a8 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 18:46:59 +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/Tencent/rapidjson/commit/ebd87cb468fb4cb060b37e579718c4a4125416c1] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 3b9ac512..6d4121e9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 2.8) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.5) + if(POLICY CMP0025) + # detect Apple's Clang + cmake_policy(SET CMP0025 NEW) +-- +2.43.0 + diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb index 724d329ee2..92858044c1 100644 --- a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb +++ b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb @@ -4,13 +4,13 @@ SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125" -SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https" +SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" SRCREV = "0ccdbf364c577803e2a751f5aededce935314313" PV = "1.1.0+git" - inherit cmake EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF" From patchwork Tue Jul 8 19:56:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66442 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 E9136C8303C for ; Tue, 8 Jul 2025 19:57:48 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web11.5598.1752004663257301506 for ; Tue, 08 Jul 2025 12:57:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BXQAOItE; spf=pass (domain: gmail.com, ip: 209.85.208.177, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-32b50f357ecso40790281fa.2 for ; Tue, 08 Jul 2025 12:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004661; x=1752609461; 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=B55YJxedTuAMAmfaCQX9pTd04MRCXfTzS4tnzdpea04=; b=BXQAOItEfkq0dKENhFgHeH3FFdGlnajJ95UcC8zy/B3LyaLlFAtOjula0r1xCnRZ4M LsRreR+szf+wRzZ1uMY4XAcDsYxfmFofzvl35CEQ0CH23i/0Sd09Au/HnoZBihlXdERx 8nOBP7DE7JBjoKpR9TJSbk9FFIw3/H9OEcqo2v6o2P10uRjPnlfmCWkIXV75GAOEgAis egP4D2Nyxt9CzAK2CNC52+T+W+59kkpa73jRkHq8CizM/BFILF3UzUpaapfGcXBZ9Tlq 7QLEslPgfRLQtiGz7vVsK1wDsp4VrrgtFZwKbQPuUmL7yMJ3IX1Atm1g/KZLgSPg/O65 s2xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004661; x=1752609461; 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=B55YJxedTuAMAmfaCQX9pTd04MRCXfTzS4tnzdpea04=; b=O6O3X/Cw54wSCpjtQ//HHAglHM521pwXN5NIB+UcDhMaDawKhb6ye15V43sly4g6Jt MqH4As7KTWL7wcMAg3OFJeBu4qpWm7PumQ1bWryZzCPhkdt8fhIInZOF9o147xPIzjYR yA6FVa2IlvR9lIAxap8cTgKiHGQMtxGhsZ0VnCtNPP7TKZ4pUwWMJ74XLNEDit90Wku2 TGjY8aYSap/5Izg2QBjvsiCQ3KIwRVlKPMluj51bqEkjO3BZU/BZpdtUypNfmeYV0RZA pIyoVGAWFQ/1RsZGz/H/Vp1ZD1ARkZYc7qAeU5vf+htMN6Tm/BUJjnYiyVKrcZrQr36S /UsQ== X-Gm-Message-State: AOJu0Yyd+apVbMS62HZvDD+6In8t01wus63IsJUHsPuFEAYxTKbyHkyr cgUEL4KX64BlSu+vz4Xe189qGznlmY/XLQ4ofatwNsGUW8C8Dby2CnTQHJ8p8w== X-Gm-Gg: ASbGncvKQ2vjV8b8FYp9nIzVwf/4pWCngaSdialvHivWHcWrA5gS6xlYg2uRkvUxGJV T1jioomSOyQXsfM4Wj5bt6K2WGp5juKfeaL/VQ2Uawl7xRmP9GBwP5AaILiJyv9fue6JaN2nrag chIzLu5J2YuYmuAB6TmgO5H+FWM/Ys8BEaasi77rvb+Owesjg/RBplp4KtoXyk5hRmnhYuFKao4 prbQUHSpWdrZAoWEIyrCf229BUCBH6Te8PAEE4XyU3QvYFMjI/LeIL7vBEMrm6MVH83eGRKghrW IhbXDE5oTOd7eRcpRqLE7I7k1rMYW7rCG3TtGsppFonTts4Yg7vX8L1FORxqsd2QtB6RJyMgd+j 2xRI= X-Google-Smtp-Source: AGHT+IGLXiLYTIjwVeFyqfdf+bG8VnmEu+fqGw+t6rIWChANg0X4Ks3EYlo+JHST0ZKKThhLhYhfRg== X-Received: by 2002:a2e:be11:0:b0:32b:3c94:9964 with SMTP id 38308e7fff4ca-32f00cf6d6amr56818771fa.18.1752004660792; Tue, 08 Jul 2025 12:57:40 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:40 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 11/20] gflags: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:27 +0300 Message-ID: <20250708195636.1678606-11-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118333 Fix: | CMake Error at CMakeLists.txt:73 (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 | 69 +++++++++++++++++++ .../recipes-support/gflags/gflags_2.2.2.bb | 4 +- 2 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-support/gflags/gflags/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/gflags/gflags/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/gflags/gflags/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..bc3ca94de8 --- /dev/null +++ b/meta-oe/recipes-support/gflags/gflags/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,69 @@ +From b533cf275db99b1d37ba20d96497cafcedc9ace0 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 18:57:26 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:73 (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/gflags/gflags/commit/70c01a642f08734b7bddc9687884844ca117e080] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + test/config/CMakeLists.txt | 2 +- + test/nc/CMakeLists.txt | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 657a1f4..a5440bb 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -70,7 +70,7 @@ + ## - GFLAGS_INSTALL_SHARED_LIBS + ## - GFLAGS_INSTALL_STATIC_LIBS + +-cmake_minimum_required (VERSION 3.0.2 FATAL_ERROR) ++cmake_minimum_required (VERSION 3.5 FATAL_ERROR) + + if (POLICY CMP0042) + cmake_policy (SET CMP0042 NEW) +diff --git a/test/config/CMakeLists.txt b/test/config/CMakeLists.txt +index 6190b25..205121e 100644 +--- a/test/config/CMakeLists.txt ++++ b/test/config/CMakeLists.txt +@@ -1,6 +1,6 @@ + ## gflags package configuration tests + +-cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) ++cmake_minimum_required (VERSION 3.5 FATAL_ERROR) + + project (gflags_${TEST_NAME}) + +diff --git a/test/nc/CMakeLists.txt b/test/nc/CMakeLists.txt +index d00b07d..1b4d511 100644 +--- a/test/nc/CMakeLists.txt ++++ b/test/nc/CMakeLists.txt +@@ -1,6 +1,6 @@ + ## gflags negative compilation tests + +-cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) ++cmake_minimum_required (VERSION 3.5 FATAL_ERROR) + + if (NOT TEST_NAME) + message (FATAL_ERROR "Missing TEST_NAME CMake flag") +-- +2.43.0 + diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.2.bb b/meta-oe/recipes-support/gflags/gflags_2.2.2.bb index 8ea158eab3..925aa6d6e6 100644 --- a/meta-oe/recipes-support/gflags/gflags_2.2.2.bb +++ b/meta-oe/recipes-support/gflags/gflags_2.2.2.bb @@ -3,10 +3,10 @@ HOMEPAGE = "https://github.com/gflags/gflags" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df" -SRC_URI = "git://github.com/gflags/gflags.git;branch=master;protocol=https" +SRC_URI = "git://github.com/gflags/gflags.git;branch=master;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" SRCREV = "e171aa2d15ed9eb17054558e0b3a6a413bb01067" - inherit cmake EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTALL_DIR=${baselib}" From patchwork Tue Jul 8 19:56:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66445 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 EEA41C83F0F for ; Tue, 8 Jul 2025 19:57:48 +0000 (UTC) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mx.groups.io with SMTP id smtpd.web11.5599.1752004664718088888 for ; Tue, 08 Jul 2025 12:57:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LWne7Rag; spf=pass (domain: gmail.com, ip: 209.85.208.169, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-32b2f5d91c8so41925121fa.0 for ; Tue, 08 Jul 2025 12:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004662; x=1752609462; 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=GfjotVG5/jzifJmi5Mrry4XXpdF2FeuOE/fgcz2IYh4=; b=LWne7Ragdk6peGruM8L0GjcrXQoy7uQxL6mFBWYlUw4nhxMhYQrGbB2IqwQD8V0kTn JKytce09+GpKNQp8sr3SGU9bKwpcUz70gTSYVT6ry5V66VcsuAEpMl5C3ogbcgoqraDy KYd7gXqcVHJz7+kOrWLw5Kq5+Vtkd16poAUipgfDGQPkvvpRiPpnNmhW8RsgtsJ8oRCs jeTDzqeM3LFD2onKTnnE0qyVsQQ/i+Ws3xMgn8yaE9z95QEnmcxU7lJGA20dcRUT2Ytd 1J8Xsiox4t3zUjExsjdZuJPAOWPQg/vXjp8/sa4d9bpvVWplr/r7ihOhp74UjsJi9RDK tixw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004662; x=1752609462; 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=GfjotVG5/jzifJmi5Mrry4XXpdF2FeuOE/fgcz2IYh4=; b=VCuU9+3ikdq/g7Lt/lFYS8PeWmFBnWraNBWWeMMiR8gxqpS5jjsoAtuJMCZ1SwioXO 9214M5/hfXHADeoGcfAeRVDpkiT660dYL10CcJLZAVQjVFJxA/gmXjk1DNVVPd7BTA+X SWtZVs0LaPVs0krWl3hhF03JjVI+Ci3/cjNwlZcJR8WlIpBfiGHXojdoK26ZF9A7LNLg Os+PQ1TL9VrGUMG8HD1LKH/a9WZQL+sxV/wDuIvzOvJKnMl9M/vy439M1kfCCPJjeRIv BD1juopflDsx2AuWLq8oz9DxybKMbKiJcX0LRjusxVVs26q9OZTlr02EnPM2A7DZkYGU NDjw== X-Gm-Message-State: AOJu0Yz9uzmWl4yFjtu2E600CDpWIOtEQ0AQoEeyyD5kz9C0NiU7o/cj JV32IpCrxXJe97OTtZVOY5Q3gaJJlsosNJNgczy10Jq1+QIidHFiM+dVZCUBDw== X-Gm-Gg: ASbGnctaIJUvmpjIttfCQ19kLBvVF0lv1oYkphemYgFFHwMxKULy7MUImn7skYj5vn5 KdhI729bxG6Cpjli//HjWYfDlBwrWlaNAFymLfpljSLZLPJzVvZ7yqDcGmJ1eiEFB+NKEV/gHfp Gm99Lz7n+vyGwENe8BDOe/uLdInJm+FiZ9CC/T0nKW8Hj7T1XGFKwfVDR7FdW7DemTCQo/DYTxL FRE/m/Y3t5l0sXWxU1ZdjlreX3SlARIqiRDzg/vSTNh8BteU9JGG9IzouMlYHfO0baYOMMrJbvW 4oIs15TFyrQjLk9WyeSBjPi1EUmMT8X7f2vzNNlMjLDTfpK50n9FGvtNF9e9A2TYYyG6OoQe298 Wk7E= X-Google-Smtp-Source: AGHT+IGl4pjsuOeKd4k0r4CcuwiPZqy69gLra6HF7Lhh6b8gO8P5JbtNkK5lOlhmLg3pI0a1Pvajtg== X-Received: by 2002:a05:651c:b22:b0:32b:7413:503 with SMTP id 38308e7fff4ca-32f00ca77ddmr61927431fa.16.1752004662219; Tue, 08 Jul 2025 12:57:42 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:41 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 12/20] libfann: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:28 +0300 Message-ID: <20250708195636.1678606-12-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118334 Fix: | CMake Error at CMakeLists.txt:41 (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! | CMake Error at lib/googletest/CMakeLists.txt:48 (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 | 69 +++++++++++++++++++ .../recipes-support/libfann/libfann_git.bb | 3 +- 2 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-support/libfann/libfann/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/libfann/libfann/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/libfann/libfann/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..db1600f96c --- /dev/null +++ b/meta-oe/recipes-support/libfann/libfann/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,69 @@ +From a21c8455e2cfc5b19df1e42cd875c471d4e5cf63 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 19:40:46 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:41 (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! + +| CMake Error at lib/googletest/CMakeLists.txt:48 (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/libfann/fann/pull/152] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + lib/googletest/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1b11d76..7e80be2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -38,7 +38,7 @@ IF(BIICODE) + ENDIF() + ENDIF() + ELSE() +-cmake_minimum_required (VERSION 2.8) ++cmake_minimum_required (VERSION 3.5) + + if (NOT DEFINED CMAKE_BUILD_TYPE) + set (CMAKE_BUILD_TYPE Release CACHE STRING "Build type") +diff --git a/lib/googletest/CMakeLists.txt b/lib/googletest/CMakeLists.txt +index 961672a..3762d18 100644 +--- a/lib/googletest/CMakeLists.txt ++++ b/lib/googletest/CMakeLists.txt +@@ -45,7 +45,7 @@ endif() + # ${gtest_BINARY_DIR}. + # Language "C" is required for find_package(Threads). + project(gtest CXX C) +-cmake_minimum_required(VERSION 2.6.2) ++cmake_minimum_required(VERSION 3.5) + + if (COMMAND set_up_hermetic_build) + set_up_hermetic_build() +-- +2.43.0 + diff --git a/meta-oe/recipes-support/libfann/libfann_git.bb b/meta-oe/recipes-support/libfann/libfann_git.bb index 2f68ea95a8..00b2af3829 100644 --- a/meta-oe/recipes-support/libfann/libfann_git.bb +++ b/meta-oe/recipes-support/libfann/libfann_git.bb @@ -10,9 +10,8 @@ inherit cmake SRCREV ?= "7ec1fc7e5bd734f1d3c89b095e630e83c86b9be1" SRC_URI = "git://github.com/libfann/fann.git;branch=master;protocol=https \ - " + file://0001-allow-build-with-cmake-4.patch" PV = "2.2.0+git" - EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" From patchwork Tue Jul 8 19:56:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66444 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 03226C83F15 for ; Tue, 8 Jul 2025 19:57:49 +0000 (UTC) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mx.groups.io with SMTP id smtpd.web11.5601.1752004666055669690 for ; Tue, 08 Jul 2025 12:57:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nKPFoXbI; spf=pass (domain: gmail.com, ip: 209.85.208.174, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-32b5931037eso38665401fa.2 for ; Tue, 08 Jul 2025 12:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004664; x=1752609464; 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=xKA9rkI+XoTU6l/1b1ulY6K75r9diUNOB9caVaU/pM8=; b=nKPFoXbIg8vV4xjsbS213wSe3lOQfwOk3SKB/q3UAqP5VXDrX03mzcgB1II1C388v7 KsmIxUq0zXI8SDnGAOpCYmrpQ+l/sUIZBaNCK0hjoYiKEr0qVfqUgKNN6POQkXoz9kO/ 62p20xoAtTZTyA011UVCAx16kBo4wRR3gJsq6S9r/9HvofwbVnbE/fN7hxrdUne2ZqLi iGx05lQ7F/N+x/BBwXfwtz5jCsoy611kr62wd1zbMbCXQ4vTXDmvrwpZbLIhWCdqthjT EvBuTkA3mrP5Af+XnBQzrbm54jHLYTXVaipaPqU9WruO5ZxrksCxMqsNs6GFqI9bNRjQ YLkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004664; x=1752609464; 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=xKA9rkI+XoTU6l/1b1ulY6K75r9diUNOB9caVaU/pM8=; b=YduLp4jh+pvp3XXpL9pJFwjUM9pqEymbCYKYDRyiEgkhDAnj6xmbnm+lPRhYwhiFOH 3YeKwqLO4h+qJ8NYVMvAtvJnvtv0ODr3xoBozmGZn3CQKsOLzqlz2TSuQ2q4yfHmZWI5 gYkkTqbJRYwlhNG2Y6WB6lNIfgn1PWSu7hrnrQYILdDpfV+NcBTEvWTY71piy8xuAos/ Yl0lbs4xVlyCXF+gof9DnNDGEXP3yOuCkVU532Y/1Oh0BQIgTPecbLm/TqZWipWvwHK8 z6nbcHA5Eb4EgrTCXbRJD7hq+G31AdxY/q+sDPjlQK8sNUULcBf3RwqldoEJUXOfl5xa LucQ== X-Gm-Message-State: AOJu0Yzy/B9Ovl8v+qWstLgDdMJZLcPySmgZA7rFzI67jcmhlN8PhFBq VYDo6CnDSsTQTtoDS7Jbv5l2R7UwNDmrg+5AEqmNh0Wnhm8zEd4q71gvitItcg== X-Gm-Gg: ASbGnctkxamFEk1XZ1ya08XjE4wrEw0WFbmS8Cq/fRPOaHUE6bV8YoNjNnWBZeY/5Jo qrlTm90zOR8b/8Evi292/nlGYOFULqtRr85zOnHSQ+aehNaLym10UG7VY4/XS4feubruikCi9cS A8AAbwYNup0rciaA8X9yrbBL/gwAJm30CWVPQ2W8FBEgBTeW1l2wzuTqaT9ven1232uI38aro+0 O8efMrn8y3sGaxge9Twc7xh7v5rRqM/Z1AfvJpKEp+GDY48wCr18C4zOUcucz4YdiE5X0KbEOTf Rk2yOK2wj8LjK18Rv4Y5MczklfGGptuXHL7yRpzjUZniAF0liKoHJcUKTmhEIg+ZIkdZpeNcwBo tQTg= X-Google-Smtp-Source: AGHT+IF9p3RhGwH2czJzl2TcsnpiK+iMEjpnCM4hP3ECUMULaHJJ2DVFZxAosOFjhOoEWeapC7BHCg== X-Received: by 2002:a05:651c:19a8:b0:30b:c6fe:4529 with SMTP id 38308e7fff4ca-32f39a9612fmr16027571fa.8.1752004663626; Tue, 08 Jul 2025 12:57:43 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:42 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 13/20] uchardet: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:29 +0300 Message-ID: <20250708195636.1678606-13-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118335 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 --- .../0001-allow-build-with-cmake-4.patch | 41 +++++++++++++++++++ .../uchardet/uchardet_0.0.8.bb | 3 +- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/uchardet/uchardet/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/uchardet/uchardet/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/uchardet/uchardet/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..86a3b08277 --- /dev/null +++ b/meta-oe/recipes-support/uchardet/uchardet/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,41 @@ +From b650c4c3385f7afeb70231cdbcad888d23cb0a5a Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 19:59:23 +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: 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 a570264..5a6281c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,5 @@ + ######## Project settings +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.5) + include(CheckCCompilerFlag) + set (PACKAGE_NAME uchardet) + project (${PACKAGE_NAME} CXX C) +-- +2.43.0 + diff --git a/meta-oe/recipes-support/uchardet/uchardet_0.0.8.bb b/meta-oe/recipes-support/uchardet/uchardet_0.0.8.bb index 3e164cc26f..75a04e6f80 100644 --- a/meta-oe/recipes-support/uchardet/uchardet_0.0.8.bb +++ b/meta-oe/recipes-support/uchardet/uchardet_0.0.8.bb @@ -4,5 +4,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6ecda54f6f525388d71d6b3cd92f7474" inherit cmake -SRC_URI = "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz" +SRC_URI = "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz \ + file://0001-allow-build-with-cmake-4.patch" SRC_URI[sha256sum] = "e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0" From patchwork Tue Jul 8 19:56:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66447 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 10552C83F16 for ; Tue, 8 Jul 2025 19:57:49 +0000 (UTC) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mx.groups.io with SMTP id smtpd.web10.5755.1752004667241757317 for ; Tue, 08 Jul 2025 12:57:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EDKgStLY; spf=pass (domain: gmail.com, ip: 209.85.208.176, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-32f1df58f21so33613201fa.3 for ; Tue, 08 Jul 2025 12:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004665; x=1752609465; 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=tV6ToFsDP44hhdOjTGlszsrQ4mB6bI7fqrIcxq1fW6k=; b=EDKgStLYCUR/YgTVQv/pbb4I/13W4JXzy2S/0w+JZqdcYwPhFopirvZsZfzIhkSoG+ g8xUtcDyRiFRPyymMb65ZTM742gnNra+CmFGMqYVPgi4xqelDu+llldkKVPEMvmokRqi DoJ1yZnqU+dWlEVNbgvn+C/de+ZiFnPoiS/O3KvR8SxxUOtilF3VoQdnaIXQFCYju7pR 36DvMIVYNniRwHQfH1Pesstw7jffxZNfyTQbnj4dUli8tbk87Jeb9qPm9Ov4XlMSAtm6 oG4uN0Z6cc47aahn/+X+FumVoS/7qRtvkWMzvcR0EjIGmVZL/kMj4bi8hhDZyS8wXBr6 u8Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004665; x=1752609465; 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=tV6ToFsDP44hhdOjTGlszsrQ4mB6bI7fqrIcxq1fW6k=; b=Y+0zMjsVHwUAb5mHLRL8gMbGHx5sLSuxhLYHnHSVF58C8zCgsixMSh7ljMxS8/oxua ihYsd+ELLt4i9SkxiDCXj0iHxHbCc7kfmypRz7BOM+inyZRdnK+BI33Y3qWDBh0doGmE OljgoSmxwJBza1Rkq0Sni/LOTtkl/hfRO3h91McKBVzxqu3Gvt1ZwPzLrtuZryMEzSkn trJnXRX3+Ucs6mhSkgQKGXMSeSUGUUXp4ZEGuSjq11tx03L9AgW+QsDQsS9iQALqX0kT zam3iXTDNT/PvkNt/AcD928TEOzx9dPrp9vXq4tUN4vcjtFqJZqmoiWvI1FstoCiT1dq Iylg== X-Gm-Message-State: AOJu0YyFyWaxDxj51dYiLIG8b+t7RgTptvmhRbRyRRSnHrYVpsUpEH44 6ypDfZPYc1sYKI4qR+MDNTcvQArr6FRA6NbV/BLNlZpKVSEjf9QwnIVZA9+y6Q== X-Gm-Gg: ASbGncvZ33ZTjMV0vJRK7fHajG1nq3Mcr+sm/Xuk46cMZlPWzBDGddFQxv+MitWhUwB BQZHBQ9lQzjryBTjsqnbaYkqBz9RMftSrlp1zPWjvhw2bbLqgqb28YhUwfTSKXuXFx7jyRl2yFq xiWbL3ZtdZbAn4UfL3WiMGapmBG0TjRPP7QC/TyAisPr9lFE9emNrpO0tZhVT2ZtUkHiUcS2gbo D8VvUuZXzQZJj7hmqIR+u07aX1FCCvdmvO122VzudqYSQBI6jQbKeHne1OdXPE6PvA/vioFPyPx BCsux+zC0u/fqy2KHC2k2MrGqM0lpo/mF0GqhLblg2daJ5qFQ3hD2sFe7JLL7PqWZKX/mz5tMQN pons= X-Google-Smtp-Source: AGHT+IEN9BrROiTeEdK8cY0oqzGuzzrTR1hZaMGG0ofr/lxQpKqlC/QyEtub4swh8aSJ8z3BWAx70g== X-Received: by 2002:a05:651c:111b:b0:32a:739d:fac with SMTP id 38308e7fff4ca-32e6761c4famr54937811fa.36.1752004664830; Tue, 08 Jul 2025 12:57:44 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:44 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 14/20] cmpi-bindings: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:30 +0300 Message-ID: <20250708195636.1678606-14-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118336 Fix: | CMake Error at CMakeLists.txt:4 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument value. Or, use the ... syntax | to tell CMake that the project requires at least but has been updated | to work with policies introduced by or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak --- .../0002-allow-build-with-cmake-4.patch | 43 +++++++++++++++++++ .../cmpi-bindings/cmpi-bindings_1.0.5.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0002-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..f2fdb1fb10 --- /dev/null +++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From 1b92ac43bab03a77cb497cd59f9c84d5650a4a68 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 20:09:41 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:4 (cmake_minimum_required): +| Compatibility with CMake < 3.5 has been removed from CMake. +| +| Update the VERSION argument value. Or, use the ... syntax +| to tell CMake that the project requires at least but has been updated +| to work with policies introduced by or earlier. +| +| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. +| +| +| -- Configuring incomplete, errors occurred! + +Upstream-Status: Submitted [https://github.com/kkaempf/cmpi-bindings/pull/20] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4ea24ce..7d54f9a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + # + # CMakeLists.txt for cmpi-bindings + # +-cmake_minimum_required(VERSION 2.4) ++cmake_minimum_required(VERSION 3.5) + + PROJECT(cmpi-bindings) + +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb index da710eaedb..e0d995226e 100644 --- a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb +++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb @@ -10,6 +10,7 @@ SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=https;branch=main file://cmpi-bindings-0.4.17-no-ruby-perl.patch \ file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \ file://0001-Fix-error.patch \ + file://0002-allow-build-with-cmake-4.patch \ " SRCREV = "49d6dcfc71ca421100fcf325e31625817c469fc9" From patchwork Tue Jul 8 19:56:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66449 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 1E4F9C83F1A for ; Tue, 8 Jul 2025 19:57:49 +0000 (UTC) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by mx.groups.io with SMTP id smtpd.web10.5756.1752004668500914620 for ; Tue, 08 Jul 2025 12:57:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ns7Dfd6O; spf=pass (domain: gmail.com, ip: 209.85.208.179, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-32ac42bb4e4so39283841fa.0 for ; Tue, 08 Jul 2025 12:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004666; x=1752609466; 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=r/yM9UrERi9oRjJ8N7WfrYvk/OMan8ahq6GaSsmMRYo=; b=Ns7Dfd6O2q07Wlr36bL2iBPhmF4zZNGRDCVBF5uKh1zisXvNLHXeTq4H8a13uZR/89 1+k9OTlOBxAQImZg72sXWlVBRj05EHwjcVEn5tXUYFGXX5hM+0ovWrXR9mjZ/ypbeFh2 0Lz/VJjUZ2gYIZjMq1DybNJgukkZs5L2A3F0hRDzDEe4TOkN2QLXUV2KpmItnp8Tmsai 7wE2jz21UwaOVnfjxkojc20WV7EkjAOS64P5Co+7CLjsDgz9r8BimzscMDKGrdxK5QZj gTld0eYUi1+ZaW7EpTFRDc5i/QtuU8Gxb2IYwJRF0T17qpCbHKWQm3k4Rt80Q2kYygVZ Ixvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004666; x=1752609466; 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=r/yM9UrERi9oRjJ8N7WfrYvk/OMan8ahq6GaSsmMRYo=; b=lJ3viv3Em5OmFLGALPT6DAJuER4XIBPzUOC5h8I+oMK0I35XbU3gzl4ndC0Vc5TtZY kFOYceA12I8Z3Fr0a4n6Sf55PUlbxl7Np+5xqrIH0eOThqCaWMCxacU0V2EKULoOmdLk jnlMPCnQ0+lYcD0WmBxMw8eXT8F1TLdC+DDiOupZ9sPaAMjrkTVAG4+t0yDrTMwyJVDb CS/ni8Ucqmyqbkn2Sd+c6MSwvNLk5bz6Zn1E7leFudFy43OJPUjv5xp0oJF128aiV/D+ FmBHvMEHqRKYJqQ/awnMLZKiXL3w3RQ5yiUJsZTEH1AcZ0fU6EtI/SyQUX1DmmJh7TnT e4YA== X-Gm-Message-State: AOJu0Yzd24L9yXDNlzKt0G9ObwTKCgVMGbeKad9bOIN2XNsUFnOhHfLk 9GDfX1NzMSqrVkPfX/XGbjRMkOlfLaxlXHkMkl0ZUuJhwiVKz2hE8EMEaSWAvw== X-Gm-Gg: ASbGncs9VimTzQa4lFk5e9a8N4s+Do53ug756Zw7Eqy1LcYqEBV1oT2eb3Rz0OpcThy IOJdqvhDQcNQjmHIMIrFwmv2Nw6IQ2QIFguZYT71gfo7UIyKUnbznoZNAUJ2c0J7FoAcmQ70shG a77s6t3KjJ0M1GMktKcnqdn+TJLJAwG2Idrsj0aW66Hb0NNEKjOVf4IjWZap89Ga5AiP/BM/Gy8 R6VuOlgDE9YDkK8Maoy1SVGdAUyruWsQkj/t+LNYIhaXlhQAbkh4yhNMCq23d9iZHCJYP2sGM5Z w/+QtWzyG+OjuzISwjvS+IHDNbmgr4FKaviQRgUUI2ker3SvN+YMk9k5fmhZCmvxKIJKdHr6VLK ZBCk= X-Google-Smtp-Source: AGHT+IHDiJ+e2PbhDCJA1jakA408MWG7xHW7hsZQRuqYv94+Rbw8Q1z7IjuS8pVwfzNYjgvkVCN7ZQ== X-Received: by 2002:a2e:bea5:0:b0:32b:8045:7264 with SMTP id 38308e7fff4ca-32f00cb64a9mr53333801fa.12.1752004666065; Tue, 08 Jul 2025 12:57:46 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:45 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 15/20] spirv-shader-generator: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:31 +0300 Message-ID: <20250708195636.1678606-15-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118337 Fix: | CMake Error at CMakeLists.txt:22 (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 +++++++++++++++++++ .../spir/spirv-shader-generator_git.bb | 4 +- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-graphics/spir/spirv-shader-generator/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-graphics/spir/spirv-shader-generator/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-graphics/spir/spirv-shader-generator/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..31b3ef81fa --- /dev/null +++ b/meta-oe/recipes-graphics/spir/spirv-shader-generator/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From ba72528b21e024fe4f5464466976a8234d7c330c Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 20:27:11 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:22 (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/KhronosGroup/SPIRV-Cross/commit/82331a2ca9f2ea90d05901e931aa8c21e70dc40c] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cf14c8d5..ef9695a9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -19,7 +19,7 @@ + # 2. The MIT License, found at . + # + +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + set(CMAKE_CXX_STANDARD 11) + set(CMAKE_CXX_EXTENSIONS OFF) + +-- +2.43.0 + diff --git a/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb b/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb index 567f7a55e8..1ecd315a2e 100644 --- a/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb +++ b/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb @@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SECTION = "graphics" SRCREV = "f09ba2777714871bddb70d049878af34b94fa54d" -SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https" +SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https \ + file://0001-allow-build-with-cmake-4.patch" + inherit cmake pkgconfig EXTRA_OECMAKE = "-DSPIRV_CROSS_SHARED=ON" From patchwork Tue Jul 8 19:56:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66451 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 1C625C83F0F for ; Tue, 8 Jul 2025 19:57:59 +0000 (UTC) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) by mx.groups.io with SMTP id smtpd.web11.5606.1752004669772403311 for ; Tue, 08 Jul 2025 12:57:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jQ3/XdqV; spf=pass (domain: gmail.com, ip: 209.85.208.178, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-32ca160b4bcso54555651fa.3 for ; Tue, 08 Jul 2025 12:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004667; x=1752609467; 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=BtlVV3RIhy6VnnzRoHnyTZsJHR8bl0tTZsvEWvqM24k=; b=jQ3/XdqVoTxWe4feHjF+xsD2UuUSGgyBiqNw2Uc/KfJ70tcQK4gv7DY1RWtLg9PSE+ 9wC3DzICd4+cqeBm+U5pLX1zhBy0Fwo5HBxsQUaQJ8dvi+Ac28r7jF+OONlkwtaqFRi/ bUuPMCPEoA/VtEphLB3gEwz7a4oL32Slxf3oN/o5aIZxrz2cwpAyyW9vX2jpmbmyoeAh yIluI7aXFEM9HYyEKqzCmlfmN2dhMxGfP4gByI0UZtDyTA9W5TPcOudRPUPy5FircxA/ qsHqQ3yTNA5pg4KSYD/swDpHtj81/KgrzCKyxxpeIhiEWr1PNL34l7goMYfVUhEuf5if Iicw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004667; x=1752609467; 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=BtlVV3RIhy6VnnzRoHnyTZsJHR8bl0tTZsvEWvqM24k=; b=HUOdCWJIPo8bv61l1E4QHgeUVdtJ00Bm/WRfKdlJvQP1T9sKFdTdLc22zlkn2Ieqxd ITfdaJdjKXF2CQHN9UyiYwclepgVpOmgRBoOqPXCWJgbGy/qNVV0zTIvVuXZFOBEyEwX ljC8uFw29/1OJHbSrnvzGKvTLUYUJdpH3r4Wey+LXPH5SJ6zN+eHh4zhQU5cFR84COxr w3dqeIYqGbRHwGIcH0vk67hA4HHIxBH1+ii/SfHTuYqzJmlNEMU/fr0jCZEsXljGkKOH 4TUetOv0/MxWzpgQtZsnxWKOO/CF/Q565gVAx5KCy3VS860DoGPhNG527+6dXwaqbOVq MuuA== X-Gm-Message-State: AOJu0YxrhRP4udbe+IoTFybgnQ2CfzxeOGTOUPezxikRYp0vVRZRP62j sYppah6IraIyMbxiIRrUJXUSfKjjjfDDz7dVZlPMA+tHHWlLE87sMx8kh1jFTQ== X-Gm-Gg: ASbGnctzodixpO8kjcK8M0+Ho2JPyxtv7YImJbjDwfkP6nfWbNbHshyh6JiEstDrTOa Pyv7ZemrtjQ1zebOebLKWUFp4SxomBMHhDm5dKCwRnYBOhrNUZ7jgy4BJoDAckKXqyW1/NZ9zor y/IRKSKufDRW7NQMF/L+FttZrvN6MHra2DsKoaqcSQPKT0tBA5BQ1NvsuLYEifVh4RwIZx2ZmnI e+nnCf7Es4m0nbct7FtGyzeZ+NdKj7oc703zGkSxt36D1HC0IlTOF5+5YdfbMtS2Y73vM40Ui1n LF+SxacZBbJl4bBildlutF+UivUNOy3UINT5ED4yHGwqtfvkiKosoaWgiq4EdndqjHxCNwlpTRt QMX8= X-Google-Smtp-Source: AGHT+IGkTj7K6dX4LJ0O6DyOQeb76+cZ7Vpk9R85jecI2NcyWuIzEmbTYcxsFcOIYHKQuWcn4jLWrA== X-Received: by 2002:a05:651c:4201:b0:32c:ab57:b03 with SMTP id 38308e7fff4ca-32f42d15e2amr2154791fa.3.1752004667292; Tue, 08 Jul 2025 12:57:47 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:46 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 16/20] double-conversion: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:32 +0300 Message-ID: <20250708195636.1678606-16-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118338 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 --- .../dc/double-conversion_3.3.1.bb | 3 +- .../files/0001-allow-build-with-cmake-4.patch | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-support/dc/files/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-support/dc/double-conversion_3.3.1.bb b/meta-oe/recipes-support/dc/double-conversion_3.3.1.bb index 31330faa17..42777971d8 100644 --- a/meta-oe/recipes-support/dc/double-conversion_3.3.1.bb +++ b/meta-oe/recipes-support/dc/double-conversion_3.3.1.bb @@ -5,11 +5,10 @@ HOMEPAGE = "https://github.com/google/double-conversion.git" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=1ea35644f0ec0d9767897115667e901f" - - SRC_URI = " \ git://github.com/google/double-conversion.git;protocol=https;branch=master \ file://run-ptest \ + file://0001-allow-build-with-cmake-4.patch \ " SRCREV = "ae0dbfeb9744efd216c95b30555049d75d47116a" diff --git a/meta-oe/recipes-support/dc/files/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/dc/files/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..db8296c65d --- /dev/null +++ b/meta-oe/recipes-support/dc/files/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,40 @@ +From 1652f5b555b4b4a7916af40bebacc32c23e4aca5 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 20:43:45 +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/google/double-conversion/commit/101e1ba89dc41ceb75090831da97c43a76cd2906] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8749ef8..3145772 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + project(double-conversion VERSION 3.3.0) + + option(BUILD_SHARED_LIBS "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" OFF) +-- +2.43.0 + From patchwork Tue Jul 8 19:56:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66452 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 29900C83F16 for ; Tue, 8 Jul 2025 19:57:59 +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.web10.5757.1752004670731045436 for ; Tue, 08 Jul 2025 12:57:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nPEvD6bn; 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-5561c20e2d5so5531503e87.0 for ; Tue, 08 Jul 2025 12:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004669; x=1752609469; 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=Lv7Qjm1Zj4tobdNpB8Ft7QInhBBYEYuaPMoeASjXbbI=; b=nPEvD6bn7gHwfYG/mQzIsWy+VGgb23zuv8vTW4ADadSGPiSqZ8N4FimBvJ2l6k2mQA J6zgJACPMhig0fK6LMtXzpSTN7tzgowwsinVFbVLN70JO6+qW3BoLkVPWeUNP/CqhPR4 ZGVRTrGoApQDU2EOodU9Zt54jAzo8Verl+9mCsWt7cSdGQFdDhshywiM45tnNBqUS46O Rl+uBt1UC7/9RGS+m0piXlBzVqVEBpQoozd8DjjObyUr9ZHsYjtnsvkr1QZpDO5UUpTR lelPQj7xl62+lZJmahCyjx35F+SKiW+J3tQcPbZoFzkk8awlucjUjlAqZ+GC03T6OFKp gaaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004669; x=1752609469; 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=Lv7Qjm1Zj4tobdNpB8Ft7QInhBBYEYuaPMoeASjXbbI=; b=KYyj2pbKr5wTmsKOpkOLQiTGj6L7S/eCT1iM7sn6cSxFu4n0lOK/A51Gsp/tfKJkBC 5Y3O8AfdmQbw13IUayvTyeETU9m06Ncd2gU1ZEzzfCD/kmyez977Xp2hm1IZ6Lk+vh0a O7cDNgODwefHSTkYyDazrj1jj9gKyvDQEszQbuNN17HXkS1ROWC/5v4o9w7gQ5fCbf+u YqFvWGUaN2pvFKuJb+87Cj0vpbyNKBm7N9VdX8fLh10M1Xd0bau3nGr23zXua8eJb15E GFxw5BHlUWa6Eua+XAuJXiPkp95UJakuYpkrpkVCfss+vi+MRv38O/va8WW7ixwTx8T6 rg8g== X-Gm-Message-State: AOJu0YwNdv/f/8txU1LrQsN36V9Gyxqg2GUtQJzL3AcoJqvJGaJrvlat DOHnHqyRww6wZWJphu9QvxFsHdrvQ1t9Z3Jb70oOAq3n5lmR/o++PgiGO880vw== X-Gm-Gg: ASbGncuU86m632lrsKKAn1SnAiK1uD1FFPJJDLZPDATh/ki0Z6uX0l366kANiD+japC J7XE9q82s3uR0D2E7x/PcOAF7lObzj+GKIjCYq3yeRStBxAyXDQP7J/OmD5iYhazzliOhR4+/pW hFs+JuKUD8vhrzHcTbRqgafg4mfLrm/829bRAab0AuRo5j8FUn6DIYXMs7N4njuULetxyN4T7Mm eYCWYHtE6oSCuUSZtFVmjk0OY5gsO0CAk2XVo+beXFVZp88gp6SqJiY61zJa3BuvYUvjnW9hyS6 uK95aM380DXEaa6AFqEpHd/KFYyG/434bMOWnZ1SDr7V4VB76PHrWZHrGa1oEZv0Ux2wZoZGtdu o774= X-Google-Smtp-Source: AGHT+IGzayexguix2OGpY+CO+DlofIzcqHfe4/cRy7R32GmM9HnyQLj/APEXXmDrCKuegj3zit07PQ== X-Received: by 2002:a05:6512:1324:b0:553:ac4c:2177 with SMTP id 2adb3069b0e04-558fa89e705mr3425e87.20.1752004668502; Tue, 08 Jul 2025 12:57:48 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:48 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 17/20] freediameter: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:33 +0300 Message-ID: <20250708195636.1678606-17-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118339 Fix: | CMake Error at CMakeLists.txt:24 (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 --- .../files/0002-allow-build-with-cmake-4.patch | 81 +++++++++++++++++++ .../freediameter/freediameter_1.5.0.bb | 2 +- 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-protocols/freediameter/files/0002-allow-build-with-cmake-4.patch diff --git a/meta-networking/recipes-protocols/freediameter/files/0002-allow-build-with-cmake-4.patch b/meta-networking/recipes-protocols/freediameter/files/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..89a215d975 --- /dev/null +++ b/meta-networking/recipes-protocols/freediameter/files/0002-allow-build-with-cmake-4.patch @@ -0,0 +1,81 @@ +From a96a8f8debb457fd5bdcd34f005670678870ec70 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 20:58:10 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:24 (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/freeDiameter/freeDiameter/commit/45106adf3bf4192b274ef6c5536200a0e19c84f2] + +Signed-off-by: Alper Ak +--- + CMakeLists.txt | 6 +++--- + libfdcore/CMakeLists.txt | 2 +- + libfdproto/CMakeLists.txt | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 870e1ef..f1e6dc5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,8 @@ + # This file is the source for generating the Makefile for the project, using cmake tool (cmake.org) + ++# CMake version ++CMAKE_MINIMUM_REQUIRED(VERSION 3.10) ++ + # Name of the project + PROJECT("freeDiameter") + +@@ -20,9 +23,6 @@ SET(FD_PROJECT_VERSION_API 7) + # The test framework, using CTest and CDash. + INCLUDE(CTest) + +-# CMake version +-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) +- + # Location of additional CMake modules + SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") + +diff --git a/libfdcore/CMakeLists.txt b/libfdcore/CMakeLists.txt +index b1bc0f1..4fefcb7 100644 +--- a/libfdcore/CMakeLists.txt ++++ b/libfdcore/CMakeLists.txt +@@ -2,7 +2,7 @@ + Project("freeDiameter core library" C) + + # Configuration for newer cmake +-cmake_policy(VERSION 2.8.12) ++cmake_policy(VERSION 3.10) + + # Configuration parser + BISON_FILE(fdd.y) +diff --git a/libfdproto/CMakeLists.txt b/libfdproto/CMakeLists.txt +index c7164fb..4cedf65 100644 +--- a/libfdproto/CMakeLists.txt ++++ b/libfdproto/CMakeLists.txt +@@ -2,7 +2,7 @@ + Project("libfdproto" C) + + # Configuration for newer cmake +-cmake_policy(VERSION 2.8.12) ++cmake_policy(VERSION 3.10) + + # List of source files for the library + SET(LFDPROTO_SRC +-- +2.43.0 + diff --git a/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb b/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb index 89b2572c04..31ac1fb9b7 100644 --- a/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb +++ b/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb @@ -25,9 +25,9 @@ SRC_URI = "git://github.com/freeDiameter/freeDiameter;protocol=https;branch=mast file://0001-tests-use-EXTENSIONS_DIR.patch \ file://0001-bison-flex-Add-flags-for-carrying-user-specified-par.patch \ file://0001-fixes-for-gcc-15.patch \ + file://0002-allow-build-with-cmake-4.patch \ " - LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=868c059b6147748b1d621e500feeac4f" From patchwork Tue Jul 8 19:56:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Ak X-Patchwork-Id: 66454 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 374B3C83F15 for ; Tue, 8 Jul 2025 19:57:59 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web10.5758.1752004672247999199 for ; Tue, 08 Jul 2025 12:57:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cyusd6lB; spf=pass (domain: gmail.com, ip: 209.85.208.177, mailfrom: alperyasinak1@gmail.com) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-32b7123edb9so54953971fa.2 for ; Tue, 08 Jul 2025 12:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004670; x=1752609470; 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=a5tSBVJZY2ISFzMueFGBx5pxjXQZv4C8j3fDtLqgF0k=; b=cyusd6lB1nIDkTkv3ggxUQcNRMaMUnJY5AkxfVPDiif0Poh2Zz4/doTuu82WQe+UP5 pIvmTw6pggsxY+xVD9MLaXFHOp6S6s7ukyltlfMQc3mjsgvsvr/K0oljo3EfATSf6ugK 4SUEZGPdEzbBr0AObZ8jSgG1SvnIHt8Q+DHfKagouyPnH4t6FOmlLS6I9YTrQuh4NXiB pmz2IdiHPZBdGSQy9oLG20TXmdpqZ/B24r3j7e0to3QHYETA5iw0eKpUyYLmq9YAhho7 l4OIUaGa0sXmOCdBpw6ki2lra39yKHpOhzVugy0SlZw0ZoUpJVaIqWSRfK0ZZ4WSmY/2 4CAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004670; x=1752609470; 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=a5tSBVJZY2ISFzMueFGBx5pxjXQZv4C8j3fDtLqgF0k=; b=Die9dMPe7BPWA3tu/IoyYuRyiKBSc4R7Leoqo0QnV34jcHYcF5DwGuM3zQ2duzk5Lp RLhCFY4qaajl+XgXaz5ACRTi5wJcllq21i/tu3fW3JkIS8CBsYe5u224HDrPxJxWQWiL i/AGXG+Xsku/2Y4BUatQKgJETeLRkF+RieuiRVYxkOXqFj1xA9yhol1cdYkuTYaA4na/ Q5dXZ1oENIBfwF7Mx/WT3XsQVEBDnDwJx+SIYkndTqnV0jWDTk+kQoGryaRfyzhrYnMj uhBXrZcw4if6+yKtk2j/94CiptaEtBFlvauL1yj6sLY7yvShQTqPUxaQ2GVF/8T8/ArC SWRw== X-Gm-Message-State: AOJu0Yxj+Tp5xCNks0PaT/UGY9Pr7AUI7ruClXDO7IZr2Dnkg4peJND3 UdPuFtUQjv3oeaq4RggflG3PJCghBRep1t6Kkx00a9dPeAUN/C33OeGewpWhhQ== X-Gm-Gg: ASbGncvMi+dbOO1vRZJQFgjTHceCxPdBfG9NV8GFeTR/Us8qotj7PhdEFBS/on1YCB+ XEPSI3b4rNcTOFfPijixiShqpHRT3JfONI7aGUCMccA1TDpDIvdCw4w73fNtTyy5lDFTbaJNimv 0YXiTr6EzSitm0u0zwTIlpfq0QO+OAHbP2zLO9in5VPBmqgEDFm6HPvr/tf4yUlwUxfLCb04gNB yYHPGFI4orWU24iz91XBFsa08luWH04n6xF5I6ohXQHW0WZdc4PLQZ/LXhQkf1ViyiRpf/3pfPp SicqTuQpC7YYc/H+l4s2VtqvNpSpve2la4xMohB4XwdLO6LwxM0dw/bj7ynTEcho8y529QRnOQx PZKq+rGyadSHAGQ== X-Google-Smtp-Source: AGHT+IHYZxvha4r/lRSURZwE884pN78U2Sj5UmeGPqqSQ4bEv/1Wbc+iK8Mci+XU2D3skoQ2yZyxaw== X-Received: by 2002:a05:651c:e0c:b0:32b:5672:41fb with SMTP id 38308e7fff4ca-32e5f5f9951mr40767731fa.19.1752004669740; Tue, 08 Jul 2025 12:57:49 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:49 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 18/20] microsoft-gsl: Upgrade 4.0.0 -> 4.2.0 to allow CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:34 +0300 Message-ID: <20250708195636.1678606-18-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118340 - Drop patches because already fixed in newer version Changelog: https://github.com/microsoft/GSL/compare/v4.0.0...v4.2.0 https://github.com/microsoft/GSL/releases/tag/v4.2.0 https://github.com/microsoft/GSL/releases/tag/v4.1.0 Fix: | CMake Error at tests/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-Fix-initialization-in-test-1140.patch | 113 ------------------ .../0002-Fix-gcc-build-problem.patch | 82 ------------- ...eck_cxx_compiler_flag-to-cmake-3.0.2.patch | 53 -------- ...ft-gsl_4.0.0.bb => microsoft-gsl_4.2.0.bb} | 8 +- 4 files changed, 2 insertions(+), 254 deletions(-) delete mode 100644 meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0001-Fix-initialization-in-test-1140.patch delete mode 100644 meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0002-Fix-gcc-build-problem.patch delete mode 100644 meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0003-Adapt-check_cxx_compiler_flag-to-cmake-3.0.2.patch rename meta-oe/recipes-devtools/microsoft-gsl/{microsoft-gsl_4.0.0.bb => microsoft-gsl_4.2.0.bb} (87%) diff --git a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0001-Fix-initialization-in-test-1140.patch b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0001-Fix-initialization-in-test-1140.patch deleted file mode 100644 index 84a585d3c5..0000000000 --- a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0001-Fix-initialization-in-test-1140.patch +++ /dev/null @@ -1,113 +0,0 @@ -From 1b4d42ca2e97061042ec44a0b34ceb176c78c7e1 Mon Sep 17 00:00:00 2001 -From: d-winsor -Date: Mon, 26 Feb 2024 13:17:12 -0800 -Subject: [PATCH] Fix initialization in test (#1140) - -* Suppress unsafe-buffer-usage - -Upstream-Status: Backport [https://github.com/microsoft/GSL/commit/1b4d42ca2e97061042ec44a0b34ceb176c78c7e1] - -Signed-off-by: Peter Marko ---- - include/gsl/span | 10 ++++++++++ - include/gsl/util | 10 ++++++++++ - tests/CMakeLists.txt | 10 ++++++++++ - tests/span_tests.cpp | 2 +- - 4 files changed, 31 insertions(+), 1 deletion(-) - -diff --git a/include/gsl/span b/include/gsl/span -index cc8a7b9..d254e4d 100644 ---- a/include/gsl/span -+++ b/include/gsl/span -@@ -58,6 +58,12 @@ - #pragma GCC diagnostic ignored "-Wsign-conversion" - #endif - -+// Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks -+#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#pragma clang diagnostic push -+#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" -+#endif // defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+ - namespace gsl - { - -@@ -818,4 +824,8 @@ as_writable_bytes(span s) noexcept - #pragma GCC diagnostic pop - #endif // __GNUC__ > 6 - -+#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#pragma clang diagnostic pop -+#endif -+ - #endif // GSL_SPAN_H -diff --git a/include/gsl/util b/include/gsl/util -index a215bad..11735a8 100644 ---- a/include/gsl/util -+++ b/include/gsl/util -@@ -39,6 +39,12 @@ - - #endif // _MSC_VER - -+// Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks -+#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#pragma clang diagnostic push -+#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" -+#endif // defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+ - #if defined(__cplusplus) && (__cplusplus >= 201703L) - #define GSL_NODISCARD [[nodiscard]] - #else -@@ -157,4 +163,8 @@ constexpr auto at(std::span sp, const index i) -> decltype(sp[sp.size - - #endif // _MSC_VER - -+#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#pragma clang diagnostic pop -+#endif -+ - #endif // GSL_UTIL_H -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index cab4e56..20de9e1 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -167,6 +167,11 @@ else() - > - ) - endif(MSVC) -+check_cxx_compiler_flag("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) -+if (WARN_UNSAFE_BUFFER) -+ # This test uses very greedy heuristics such as "no pointer arithmetic on raw buffer" -+ target_compile_options(gsl_tests_config INTERFACE "-Wno-unsafe-buffer-usage") -+endif() - - # for tests to find the gtest header - target_include_directories(gsl_tests_config SYSTEM INTERFACE -@@ -267,6 +272,11 @@ else() - > - ) - endif(MSVC) -+check_cxx_compiler_flag("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) -+if (WARN_UNSAFE_BUFFER) -+ # This test uses very greedy heuristics such as "no pointer arithmetic on raw buffer" -+ target_compile_options(gsl_tests_config_noexcept INTERFACE "-Wno-unsafe-buffer-usage") -+endif() - - add_executable(gsl_noexcept_tests no_exception_ensure_tests.cpp) - target_link_libraries(gsl_noexcept_tests -diff --git a/tests/span_tests.cpp b/tests/span_tests.cpp -index 33ccf56..3c1dfe5 100644 ---- a/tests/span_tests.cpp -+++ b/tests/span_tests.cpp -@@ -330,7 +330,7 @@ TEST(span_test, from_array_constructor) - EXPECT_TRUE(s.data() == std::addressof(arr2d[0])); - } - -- int arr3d[2][3][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; -+ int arr3d[2][3][2] = { { {1, 2}, {3, 4}, {5, 6} }, { {7, 8}, {9, 10}, {11, 12} } }; - - #ifdef CONFIRM_COMPILATION_ERRORS - { --- -2.30.2 - diff --git a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0002-Fix-gcc-build-problem.patch b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0002-Fix-gcc-build-problem.patch deleted file mode 100644 index 2f7542c62c..0000000000 --- a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0002-Fix-gcc-build-problem.patch +++ /dev/null @@ -1,82 +0,0 @@ -From aa4fd1f57794964640005900c2b47af1a0940b7b Mon Sep 17 00:00:00 2001 -From: Werner Henze -Date: Fri, 1 Mar 2024 15:53:50 +0100 -Subject: [PATCH] Fix gcc build problem - -Closes issue #1148 by fixing problems introduced in PR #1140. - -Upstream-Status: Submitted [https://github.com/microsoft/GSL/pull/1149] - -Signed-off-by: Peter Marko ---- - include/gsl/span | 12 ++++++++---- - include/gsl/util | 12 ++++++++---- - 2 files changed, 16 insertions(+), 8 deletions(-) - -diff --git a/include/gsl/span b/include/gsl/span -index 0de2932..d2ef9f7 100644 ---- a/include/gsl/span -+++ b/include/gsl/span -@@ -59,10 +59,12 @@ - #endif - - // Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks --#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#if defined(__clang__) -+#if __has_warning("-Wunsafe-buffer-usage") - #pragma clang diagnostic push - #pragma clang diagnostic ignored "-Wunsafe-buffer-usage" --#endif // defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#endif // __has_warning("-Wunsafe-buffer-usage") -+#endif // defined(__clang__) - - namespace gsl - { -@@ -824,8 +826,10 @@ as_writable_bytes(span s) noexcept - #pragma GCC diagnostic pop - #endif // __GNUC__ > 6 - --#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#if defined(__clang__) -+#if __has_warning("-Wunsafe-buffer-usage") - #pragma clang diagnostic pop --#endif -+#endif // __has_warning("-Wunsafe-buffer-usage") -+#endif // defined(__clang__) - - #endif // GSL_SPAN_H -diff --git a/include/gsl/util b/include/gsl/util -index b853017..26b2f5f 100644 ---- a/include/gsl/util -+++ b/include/gsl/util -@@ -40,10 +40,12 @@ - #endif // _MSC_VER - - // Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks --#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#if defined(__clang__) -+#if __has_warning("-Wunsafe-buffer-usage") - #pragma clang diagnostic push - #pragma clang diagnostic ignored "-Wunsafe-buffer-usage" --#endif // defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#endif // __has_warning("-Wunsafe-buffer-usage") -+#endif // defined(__clang__) - - #if defined(__cplusplus) && (__cplusplus >= 201703L) - #define GSL_NODISCARD [[nodiscard]] -@@ -163,8 +165,10 @@ constexpr auto at(std::span sp, const index i) -> decltype(sp[sp.size - - #endif // _MSC_VER - --#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") -+#if defined(__clang__) -+#if __has_warning("-Wunsafe-buffer-usage") - #pragma clang diagnostic pop --#endif -+#endif // __has_warning("-Wunsafe-buffer-usage") -+#endif // defined(__clang__) - - #endif // GSL_UTIL_H --- -2.30.2 - diff --git a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0003-Adapt-check_cxx_compiler_flag-to-cmake-3.0.2.patch b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0003-Adapt-check_cxx_compiler_flag-to-cmake-3.0.2.patch deleted file mode 100644 index ed057f5243..0000000000 --- a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/0003-Adapt-check_cxx_compiler_flag-to-cmake-3.0.2.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 85e1c38bcf84bd4e2ce63ef74f0cfa1f5e92261e Mon Sep 17 00:00:00 2001 -From: Peter Marko -Date: Wed, 27 Mar 2024 23:46:31 +0100 -Subject: [PATCH] Adapt check_cxx_compiler_flag to cmake 3.0.2 - -Backporting commits which are upgrading cmake_minimum_required and -include check_cxx_compiler_flag have too many additional changes. - -Let's just do a simple adaptation of our backported patch so -it works with older cmake version instead. - -This can be safely removed when recipe version is upgraded. - -Upstream-Status: Inappropriate - -Signed-off-by: Peter Marko ---- - tests/CMakeLists.txt | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index 20de9e1..54c3ac5 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -5,6 +5,7 @@ enable_testing() # again, for support standalone testing - - include(FindPkgConfig) - include(ExternalProject) -+include(CheckCXXCompilerFlag) - - # will make visual studio generated project group files - set_property(GLOBAL PROPERTY USE_FOLDERS ON) -@@ -167,7 +168,7 @@ else() - > - ) - endif(MSVC) --check_cxx_compiler_flag("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) -+CHECK_CXX_COMPILER_FLAG("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) - if (WARN_UNSAFE_BUFFER) - # This test uses very greedy heuristics such as "no pointer arithmetic on raw buffer" - target_compile_options(gsl_tests_config INTERFACE "-Wno-unsafe-buffer-usage") -@@ -272,7 +273,7 @@ else() - > - ) - endif(MSVC) --check_cxx_compiler_flag("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) -+CHECK_CXX_COMPILER_FLAG("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) - if (WARN_UNSAFE_BUFFER) - # This test uses very greedy heuristics such as "no pointer arithmetic on raw buffer" - target_compile_options(gsl_tests_config_noexcept INTERFACE "-Wno-unsafe-buffer-usage") --- -2.30.2 - diff --git a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.2.0.bb similarity index 87% rename from meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb rename to meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.2.0.bb index 2fbbf8f06a..610c45a298 100644 --- a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb +++ b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.2.0.bb @@ -9,13 +9,9 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=363055e71e77071107ba2bb9a54bd9a7" SRC_URI = "git://github.com/microsoft/GSL.git;protocol=https;branch=main \ - file://run-ptest \ - file://0001-Fix-initialization-in-test-1140.patch \ - file://0002-Fix-gcc-build-problem.patch \ - file://0003-Adapt-check_cxx_compiler_flag-to-cmake-3.0.2.patch \ + file://run-ptest \ " -SRCREV = "a3534567187d2edc428efd3f13466ff75fe5805c" - +SRCREV = "2828399820ef4928cc89b65605dca5dc68efca6e" inherit cmake pkgconfig ptest From patchwork Tue Jul 8 19:56: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: 66453 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 19ABEC83F09 for ; Tue, 8 Jul 2025 19:57:59 +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.web11.5610.1752004673433103935 for ; Tue, 08 Jul 2025 12:57:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Rnm4GCtL; 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-32b7cf56cacso48004201fa.1 for ; Tue, 08 Jul 2025 12:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004671; x=1752609471; 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=K3VjQYX3km3jT7oM+eDsu+3p9y36BTDVHptJgF2PIOw=; b=Rnm4GCtLrmp8XpedbspKhyAr+h8NNAQnSCjhYuKCi8pT+p9SCf6OcwFdbPav8atV87 qJko/lr5kAi3eGgnn0Ws/APDc16s8Wya3MfdaFDii+ma3DYuDtbrmY97khm2wZODK9xf Bh8K9eJmg/sOeQEiDfVVRGh05gbyI9jBcPicJFV3kSGj24gMnyLkw8lwhKFZMlVqXxcP YH/4xzEYQEcdkHacSoTJDxyJP7YE5Q2rG8eXu+X2MFyzWyCu/+KVfA34j4Lldwx7Zq5r gf76Hky++Vng+suDDqWEu0BbqSS7oWAlbfvBDYury4eE8KdDuamW/v8GaxrYYovkI8cc fBCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004671; x=1752609471; 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=K3VjQYX3km3jT7oM+eDsu+3p9y36BTDVHptJgF2PIOw=; b=gH3FFujmr0WX2Ze4RxPPAC/gdh4XulOp9tWLwxlZ7C7NblHEMJrUsdkhQOChSQ9Us9 5tbaZMaaJjM4K4yUagbqfYlpqHIxjBqsWxhXDXC8h2zpFLua9CYZMIeprqspcnSdKCBl IpqdE3w/uClsGeKQT/VYo/bHC3UKrgEIbxi8vvbXbYtCM4BVhdBYylUbWgND5AmTtDo2 y4mtfiBzVTABBQ2W36372OtByJwEPvNUdFXpJVts4v7QNg/rMxdAgQgMsi8bmc5fizht PK7Pw/wU6lvsRvEVEJC+7pwmvT6AC2k3xFjCGNrUQ7s4AfCFZXwlNGemSyRPecKDvYgM 5Itw== X-Gm-Message-State: AOJu0YxUvyx7tHtqvnsfQYJPQRQudr8NPFJTWDNe2yJkHQuj+pA6uXEp ueVaUlmuwqOT88yFDrg626KdmLkuKIEt+4baKuKHAtqvrBo3ekqkNWdssxT3+A== X-Gm-Gg: ASbGncsJdymuDPNmd9plcJWQJ6qGD1DEmiYuX6Qrr3P27NGLmnDLWa+28XCh4hrnfOT PeyXxVcrAZWGNWD0PZ26y3yPMKB2FJ3Sz296mn/0dd/iNuApLTnVuc5wmZ4YvJFa9+CgCygG+pJ LlWgs+cbj47mBNDy0dWGxHguqbfse1OcdQKxBwWNP5Mx3QwT2sjrYl//cGtTWsLaXTnXF4D3ewJ Dj4agIOdC3eDYPfaX9S+QqAhNTf2AJSXBfW40SiQCwq3etobuQDn+NTrbhMblAS/h007U7R2ToT uXibQ3yG3mbH+yIHEh02PZSy/y35NEn7qepOAHul0bOUNVpBT/g9Gczj9qL7bFc29CLvZateDbW aiHU= X-Google-Smtp-Source: AGHT+IEi0Ao5UhgUWhWdm4e0DXWlMGsCB3cDOd7vxV019XXMeMPeK4+h99kMiUmY1L7d+HxYa2rAUA== X-Received: by 2002:a05:651c:550:b0:30b:ecfc:78bf with SMTP id 38308e7fff4ca-32f39a95da9mr13799371fa.5.1752004670968; Tue, 08 Jul 2025 12:57:50 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:50 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 19/20] snappy: Upgrade 1.1.10 -> 1.2.2 to to allow CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:35 +0300 Message-ID: <20250708195636.1678606-19-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118341 - Dropped patch because already fixed in the newer version. Changelog: - We fixed a very old issue of data corruption when compressed size exceeds 4GB. This can happen when you compress data close to 4GB and it's incompressible, for example, random data. - Started to use minimum CMake 3.10 because older ones are not planned to be supported. - Various other small fixes - We restored old functions/symbols after reports of ABI incompatibility apache/arrow#41058 conda-forge/snappy-feedstock#35 #183 - Level API was added with level 2 support. Compresses 5-10% denser and decompresses 5-10% faster. The compression speed drop is about 20-30% - Minor fixes Fix: | CMake Error at CMakeLists.txt:29 (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 --- .../snappy/fix-build-on-32bit-arm.patch | 33 ------------------- .../{snappy_1.1.10.bb => snappy_1.2.2.bb} | 7 ++-- 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 meta-oe/recipes-extended/snappy/snappy/fix-build-on-32bit-arm.patch rename meta-oe/recipes-extended/snappy/{snappy_1.1.10.bb => snappy_1.2.2.bb} (87%) diff --git a/meta-oe/recipes-extended/snappy/snappy/fix-build-on-32bit-arm.patch b/meta-oe/recipes-extended/snappy/snappy/fix-build-on-32bit-arm.patch deleted file mode 100644 index b6ab149e19..0000000000 --- a/meta-oe/recipes-extended/snappy/snappy/fix-build-on-32bit-arm.patch +++ /dev/null @@ -1,33 +0,0 @@ -From ecb3bcc283ce740a34d6342cbcda569f3193ade9 Mon Sep 17 00:00:00 2001 -From: David Michael -Date: Mon, 1 May 2023 11:14:32 -0400 -Subject: [PATCH] Specifically check for NEON for ARMv8 CPUs. - -The actual NEON implementation uses instructions that are not -supported on 32-bit CPUs. Make the CMake test reflect this so that -ARMv7 builds succeed again. - -Upstream-Status: Submitted [https://github.com/google/snappy/pull/169] - -Signed-off-by: David Michael -Signed-off-by: Alper Ak ---- - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 85afe58e..e8775859 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -207,9 +207,9 @@ int main() { - check_cxx_source_compiles(" - #include - int main() { -- uint8_t val = 3, dup[8]; -+ uint8_t val = 3; - uint8x16_t v = vld1q_dup_u8(&val); -- vst1q_u8(dup, v); -+ val = vmaxvq_u8(v); - return 0; - }" SNAPPY_HAVE_NEON) - diff --git a/meta-oe/recipes-extended/snappy/snappy_1.1.10.bb b/meta-oe/recipes-extended/snappy/snappy_1.2.2.bb similarity index 87% rename from meta-oe/recipes-extended/snappy/snappy_1.1.10.bb rename to meta-oe/recipes-extended/snappy/snappy_1.2.2.bb index 2a49ba99b0..7601fdde50 100644 --- a/meta-oe/recipes-extended/snappy/snappy_1.1.10.bb +++ b/meta-oe/recipes-extended/snappy/snappy_1.2.2.bb @@ -10,11 +10,8 @@ compression ratio." LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=f62f3080324a97b3159a7a7e61812d0c" -SRC_URI = "gitsm://github.com/google/snappy.git;protocol=https;branch=main \ - file://fix-build-on-32bit-arm.patch" - -SRCREV = "dc05e026488865bc69313a68bcc03ef2e4ea8e83" - +SRC_URI = "gitsm://github.com/google/snappy.git;protocol=https;branch=main" +SRCREV = "6af9287fbdb913f0794d0148c6aa43b58e63c8e3" inherit cmake pkgconfig From patchwork Tue Jul 8 19:56: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: 66450 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 296F5C83F10 for ; Tue, 8 Jul 2025 19:57:59 +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.5759.1752004674679614697 for ; Tue, 08 Jul 2025 12:57:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gGZCRkvG; 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-553b584ac96so4667595e87.1 for ; Tue, 08 Jul 2025 12:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752004672; x=1752609472; 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=WQP9iOrdXEAPKkJhoH9KkkIiZFgjF7FuGzblMJG151o=; b=gGZCRkvGhvYUXhufXGJGjyJy+A9ibDxzxG7PuIVwtGv27C427bvj/xQdoABSItmxF5 kBB4iuuN2tKmsh8ouN+x6P6QqKJWDePWmI3/S/ck2ROUi/Pqo331rkHLW99StbNIiuEG uI+9i2kC/6SKTj+5G5xSkUM1zvrP2Vb3tyDzuOMG+7jbZhiUAXmph9Deot/7s7f6Uvq4 rwOdyDqkE69D7rcURxRBjHiz/TIcGS6BcR5f4Jrn0eTmYAs8M4jXTv32tBEvxqJnY6+l MGlIZY1+IRpEciGlLvd1DlhtKqySgO2e5G2hfoyyyyFi5Ti367VMqxqmd0OvQDSWjlrn ZPpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752004672; x=1752609472; 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=WQP9iOrdXEAPKkJhoH9KkkIiZFgjF7FuGzblMJG151o=; b=X2OTplOpGH+IMjKNGii6wzZukUOV40EvQlJc/vsAys9kS6Lurx+5rsfsm0G6v2v36R gwpLfTjbFQUqv7GK/u6aCLYIeTokPqXRXmcT5IlxU3w0Ghk2EFkBCehF5ih9hpRMs2N4 OJrqrdAuPpql/Hl32of7oWxh0y0nxpOPiCF+ggVm6uqqz20VlshjeMipeSGNfQTI38hm PYdmngyQhBFeuP86M0TLkS23ldN6IaF5PaQUfMO4g2PQ+q/OF99pSF0XEc8Zw8YYrmEf 3xuywaVUMs6kQWjVaGjAHd4XNabWqZONxagNZToyPXjvnXjVG+nzueoOkj5PpGqIvkit TzlA== X-Gm-Message-State: AOJu0YzBWuvqNvRwK13qTSKba/n/CuM8Kh/ZuxmRPweKozMGCoTb0dv4 lo3kwlHzhQD0XiklznBlki0GBUfE+X2at7IELWRRP4Ntd/OLJNMX/N2xutix6Q== X-Gm-Gg: ASbGncs8As9+hFTBZ4tkmas4K1XIHQ3s5mjr57iL1Hb7WEI3fLiVasDWM0oRnWXuSFI 3GFb83AdrkjyWyCvpW6/H2vMyb0JW5vWt6jT73x8OnFBb22DP9iS4jIObQgyxqzun2jEe14p0bj ihoicWFSIf9MHzCKeP/pgE2RISVWC9NP+UDD+R8vYUUkEyaPeEJUgg38rsb5Y26k+7qs0F7qc3D Yevf14C8VKDc/P1AsIvsLLiG7eUdQjtq1Z37oC3sJfijzi+2aDp1eCSnOVOXvCr23/J5YB4JmNS nGrenQi2Eyqa5/aUlOo2z7Txa1i2T85FTcGjvGbRLcSo7kfEzM1/ARflTgTWqMuQwY4LY6JEM6V 6cDs= X-Google-Smtp-Source: AGHT+IFx9R8CS/oboH/Xj5emN5w1CZUds7f3YK0u2PIDi5ntCeDmVKEkeLu/xc6EYkZ/cipNvhT+1A== X-Received: by 2002:a05:6512:1194:b0:553:affd:948d with SMTP id 2adb3069b0e04-558fa87754bmr5245e87.12.1752004672197; Tue, 08 Jul 2025 12:57:52 -0700 (PDT) Received: from localhost.localdomain ([176.33.70.141]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32e1aff3debsm16003981fa.44.2025.07.08.12.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 12:57:51 -0700 (PDT) From: Alper Ak To: openembedded-devel@lists.openembedded.org Cc: Alper Ak Subject: [meta-openembedded][PATCH 20/20] gammu: Add patch for CMake 4+ compatibility Date: Tue, 8 Jul 2025 22:56:36 +0300 Message-ID: <20250708195636.1678606-20-alperyasinak1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250708195636.1678606-1-alperyasinak1@gmail.com> References: <20250708195636.1678606-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 ; Tue, 08 Jul 2025 19:57:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/118342 Fix: | CMake Error at CMakeLists.txt:5 (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 --- .../gammu/0001-allow-build-with-cmake-4.patch | 43 +++++++++++++++++++ .../gammu/gammu_1.42.0.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-connectivity/gammu/gammu/0001-allow-build-with-cmake-4.patch diff --git a/meta-oe/recipes-connectivity/gammu/gammu/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-connectivity/gammu/gammu/0001-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..5ab63b809f --- /dev/null +++ b/meta-oe/recipes-connectivity/gammu/gammu/0001-allow-build-with-cmake-4.patch @@ -0,0 +1,43 @@ +From ea068ac152b9b375be51611ca04d0f833e2f6856 Mon Sep 17 00:00:00 2001 +From: Alper Ak +Date: Tue, 8 Jul 2025 22:52:11 +0300 +Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ + compatibility + +Fix: + +| CMake Error at CMakeLists.txt:5 (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 d0a79b3..23dba35 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -2,7 +2,7 @@ + # Copyright (c) 2007 - 2018 Michal Cihar + # vim: expandtab sw=4 ts=4 sts=4: + +-cmake_minimum_required (VERSION 3.0) ++cmake_minimum_required (VERSION 3.5) + INCLUDE (CMakeForceCompiler) + + project (Gammu C) +-- +2.43.0 + diff --git a/meta-oe/recipes-connectivity/gammu/gammu_1.42.0.bb b/meta-oe/recipes-connectivity/gammu/gammu_1.42.0.bb index e6ec9c3573..353ee37f46 100644 --- a/meta-oe/recipes-connectivity/gammu/gammu_1.42.0.bb +++ b/meta-oe/recipes-connectivity/gammu/gammu_1.42.0.bb @@ -7,6 +7,7 @@ HOMEPAGE = "https://wammu.eu/" SRC_URI = "https://dl.cihar.com/${BPN}/releases/${BP}.tar.xz \ file://gammurc \ file://gammu-smsdrc \ + file://0001-allow-build-with-cmake-4.patch \ " SRC_URI[sha256sum] = "d8f152314d7e4d3d643610d742845e0a016ce97c234ad4b1151574e1b09651ee"