-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
209 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
/** Human readable report. This is not consumed by boulder */ | ||
{ | ||
"manifest-version": "0.2", | ||
"packages": { | ||
"spdlog": { | ||
"build-depends": [ | ||
"pkgconfig(fmt)" | ||
], | ||
"depends": [ | ||
"soname(ld-linux-x86-64.so.2(x86_64))", | ||
"soname(libc++.so.1(x86_64))", | ||
"soname(libc.so.6(x86_64))", | ||
"soname(libfmt.so.10(x86_64))", | ||
"soname(libunwind.so.1(x86_64))" | ||
], | ||
"files": [ | ||
"/usr/lib/libspdlog.so.1.12", | ||
"/usr/lib/libspdlog.so.1.12.0" | ||
], | ||
"name": "spdlog", | ||
"provides": [ | ||
"soname(libspdlog.so.1.12(x86_64))" | ||
] | ||
}, | ||
"spdlog-devel": { | ||
"build-depends": [ | ||
"pkgconfig(fmt)" | ||
], | ||
"depends": [ | ||
"pkgconfig(fmt)", | ||
"spdlog" | ||
], | ||
"files": [ | ||
"/usr/include/spdlog/async.h", | ||
"/usr/include/spdlog/async_logger-inl.h", | ||
"/usr/include/spdlog/async_logger.h", | ||
"/usr/include/spdlog/cfg/argv.h", | ||
"/usr/include/spdlog/cfg/env.h", | ||
"/usr/include/spdlog/cfg/helpers-inl.h", | ||
"/usr/include/spdlog/cfg/helpers.h", | ||
"/usr/include/spdlog/common-inl.h", | ||
"/usr/include/spdlog/common.h", | ||
"/usr/include/spdlog/details/backtracer-inl.h", | ||
"/usr/include/spdlog/details/backtracer.h", | ||
"/usr/include/spdlog/details/circular_q.h", | ||
"/usr/include/spdlog/details/console_globals.h", | ||
"/usr/include/spdlog/details/file_helper-inl.h", | ||
"/usr/include/spdlog/details/file_helper.h", | ||
"/usr/include/spdlog/details/fmt_helper.h", | ||
"/usr/include/spdlog/details/log_msg-inl.h", | ||
"/usr/include/spdlog/details/log_msg.h", | ||
"/usr/include/spdlog/details/log_msg_buffer-inl.h", | ||
"/usr/include/spdlog/details/log_msg_buffer.h", | ||
"/usr/include/spdlog/details/mpmc_blocking_q.h", | ||
"/usr/include/spdlog/details/null_mutex.h", | ||
"/usr/include/spdlog/details/os-inl.h", | ||
"/usr/include/spdlog/details/os.h", | ||
"/usr/include/spdlog/details/periodic_worker-inl.h", | ||
"/usr/include/spdlog/details/periodic_worker.h", | ||
"/usr/include/spdlog/details/registry-inl.h", | ||
"/usr/include/spdlog/details/registry.h", | ||
"/usr/include/spdlog/details/synchronous_factory.h", | ||
"/usr/include/spdlog/details/tcp_client-windows.h", | ||
"/usr/include/spdlog/details/tcp_client.h", | ||
"/usr/include/spdlog/details/thread_pool-inl.h", | ||
"/usr/include/spdlog/details/thread_pool.h", | ||
"/usr/include/spdlog/details/udp_client-windows.h", | ||
"/usr/include/spdlog/details/udp_client.h", | ||
"/usr/include/spdlog/details/windows_include.h", | ||
"/usr/include/spdlog/fmt/bin_to_hex.h", | ||
"/usr/include/spdlog/fmt/chrono.h", | ||
"/usr/include/spdlog/fmt/compile.h", | ||
"/usr/include/spdlog/fmt/fmt.h", | ||
"/usr/include/spdlog/fmt/ostr.h", | ||
"/usr/include/spdlog/fmt/ranges.h", | ||
"/usr/include/spdlog/fmt/std.h", | ||
"/usr/include/spdlog/fmt/xchar.h", | ||
"/usr/include/spdlog/formatter.h", | ||
"/usr/include/spdlog/fwd.h", | ||
"/usr/include/spdlog/logger-inl.h", | ||
"/usr/include/spdlog/logger.h", | ||
"/usr/include/spdlog/pattern_formatter-inl.h", | ||
"/usr/include/spdlog/pattern_formatter.h", | ||
"/usr/include/spdlog/sinks/android_sink.h", | ||
"/usr/include/spdlog/sinks/ansicolor_sink-inl.h", | ||
"/usr/include/spdlog/sinks/ansicolor_sink.h", | ||
"/usr/include/spdlog/sinks/base_sink-inl.h", | ||
"/usr/include/spdlog/sinks/base_sink.h", | ||
"/usr/include/spdlog/sinks/basic_file_sink-inl.h", | ||
"/usr/include/spdlog/sinks/basic_file_sink.h", | ||
"/usr/include/spdlog/sinks/callback_sink.h", | ||
"/usr/include/spdlog/sinks/daily_file_sink.h", | ||
"/usr/include/spdlog/sinks/dist_sink.h", | ||
"/usr/include/spdlog/sinks/dup_filter_sink.h", | ||
"/usr/include/spdlog/sinks/hourly_file_sink.h", | ||
"/usr/include/spdlog/sinks/kafka_sink.h", | ||
"/usr/include/spdlog/sinks/mongo_sink.h", | ||
"/usr/include/spdlog/sinks/msvc_sink.h", | ||
"/usr/include/spdlog/sinks/null_sink.h", | ||
"/usr/include/spdlog/sinks/ostream_sink.h", | ||
"/usr/include/spdlog/sinks/qt_sinks.h", | ||
"/usr/include/spdlog/sinks/ringbuffer_sink.h", | ||
"/usr/include/spdlog/sinks/rotating_file_sink-inl.h", | ||
"/usr/include/spdlog/sinks/rotating_file_sink.h", | ||
"/usr/include/spdlog/sinks/sink-inl.h", | ||
"/usr/include/spdlog/sinks/sink.h", | ||
"/usr/include/spdlog/sinks/stdout_color_sinks-inl.h", | ||
"/usr/include/spdlog/sinks/stdout_color_sinks.h", | ||
"/usr/include/spdlog/sinks/stdout_sinks-inl.h", | ||
"/usr/include/spdlog/sinks/stdout_sinks.h", | ||
"/usr/include/spdlog/sinks/syslog_sink.h", | ||
"/usr/include/spdlog/sinks/systemd_sink.h", | ||
"/usr/include/spdlog/sinks/tcp_sink.h", | ||
"/usr/include/spdlog/sinks/udp_sink.h", | ||
"/usr/include/spdlog/sinks/win_eventlog_sink.h", | ||
"/usr/include/spdlog/sinks/wincolor_sink-inl.h", | ||
"/usr/include/spdlog/sinks/wincolor_sink.h", | ||
"/usr/include/spdlog/spdlog-inl.h", | ||
"/usr/include/spdlog/spdlog.h", | ||
"/usr/include/spdlog/stopwatch.h", | ||
"/usr/include/spdlog/tweakme.h", | ||
"/usr/include/spdlog/version.h", | ||
"/usr/lib/cmake/spdlog/spdlogConfig.cmake", | ||
"/usr/lib/cmake/spdlog/spdlogConfigTargets-release.cmake", | ||
"/usr/lib/cmake/spdlog/spdlogConfigTargets.cmake", | ||
"/usr/lib/cmake/spdlog/spdlogConfigVersion.cmake", | ||
"/usr/lib/libspdlog.so", | ||
"/usr/lib/pkgconfig/spdlog.pc" | ||
], | ||
"name": "spdlog-devel", | ||
"provides": [ | ||
"cmake(spdlog)", | ||
"pkgconfig(spdlog)" | ||
] | ||
} | ||
}, | ||
"source-name": "spdlog", | ||
"source-release": "1", | ||
"source-version": "1.12.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
releases: | ||
id: 15599 | ||
rss: https://github.com/gabime/spdlog/tags.atom | ||
security: | ||
cpe: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/include/spdlog/common.h b/include/spdlog/common.h | ||
index 0a262eb2..059627c8 100644 | ||
--- a/include/spdlog/common.h | ||
+++ b/include/spdlog/common.h | ||
@@ -75,6 +75,16 @@ | ||
# endif | ||
#endif | ||
|
||
+#ifdef SPDLOG_USE_STD_FORMAT | ||
+ #define SPDLOG_CONSTEXPR_FUNC constexpr | ||
+#else // Being built with fmt | ||
+ #if FMT_USE_CONSTEXPR | ||
+ #define SPDLOG_CONSTEXPR_FUNC FMT_CONSTEXPR | ||
+ #else | ||
+ #define SPDLOG_CONSTEXPR_FUNC inline | ||
+ #endif | ||
+#endif | ||
+ | ||
#if defined(__GNUC__) || defined(__clang__) | ||
# define SPDLOG_DEPRECATED __attribute__((deprecated)) | ||
#elif defined(_MSC_VER) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/include/spdlog/tweakme.h 2023-01-02 09:57:15.667781832 -0800 | ||
+++ b/include/spdlog/tweakme.h 2023-01-02 09:57:17.761105926 -0800 | ||
@@ -78,7 +78,7 @@ | ||
// In this case spdlog will try to include <fmt/format.h> so set your -I flag | ||
// accordingly. | ||
// | ||
-// #define SPDLOG_FMT_EXTERNAL | ||
+#define SPDLOG_FMT_EXTERNAL | ||
/////////////////////////////////////////////////////////////////////////////// | ||
|
||
/////////////////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# SPDX-FileCopyrightText: © 2020-2024 Serpent OS Developers | ||
# | ||
# SPDX-License-Identifier: MPL-2.0 | ||
# | ||
name : spdlog | ||
version : 1.12.0 | ||
release : 1 | ||
homepage : https://github.com/gabime/spdlog | ||
upstreams : | ||
- https://github.com/gabime/spdlog/archive/refs/tags/v1.12.0.tar.gz : 4dccf2d10f410c1e2feaff89966bfc49a1abb29ef6f08246335b110e001e09a9 | ||
summary : Fast C++ logging library | ||
description : | | ||
Fast C++ logging library | ||
license : MIT | ||
builddeps : | ||
- pkgconfig(fmt) | ||
setup : | | ||
%patch %(pkgdir)/spdlog_fmt_external.patch | ||
%patch %(pkgdir)/spdlog_constexpr.patch | ||
%cmake \ | ||
-DSPDLOG_BUILD_BENCH=OFF \ | ||
-DSPDLOG_BUILD_EXAMPLES=OFF \ | ||
-DSPDLOG_BUILD_SHARED=ON \ | ||
-DSPDLOG_BUILD_STATIC=OFF \ | ||
-DSPDLOG_FMT_EXTERNAL=ON | ||
build : | | ||
%cmake_build | ||
install : | | ||
%cmake_install | ||