public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Subject: [PATCH 02/13] spdlog: New package
Date: Mon, 30 Nov 2026 16:18:15 +0100	[thread overview]
Message-ID: <20261130154031.269150-3-stefan.schantl@ipfire.org> (raw)
In-Reply-To: <20261130154031.269150-1-stefan.schantl@ipfire.org>

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/rootfiles/packages/spdlog | 104 +++++++++++++++++++++++++++++++
 lfs/spdlog                       |  98 +++++++++++++++++++++++++++++
 make.sh                          |   1 +
 3 files changed, 203 insertions(+)
 create mode 100644 config/rootfiles/packages/spdlog
 create mode 100644 lfs/spdlog

diff --git a/config/rootfiles/packages/spdlog b/config/rootfiles/packages/spdlog
new file mode 100644
index 0000000000..f08e42dc18
--- /dev/null
+++ b/config/rootfiles/packages/spdlog
@@ -0,0 +1,104 @@
+#usr/include/spdlog
+#usr/include/spdlog/async.h
+#usr/include/spdlog/async_logger-inl.h
+#usr/include/spdlog/async_logger.h
+#usr/include/spdlog/cfg
+#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
+#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
+#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/mdc.h
+#usr/include/spdlog/pattern_formatter-inl.h
+#usr/include/spdlog/pattern_formatter.h
+#usr/include/spdlog/sinks
+#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
+#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/libspdlog.so.1.16
+usr/lib/libspdlog.so.1.16.0
+#usr/lib/pkgconfig/spdlog.pc
diff --git a/lfs/spdlog b/lfs/spdlog
new file mode 100644
index 0000000000..b63407e396
--- /dev/null
+++ b/lfs/spdlog
@@ -0,0 +1,98 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+SUMMARY    = Fast C++ logging library
+
+VER        = 1.16.0
+
+THISAPP    = spdlog-$(VER)
+DL_FILE    = spdlog-$(VER).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = spdlog
+PAK_VER    = 1
+
+DEPS       = fmt
+
+SERVICES   =
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = 13585387e06135677f187d247fda09d350778becdf8017329d0b8cf0bb30bdd4e09985db48df46e0dcb34444a12a1b3134f565d02109c1b446018ab134e93d00
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+b2 : $(subst %,%_BLAKE2,$(objects))
+
+dist:
+	@$(PAK)
+
+###############################################################################
+# Downloading, checking, b2sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_BLAKE2,$(objects)) :
+	@$(B2SUM)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+
+	cd $(DIR_APP) && mkdir -pv build
+	cd $(DIR_APP)/build && cmake .. \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DSPDLOG_BUILD_BENCH=OFF \
+		-DSPDLOG_BUILD_EXAMPLE=OFF \
+		-DSPDLOG_BUILD_TESTS=OFF \
+		-DSPDLOG_BUILD_SHARED=ON \
+		-DSPDLOG_FMT_EXTERNAL=ON
+
+	cd $(DIR_APP)/build && make $(MAKETUNING)
+	cd $(DIR_APP)/build && make install
+
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 3a9efe3e3e..7b482dac62 100755
--- a/make.sh
+++ b/make.sh
@@ -2299,6 +2299,7 @@ build_system() {
 	lfsmake2 perl-Net-LibIDN2
 	lfsmake2 python3-zabbix-utils
 	lfsmake2 libupnp
+	lfsmake2 spdlog
 
 	lfsmake2 linux
 	lfsmake2 linux-initrd
-- 
2.47.3



  parent reply	other threads:[~2026-11-30 15:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
2026-11-30 15:18 ` [PATCH 01/13] libupnp: New package Stefan Schantl
2026-11-30 16:06   ` Michael Tremer
2026-11-30 15:18 ` Stefan Schantl [this message]
2026-11-30 15:18 ` [PATCH 03/13] jsoncpp: " Stefan Schantl
2026-11-30 15:18 ` [PATCH 04/13] pugixml: " Stefan Schantl
2026-11-30 15:18 ` [PATCH 05/13] duktape: " Stefan Schantl
2026-11-30 15:18 ` [PATCH 06/13] gerbera: " Stefan Schantl
2026-11-30 16:06   ` Michael Tremer
2026-11-30 15:18 ` [PATCH 07/13] gerbera: Ship default config file Stefan Schantl
2026-11-30 16:06   ` Michael Tremer
2026-11-30 15:18 ` [PATCH 08/13] gerbera: Add initscript Stefan Schantl
2026-11-30 16:06   ` Michael Tremer
2026-11-30 15:18 ` [PATCH 09/13] gerbera: Add backup definitions Stefan Schantl
2026-11-30 16:06   ` Michael Tremer
2026-11-30 15:18 ` [PATCH 10/13] gerbera: Update to 3.3.0 Stefan Schantl
2026-11-30 16:06   ` Michael Tremer
2026-11-30 15:18 ` [PATCH 11/13] libupnp: Rootfile update Stefan Schantl
2026-11-30 16:06   ` Michael Tremer
2026-11-30 15:18 ` [PATCH 12/13] gerbera: Fix installing config file Stefan Schantl
2026-11-30 16:06   ` Michael Tremer
2026-11-30 15:18 ` [PATCH 13/13] gerbera: Add rc symlinks for autostart on boot Stefan Schantl
2026-11-30 16:06   ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130154031.269150-3-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox