diff options
46 files changed, 864 insertions, 365 deletions
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 @@ | |||
1 | From b54451a2cc63672284c7768ecf5562214826ea50 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 17:15:08 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Backport [https://github.com/Matroska-Org/libebml/commit/cc63f6b3ed2007a3ef04206a26f9ad5a657331bd] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index b168a38..a8b789f 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -1,4 +1,4 @@ | ||
33 | -cmake_minimum_required(VERSION 3.1.2) | ||
34 | +cmake_minimum_required(VERSION 3.5) | ||
35 | |||
36 | project(ebml VERSION 1.4.5) | ||
37 | |||
38 | -- | ||
39 | 2.43.0 | ||
40 | |||
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" | |||
3 | LICENSE = "LGPL-2.1-only" | 3 | LICENSE = "LGPL-2.1-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/Matroska-Org/libebml.git;branch=v1.x;protocol=https" | 6 | SRC_URI = "git://github.com/Matroska-Org/libebml.git;branch=v1.x;protocol=https \ |
7 | SRCREV = "1878e784321673561039a6a37076b2736f4dc98f" | 7 | file://0001-allow-build-with-cmake-4.patch" |
8 | 8 | ||
9 | SRCREV = "1878e784321673561039a6a37076b2736f4dc98f" | ||
9 | 10 | ||
10 | inherit pkgconfig cmake dos2unix | 11 | inherit pkgconfig cmake dos2unix |
11 | 12 | ||
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 @@ | |||
1 | From 7aed36765ae44b41ede7e139da0a11b3696f2e06 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 13 Nov 2023 00:07:23 -0800 | ||
4 | Subject: [PATCH] include bits/stdc++.h only when using libstdc++ | ||
5 | |||
6 | We have other c++ runtime implementations e.g. llvm's libc++ which does | ||
7 | not provide this header bits/stdc++.h, therefore make sure that this | ||
8 | header is only included when using libstdc++ | ||
9 | |||
10 | Fixes | ||
11 | | /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 | ||
12 | | 27 | #include <bits/stdc++.h> | ||
13 | | | ^~~~~~~~~~~~~~~ | ||
14 | |||
15 | Upstream-Status: Submitted [https://github.com/mguentner/cannelloni/pull/56] | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | tcpthread.cpp | 2 ++ | ||
19 | 1 file changed, 2 insertions(+) | ||
20 | |||
21 | diff --git a/tcpthread.cpp b/tcpthread.cpp | ||
22 | index a1b3047..bb5a7b2 100644 | ||
23 | --- a/tcpthread.cpp | ||
24 | +++ b/tcpthread.cpp | ||
25 | @@ -24,7 +24,9 @@ | ||
26 | #include <cstdint> | ||
27 | #include <cstdio> | ||
28 | |||
29 | +#ifdef __GLIBCXX__ | ||
30 | #include <bits/stdc++.h> | ||
31 | +#endif | ||
32 | |||
33 | #include <linux/can.h> | ||
34 | #include <string.h> | ||
35 | -- | ||
36 | 2.42.1 | ||
37 | |||
diff --git a/meta-networking/recipes-connectivity/cannelloni/cannelloni_1.1.0.bb b/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" | |||
2 | HOMEPAGE = "https://github.com/mguentner/cannelloni" | 2 | HOMEPAGE = "https://github.com/mguentner/cannelloni" |
3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
4 | 4 | ||
5 | SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=https;branch=master \ | 5 | SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=https;branch=master" |
6 | file://0001-include-bits-stdc-.h-only-when-using-libstdc.patch \ | 6 | SRCREV = "9f649ef21710999c6f674bc3d914ab2e88363bac" |
7 | " | ||
8 | SRCREV = "3d4fb8c8b07f6d7c62b2bdad7e5a94de61c9a29b" | ||
9 | 7 | ||
10 | LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 8 | LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
11 | 9 | ||
12 | inherit cmake | 10 | inherit cmake |
13 | 11 | ||
14 | |||
15 | PACKAGECONFIG ??= "lksctp-tools" | 12 | PACKAGECONFIG ??= "lksctp-tools" |
16 | PACKAGECONFIG[lksctp-tools] = "-DSCTP_SUPPORT=true, -DSCTP_SUPPORT=false, lksctp-tools" | 13 | PACKAGECONFIG[lksctp-tools] = "-DSCTP_SUPPORT=true, -DSCTP_SUPPORT=false, lksctp-tools" |
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 @@ | |||
1 | From a96a8f8debb457fd5bdcd34f005670678870ec70 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 20:58:10 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:24 (CMAKE_MINIMUM_REQUIRED): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Backport [https://github.com/freeDiameter/freeDiameter/commit/45106adf3bf4192b274ef6c5536200a0e19c84f2] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 6 +++--- | ||
26 | libfdcore/CMakeLists.txt | 2 +- | ||
27 | libfdproto/CMakeLists.txt | 2 +- | ||
28 | 3 files changed, 5 insertions(+), 5 deletions(-) | ||
29 | |||
30 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
31 | index 870e1ef..f1e6dc5 100644 | ||
32 | --- a/CMakeLists.txt | ||
33 | +++ b/CMakeLists.txt | ||
34 | @@ -1,5 +1,8 @@ | ||
35 | # This file is the source for generating the Makefile for the project, using cmake tool (cmake.org) | ||
36 | |||
37 | +# CMake version | ||
38 | +CMAKE_MINIMUM_REQUIRED(VERSION 3.10) | ||
39 | + | ||
40 | # Name of the project | ||
41 | PROJECT("freeDiameter") | ||
42 | |||
43 | @@ -20,9 +23,6 @@ SET(FD_PROJECT_VERSION_API 7) | ||
44 | # The test framework, using CTest and CDash. | ||
45 | INCLUDE(CTest) | ||
46 | |||
47 | -# CMake version | ||
48 | -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) | ||
49 | - | ||
50 | # Location of additional CMake modules | ||
51 | SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") | ||
52 | |||
53 | diff --git a/libfdcore/CMakeLists.txt b/libfdcore/CMakeLists.txt | ||
54 | index b1bc0f1..4fefcb7 100644 | ||
55 | --- a/libfdcore/CMakeLists.txt | ||
56 | +++ b/libfdcore/CMakeLists.txt | ||
57 | @@ -2,7 +2,7 @@ | ||
58 | Project("freeDiameter core library" C) | ||
59 | |||
60 | # Configuration for newer cmake | ||
61 | -cmake_policy(VERSION 2.8.12) | ||
62 | +cmake_policy(VERSION 3.10) | ||
63 | |||
64 | # Configuration parser | ||
65 | BISON_FILE(fdd.y) | ||
66 | diff --git a/libfdproto/CMakeLists.txt b/libfdproto/CMakeLists.txt | ||
67 | index c7164fb..4cedf65 100644 | ||
68 | --- a/libfdproto/CMakeLists.txt | ||
69 | +++ b/libfdproto/CMakeLists.txt | ||
70 | @@ -2,7 +2,7 @@ | ||
71 | Project("libfdproto" C) | ||
72 | |||
73 | # Configuration for newer cmake | ||
74 | -cmake_policy(VERSION 2.8.12) | ||
75 | +cmake_policy(VERSION 3.10) | ||
76 | |||
77 | # List of source files for the library | ||
78 | SET(LFDPROTO_SRC | ||
79 | -- | ||
80 | 2.43.0 | ||
81 | |||
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 | |||
25 | file://0001-tests-use-EXTENSIONS_DIR.patch \ | 25 | file://0001-tests-use-EXTENSIONS_DIR.patch \ |
26 | file://0001-bison-flex-Add-flags-for-carrying-user-specified-par.patch \ | 26 | file://0001-bison-flex-Add-flags-for-carrying-user-specified-par.patch \ |
27 | file://0001-fixes-for-gcc-15.patch \ | 27 | file://0001-fixes-for-gcc-15.patch \ |
28 | file://0002-allow-build-with-cmake-4.patch \ | ||
28 | " | 29 | " |
29 | 30 | ||
30 | |||
31 | LICENSE = "BSD-3-Clause" | 31 | LICENSE = "BSD-3-Clause" |
32 | LIC_FILES_CHKSUM = "file://LICENSE;md5=868c059b6147748b1d621e500feeac4f" | 32 | LIC_FILES_CHKSUM = "file://LICENSE;md5=868c059b6147748b1d621e500feeac4f" |
33 | 33 | ||
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 @@ | |||
1 | From ea068ac152b9b375be51611ca04d0f833e2f6856 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 22:52:11 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:5 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Pending | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index d0a79b3..23dba35 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -2,7 +2,7 @@ | ||
33 | # Copyright (c) 2007 - 2018 Michal Cihar | ||
34 | # vim: expandtab sw=4 ts=4 sts=4: | ||
35 | |||
36 | -cmake_minimum_required (VERSION 3.0) | ||
37 | +cmake_minimum_required (VERSION 3.5) | ||
38 | INCLUDE (CMakeForceCompiler) | ||
39 | |||
40 | project (Gammu C) | ||
41 | -- | ||
42 | 2.43.0 | ||
43 | |||
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/" | |||
7 | SRC_URI = "https://dl.cihar.com/${BPN}/releases/${BP}.tar.xz \ | 7 | SRC_URI = "https://dl.cihar.com/${BPN}/releases/${BP}.tar.xz \ |
8 | file://gammurc \ | 8 | file://gammurc \ |
9 | file://gammu-smsdrc \ | 9 | file://gammu-smsdrc \ |
10 | file://0001-allow-build-with-cmake-4.patch \ | ||
10 | " | 11 | " |
11 | 12 | ||
12 | SRC_URI[sha256sum] = "d8f152314d7e4d3d643610d742845e0a016ce97c234ad4b1151574e1b09651ee" | 13 | SRC_URI[sha256sum] = "d8f152314d7e4d3d643610d742845e0a016ce97c234ad4b1151574e1b09651ee" |
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 @@ | |||
1 | From 8622490d650ba4d107561a0e8f3cf881fa0247c7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 15:09:11 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:2 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Submitted [https://github.com/DaveGamble/cJSON/pull/935] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index 36a6cb5..9428da5 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -1,5 +1,5 @@ | ||
33 | set(CMAKE_LEGACY_CYGWIN_WIN32 0) | ||
34 | -cmake_minimum_required(VERSION 3.0) | ||
35 | +cmake_minimum_required(VERSION 3.5) | ||
36 | |||
37 | project(cJSON | ||
38 | VERSION 1.7.18 | ||
39 | -- | ||
40 | 2.43.0 | ||
41 | |||
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" | |||
6 | 6 | ||
7 | SRC_URI = "git://github.com/DaveGamble/cJSON.git;branch=master;protocol=https \ | 7 | SRC_URI = "git://github.com/DaveGamble/cJSON.git;branch=master;protocol=https \ |
8 | file://run-ptest \ | 8 | file://run-ptest \ |
9 | file://0001-allow-build-with-cmake-4.patch \ | ||
9 | " | 10 | " |
10 | SRCREV = "acc76239bee01d8e9c858ae2cab296704e52d916" | 11 | SRCREV = "acc76239bee01d8e9c858ae2cab296704e52d916" |
11 | 12 | ||
12 | |||
13 | inherit cmake pkgconfig ptest | 13 | inherit cmake pkgconfig ptest |
14 | 14 | ||
15 | RDEPENDS:${PN}-ptest += "cmake" | 15 | RDEPENDS:${PN}-ptest += "cmake" |
diff --git a/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb b/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb new file mode 100644 index 0000000000..cb7ae45d38 --- /dev/null +++ b/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SUMMARY = "Argument Parser for Modern C++" | ||
2 | HOMEPAGE = "https://github.com/p-ranav/argparse" | ||
3 | BUGTRACKER = "https://github.com/p-ranav/argparse/issues" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4f3ed9ec2c801700ac8fda1fcd29a330" | ||
6 | |||
7 | SRCREV = "3eda91b2e1ce7d569f84ba295507c4cd8fd96910" | ||
8 | SRC_URI = "git://github.com/p-ranav/argparse.git;branch=master;protocol=https;tag=v${PV}" | ||
9 | |||
10 | inherit cmake | ||
11 | EXTRA_OECMAKE = "-DARGPARSE_BUILD_TESTS=OFF" | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | ||
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 @@ | |||
1 | From 1b4d42ca2e97061042ec44a0b34ceb176c78c7e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: d-winsor <danwin@microsoft.com> | ||
3 | Date: Mon, 26 Feb 2024 13:17:12 -0800 | ||
4 | Subject: [PATCH] Fix initialization in test (#1140) | ||
5 | |||
6 | * Suppress unsafe-buffer-usage | ||
7 | |||
8 | Upstream-Status: Backport [https://github.com/microsoft/GSL/commit/1b4d42ca2e97061042ec44a0b34ceb176c78c7e1] | ||
9 | |||
10 | Signed-off-by: Peter Marko <peter.marko@siemens.com> | ||
11 | --- | ||
12 | include/gsl/span | 10 ++++++++++ | ||
13 | include/gsl/util | 10 ++++++++++ | ||
14 | tests/CMakeLists.txt | 10 ++++++++++ | ||
15 | tests/span_tests.cpp | 2 +- | ||
16 | 4 files changed, 31 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/include/gsl/span b/include/gsl/span | ||
19 | index cc8a7b9..d254e4d 100644 | ||
20 | --- a/include/gsl/span | ||
21 | +++ b/include/gsl/span | ||
22 | @@ -58,6 +58,12 @@ | ||
23 | #pragma GCC diagnostic ignored "-Wsign-conversion" | ||
24 | #endif | ||
25 | |||
26 | +// Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks | ||
27 | +#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
28 | +#pragma clang diagnostic push | ||
29 | +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" | ||
30 | +#endif // defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
31 | + | ||
32 | namespace gsl | ||
33 | { | ||
34 | |||
35 | @@ -818,4 +824,8 @@ as_writable_bytes(span<ElementType, Extent> s) noexcept | ||
36 | #pragma GCC diagnostic pop | ||
37 | #endif // __GNUC__ > 6 | ||
38 | |||
39 | +#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
40 | +#pragma clang diagnostic pop | ||
41 | +#endif | ||
42 | + | ||
43 | #endif // GSL_SPAN_H | ||
44 | diff --git a/include/gsl/util b/include/gsl/util | ||
45 | index a215bad..11735a8 100644 | ||
46 | --- a/include/gsl/util | ||
47 | +++ b/include/gsl/util | ||
48 | @@ -39,6 +39,12 @@ | ||
49 | |||
50 | #endif // _MSC_VER | ||
51 | |||
52 | +// Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks | ||
53 | +#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
54 | +#pragma clang diagnostic push | ||
55 | +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" | ||
56 | +#endif // defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
57 | + | ||
58 | #if defined(__cplusplus) && (__cplusplus >= 201703L) | ||
59 | #define GSL_NODISCARD [[nodiscard]] | ||
60 | #else | ||
61 | @@ -157,4 +163,8 @@ constexpr auto at(std::span<T, extent> sp, const index i) -> decltype(sp[sp.size | ||
62 | |||
63 | #endif // _MSC_VER | ||
64 | |||
65 | +#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
66 | +#pragma clang diagnostic pop | ||
67 | +#endif | ||
68 | + | ||
69 | #endif // GSL_UTIL_H | ||
70 | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt | ||
71 | index cab4e56..20de9e1 100644 | ||
72 | --- a/tests/CMakeLists.txt | ||
73 | +++ b/tests/CMakeLists.txt | ||
74 | @@ -167,6 +167,11 @@ else() | ||
75 | > | ||
76 | ) | ||
77 | endif(MSVC) | ||
78 | +check_cxx_compiler_flag("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) | ||
79 | +if (WARN_UNSAFE_BUFFER) | ||
80 | + # This test uses very greedy heuristics such as "no pointer arithmetic on raw buffer" | ||
81 | + target_compile_options(gsl_tests_config INTERFACE "-Wno-unsafe-buffer-usage") | ||
82 | +endif() | ||
83 | |||
84 | # for tests to find the gtest header | ||
85 | target_include_directories(gsl_tests_config SYSTEM INTERFACE | ||
86 | @@ -267,6 +272,11 @@ else() | ||
87 | > | ||
88 | ) | ||
89 | endif(MSVC) | ||
90 | +check_cxx_compiler_flag("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) | ||
91 | +if (WARN_UNSAFE_BUFFER) | ||
92 | + # This test uses very greedy heuristics such as "no pointer arithmetic on raw buffer" | ||
93 | + target_compile_options(gsl_tests_config_noexcept INTERFACE "-Wno-unsafe-buffer-usage") | ||
94 | +endif() | ||
95 | |||
96 | add_executable(gsl_noexcept_tests no_exception_ensure_tests.cpp) | ||
97 | target_link_libraries(gsl_noexcept_tests | ||
98 | diff --git a/tests/span_tests.cpp b/tests/span_tests.cpp | ||
99 | index 33ccf56..3c1dfe5 100644 | ||
100 | --- a/tests/span_tests.cpp | ||
101 | +++ b/tests/span_tests.cpp | ||
102 | @@ -330,7 +330,7 @@ TEST(span_test, from_array_constructor) | ||
103 | EXPECT_TRUE(s.data() == std::addressof(arr2d[0])); | ||
104 | } | ||
105 | |||
106 | - int arr3d[2][3][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; | ||
107 | + int arr3d[2][3][2] = { { {1, 2}, {3, 4}, {5, 6} }, { {7, 8}, {9, 10}, {11, 12} } }; | ||
108 | |||
109 | #ifdef CONFIRM_COMPILATION_ERRORS | ||
110 | { | ||
111 | -- | ||
112 | 2.30.2 | ||
113 | |||
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 @@ | |||
1 | From aa4fd1f57794964640005900c2b47af1a0940b7b Mon Sep 17 00:00:00 2001 | ||
2 | From: Werner Henze <w.henze@avm.de> | ||
3 | Date: Fri, 1 Mar 2024 15:53:50 +0100 | ||
4 | Subject: [PATCH] Fix gcc build problem | ||
5 | |||
6 | Closes issue #1148 by fixing problems introduced in PR #1140. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/microsoft/GSL/pull/1149] | ||
9 | |||
10 | Signed-off-by: Peter Marko <peter.marko@siemens.com> | ||
11 | --- | ||
12 | include/gsl/span | 12 ++++++++---- | ||
13 | include/gsl/util | 12 ++++++++---- | ||
14 | 2 files changed, 16 insertions(+), 8 deletions(-) | ||
15 | |||
16 | diff --git a/include/gsl/span b/include/gsl/span | ||
17 | index 0de2932..d2ef9f7 100644 | ||
18 | --- a/include/gsl/span | ||
19 | +++ b/include/gsl/span | ||
20 | @@ -59,10 +59,12 @@ | ||
21 | #endif | ||
22 | |||
23 | // Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks | ||
24 | -#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
25 | +#if defined(__clang__) | ||
26 | +#if __has_warning("-Wunsafe-buffer-usage") | ||
27 | #pragma clang diagnostic push | ||
28 | #pragma clang diagnostic ignored "-Wunsafe-buffer-usage" | ||
29 | -#endif // defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
30 | +#endif // __has_warning("-Wunsafe-buffer-usage") | ||
31 | +#endif // defined(__clang__) | ||
32 | |||
33 | namespace gsl | ||
34 | { | ||
35 | @@ -824,8 +826,10 @@ as_writable_bytes(span<ElementType, Extent> s) noexcept | ||
36 | #pragma GCC diagnostic pop | ||
37 | #endif // __GNUC__ > 6 | ||
38 | |||
39 | -#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
40 | +#if defined(__clang__) | ||
41 | +#if __has_warning("-Wunsafe-buffer-usage") | ||
42 | #pragma clang diagnostic pop | ||
43 | -#endif | ||
44 | +#endif // __has_warning("-Wunsafe-buffer-usage") | ||
45 | +#endif // defined(__clang__) | ||
46 | |||
47 | #endif // GSL_SPAN_H | ||
48 | diff --git a/include/gsl/util b/include/gsl/util | ||
49 | index b853017..26b2f5f 100644 | ||
50 | --- a/include/gsl/util | ||
51 | +++ b/include/gsl/util | ||
52 | @@ -40,10 +40,12 @@ | ||
53 | #endif // _MSC_VER | ||
54 | |||
55 | // Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks | ||
56 | -#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
57 | +#if defined(__clang__) | ||
58 | +#if __has_warning("-Wunsafe-buffer-usage") | ||
59 | #pragma clang diagnostic push | ||
60 | #pragma clang diagnostic ignored "-Wunsafe-buffer-usage" | ||
61 | -#endif // defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
62 | +#endif // __has_warning("-Wunsafe-buffer-usage") | ||
63 | +#endif // defined(__clang__) | ||
64 | |||
65 | #if defined(__cplusplus) && (__cplusplus >= 201703L) | ||
66 | #define GSL_NODISCARD [[nodiscard]] | ||
67 | @@ -163,8 +165,10 @@ constexpr auto at(std::span<T, extent> sp, const index i) -> decltype(sp[sp.size | ||
68 | |||
69 | #endif // _MSC_VER | ||
70 | |||
71 | -#if defined(__clang__) && __has_warning("-Wunsafe-buffer-usage") | ||
72 | +#if defined(__clang__) | ||
73 | +#if __has_warning("-Wunsafe-buffer-usage") | ||
74 | #pragma clang diagnostic pop | ||
75 | -#endif | ||
76 | +#endif // __has_warning("-Wunsafe-buffer-usage") | ||
77 | +#endif // defined(__clang__) | ||
78 | |||
79 | #endif // GSL_UTIL_H | ||
80 | -- | ||
81 | 2.30.2 | ||
82 | |||
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 @@ | |||
1 | From 85e1c38bcf84bd4e2ce63ef74f0cfa1f5e92261e Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Marko <peter.marko@siemens.com> | ||
3 | Date: Wed, 27 Mar 2024 23:46:31 +0100 | ||
4 | Subject: [PATCH] Adapt check_cxx_compiler_flag to cmake 3.0.2 | ||
5 | |||
6 | Backporting commits which are upgrading cmake_minimum_required and | ||
7 | include check_cxx_compiler_flag have too many additional changes. | ||
8 | |||
9 | Let's just do a simple adaptation of our backported patch so | ||
10 | it works with older cmake version instead. | ||
11 | |||
12 | This can be safely removed when recipe version is upgraded. | ||
13 | |||
14 | Upstream-Status: Inappropriate | ||
15 | |||
16 | Signed-off-by: Peter Marko <peter.marko@siemens.com> | ||
17 | --- | ||
18 | tests/CMakeLists.txt | 5 +++-- | ||
19 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt | ||
22 | index 20de9e1..54c3ac5 100644 | ||
23 | --- a/tests/CMakeLists.txt | ||
24 | +++ b/tests/CMakeLists.txt | ||
25 | @@ -5,6 +5,7 @@ enable_testing() # again, for support standalone testing | ||
26 | |||
27 | include(FindPkgConfig) | ||
28 | include(ExternalProject) | ||
29 | +include(CheckCXXCompilerFlag) | ||
30 | |||
31 | # will make visual studio generated project group files | ||
32 | set_property(GLOBAL PROPERTY USE_FOLDERS ON) | ||
33 | @@ -167,7 +168,7 @@ else() | ||
34 | > | ||
35 | ) | ||
36 | endif(MSVC) | ||
37 | -check_cxx_compiler_flag("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) | ||
38 | +CHECK_CXX_COMPILER_FLAG("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) | ||
39 | if (WARN_UNSAFE_BUFFER) | ||
40 | # This test uses very greedy heuristics such as "no pointer arithmetic on raw buffer" | ||
41 | target_compile_options(gsl_tests_config INTERFACE "-Wno-unsafe-buffer-usage") | ||
42 | @@ -272,7 +273,7 @@ else() | ||
43 | > | ||
44 | ) | ||
45 | endif(MSVC) | ||
46 | -check_cxx_compiler_flag("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) | ||
47 | +CHECK_CXX_COMPILER_FLAG("-Wno-unsafe-buffer-usage" WARN_UNSAFE_BUFFER) | ||
48 | if (WARN_UNSAFE_BUFFER) | ||
49 | # This test uses very greedy heuristics such as "no pointer arithmetic on raw buffer" | ||
50 | target_compile_options(gsl_tests_config_noexcept INTERFACE "-Wno-unsafe-buffer-usage") | ||
51 | -- | ||
52 | 2.30.2 | ||
53 | |||
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 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" | |||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=363055e71e77071107ba2bb9a54bd9a7" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=363055e71e77071107ba2bb9a54bd9a7" |
10 | 10 | ||
11 | SRC_URI = "git://github.com/microsoft/GSL.git;protocol=https;branch=main \ | 11 | SRC_URI = "git://github.com/microsoft/GSL.git;protocol=https;branch=main \ |
12 | file://run-ptest \ | 12 | file://run-ptest \ |
13 | file://0001-Fix-initialization-in-test-1140.patch \ | ||
14 | file://0002-Fix-gcc-build-problem.patch \ | ||
15 | file://0003-Adapt-check_cxx_compiler_flag-to-cmake-3.0.2.patch \ | ||
16 | " | 13 | " |
17 | SRCREV = "a3534567187d2edc428efd3f13466ff75fe5805c" | 14 | SRCREV = "2828399820ef4928cc89b65605dca5dc68efca6e" |
18 | |||
19 | 15 | ||
20 | inherit cmake pkgconfig ptest | 16 | inherit cmake pkgconfig ptest |
21 | 17 | ||
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 @@ | |||
1 | From b855b1632f9afe5199e01d84da54068a4cb152a8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 18:46:59 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Backport [https://github.com/Tencent/rapidjson/commit/ebd87cb468fb4cb060b37e579718c4a4125416c1] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index 3b9ac512..6d4121e9 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -1,4 +1,4 @@ | ||
33 | -CMAKE_MINIMUM_REQUIRED(VERSION 2.8) | ||
34 | +CMAKE_MINIMUM_REQUIRED(VERSION 3.5) | ||
35 | if(POLICY CMP0025) | ||
36 | # detect Apple's Clang | ||
37 | cmake_policy(SET CMP0025 NEW) | ||
38 | -- | ||
39 | 2.43.0 | ||
40 | |||
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" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125" | 5 | LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125" |
6 | 6 | ||
7 | SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https" | 7 | SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https \ |
8 | file://0001-allow-build-with-cmake-4.patch" | ||
8 | 9 | ||
9 | SRCREV = "0ccdbf364c577803e2a751f5aededce935314313" | 10 | SRCREV = "0ccdbf364c577803e2a751f5aededce935314313" |
10 | 11 | ||
11 | PV = "1.1.0+git" | 12 | PV = "1.1.0+git" |
12 | 13 | ||
13 | |||
14 | inherit cmake | 14 | inherit cmake |
15 | 15 | ||
16 | EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF" | 16 | EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF" |
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 @@ | |||
1 | From 3dfd5276ab30ba7f6820cd4585d390c3706684b0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 18:17:56 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:15 (CMAKE_MINIMUM_REQUIRED): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Submitted [https://github.com/lloyd/yajl/pull/256] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index 4c0a9be..a49e52c 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -12,7 +12,7 @@ | ||
33 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
34 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
35 | |||
36 | -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) | ||
37 | +CMAKE_MINIMUM_REQUIRED(VERSION 3.5) | ||
38 | |||
39 | PROJECT(YetAnotherJSONParser C) | ||
40 | |||
41 | -- | ||
42 | 2.43.0 | ||
43 | |||
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 @@ | |||
1 | From 1b07726910d4ff7ce1829845471a066bb97dd411 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 18:33:48 +0300 | ||
4 | Subject: [PATCH] cmake: Use $<TARGET_FILE> instead of LOCATION property for | ||
5 | binary path | ||
6 | |||
7 | CMake 3.0 and newer disallow reading the LOCATION property of targets directly. | ||
8 | Instead, use the recommended $<TARGET_FILE:target> generator expression when | ||
9 | referencing the output binary in add_custom_command. | ||
10 | |||
11 | Fix: | ||
12 | |||
13 | | CMake Error at reformatter/CMakeLists.txt:38 (GET_TARGET_PROPERTY): | ||
14 | | The LOCATION property may not be read from target "json_reformat". Use the | ||
15 | | target name directly with add_custom_command, or use the generator | ||
16 | | expression $<TARGET_FILE>, as appropriate. | ||
17 | | | ||
18 | | | ||
19 | | | ||
20 | | CMake Error at verify/CMakeLists.txt:32 (GET_TARGET_PROPERTY): | ||
21 | | The LOCATION property may not be read from target "json_verify". Use the | ||
22 | | target name directly with add_custom_command, or use the generator | ||
23 | | expression $<TARGET_FILE>, as appropriate. | ||
24 | |||
25 | Upstream-Status: Pending | ||
26 | |||
27 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
28 | --- | ||
29 | reformatter/CMakeLists.txt | 5 +---- | ||
30 | verify/CMakeLists.txt | 5 +---- | ||
31 | 2 files changed, 2 insertions(+), 8 deletions(-) | ||
32 | |||
33 | diff --git a/reformatter/CMakeLists.txt b/reformatter/CMakeLists.txt | ||
34 | index 52a9bee..b202fa5 100644 | ||
35 | --- a/reformatter/CMakeLists.txt | ||
36 | +++ b/reformatter/CMakeLists.txt | ||
37 | @@ -34,10 +34,7 @@ IF (NOT WIN32) | ||
38 | TARGET_LINK_LIBRARIES(json_reformat m) | ||
39 | ENDIF (NOT WIN32) | ||
40 | |||
41 | -# copy the binary into the output directory | ||
42 | -GET_TARGET_PROPERTY(binPath json_reformat LOCATION) | ||
43 | - | ||
44 | ADD_CUSTOM_COMMAND(TARGET json_reformat POST_BUILD | ||
45 | - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) | ||
46 | + COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:json_reformat> ${binDir}) | ||
47 | |||
48 | INSTALL(TARGETS json_reformat RUNTIME DESTINATION bin) | ||
49 | diff --git a/verify/CMakeLists.txt b/verify/CMakeLists.txt | ||
50 | index 967fca1..37eac62 100644 | ||
51 | --- a/verify/CMakeLists.txt | ||
52 | +++ b/verify/CMakeLists.txt | ||
53 | @@ -28,10 +28,7 @@ ADD_EXECUTABLE(json_verify ${SRCS}) | ||
54 | |||
55 | TARGET_LINK_LIBRARIES(json_verify yajl_s) | ||
56 | |||
57 | -# copy in the binary | ||
58 | -GET_TARGET_PROPERTY(binPath json_verify LOCATION) | ||
59 | - | ||
60 | ADD_CUSTOM_COMMAND(TARGET json_verify POST_BUILD | ||
61 | - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) | ||
62 | + COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:json_verify> ${binDir}) | ||
63 | |||
64 | INSTALL(TARGETS json_verify RUNTIME DESTINATION bin) | ||
65 | -- | ||
66 | 2.43.0 | ||
67 | |||
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 \ | |||
12 | file://CVE-2017-16516.patch \ | 12 | file://CVE-2017-16516.patch \ |
13 | file://CVE-2022-24795.patch \ | 13 | file://CVE-2022-24795.patch \ |
14 | file://CVE-2023-33460.patch \ | 14 | file://CVE-2023-33460.patch \ |
15 | file://0001-allow-build-with-cmake-4.patch \ | ||
16 | file://0002-cmake-Use-TARGET_FILE-instead-of-LOCATION-property-f.patch \ | ||
15 | " | 17 | " |
16 | SRCREV = "a0ecdde0c042b9256170f2f8890dd9451a4240aa" | 18 | SRCREV = "a0ecdde0c042b9256170f2f8890dd9451a4240aa" |
17 | 19 | ||
18 | |||
19 | inherit cmake lib_package | 20 | inherit cmake lib_package |
20 | 21 | ||
21 | EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" | 22 | EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" |
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 @@ | |||
1 | From 1b92ac43bab03a77cb497cd59f9c84d5650a4a68 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 20:09:41 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:4 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Submitted [https://github.com/kkaempf/cmpi-bindings/pull/20] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index 4ea24ce..7d54f9a 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -1,7 +1,7 @@ | ||
33 | # | ||
34 | # CMakeLists.txt for cmpi-bindings | ||
35 | # | ||
36 | -cmake_minimum_required(VERSION 2.4) | ||
37 | +cmake_minimum_required(VERSION 3.5) | ||
38 | |||
39 | PROJECT(cmpi-bindings) | ||
40 | |||
41 | -- | ||
42 | 2.43.0 | ||
43 | |||
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 | |||
10 | file://cmpi-bindings-0.4.17-no-ruby-perl.patch \ | 10 | file://cmpi-bindings-0.4.17-no-ruby-perl.patch \ |
11 | file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \ | 11 | file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \ |
12 | file://0001-Fix-error.patch \ | 12 | file://0001-Fix-error.patch \ |
13 | file://0002-allow-build-with-cmake-4.patch \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | SRCREV = "49d6dcfc71ca421100fcf325e31625817c469fc9" | 16 | SRCREV = "49d6dcfc71ca421100fcf325e31625817c469fc9" |
diff --git a/meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb b/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 = " \ | |||
8 | git://github.com/redis/hiredis;protocol=https;branch=master \ | 8 | git://github.com/redis/hiredis;protocol=https;branch=master \ |
9 | file://run-ptest \ | 9 | file://run-ptest \ |
10 | " | 10 | " |
11 | SRCREV = "60e5075d4ac77424809f855ba3e398df7aacefe8" | 11 | SRCREV = "ccad7ebaf99310957004661d1c5f82d2a33ebd10" |
12 | |||
13 | 12 | ||
14 | inherit cmake ptest | 13 | inherit cmake ptest |
15 | 14 | ||
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 @@ | |||
1 | From 5d7b2ced666b4fbccd0da6e06d504ae2960575c8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 14:54:08 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | ||
8 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
9 | | | ||
10 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
11 | | to tell CMake that the project requires at least <min> but has been updated | ||
12 | | to work with policies introduced by <max> or earlier. | ||
13 | | | ||
14 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
15 | | | ||
16 | | | ||
17 | | -- Configuring incomplete, errors occurred! | ||
18 | |||
19 | Upstream-Status: Backport [https://github.com/akheron/jansson/commit/96d160df90016066d04d493d1d69639474ba4f20] | ||
20 | |||
21 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
22 | --- | ||
23 | CMakeLists.txt | 2 +- | ||
24 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
25 | |||
26 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
27 | index 72f9762..d07412e 100644 | ||
28 | --- a/CMakeLists.txt | ||
29 | +++ b/CMakeLists.txt | ||
30 | @@ -1,4 +1,4 @@ | ||
31 | -cmake_minimum_required (VERSION 3.1) | ||
32 | +cmake_minimum_required (VERSION 3.5) | ||
33 | project(jansson C) | ||
34 | |||
35 | # Options | ||
36 | -- | ||
37 | 2.43.0 | ||
38 | |||
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" | |||
7 | SRC_URI = "https://github.com/akheron/${BPN}/releases/download/v${PV}/${BP}.tar.bz2 \ | 7 | SRC_URI = "https://github.com/akheron/${BPN}/releases/download/v${PV}/${BP}.tar.bz2 \ |
8 | file://0001-Honour-multilib-paths.patch \ | 8 | file://0001-Honour-multilib-paths.patch \ |
9 | file://0001-Only-export-symbols-starting-with-json_-and-jansson_.patch \ | 9 | file://0001-Only-export-symbols-starting-with-json_-and-jansson_.patch \ |
10 | file://0002-allow-build-with-cmake-4.patch \ | ||
10 | " | 11 | " |
11 | SRC_URI[sha256sum] = "6bd82d3043dadbcd58daaf903d974891128d22aab7dada5d399cb39094af49ce" | 12 | SRC_URI[sha256sum] = "6bd82d3043dadbcd58daaf903d974891128d22aab7dada5d399cb39094af49ce" |
12 | 13 | ||
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 @@ | |||
1 | From 26db5aece1220e4142b5b82720123371a9223bc7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 17:44:57 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:71 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Backport [https://github.com/qhull/qhull/commit/62ccc56af071eaa478bef6ed41fd7a55d3bb2d80] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index c2248f9..b2303c6 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -68,7 +68,7 @@ | ||
33 | # $DateTime: 2020/09/03 21:26:22 $$Author: bbarber $ | ||
34 | |||
35 | project(qhull) | ||
36 | -cmake_minimum_required(VERSION 3.0) | ||
37 | +cmake_minimum_required(VERSION 3.5) | ||
38 | |||
39 | # Define qhull_VERSION in README.txt, Announce.txt, qh-get.htm, CMakeLists.txt | ||
40 | # qhull-zip.sh (twice), qhull-wiki.md, qhull-news.htm, File_id.diz, index.htm | ||
41 | -- | ||
42 | 2.43.0 | ||
43 | |||
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" | |||
6 | 6 | ||
7 | SRC_URI = "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz \ | 7 | SRC_URI = "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz \ |
8 | file://0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch \ | 8 | file://0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch \ |
9 | file://0002-allow-build-with-cmake-4.patch \ | ||
9 | " | 10 | " |
10 | SRC_URI[sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e" | 11 | SRC_URI[sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e" |
11 | 12 | ||
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 @@ | |||
1 | From ecb3bcc283ce740a34d6342cbcda569f3193ade9 Mon Sep 17 00:00:00 2001 | ||
2 | From: David Michael <fedora.dm0@gmail.com> | ||
3 | Date: Mon, 1 May 2023 11:14:32 -0400 | ||
4 | Subject: [PATCH] Specifically check for NEON for ARMv8 CPUs. | ||
5 | |||
6 | The actual NEON implementation uses instructions that are not | ||
7 | supported on 32-bit CPUs. Make the CMake test reflect this so that | ||
8 | ARMv7 builds succeed again. | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/google/snappy/pull/169] | ||
11 | |||
12 | Signed-off-by: David Michael <fedora.dm0@gmail.com> | ||
13 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
14 | --- | ||
15 | CMakeLists.txt | 4 ++-- | ||
16 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
19 | index 85afe58e..e8775859 100644 | ||
20 | --- a/CMakeLists.txt | ||
21 | +++ b/CMakeLists.txt | ||
22 | @@ -207,9 +207,9 @@ int main() { | ||
23 | check_cxx_source_compiles(" | ||
24 | #include <arm_neon.h> | ||
25 | int main() { | ||
26 | - uint8_t val = 3, dup[8]; | ||
27 | + uint8_t val = 3; | ||
28 | uint8x16_t v = vld1q_dup_u8(&val); | ||
29 | - vst1q_u8(dup, v); | ||
30 | + val = vmaxvq_u8(v); | ||
31 | return 0; | ||
32 | }" SNAPPY_HAVE_NEON) | ||
33 | |||
diff --git a/meta-oe/recipes-extended/snappy/snappy_1.1.10.bb b/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." | |||
10 | LICENSE = "BSD-3-Clause" | 10 | LICENSE = "BSD-3-Clause" |
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=f62f3080324a97b3159a7a7e61812d0c" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=f62f3080324a97b3159a7a7e61812d0c" |
12 | 12 | ||
13 | SRC_URI = "gitsm://github.com/google/snappy.git;protocol=https;branch=main \ | 13 | SRC_URI = "gitsm://github.com/google/snappy.git;protocol=https;branch=main" |
14 | file://fix-build-on-32bit-arm.patch" | 14 | SRCREV = "6af9287fbdb913f0794d0148c6aa43b58e63c8e3" |
15 | |||
16 | SRCREV = "dc05e026488865bc69313a68bcc03ef2e4ea8e83" | ||
17 | |||
18 | 15 | ||
19 | inherit cmake pkgconfig | 16 | inherit cmake pkgconfig |
20 | 17 | ||
diff --git a/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb index ace909fcf1..b4f100ffc4 100644 --- a/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb +++ b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb | |||
@@ -8,12 +8,14 @@ SECTION = "x11" | |||
8 | LICENSE = "GPL-2.0-only" | 8 | LICENSE = "GPL-2.0-only" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" |
10 | 10 | ||
11 | DEPENDS = "glib-2.0-native intltool-native jpeg" | 11 | DEPENDS = "glib-2.0-native intltool-native jpeg libx11" |
12 | 12 | ||
13 | SRC_URI = "git://github.com/lxde/gpicview.git;protocol=https;branch=master;tag=${PV}" | 13 | SRC_URI = "git://github.com/lxde/gpicview.git;protocol=https;branch=master;tag=${PV}" |
14 | SRCREV = "ca13623c6176585db4759ce4371fbf89c56fa630" | 14 | SRCREV = "ca13623c6176585db4759ce4371fbf89c56fa630" |
15 | 15 | ||
16 | inherit autotools mime-xdg pkgconfig | 16 | inherit autotools mime-xdg pkgconfig features_check |
17 | |||
18 | REQUIRED_DISTRO_FEATURES = "x11" | ||
17 | 19 | ||
18 | PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk3', '', d)}" | 20 | PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk3', '', d)}" |
19 | PACKAGECONFIG[gtk2] = ",,gtk+" | 21 | PACKAGECONFIG[gtk2] = ",,gtk+" |
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 @@ | |||
1 | From ba72528b21e024fe4f5464466976a8234d7c330c Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 20:27:11 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:22 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Backport [https://github.com/KhronosGroup/SPIRV-Cross/commit/82331a2ca9f2ea90d05901e931aa8c21e70dc40c] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index cf14c8d5..ef9695a9 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -19,7 +19,7 @@ | ||
33 | # 2. The MIT License, found at <http://opensource.org/licenses/MIT>. | ||
34 | # | ||
35 | |||
36 | -cmake_minimum_required(VERSION 3.0) | ||
37 | +cmake_minimum_required(VERSION 3.5) | ||
38 | set(CMAKE_CXX_STANDARD 11) | ||
39 | set(CMAKE_CXX_EXTENSIONS OFF) | ||
40 | |||
41 | -- | ||
42 | 2.43.0 | ||
43 | |||
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" | |||
5 | SECTION = "graphics" | 5 | SECTION = "graphics" |
6 | 6 | ||
7 | SRCREV = "f09ba2777714871bddb70d049878af34b94fa54d" | 7 | SRCREV = "f09ba2777714871bddb70d049878af34b94fa54d" |
8 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https" | 8 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https \ |
9 | file://0001-allow-build-with-cmake-4.patch" | ||
10 | |||
9 | inherit cmake pkgconfig | 11 | inherit cmake pkgconfig |
10 | 12 | ||
11 | EXTRA_OECMAKE = "-DSPIRV_CROSS_SHARED=ON" | 13 | EXTRA_OECMAKE = "-DSPIRV_CROSS_SHARED=ON" |
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb index 14aa5d0c0c..6a49ff2fdd 100644 --- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | |||
@@ -97,6 +97,12 @@ either install it and add it to HOSTTOOLS, or add clang-native from meta-clang t | |||
97 | sed -i -e '/mrecord-mcount/d' ${S}/Makefile | 97 | sed -i -e '/mrecord-mcount/d' ${S}/Makefile |
98 | sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile | 98 | sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile |
99 | sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.* | 99 | sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.* |
100 | |||
101 | # Add kernel headers to CFLAGS to fix PTP selftest compilation | ||
102 | # Required for PTP_MASK_CLEAR_ALL and PTP_MASK_EN_SINGLE definitions | ||
103 | # introduced in kernel v6.7 (commit c5a445b) | ||
104 | export CFLAGS="${CFLAGS} -I${STAGING_KERNEL_BUILDDIR}/usr/include" | ||
105 | |||
100 | oe_runmake -C ${S}/tools/testing/selftests TARGETS="${TEST_LIST}" | 106 | oe_runmake -C ${S}/tools/testing/selftests TARGETS="${TEST_LIST}" |
101 | } | 107 | } |
102 | 108 | ||
diff --git a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb b/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 @@ | |||
1 | DESCRIPTION = "WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode." | 1 | DESCRIPTION = "WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode." |
2 | LICENSE = "BSD-3-Clause" | 2 | LICENSE = "BSD-3-Clause" |
3 | LIC_FILES_CHKSUM = "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4" | 3 | LIC_FILES_CHKSUM = "file://license.txt;md5=3a6eec695493cff01ff6f7b7888c5631" |
4 | 4 | ||
5 | DEPENDS = "openssl" | 5 | DEPENDS = "openssl" |
6 | 6 | ||
7 | SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https \ | 7 | SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https" |
8 | file://set-soversion-and-version.patch \ | 8 | SRCREV = "4827b9889665b937b6ed71b9c6c0123152cd7a02" |
9 | file://extract-libtool-and-convert-to-soversion.patch \ | ||
10 | " | ||
11 | |||
12 | SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce" | ||
13 | |||
14 | 9 | ||
15 | inherit cmake pkgconfig lib_package | 10 | inherit cmake pkgconfig lib_package |
16 | 11 | ||
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" | |||
5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ea35644f0ec0d9767897115667e901f" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ea35644f0ec0d9767897115667e901f" |
7 | 7 | ||
8 | |||
9 | |||
10 | SRC_URI = " \ | 8 | SRC_URI = " \ |
11 | git://github.com/google/double-conversion.git;protocol=https;branch=master \ | 9 | git://github.com/google/double-conversion.git;protocol=https;branch=master \ |
12 | file://run-ptest \ | 10 | file://run-ptest \ |
11 | file://0001-allow-build-with-cmake-4.patch \ | ||
13 | " | 12 | " |
14 | SRCREV = "ae0dbfeb9744efd216c95b30555049d75d47116a" | 13 | SRCREV = "ae0dbfeb9744efd216c95b30555049d75d47116a" |
15 | 14 | ||
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 @@ | |||
1 | From 1652f5b555b4b4a7916af40bebacc32c23e4aca5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 20:43:45 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Backport [https://github.com/google/double-conversion/commit/101e1ba89dc41ceb75090831da97c43a76cd2906] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index 8749ef8..3145772 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -1,4 +1,4 @@ | ||
33 | -cmake_minimum_required(VERSION 3.0) | ||
34 | +cmake_minimum_required(VERSION 3.5) | ||
35 | project(double-conversion VERSION 3.3.0) | ||
36 | |||
37 | option(BUILD_SHARED_LIBS "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" OFF) | ||
38 | -- | ||
39 | 2.43.0 | ||
40 | |||
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 @@ | |||
1 | From b533cf275db99b1d37ba20d96497cafcedc9ace0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 18:57:26 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:73 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Backport [https://github.com/gflags/gflags/commit/70c01a642f08734b7bddc9687884844ca117e080] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | test/config/CMakeLists.txt | 2 +- | ||
27 | test/nc/CMakeLists.txt | 2 +- | ||
28 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
29 | |||
30 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
31 | index 657a1f4..a5440bb 100644 | ||
32 | --- a/CMakeLists.txt | ||
33 | +++ b/CMakeLists.txt | ||
34 | @@ -70,7 +70,7 @@ | ||
35 | ## - GFLAGS_INSTALL_SHARED_LIBS | ||
36 | ## - GFLAGS_INSTALL_STATIC_LIBS | ||
37 | |||
38 | -cmake_minimum_required (VERSION 3.0.2 FATAL_ERROR) | ||
39 | +cmake_minimum_required (VERSION 3.5 FATAL_ERROR) | ||
40 | |||
41 | if (POLICY CMP0042) | ||
42 | cmake_policy (SET CMP0042 NEW) | ||
43 | diff --git a/test/config/CMakeLists.txt b/test/config/CMakeLists.txt | ||
44 | index 6190b25..205121e 100644 | ||
45 | --- a/test/config/CMakeLists.txt | ||
46 | +++ b/test/config/CMakeLists.txt | ||
47 | @@ -1,6 +1,6 @@ | ||
48 | ## gflags package configuration tests | ||
49 | |||
50 | -cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) | ||
51 | +cmake_minimum_required (VERSION 3.5 FATAL_ERROR) | ||
52 | |||
53 | project (gflags_${TEST_NAME}) | ||
54 | |||
55 | diff --git a/test/nc/CMakeLists.txt b/test/nc/CMakeLists.txt | ||
56 | index d00b07d..1b4d511 100644 | ||
57 | --- a/test/nc/CMakeLists.txt | ||
58 | +++ b/test/nc/CMakeLists.txt | ||
59 | @@ -1,6 +1,6 @@ | ||
60 | ## gflags negative compilation tests | ||
61 | |||
62 | -cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) | ||
63 | +cmake_minimum_required (VERSION 3.5 FATAL_ERROR) | ||
64 | |||
65 | if (NOT TEST_NAME) | ||
66 | message (FATAL_ERROR "Missing TEST_NAME CMake flag") | ||
67 | -- | ||
68 | 2.43.0 | ||
69 | |||
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" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df" | 4 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/gflags/gflags.git;branch=master;protocol=https" | 6 | SRC_URI = "git://github.com/gflags/gflags.git;branch=master;protocol=https \ |
7 | file://0001-allow-build-with-cmake-4.patch" | ||
7 | SRCREV = "e171aa2d15ed9eb17054558e0b3a6a413bb01067" | 8 | SRCREV = "e171aa2d15ed9eb17054558e0b3a6a413bb01067" |
8 | 9 | ||
9 | |||
10 | inherit cmake | 10 | inherit cmake |
11 | 11 | ||
12 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTALL_DIR=${baselib}" | 12 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTALL_DIR=${baselib}" |
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 @@ | |||
1 | From a21c8455e2cfc5b19df1e42cd875c471d4e5cf63 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 19:40:46 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:41 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | | CMake Error at lib/googletest/CMakeLists.txt:48 (cmake_minimum_required): | ||
22 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
23 | | | ||
24 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
25 | | to tell CMake that the project requires at least <min> but has been updated | ||
26 | | to work with policies introduced by <max> or earlier. | ||
27 | | | ||
28 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
29 | | | ||
30 | | | ||
31 | | -- Configuring incomplete, errors occurred! | ||
32 | |||
33 | Upstream-Status: Submitted [https://github.com/libfann/fann/pull/152] | ||
34 | |||
35 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
36 | --- | ||
37 | CMakeLists.txt | 2 +- | ||
38 | lib/googletest/CMakeLists.txt | 2 +- | ||
39 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
40 | |||
41 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
42 | index 1b11d76..7e80be2 100644 | ||
43 | --- a/CMakeLists.txt | ||
44 | +++ b/CMakeLists.txt | ||
45 | @@ -38,7 +38,7 @@ IF(BIICODE) | ||
46 | ENDIF() | ||
47 | ENDIF() | ||
48 | ELSE() | ||
49 | -cmake_minimum_required (VERSION 2.8) | ||
50 | +cmake_minimum_required (VERSION 3.5) | ||
51 | |||
52 | if (NOT DEFINED CMAKE_BUILD_TYPE) | ||
53 | set (CMAKE_BUILD_TYPE Release CACHE STRING "Build type") | ||
54 | diff --git a/lib/googletest/CMakeLists.txt b/lib/googletest/CMakeLists.txt | ||
55 | index 961672a..3762d18 100644 | ||
56 | --- a/lib/googletest/CMakeLists.txt | ||
57 | +++ b/lib/googletest/CMakeLists.txt | ||
58 | @@ -45,7 +45,7 @@ endif() | ||
59 | # ${gtest_BINARY_DIR}. | ||
60 | # Language "C" is required for find_package(Threads). | ||
61 | project(gtest CXX C) | ||
62 | -cmake_minimum_required(VERSION 2.6.2) | ||
63 | +cmake_minimum_required(VERSION 3.5) | ||
64 | |||
65 | if (COMMAND set_up_hermetic_build) | ||
66 | set_up_hermetic_build() | ||
67 | -- | ||
68 | 2.43.0 | ||
69 | |||
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 | |||
10 | 10 | ||
11 | SRCREV ?= "7ec1fc7e5bd734f1d3c89b095e630e83c86b9be1" | 11 | SRCREV ?= "7ec1fc7e5bd734f1d3c89b095e630e83c86b9be1" |
12 | SRC_URI = "git://github.com/libfann/fann.git;branch=master;protocol=https \ | 12 | SRC_URI = "git://github.com/libfann/fann.git;branch=master;protocol=https \ |
13 | " | 13 | file://0001-allow-build-with-cmake-4.patch" |
14 | 14 | ||
15 | PV = "2.2.0+git" | 15 | PV = "2.2.0+git" |
16 | 16 | ||
17 | |||
18 | EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" | 17 | EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" |
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 @@ | |||
1 | From ff000097d226f21cf05a94c22459e55cf1f5c5c6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 18:06:03 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Backport [https://github.com/PortAudio/portaudio/commit/ccd16c85e64d8c1a5462541388b6fbcaedbb1cad] | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index 87d0bb8..eee16fd 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -1,4 +1,4 @@ | ||
33 | -cmake_minimum_required(VERSION 3.1.0) | ||
34 | +cmake_minimum_required(VERSION 3.5) | ||
35 | project(PortAudio VERSION 19.8) | ||
36 | |||
37 | # | ||
38 | -- | ||
39 | 2.43.0 | ||
40 | |||
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" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df" |
5 | 5 | ||
6 | PV .= "+git" | 6 | SRC_URI = "git://github.com/PortAudio/portaudio.git;branch=master;protocol=https \ |
7 | 7 | file://0001-allow-build-with-cmake-4.patch" | |
8 | SRC_URI = "git://github.com/PortAudio/portaudio.git;branch=master;protocol=https" | ||
9 | SRCREV = "929e2e8f7af281c5eb4fa07758930d542ec43d97" | 8 | SRCREV = "929e2e8f7af281c5eb4fa07758930d542ec43d97" |
10 | 9 | ||
11 | |||
12 | inherit cmake pkgconfig | 10 | inherit cmake pkgconfig |
13 | 11 | ||
14 | EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" | 12 | EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" |
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 @@ | |||
1 | From b650c4c3385f7afeb70231cdbcad888d23cb0a5a Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Tue, 8 Jul 2025 19:59:23 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | Fix: | ||
8 | |||
9 | | CMake Error at CMakeLists.txt:2 (cmake_minimum_required): | ||
10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
11 | | | ||
12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
13 | | to tell CMake that the project requires at least <min> but has been updated | ||
14 | | to work with policies introduced by <max> or earlier. | ||
15 | | | ||
16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
17 | | | ||
18 | | | ||
19 | | -- Configuring incomplete, errors occurred! | ||
20 | |||
21 | Upstream-Status: Pending | ||
22 | |||
23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
24 | --- | ||
25 | CMakeLists.txt | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
29 | index a570264..5a6281c 100644 | ||
30 | --- a/CMakeLists.txt | ||
31 | +++ b/CMakeLists.txt | ||
32 | @@ -1,5 +1,5 @@ | ||
33 | ######## Project settings | ||
34 | -cmake_minimum_required(VERSION 3.1) | ||
35 | +cmake_minimum_required(VERSION 3.5) | ||
36 | include(CheckCCompilerFlag) | ||
37 | set (PACKAGE_NAME uchardet) | ||
38 | project (${PACKAGE_NAME} CXX C) | ||
39 | -- | ||
40 | 2.43.0 | ||
41 | |||
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" | |||
4 | 4 | ||
5 | inherit cmake | 5 | inherit cmake |
6 | 6 | ||
7 | SRC_URI = "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz" | 7 | SRC_URI = "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz \ |
8 | file://0001-allow-build-with-cmake-4.patch" | ||
8 | SRC_URI[sha256sum] = "e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0" | 9 | SRC_URI[sha256sum] = "e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0" |
diff --git a/meta-python/recipes-devtools/python/python3-jsonschema-default_1.8.1.bb b/meta-python/recipes-devtools/python/python3-jsonschema-default_1.8.1.bb new file mode 100644 index 0000000000..03cba50b99 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-jsonschema-default_1.8.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "A Python package that creates default objects from a JSON schema." | ||
2 | HOMEPAGE = "https://github.com/mnboos/jsonschema-default" | ||
3 | LICENSE = "AGPL-3.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6" | ||
5 | |||
6 | SRC_URI[sha256sum] = "77e35e4a95519c7dbdbe25438c00af33c17bb766cbb0a29a2aa9d645ee3c1399" | ||
7 | |||
8 | PYPI_PACKAGE = "jsonschema_default" | ||
9 | |||
10 | inherit pypi python_hatchling | ||
11 | |||
12 | RDEPENDS:${PN} = "python3-rstr" | ||
13 | |||
14 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-rstr_3.2.2.bb b/meta-python/recipes-devtools/python/python3-rstr_3.2.2.bb new file mode 100644 index 0000000000..1af7a3bc8f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rstr_3.2.2.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | DESCRIPTION = "Random Strings in Python" | ||
2 | HOMEPAGE = "https://github.com/leapfrogonline/rstr" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5c15c04f1cdbd42c6152066f0b02102a" | ||
5 | |||
6 | SRC_URI[sha256sum] = "c4a564d4dfb4472d931d145c43d1cf1ad78c24592142e7755b8866179eeac012" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta | ||
9 | |||
10 | DEPENDS += "python3-setuptools-scm-native" | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||