Niklas Poslovski
2023-10-07 2a562045a3c8654128e962d1614ed6ff7da5a0a9
spdlog: Update to 1.12.0

2 files deleted
1 files added
3 files modified
144 ■■■■■ changed files
components/library/spdlog/Makefile 13 ●●●●● patch | view | raw | blame | history
components/library/spdlog/manifests/sample-manifest.p5m 40 ●●●● patch | view | raw | blame | history
components/library/spdlog/patches/example-nsl-socket.patch 18 ●●●●● patch | view | raw | blame | history
components/library/spdlog/spdlog.license 22 ●●●●● patch | view | raw | blame | history
components/library/spdlog/spdlog.p5m 44 ●●●● patch | view | raw | blame | history
components/library/spdlog/test/results-all.master 7 ●●●●● patch | view | raw | blame | history
components/library/spdlog/Makefile
@@ -19,29 +19,32 @@
# CDDL HEADER END
#
# Copyright (c) 2020, Aurelien Larcher. All rights reserved.
# Copyright (c) 2023, Niklas Poslovski
#
BUILD_STYLE= cmake
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        spdlog
COMPONENT_VERSION=    1.5.0
COMPONENT_REVISION=    2
COMPONENT_VERSION=    1.12.0
COMPONENT_SUMMARY=      spdlog - Fast C++ logging library
COMPONENT_PROJECT_URL=    https://github.com/gabime/spdlog
COMPONENT_PROJECT_URL=    https://github.com/gabime/spdlog
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH=    sha256:b38e0bbef7faac2b82fed550a0c19b0d4e7f6737d5321d4fd8f216b80f8aee8a
COMPONENT_ARCHIVE_HASH=    sha256:4dccf2d10f410c1e2feaff89966bfc49a1abb29ef6f08246335b110e001e09a9
COMPONENT_ARCHIVE_URL=    https://github.com/gabime/spdlog/archive/v$(COMPONENT_VERSION).tar.gz
COMPONENT_FMRI=         library/c++/spdlog
COMPONENT_CLASSIFICATION=System/Libraries
COMPONENT_LICENSE=      MIT
COMPONENT_LICENSE_FILE=    LICENSE
# Tests now require Catch2 which we don't have yet.
TEST_TARGET = $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
CMAKE_OPTIONS += -DSPDLOG_BUILD_SHARED=ON
COMPONENT_TEST_TRANSFORMS+= '-e "s/[0-9. ]*sec//g"'
#COMPONENT_TEST_TRANSFORMS+= '-e "s/[0-9. ]*sec//g"'
# Auto-generated dependencies
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
components/library/spdlog/manifests/sample-manifest.p5m
@@ -26,6 +26,10 @@
file path=usr/include/spdlog/async.h
file path=usr/include/spdlog/async_logger-inl.h
file path=usr/include/spdlog/async_logger.h
file path=usr/include/spdlog/cfg/argv.h
file path=usr/include/spdlog/cfg/env.h
file path=usr/include/spdlog/cfg/helpers-inl.h
file path=usr/include/spdlog/cfg/helpers.h
file path=usr/include/spdlog/common-inl.h
file path=usr/include/spdlog/common.h
file path=usr/include/spdlog/details/backtracer-inl.h
@@ -43,33 +47,47 @@
file path=usr/include/spdlog/details/null_mutex.h
file path=usr/include/spdlog/details/os-inl.h
file path=usr/include/spdlog/details/os.h
file path=usr/include/spdlog/details/pattern_formatter-inl.h
file path=usr/include/spdlog/details/pattern_formatter.h
file path=usr/include/spdlog/details/periodic_worker-inl.h
file path=usr/include/spdlog/details/periodic_worker.h
file path=usr/include/spdlog/details/registry-inl.h
file path=usr/include/spdlog/details/registry.h
file path=usr/include/spdlog/details/synchronous_factory.h
file path=usr/include/spdlog/details/tcp_client-windows.h
file path=usr/include/spdlog/details/tcp_client.h
file path=usr/include/spdlog/details/thread_pool-inl.h
file path=usr/include/spdlog/details/thread_pool.h
file path=usr/include/spdlog/details/udp_client-windows.h
file path=usr/include/spdlog/details/udp_client.h
file path=usr/include/spdlog/details/windows_include.h
file path=usr/include/spdlog/fmt/bin_to_hex.h
file path=usr/include/spdlog/fmt/bundled/LICENSE.rst
file path=usr/include/spdlog/fmt/bundled/args.h
file path=usr/include/spdlog/fmt/bundled/chrono.h
file path=usr/include/spdlog/fmt/bundled/color.h
file path=usr/include/spdlog/fmt/bundled/compile.h
file path=usr/include/spdlog/fmt/bundled/core.h
file path=usr/include/spdlog/fmt/bundled/fmt.license.rst
file path=usr/include/spdlog/fmt/bundled/format-inl.h
file path=usr/include/spdlog/fmt/bundled/format.h
file path=usr/include/spdlog/fmt/bundled/locale.h
file path=usr/include/spdlog/fmt/bundled/os.h
file path=usr/include/spdlog/fmt/bundled/ostream.h
file path=usr/include/spdlog/fmt/bundled/posix.h
file path=usr/include/spdlog/fmt/bundled/printf.h
file path=usr/include/spdlog/fmt/bundled/ranges.h
file path=usr/include/spdlog/fmt/bundled/std.h
file path=usr/include/spdlog/fmt/bundled/xchar.h
file path=usr/include/spdlog/fmt/chrono.h
file path=usr/include/spdlog/fmt/compile.h
file path=usr/include/spdlog/fmt/fmt.h
file path=usr/include/spdlog/fmt/ostr.h
file path=usr/include/spdlog/fmt/ranges.h
file path=usr/include/spdlog/fmt/std.h
file path=usr/include/spdlog/fmt/xchar.h
file path=usr/include/spdlog/formatter.h
file path=usr/include/spdlog/fwd.h
file path=usr/include/spdlog/logger-inl.h
file path=usr/include/spdlog/logger.h
file path=usr/include/spdlog/pattern_formatter-inl.h
file path=usr/include/spdlog/pattern_formatter.h
file path=usr/include/spdlog/sinks/android_sink.h
file path=usr/include/spdlog/sinks/ansicolor_sink-inl.h
file path=usr/include/spdlog/sinks/ansicolor_sink.h
@@ -77,12 +95,17 @@
file path=usr/include/spdlog/sinks/base_sink.h
file path=usr/include/spdlog/sinks/basic_file_sink-inl.h
file path=usr/include/spdlog/sinks/basic_file_sink.h
file path=usr/include/spdlog/sinks/callback_sink.h
file path=usr/include/spdlog/sinks/daily_file_sink.h
file path=usr/include/spdlog/sinks/dist_sink.h
file path=usr/include/spdlog/sinks/dup_filter_sink.h
file path=usr/include/spdlog/sinks/hourly_file_sink.h
file path=usr/include/spdlog/sinks/kafka_sink.h
file path=usr/include/spdlog/sinks/mongo_sink.h
file path=usr/include/spdlog/sinks/msvc_sink.h
file path=usr/include/spdlog/sinks/null_sink.h
file path=usr/include/spdlog/sinks/ostream_sink.h
file path=usr/include/spdlog/sinks/qt_sinks.h
file path=usr/include/spdlog/sinks/ringbuffer_sink.h
file path=usr/include/spdlog/sinks/rotating_file_sink-inl.h
file path=usr/include/spdlog/sinks/rotating_file_sink.h
@@ -94,17 +117,22 @@
file path=usr/include/spdlog/sinks/stdout_sinks.h
file path=usr/include/spdlog/sinks/syslog_sink.h
file path=usr/include/spdlog/sinks/systemd_sink.h
file path=usr/include/spdlog/sinks/tcp_sink.h
file path=usr/include/spdlog/sinks/udp_sink.h
file path=usr/include/spdlog/sinks/win_eventlog_sink.h
file path=usr/include/spdlog/sinks/wincolor_sink-inl.h
file path=usr/include/spdlog/sinks/wincolor_sink.h
file path=usr/include/spdlog/spdlog-inl.h
file path=usr/include/spdlog/spdlog.h
file path=usr/include/spdlog/stopwatch.h
file path=usr/include/spdlog/tweakme.h
file path=usr/include/spdlog/version.h
file path=usr/lib/$(MACH64)/cmake/spdlog/spdlogConfig.cmake
file path=usr/lib/$(MACH64)/cmake/spdlog/spdlogConfigTargets-release.cmake
file path=usr/lib/$(MACH64)/cmake/spdlog/spdlogConfigTargets.cmake
file path=usr/lib/$(MACH64)/cmake/spdlog/spdlogConfigVersion.cmake
link path=usr/lib/$(MACH64)/libspdlog.so target=libspdlog.so.1
link path=usr/lib/$(MACH64)/libspdlog.so target=libspdlog.so.1.12
file path=usr/lib/$(MACH64)/libspdlog.so.$(HUMAN_VERSION)
link path=usr/lib/$(MACH64)/libspdlog.so.1 target=libspdlog.so.$(HUMAN_VERSION)
link path=usr/lib/$(MACH64)/libspdlog.so.1.12 \
    target=libspdlog.so.$(HUMAN_VERSION)
