Saturday, July 06, 2024

Re: UPDATE: spdlog 1.14.1

On Sat, Jul 06, 2024 at 08:34:47PM -0400, Brad Smith wrote:
> Here is an update to spdlog 1.14.1.
>
>
> Version 1.14.1
>
> - Fixed compatibility issue between c++17 and c++11 (#3081).
> - Fixed creating folders under windows when full path with drive letter is
> given (#3079).
> - Added mdc sample. Note: mdc is not supported in async loggers.
>
> Version 1.14.0
>
> - Updated bundled fmt to version 10.2.1.
> - Mapped Diagnostic Context (MDC) support by @massimiliano96 in #2907.
> MDC is a simple map of key->string values stored in thread local storage
> whose content will be printed by the loggers.
> - Add milliseconds support to stopwatch by @brodao2 in #3034
> - Add std::string_view overloads for logger accessor by @BenLeadbetter in #3023
> - Make async_logger::flush() synchronous - wait for the flush operation to
> complete before returning by @walkerlala in #3049
> - Use _stat() on Windows to be more UTF8 friendly by @liubing in #2978
> - Add details about how compile time macros work by @egaban in #2981
> - Fix typos found by codespell by @DimitriPapadopoulos in #3011
> - Expose the flusher thread object to user in order to allow setting of thread
> name and thread affinity when needed by @cohdan in #3009
> - Fix the problem of compilation failure under MINGW by @NU-LL in #3022
> - Add missing include in circular_q.h by @magnus-nomono in #3026
> - Fix #3038 by @Tomas-Zhu in #3044
> - Don't remove previous defaullt logger from registry in set_default_logger.
> Fix #3016
> - Remove the legacy AnalyzeTemporaryDtors option from .clang-tidy. by @shaharv
> in #3048
> - Updated INSTALL.md has to better reflect compiler info by KaganCanSit in #3052
> - Fixed README.md example by @darallium in #3066

Also disable building an example.


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/spdlog/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile 20 Apr 2024 09:26:30 -0000 1.4
+++ Makefile 7 Jul 2024 01:35:58 -0000
@@ -2,10 +2,10 @@ COMMENT = fast C++ logging library

GH_ACCOUNT = gabime
GH_PROJECT = spdlog
-GH_TAGNAME = v1.13.0
+GH_TAGNAME = v1.14.1
CATEGORIES = devel

-SHARED_LIBS = spdlog 1.1
+SHARED_LIBS = spdlog 2.0

# MIT
PERMIT_PACKAGE = Yes
@@ -20,6 +20,7 @@ LIB_DEPENDS += devel/fmt>=10.2.1
COMPILER = base-clang ports-gcc

CONFIGURE_ARGS+=-DSPDLOG_BUILD_BENCH=OFF \
+ -DSPDLOG_BUILD_EXAMPLE=OFF \
-DSPDLOG_BUILD_SHARED=ON \
-DSPDLOG_FMT_EXTERNAL=ON

Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/spdlog/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo 20 Apr 2024 09:26:30 -0000 1.3
+++ distinfo 7 Jul 2024 01:35:58 -0000
@@ -1,2 +1,2 @@
-SHA256 (spdlog-1.13.0.tar.gz) = U08u4aTcvrIiSYVu37K+dqHPT3CKILCsLtCQ7iTP28k=
-SIZE (spdlog-1.13.0.tar.gz) = 264003
+SHA256 (spdlog-1.14.1.tar.gz) = FYZQgCmn0GcN/LLZdXXc3CQtOGiiWXQrafEAgBq04Ws=
+SIZE (spdlog-1.14.1.tar.gz) = 270896
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/spdlog/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST
--- pkg/PLIST 20 Apr 2024 09:26:30 -0000 1.4
+++ pkg/PLIST 7 Jul 2024 01:35:58 -0000
@@ -50,6 +50,7 @@ include/spdlog/formatter.h
include/spdlog/fwd.h
include/spdlog/logger-inl.h
include/spdlog/logger.h
+include/spdlog/mdc.h
include/spdlog/pattern_formatter-inl.h
include/spdlog/pattern_formatter.h
include/spdlog/sinks/
@@ -92,7 +93,6 @@ include/spdlog/spdlog.h
include/spdlog/stopwatch.h
include/spdlog/tweakme.h
include/spdlog/version.h
-lib/cmake/
lib/cmake/spdlog/
lib/cmake/spdlog/spdlogConfig.cmake
lib/cmake/spdlog/spdlogConfigTargets${MODCMAKE_BUILD_SUFFIX}

No comments:

Post a Comment