diff options
| author | Alper Ak <alperyasinak1@gmail.com> | 2025-07-08 01:54:05 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-08 23:40:33 -0700 |
| commit | 9fd461a067ece989a7517dee8ba7100c73e8233a (patch) | |
| tree | 24b78c5c3c8ca95f6983d6350e5de0ea90338d5d | |
| parent | e45e164adadee58f3e199e888c9dcd579ffb6229 (diff) | |
| download | meta-openembedded-9fd461a067ece989a7517dee8ba7100c73e8233a.tar.gz | |
apitrace: Upgrade 11.1 -> 13.0 to allow CMake 4+ compatibility
- Drop 0001-Explicit-header-stdint.patch because already fixed in newer version.
Changelog:
https://github.com/apitrace/apitrace/releases/tag/13.0
https://github.com/apitrace/apitrace/releases/tag/12.0
Fix:
| CMake Error at thirdparty/libbacktrace.cmake:32 (cmake_minimum_required):
| Compatibility with CMake < 3.5 has been removed from CMake.
|
| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
| to tell CMake that the project requires at least <min> but has been updated
| to work with policies introduced by <max> or earlier.
|
| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
| Call Stack (most recent call first):
| thirdparty/CMakeLists.txt:13 (include)
| thirdparty/CMakeLists.txt:55 (include_with_scope)
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch | 42 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/apitrace/apitrace_13.0.bb (renamed from meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb) | 8 |
2 files changed, 2 insertions, 48 deletions
diff --git a/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch b/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch deleted file mode 100644 index 9ce6693061..0000000000 --- a/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | From 952bad1469ea747012bdc48c48993bd5f13eec04 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Nicolas PARLANT <nicolas.parlant@parhuet.fr> | ||
| 3 | Date: Fri, 21 Mar 2025 05:02:23 +0000 | ||
| 4 | Subject: [PATCH] Explicit header: stdint | ||
| 5 | |||
| 6 | Fix building with GCC-15. It no longer includes it by default. | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://github.com/apitrace/apitrace/commit/952bad1469ea747012bdc48c48993bd5f13eec04] | ||
| 9 | |||
| 10 | Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> | ||
| 11 | --- | ||
| 12 | frametrim/ft_dependecyobject.hpp | 1 + | ||
| 13 | retrace/metric_writer.cpp | 1 + | ||
| 14 | 2 files changed, 2 insertions(+) | ||
| 15 | |||
| 16 | diff --git a/frametrim/ft_dependecyobject.hpp b/frametrim/ft_dependecyobject.hpp | ||
| 17 | index 2cd0b768..0f17b601 100644 | ||
| 18 | --- a/frametrim/ft_dependecyobject.hpp | ||
| 19 | +++ b/frametrim/ft_dependecyobject.hpp | ||
| 20 | @@ -28,6 +28,7 @@ | ||
| 21 | #pragma once | ||
| 22 | |||
| 23 | #include "ft_tracecall.hpp" | ||
| 24 | +#include <stdint.h> | ||
| 25 | |||
| 26 | namespace frametrim { | ||
| 27 | |||
| 28 | diff --git a/retrace/metric_writer.cpp b/retrace/metric_writer.cpp | ||
| 29 | index e923ed1d..4e4ce748 100644 | ||
| 30 | --- a/retrace/metric_writer.cpp | ||
| 31 | +++ b/retrace/metric_writer.cpp | ||
| 32 | @@ -24,6 +24,7 @@ | ||
| 33 | **************************************************************************/ | ||
| 34 | |||
| 35 | #include <iostream> | ||
| 36 | +#include <stdint.h> | ||
| 37 | |||
| 38 | #include "metric_writer.hpp" | ||
| 39 | |||
| 40 | -- | ||
| 41 | 2.34.1 | ||
| 42 | |||
diff --git a/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb b/meta-oe/recipes-devtools/apitrace/apitrace_13.0.bb index 244d9a3c6f..1e41548c9b 100644 --- a/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb +++ b/meta-oe/recipes-devtools/apitrace/apitrace_13.0.bb | |||
| @@ -5,12 +5,8 @@ LICENSE = "MIT & BSD-3-Clause" | |||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \ | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \ |
| 6 | file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c" | 6 | file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c" |
| 7 | 7 | ||
| 8 | SRCREV = "9352fc02bba106fbbeef9e8452ef34643c0d0764" | 8 | SRCREV = "ed44bd4c6cce224e2d64533d197bea6ca4fee266" |
| 9 | PV .= "+11.1+git" | 9 | SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https" |
| 10 | SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ | ||
| 11 | file://0001-Explicit-header-stdint.patch \ | ||
| 12 | " | ||
| 13 | |||
| 14 | 10 | ||
| 15 | DEPENDS += "zlib libpng python3-native" | 11 | DEPENDS += "zlib libpng python3-native" |
| 16 | 12 | ||