file path=usr/lib/$(MACH64)/pkgconfig/spdlog.pc
components/library/spdlog/patches/example-nsl-socket.patch
New file
@@ -0,0 +1,18 @@
diff -Nru spdlog-1.12.0.orig/example/CMakeLists.txt spdlog-1.12.0/example/CMakeLists.txt
--- spdlog-1.12.0.orig/example/CMakeLists.txt    2023-07-08 16:12:25.000000000 +0200
+++ spdlog-1.12.0/example/CMakeLists.txt    2023-10-07 09:11:26.520458206 +0200
@@ -12,12 +12,12 @@
 # Example of using pre-compiled library
 # ---------------------------------------------------------------------------------------
 add_executable(example example.cpp)
-target_link_libraries(example PRIVATE spdlog::spdlog $<$<BOOL:${MINGW}>:ws2_32>)
+target_link_libraries(example PRIVATE spdlog::spdlog $<$<BOOL:${MINGW}>:ws2_32> nsl socket)
 # ---------------------------------------------------------------------------------------
 # Example of using header-only library
 # ---------------------------------------------------------------------------------------
 if(SPDLOG_BUILD_EXAMPLE_HO)
     add_executable(example_header_only example.cpp)
-    target_link_libraries(example_header_only PRIVATE spdlog::spdlog_header_only)
+    target_link_libraries(example_header_only PRIVATE spdlog::spdlog_header_only nsl socket)
 endif()
components/library/spdlog/spdlog.license
File was deleted
components/library/spdlog/spdlog.p5m
@@ -11,6 +11,7 @@
#
# Copyright 2020 Aurelien Larcher
# Copyright 2023 Niklas Poslovski
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -26,6 +27,10 @@
file path=usr/include/spdlog/async.h
file path=usr/include/spdlog/async_logger-inl.h
file path=usr/include/spdlog/async_logger.h
file path=usr/include/spdlog/cfg/argv.h
file path=usr/include/spdlog/cfg/env.h
file path=usr/include/spdlog/cfg/helpers-inl.h
file path=usr/include/spdlog/cfg/helpers.h
file path=usr/include/spdlog/common-inl.h
file path=usr/include/spdlog/common.h
file path=usr/include/spdlog/details/backtracer-inl.h
@@ -43,33 +48,47 @@
file path=usr/include/spdlog/details/null_mutex.h
file path=usr/include/spdlog/details/os-inl.h
file path=usr/include/spdlog/details/os.h
file path=usr/include/spdlog/details/pattern_formatter-inl.h
file path=usr/include/spdlog/details/pattern_formatter.h
file path=usr/include/spdlog/details/periodic_worker-inl.h
file path=usr/include/spdlog/details/periodic_worker.h
file path=usr/include/spdlog/details/registry-inl.h
file path=usr/include/spdlog/details/registry.h
file path=usr/include/spdlog/details/synchronous_factory.h
file path=usr/include/spdlog/details/tcp_client-windows.h
file path=usr/include/spdlog/details/tcp_client.h
file path=usr/include/spdlog/details/thread_pool-inl.h
file path=usr/include/spdlog/details/thread_pool.h
file path=usr/include/spdlog/details/udp_client-windows.h
file path=usr/include/spdlog/details/udp_client.h
file path=usr/include/spdlog/details/windows_include.h
file path=usr/include/spdlog/fmt/bin_to_hex.h
file path=usr/include/spdlog/fmt/bundled/LICENSE.rst
file path=usr/include/spdlog/fmt/bundled/args.h
file path=usr/include/spdlog/fmt/bundled/chrono.h
file path=usr/include/spdlog/fmt/bundled/color.h
file path=usr/include/spdlog/fmt/bundled/compile.h
file path=usr/include/spdlog/fmt/bundled/core.h
file path=usr/include/spdlog/fmt/bundled/fmt.license.rst
file path=usr/include/spdlog/fmt/bundled/format-inl.h
file path=usr/include/spdlog/fmt/bundled/format.h
file path=usr/include/spdlog/fmt/bundled/locale.h
file path=usr/include/spdlog/fmt/bundled/os.h
file path=usr/include/spdlog/fmt/bundled/ostream.h
file path=usr/include/spdlog/fmt/bundled/posix.h
file path=usr/include/spdlog/fmt/bundled/printf.h
file path=usr/include/spdlog/fmt/bundled/ranges.h
file path=usr/include/spdlog/fmt/bundled/std.h
file path=usr/include/spdlog/fmt/bundled/xchar.h
file path=usr/include/spdlog/fmt/chrono.h
file path=usr/include/spdlog/fmt/compile.h
file path=usr/include/spdlog/fmt/fmt.h
file path=usr/include/spdlog/fmt/ostr.h
file path=usr/include/spdlog/fmt/ranges.h
file path=usr/include/spdlog/fmt/std.h
file path=usr/include/spdlog/fmt/xchar.h
file path=usr/include/spdlog/formatter.h
file path=usr/include/spdlog/fwd.h
file path=usr/include/spdlog/logger-inl.h
file path=usr/include/spdlog/logger.h
file path=usr/include/spdlog/pattern_formatter-inl.h
file path=usr/include/spdlog/pattern_formatter.h
file path=usr/include/spdlog/sinks/android_sink.h
file path=usr/include/spdlog/sinks/ansicolor_sink-inl.h
file path=usr/include/spdlog/sinks/ansicolor_sink.h
@@ -77,12 +96,17 @@
file path=usr/include/spdlog/sinks/base_sink.h
file path=usr/include/spdlog/sinks/basic_file_sink-inl.h
file path=usr/include/spdlog/sinks/basic_file_sink.h
file path=usr/include/spdlog/sinks/callback_sink.h
file path=usr/include/spdlog/sinks/daily_file_sink.h
file path=usr/include/spdlog/sinks/dist_sink.h
file path=usr/include/spdlog/sinks/dup_filter_sink.h
file path=usr/include/spdlog/sinks/hourly_file_sink.h
file path=usr/include/spdlog/sinks/kafka_sink.h
file path=usr/include/spdlog/sinks/mongo_sink.h
file path=usr/include/spdlog/sinks/msvc_sink.h
file path=usr/include/spdlog/sinks/null_sink.h
file path=usr/include/spdlog/sinks/ostream_sink.h
file path=usr/include/spdlog/sinks/qt_sinks.h
file path=usr/include/spdlog/sinks/ringbuffer_sink.h
file path=usr/include/spdlog/sinks/rotating_file_sink-inl.h
file path=usr/include/spdlog/sinks/rotating_file_sink.h
@@ -94,18 +118,22 @@
file path=usr/include/spdlog/sinks/stdout_sinks.h
file path=usr/include/spdlog/sinks/syslog_sink.h
file path=usr/include/spdlog/sinks/systemd_sink.h
file path=usr/include/spdlog/sinks/tcp_sink.h
file path=usr/include/spdlog/sinks/udp_sink.h
file path=usr/include/spdlog/sinks/win_eventlog_sink.h
file path=usr/include/spdlog/sinks/wincolor_sink-inl.h
file path=usr/include/spdlog/sinks/wincolor_sink.h
file path=usr/include/spdlog/spdlog-inl.h
file path=usr/include/spdlog/spdlog.h
file path=usr/include/spdlog/stopwatch.h
file path=usr/include/spdlog/tweakme.h
file path=usr/include/spdlog/version.h
file path=usr/lib/$(MACH64)/cmake/spdlog/spdlogConfig.cmake
file path=usr/lib/$(MACH64)/cmake/spdlog/spdlogConfigTargets-release.cmake
file path=usr/lib/$(MACH64)/cmake/spdlog/spdlogConfigTargets.cmake
file path=usr/lib/$(MACH64)/cmake/spdlog/spdlogConfigVersion.cmake
link path=usr/lib/$(MACH64)/libspdlog.so target=libspdlog.so.1
file path=usr/lib/$(MACH64)/libspdlog.so.$(COMPONENT_VERSION)
link path=usr/lib/$(MACH64)/libspdlog.so.1 \
    target=libspdlog.so.$(COMPONENT_VERSION)
link path=usr/lib/$(MACH64)/libspdlog.so target=libspdlog.so.1.12
file path=usr/lib/$(MACH64)/libspdlog.so.$(HUMAN_VERSION)
link path=usr/lib/$(MACH64)/libspdlog.so.1.12 \
    target=libspdlog.so.$(HUMAN_VERSION)
file path=usr/lib/$(MACH64)/pkgconfig/spdlog.pc
components/library/spdlog/test/results-all.master
File was deleted