From 409f1c23ffbfb00e08c43c1f9785f0a85f5d7e7e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 12 May 2025 17:02:57 +0800 Subject: fmt: upgrade 11.1.4 -> 11.2.0 Changelog: ============ - Added the 's' specifier for 'std::error_code'. It allows formatting an error message as a string. - Fixed formatting of 'std::chrono::local_time' and 'tm' - Added diagnostics for cases when timezone information is not available. - Deprecated 'fmt::localtime' in favor of 'std::localtime'. - Fixed compilation with GCC 15 and C++20 modules enabled - Fixed handling of named arguments in format specs - Added error reporting for duplicate named arguments - Fixed formatting of 'long' with 'FMT_BUILTIN_TYPES=0' - Optimized 'text_style' using bit packing - Added support for incomplete types - Fixed a flush issue in 'fmt::print' when using libstdc++ - Fixed 'fmt::println' usage with 'FMT_ENFORCE_COMPILE_STRING' and legacy - Removed legacy header 'fmt/core.h' from docs - Worked around limitations of '__builtin_strlen' during constant evaluation - Worked around a bug in MSVC v141 - Removed the 'fmt_detail' namespace - Removed specializations of 'std::is_floating_point' in tests - Fixed a CMake error when setting 'CMAKE_MODULE_PATH' in the pedantic mode - Updated the Bazel config (From OE-Core rev: 2f2ef80e7e037900d8d4afa3dc7bf01734cef229) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-devtools/fmt/fmt_11.1.4.bb | 17 ----------------- meta/recipes-devtools/fmt/fmt_11.2.0.bb | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 meta/recipes-devtools/fmt/fmt_11.1.4.bb create mode 100644 meta/recipes-devtools/fmt/fmt_11.2.0.bb (limited to 'meta') diff --git a/meta/recipes-devtools/fmt/fmt_11.1.4.bb b/meta/recipes-devtools/fmt/fmt_11.1.4.bb deleted file mode 100644 index 1bcf758fd9..0000000000 --- a/meta/recipes-devtools/fmt/fmt_11.1.4.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "open-source formatting library for C++" -DESCRIPTION = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams." -HOMEPAGE = "https://fmt.dev" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b9257785fc4f3803a4b71b76c1412729" - -SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https \ - file://0001-Workaround-an-ABI-issue-in-spdlog.patch" -SRCREV = "123913715afeb8a437e6388b4473fcc4753e1c9a" - -S = "${WORKDIR}/git" - -inherit cmake - -EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/fmt/fmt_11.2.0.bb b/meta/recipes-devtools/fmt/fmt_11.2.0.bb new file mode 100644 index 0000000000..b2b8c575c8 --- /dev/null +++ b/meta/recipes-devtools/fmt/fmt_11.2.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "open-source formatting library for C++" +DESCRIPTION = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams." +HOMEPAGE = "https://fmt.dev" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b9257785fc4f3803a4b71b76c1412729" + +SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https;tag=${PV}\ + file://0001-Workaround-an-ABI-issue-in-spdlog.patch" +SRCREV = "40626af88bd7df9a5fb80be7b25ac85b122d6c21" + +S = "${WORKDIR}/git" + +inherit cmake + +EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf