public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [Patchset] - Gerbera a uPnP/DLNA media server
@ 2026-11-30 15:18 Stefan Schantl
  2026-11-30 15:18 ` [PATCH 01/13] libupnp: New package Stefan Schantl
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development

Hello list followers,

this patchset adds Gerbera (http://www.gerbera.io) a fork of the former
well known UPNP/DLNA meda server mediatomb which has been abonded 2008
by it's developers.

The development of Gerbera started in 2016 and there are periodically releasing new
versions with new features and bugfixes.

Gerbera and Mediatomb in basic are doing a very similar job that the
current available minidlna but have a lot of advantances against it.

* Support for transcoding if a client does not support the file type.
* Support for online content
* ACL to prevent clients from acessing media
* etc...

As Mediatomb was an addon in the past and has been dropped because
development and maintainance has been quit and Gerbera do not lack this
issues, I'm requesting a review of the patcheset and to merge it so
gerbera/mediatomb will be available as addon again.

Thanks in advance,

-Stefan



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 01/13] libupnp: New package
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 02/13] spdlog: " Stefan Schantl
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

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

diff --git a/config/rootfiles/packages/libupnp b/config/rootfiles/packages/libupnp
new file mode 100644
index 0000000000..8d8b412d9b
--- /dev/null
+++ b/config/rootfiles/packages/libupnp
@@ -0,0 +1,36 @@
+#usr/include/upnp
+#usr/include/upnp/Callback.h
+#usr/include/upnp/UpnpActionComplete.h
+#usr/include/upnp/UpnpActionRequest.h
+#usr/include/upnp/UpnpDiscovery.h
+#usr/include/upnp/UpnpEvent.h
+#usr/include/upnp/UpnpEventSubscribe.h
+#usr/include/upnp/UpnpExtraHeaders.h
+#usr/include/upnp/UpnpFileInfo.h
+#usr/include/upnp/UpnpGlobal.h
+#usr/include/upnp/UpnpInet.h
+#usr/include/upnp/UpnpIntTypes.h
+#usr/include/upnp/UpnpStateVarComplete.h
+#usr/include/upnp/UpnpStateVarRequest.h
+#usr/include/upnp/UpnpStdInt.h
+#usr/include/upnp/UpnpString.h
+#usr/include/upnp/UpnpSubscriptionRequest.h
+#usr/include/upnp/UpnpUniStd.h
+#usr/include/upnp/ithread.h
+#usr/include/upnp/ixml.h
+#usr/include/upnp/ixmldebug.h
+#usr/include/upnp/list.h
+#usr/include/upnp/posix_overwrites.h
+#usr/include/upnp/upnp.h
+#usr/include/upnp/upnpconfig.h
+#usr/include/upnp/upnpdebug.h
+#usr/include/upnp/upnptools.h
+#usr/lib/libixml.la
+#usr/lib/libixml.so
+usr/lib/libixml.so.11
+usr/lib/libixml.so.11.1.3
+#usr/lib/libupnp.la
+#usr/lib/libupnp.so
+usr/lib/libupnp.so.17
+usr/lib/libupnp.so.17.2.5
+#usr/lib/pkgconfig/libupnp.pc
diff --git a/lfs/libupnp b/lfs/libupnp
new file mode 100644
index 0000000000..86c741258e
--- /dev/null
+++ b/lfs/libupnp
@@ -0,0 +1,93 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2026  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    = The Portable SDK for UPnP Devices
+
+# This is the recomendend version by the gerbera project itself.
+VER        = 1.14.30
+
+THISAPP    = libupnp-$(VER)
+DL_FILE    = libupnp-$(VER).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = libupnp
+PAK_VER    = 1
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = 20706204942cb2504f8c5f777ccddeff9afaacd0aa09ac1c8e64b6920d6da34697573452f3e9727fb6d855f3bca51179925c3bfd054725cf703e1e6e03aeaf5b
+
+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) && ./configure \
+		--prefix=/usr \
+		--libdir=/usr/lib \
+		--enable-reuseaddr \
+		--disable-blocking-tcp-connections \
+		--disable-static
+
+	cd $(DIR_APP) && make $(MAKETUNING)
+	cd $(DIR_APP) && make install
+
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 83477ba5e8..3a9efe3e3e 100755
--- a/make.sh
+++ b/make.sh
@@ -2298,6 +2298,7 @@ build_system() {
 	lfsmake2 lldpd
 	lfsmake2 perl-Net-LibIDN2
 	lfsmake2 python3-zabbix-utils
+	lfsmake2 libupnp
 
 	lfsmake2 linux
 	lfsmake2 linux-initrd
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 02/13] spdlog: New package
  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 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 03/13] jsoncpp: " Stefan Schantl
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

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



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 03/13] jsoncpp: New package
  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 15:18 ` [PATCH 02/13] spdlog: " Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 04/13] pugixml: " Stefan Schantl
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

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

diff --git a/config/rootfiles/packages/jsoncpp b/config/rootfiles/packages/jsoncpp
new file mode 100644
index 0000000000..8d9e5ad6e2
--- /dev/null
+++ b/config/rootfiles/packages/jsoncpp
@@ -0,0 +1,27 @@
+#usr/include/json
+#usr/include/json/allocator.h
+#usr/include/json/assertions.h
+#usr/include/json/config.h
+#usr/include/json/forwards.h
+#usr/include/json/json.h
+#usr/include/json/json_features.h
+#usr/include/json/reader.h
+#usr/include/json/value.h
+#usr/include/json/version.h
+#usr/include/json/writer.h
+#usr/lib/cmake/jsoncpp
+#usr/lib/cmake/jsoncpp/jsoncpp-namespaced-targets.cmake
+#usr/lib/cmake/jsoncpp/jsoncpp-targets-release.cmake
+#usr/lib/cmake/jsoncpp/jsoncpp-targets.cmake
+#usr/lib/cmake/jsoncpp/jsoncppConfig.cmake
+#usr/lib/cmake/jsoncpp/jsoncppConfigVersion.cmake
+#usr/lib/libjsoncpp.a
+#usr/lib/libjsoncpp.so
+usr/lib/libjsoncpp.so.1.9.6
+usr/lib/libjsoncpp.so.26
+#usr/lib/objects-Release
+#usr/lib/objects-Release/jsoncpp_object
+#usr/lib/objects-Release/jsoncpp_object/json_reader.cpp.o
+#usr/lib/objects-Release/jsoncpp_object/json_value.cpp.o
+#usr/lib/objects-Release/jsoncpp_object/json_writer.cpp.o
+#usr/lib/pkgconfig/jsoncpp.pc
diff --git a/lfs/jsoncpp b/lfs/jsoncpp
new file mode 100644
index 0000000000..63918840e4
--- /dev/null
+++ b/lfs/jsoncpp
@@ -0,0 +1,94 @@
+###############################################################################
+#                                                                             #
+# 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    = C++ library for interacting with JSON
+
+VER        = 1.9.6
+
+THISAPP    = jsoncpp-$(VER)
+DL_FILE    = jsoncpp-$(VER).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = jsoncpp
+PAK_VER    = 1
+
+DEPS       =
+
+SERVICES   =
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = efa5dea68ddc175391200077666204f7ec66cd1f96a889a2a3c53d0e22e1f96ead1a2e7a871940f60dbd4261650f133b83de428b9c8b663fa13bd7ab4b9fdffe
+
+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_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
+
+	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 7b482dac62..ed1fa584dd 100755
--- a/make.sh
+++ b/make.sh
@@ -2300,6 +2300,7 @@ build_system() {
 	lfsmake2 python3-zabbix-utils
 	lfsmake2 libupnp
 	lfsmake2 spdlog
+	lfsmake2 jsoncpp
 
 	lfsmake2 linux
 	lfsmake2 linux-initrd
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 04/13] pugixml: New package
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (2 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 03/13] jsoncpp: " Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 05/13] duktape: " Stefan Schantl
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

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

diff --git a/config/rootfiles/packages/pugixml b/config/rootfiles/packages/pugixml
new file mode 100644
index 0000000000..6efbb7e3b2
--- /dev/null
+++ b/config/rootfiles/packages/pugixml
@@ -0,0 +1,11 @@
+#usr/include/pugiconfig.hpp
+#usr/include/pugixml.hpp
+#usr/lib/cmake/pugixml
+#usr/lib/cmake/pugixml/pugixml-config-version.cmake
+#usr/lib/cmake/pugixml/pugixml-config.cmake
+#usr/lib/cmake/pugixml/pugixml-targets-noconfig.cmake
+#usr/lib/cmake/pugixml/pugixml-targets.cmake
+#usr/lib/libpugixml.so
+usr/lib/libpugixml.so.1
+usr/lib/libpugixml.so.1.15
+#usr/lib/pkgconfig/pugixml.pc
diff --git a/lfs/pugixml b/lfs/pugixml
new file mode 100644
index 0000000000..cf6cd1e564
--- /dev/null
+++ b/lfs/pugixml
@@ -0,0 +1,94 @@
+###############################################################################
+#                                                                             #
+# 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    = Light-weight, simple and fast XML parser
+
+VER        = 1.15
+
+THISAPP    = pugixml-$(VER)
+DL_FILE    = pugixml-$(VER).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = pugixml
+PAK_VER    = 1
+
+DEPS       =
+
+SERVICES   =
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = 94f3e33d225a6cc4cf57b353704a5e1bfea989fecf4616958db85be1d2a73ef1b7bb0667998576134b820d7c0e9ea30691caad91e67aca7c26f558ed3b31ebf8
+
+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 \
+		-DBUILD_SHARED_LIBS=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 ed1fa584dd..8d560991e3 100755
--- a/make.sh
+++ b/make.sh
@@ -2301,6 +2301,7 @@ build_system() {
 	lfsmake2 libupnp
 	lfsmake2 spdlog
 	lfsmake2 jsoncpp
+	lfsmake2 pugixml
 
 	lfsmake2 linux
 	lfsmake2 linux-initrd
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 05/13] duktape: New package
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (3 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 04/13] pugixml: " Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 06/13] gerbera: " Stefan Schantl
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

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

diff --git a/config/rootfiles/packages/duktape b/config/rootfiles/packages/duktape
new file mode 100644
index 0000000000..31024dfbf6
--- /dev/null
+++ b/config/rootfiles/packages/duktape
@@ -0,0 +1,9 @@
+#usr/include/duk_config.h
+#usr/include/duktape.h
+#usr/lib/libduktape.so
+usr/lib/libduktape.so.207
+usr/lib/libduktape.so.207.20700
+#usr/lib/libduktaped.so
+usr/lib/libduktaped.so.207
+usr/lib/libduktaped.so.207.20700
+#usr/lib/pkgconfig/duktape.pc
diff --git a/lfs/duktape b/lfs/duktape
new file mode 100644
index 0000000000..8e9711014a
--- /dev/null
+++ b/lfs/duktape
@@ -0,0 +1,95 @@
+###############################################################################
+#                                                                             #
+# 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    = Embeddable Javascript engine
+
+VER        = 2.7.0
+
+THISAPP    = duktape-$(VER)
+DL_FILE    = duktape-$(VER).tar.xz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = duktape
+PAK_VER    = 1
+
+DEPS       =
+
+SERVICES   =
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = da5eea88758201177f32c5611a3757433ef1b0173d6430eff1f067abd7535f3e4b9c3717290fbd8475827a53f7a2a74818287a65e563f14e91761f5cd0fe30d5
+
+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) && make -f Makefile.sharedlibrary \
+		LIBDIR=/usr/lib \
+		$(MAKETUNING)
+
+	cd $(DIR_APP) && make -f Makefile.sharedlibrary \
+		INSTALL_PREFIX=/usr \
+		LIBDIR=/lib \
+		install
+
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 8d560991e3..f0ab9a4bbb 100755
--- a/make.sh
+++ b/make.sh
@@ -2302,6 +2302,7 @@ build_system() {
 	lfsmake2 spdlog
 	lfsmake2 jsoncpp
 	lfsmake2 pugixml
+	lfsmake2 duktape
 
 	lfsmake2 linux
 	lfsmake2 linux-initrd
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 06/13] gerbera: New package
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (4 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 05/13] duktape: " Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 07/13] gerbera: Ship default config file Stefan Schantl
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

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

diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera
new file mode 100644
index 0000000000..7600c967e0
--- /dev/null
+++ b/config/rootfiles/packages/gerbera
@@ -0,0 +1,115 @@
+usr/bin/gerbera
+#usr/share/bash-completion/completions/gerbera
+#usr/share/gerbera
+usr/share/gerbera/config2.xsd
+#usr/share/gerbera/js
+usr/share/gerbera/js/audio.js
+usr/share/gerbera/js/common.js
+usr/share/gerbera/js/image.js
+usr/share/gerbera/js/import.js
+usr/share/gerbera/js/metadata.js
+usr/share/gerbera/js/playlists.js
+usr/share/gerbera/js/trailer.js
+usr/share/gerbera/js/video.js
+#usr/share/gerbera/mysql-drop.sql
+#usr/share/gerbera/mysql-upgrade.xml
+#usr/share/gerbera/mysql.sql
+#usr/share/gerbera/postgres-drop.sql
+#usr/share/gerbera/postgres-upgrade.xml
+#usr/share/gerbera/postgres.sql
+usr/share/gerbera/sqlite3-drop.sql
+usr/share/gerbera/sqlite3-upgrade.xml
+usr/share/gerbera/sqlite3.sql
+usr/share/gerbera/web
+#usr/share/gerbera/web/.gitignore
+#usr/share/gerbera/web/README.md
+#usr/share/gerbera/web/assets
+usr/share/gerbera/web/assets/gerbera-config-expert.json
+usr/share/gerbera/web/assets/gerbera-config-minimal.json
+usr/share/gerbera/web/assets/gerbera-config-standard.json
+usr/share/gerbera/web/assets/theme
+usr/share/gerbera/web/assets/theme/colors.css
+usr/share/gerbera/web/assets/theme/gerbera-logo-white.png
+usr/share/gerbera/web/assets/theme/gerbera.css
+usr/share/gerbera/web/assets/theme/home-bg.jpg
+#usr/share/gerbera/web/css
+usr/share/gerbera/web/css/upnp.css
+usr/share/gerbera/web/disabled.html
+usr/share/gerbera/web/favicon.ico
+#usr/share/gerbera/web/icons
+usr/share/gerbera/web/icons/mt-icon120.bmp
+usr/share/gerbera/web/icons/mt-icon120.jpg
+usr/share/gerbera/web/icons/mt-icon120.png
+usr/share/gerbera/web/icons/mt-icon32.bmp
+usr/share/gerbera/web/icons/mt-icon32.jpg
+usr/share/gerbera/web/icons/mt-icon32.png
+usr/share/gerbera/web/icons/mt-icon48.bmp
+usr/share/gerbera/web/icons/mt-icon48.jpg
+usr/share/gerbera/web/icons/mt-icon48.png
+usr/share/gerbera/web/index.html
+#usr/share/gerbera/web/js
+usr/share/gerbera/web/js/gerbera-app.module.js
+usr/share/gerbera/web/js/gerbera-auth.module.js
+usr/share/gerbera/web/js/gerbera-autoscan.module.js
+usr/share/gerbera/web/js/gerbera-clients.module.js
+usr/share/gerbera/web/js/gerbera-config.module.js
+usr/share/gerbera/web/js/gerbera-items.module.js
+usr/share/gerbera/web/js/gerbera-menu.module.js
+usr/share/gerbera/web/js/gerbera-trail.module.js
+usr/share/gerbera/web/js/gerbera-tree.module.js
+usr/share/gerbera/web/js/gerbera-tweak.module.js
+usr/share/gerbera/web/js/gerbera-updates.module.js
+usr/share/gerbera/web/js/jquery.gerbera.autoscan.js
+usr/share/gerbera/web/js/jquery.gerbera.clients.js
+usr/share/gerbera/web/js/jquery.gerbera.config.js
+usr/share/gerbera/web/js/jquery.gerbera.editor.js
+usr/share/gerbera/web/js/jquery.gerbera.items.js
+usr/share/gerbera/web/js/jquery.gerbera.toast.js
+usr/share/gerbera/web/js/jquery.gerbera.trail.js
+usr/share/gerbera/web/js/jquery.gerbera.tree.js
+#usr/share/gerbera/web/js/jquery.gerbera.tweak.js
+#usr/share/gerbera/web/upnp
+usr/share/gerbera/web/upnp/cds.xml
+usr/share/gerbera/web/upnp/cm.xml
+usr/share/gerbera/web/upnp/mr_reg.xml
+#usr/share/gerbera/web/vendor
+usr/share/gerbera/web/vendor/bootstrap-4.6.2
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/css
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap-grid.min.css
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap-grid.min.css.map
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap-reboot.min.css
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap-reboot.min.css.map
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap.min.css
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap.min.css.map
+#usr/share/gerbera/web/vendor/bootstrap-4.6.2/js
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/js/bootstrap.min.js
+usr/share/gerbera/web/vendor/bootstrap-4.6.2/js/bootstrap.min.js.map
+#usr/share/gerbera/web/vendor/font-awesome
+#usr/share/gerbera/web/vendor/font-awesome/css
+usr/share/gerbera/web/vendor/font-awesome/css/font-awesome.css
+usr/share/gerbera/web/vendor/font-awesome/css/font-awesome.min.css
+#usr/share/gerbera/web/vendor/font-awesome/fonts
+usr/share/gerbera/web/vendor/font-awesome/fonts/FontAwesome.otf
+usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.eot
+usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.svg
+usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.ttf
+usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.woff
+usr/share/gerbera/web/vendor/font-awesome/fonts/fontawesome-webfont.woff2
+#usr/share/gerbera/web/vendor/jquery
+usr/share/gerbera/web/vendor/jquery/jquery-3.7.1.min.js
+usr/share/gerbera/web/vendor/jquery/jquery-3.7.1.min.map
+usr/share/gerbera/web/vendor/jquery/jquery-ui.min.js
+usr/share/gerbera/web/vendor/js-cookie.min.js
+#usr/share/gerbera/web/vendor/lato
+#usr/share/gerbera/web/vendor/lato/LICENCE.md
+usr/share/gerbera/web/vendor/lato/lato-v14-latin-ext_latin-regular.woff
+usr/share/gerbera/web/vendor/lato/lato-v14-latin-ext_latin-regular.woff2
+usr/share/gerbera/web/vendor/md5.min.js
+usr/share/gerbera/web/vendor/md5.min.js.map
+#usr/share/gerbera/web/vendor/popper
+usr/share/gerbera/web/vendor/popper/popper.min.js
+usr/share/gerbera/web/vendor/popper/popper.min.js.map
+#usr/share/gerbera/web/vendor/tether-2.0.0
+usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.css
+usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.js
+#usr/share/man/man1/gerbera.1
diff --git a/lfs/gerbera b/lfs/gerbera
new file mode 100644
index 0000000000..4db8c681bf
--- /dev/null
+++ b/lfs/gerbera
@@ -0,0 +1,119 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2024  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    = UPnP/DLNA Media Server
+
+VER        = 3.0.0
+
+THISAPP    = gerbera-$(VER)
+DL_FILE    = gerbera-$(VER).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = gerbera
+PAK_VER    = 1
+
+DEPS       = duktape ffmpeg fmt libexif libupnp pugixml taglib
+
+SERVICES   = gerbera
+
+CFLAGS    += -fcommon
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = 94fa4416359e58fbd74a5d25c59b5371fdfa1145d5ba78f6a3e4d932c2e18b9e8291c8bdec81f6e6ef13c99f10e90d0a2e639b335f120501bbc0abf7e7f7a189
+
+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 \
+		-DWITH_MAGIC=1 \
+		-DWITH_MYSQL=0 \
+		-DWITH_CURL=1 \
+		-DWITH_JS=1 \
+		-DWITH_TAGLIB=1 \
+		-DWITH_AVCODEC=1 \
+		-DWITH_FFMPEGTHUMBNAILER=0 \
+		-DWITH_EXIF=1 \
+		-DWITH_EXIV2=0 \
+		-DWITH_LASTFM=0 \
+		-DWITH_SYSTEMD=0 \
+		-DWITH_ICU=0\
+		-DWITH_MATROSKA=0
+
+	cd $(DIR_APP)/build && make $(MAKETUNING)
+
+	cd $(DIR_APP)/build && make install
+
+	# Install configuration.
+	#install -m 644 $(DIR_SRC)/config/minidlna/minidlna.conf /etc
+
+	#install initscripts
+	#$(call INSTALL_INITSCRIPTS,$(SERVICES))
+
+	#install backup definition
+	#install -v -m 644 ${DIR_SRC}/config/backup/includes/minidlna \
+	#		/var/ipfire/backup/addons/includes/minidlna
+
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
diff --git a/make.sh b/make.sh
index f0ab9a4bbb..e12e166623 100755
--- a/make.sh
+++ b/make.sh
@@ -2303,6 +2303,7 @@ build_system() {
 	lfsmake2 jsoncpp
 	lfsmake2 pugixml
 	lfsmake2 duktape
+	lfsmake2 gerbera
 
 	lfsmake2 linux
 	lfsmake2 linux-initrd
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 07/13] gerbera: Ship default config file
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (5 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 06/13] gerbera: " Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 08/13] gerbera: Add initscript Stefan Schantl
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/gerbera/config.xml         | 441 ++++++++++++++++++++++++++++++
 config/rootfiles/packages/gerbera |   1 +
 lfs/gerbera                       |   6 +-
 3 files changed, 447 insertions(+), 1 deletion(-)
 create mode 100644 config/gerbera/config.xml

diff --git a/config/gerbera/config.xml b/config/gerbera/config.xml
new file mode 100644
index 0000000000..4637ee2f29
--- /dev/null
+++ b/config/gerbera/config.xml
@@ -0,0 +1,441 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<config version="2" xmlns="http://gerbera.io/config/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://gerbera.io/config/2 http://gerbera.io/config/2.xsd">
+  <!--
+     See https://gerbera.io or read the docs for more
+     information on creating and using config.xml configuration files.
+     This file was generated by Gerbera 3.0.0
+  -->
+  <server debug-mode="0">
+    <ui enabled="yes" show-tooltips="yes" poll-interval="2" poll-when-idle="no" show-numbering="yes" show-thumbnail="yes" show-video="no" edit-sortkey="no" fs-add-item="no">
+      <accounts enabled="yes" session-timeout="30">
+        <account user="gerbera" password="ipfire" />
+      </accounts>
+      <items-per-page default="25">
+        <option>10</option>
+        <option>25</option>
+        <option>50</option>
+        <option>100</option>
+      </items-per-page>
+      <content-security-policy>default-src %HOSTS% 'unsafe-eval' 'unsafe-inline'; img-src *; media-src *; child-src 'none';</content-security-policy>
+      <extension-mimetype default="application/octet-stream">
+        <map from="css" to="text/css" />
+        <map from="html" to="text/html" />
+        <map from="js" to="application/javascript" />
+        <map from="json" to="application/json" />
+      </extension-mimetype>
+      <source-docs-link></source-docs-link>
+      <user-docs-link>https://docs.gerbera.io/en/stable/</user-docs-link>
+    </ui>
+    <name>Gerbera</name>
+    <udn>uuid:f028042b-f643-4ff2-afb6-eac9c8123d45</udn>
+    <home override="no">/var/ipfire/gerbera</home>
+    <webroot>/usr/share/gerbera/web</webroot>
+    <port>0</port>
+    <ip></ip>
+    <interface></interface>
+    <manufacturer>Gerbera Contributors</manufacturer>
+    <manufacturerURL>https://gerbera.io/</manufacturerURL>
+    <modelName>Gerbera</modelName>
+    <modelDescription>Free UPnP AV MediaServer, GNU GPL</modelDescription>
+    <modelNumber>42</modelNumber>
+    <modelURL></modelURL>
+    <serialNumber>1</serialNumber>
+    <presentationURL append-to="none"></presentationURL>
+    <tmpdir>/tmp/</tmpdir>
+    <pc-directory upnp-hide="no" web-hide="no" />
+    <bookmark>gerbera.html</bookmark>
+    <upnp-string-limit>-1</upnp-string-limit>
+    <virtualURL></virtualURL>
+    <externalURL></externalURL>
+    <upnp literal-host-redirection="no" multi-value="yes" search-result-separator=" - " search-filename="no" searchable-container-flag="yes" caption-info-count="-1">
+      <search-item-result>
+        <add-data tag="M_ARTIST" />
+        <add-data tag="M_TITLE" />
+      </search-item-result>
+      <album-properties>
+        <upnp-property upnp-tag="dc:creator" meta-data="M_ALBUMARTIST" />
+        <upnp-property upnp-tag="dc:date" meta-data="M_UPNP_DATE" />
+        <upnp-property upnp-tag="dc:publisher" meta-data="M_PUBLISHER" />
+        <upnp-property upnp-tag="upnp:albumArtist" meta-data="M_ALBUMARTIST" />
+        <upnp-property upnp-tag="upnp:artist" meta-data="M_ALBUMARTIST" />
+        <upnp-property upnp-tag="upnp:composer" meta-data="M_COMPOSER" />
+        <upnp-property upnp-tag="upnp:conductor" meta-data="M_CONDUCTOR" />
+        <upnp-property upnp-tag="upnp:date" meta-data="M_UPNP_DATE" />
+        <upnp-property upnp-tag="upnp:genre" meta-data="M_GENRE" />
+        <upnp-property upnp-tag="upnp:orchestra" meta-data="M_ORCHESTRA" />
+        <upnp-property upnp-tag="upnp:producer" meta-data="M_PRODUCER" /></album-properties>
+      <artist-properties>
+        <upnp-property upnp-tag="upnp:albumArtist" meta-data="M_ALBUMARTIST" />
+        <upnp-property upnp-tag="upnp:artist" meta-data="M_ALBUMARTIST" />
+        <upnp-property upnp-tag="upnp:genre" meta-data="M_GENRE" /></artist-properties>
+      <genre-properties>
+        <upnp-property upnp-tag="upnp:genre" meta-data="M_GENRE" /></genre-properties>
+      <playlist-properties>
+        <upnp-property upnp-tag="dc:date" meta-data="M_UPNP_DATE" /></playlist-properties>
+      <title-properties></title-properties>
+      <resource-defaults>
+        <property-default tag="@allowedUse" value="UNKNOWN" />
+        <property-default tag="@bitrate" value="0" />
+        <property-default tag="@bitsPerSample" value="0" />
+        <property-default tag="@colorDepth" value="1" />
+        <property-default tag="@contentInfoURI" value="" />
+        <property-default tag="@daylightSaving" value="UNKNOWN" />
+        <property-default tag="@duration" value="0" />
+        <property-default tag="@framerate" value="30p" />
+        <property-default tag="@importUri" value="" />
+        <property-default tag="@nrAudioChannels" value="0" />
+        <property-default tag="@protection" value="UNKNOWN" />
+        <property-default tag="@protocolInfo" value="http:*:*:*" />
+        <property-default tag="@recordQuality" value="" />
+        <property-default tag="@reliability" value="100" />
+        <property-default tag="@remainingTime" value="" />
+        <property-default tag="@resolution" value="1x1" />
+        <property-default tag="@rightsInfoURI" value="" />
+        <property-default tag="@sampleFrequency" value="0" />
+        <property-default tag="@size" value="0" />
+        <property-default tag="@tspec" value="UNKNOWN" />
+        <property-default tag="@usageInfo" value="This file is hosted by Gerbera" />
+        <property-default tag="@validityEnd" value="1900-01-01T00:00:00" />
+        <property-default tag="@validityStart" value="1900-01-01T00:00:00" />
+      </resource-defaults>
+      <object-defaults>
+        <property-default tag="@id" value="0" />
+        <property-default tag="@parentID" value="0" />
+        <property-default tag="dc:creator" value="UNKNOWN" />
+        <property-default tag="dc:date" value="1900-01-01T00:00:00" />
+        <property-default tag="upnp:actor" value="UNKNOWN" />
+        <property-default tag="upnp:album" value="UNKNOWN" />
+        <property-default tag="upnp:artist" value="UNKNOWN" />
+        <property-default tag="upnp:artistDiscographyURI" value="" />
+        <property-default tag="upnp:author" value="UNKNOWN" />
+        <property-default tag="upnp:contributor" value="UNKNOWN" />
+        <property-default tag="upnp:director" value="UNKNOWN" />
+        <property-default tag="upnp:genre" value="UNKNOWN" />
+        <property-default tag="upnp:language" value="en-US" />
+        <property-default tag="upnp:lastPlaybackPosition" value="0" />
+        <property-default tag="upnp:lastPlaybackTime" value="1900-01-01T00:00:00" />
+        <property-default tag="upnp:lyricsURI" value="" />
+        <property-default tag="upnp:originalTrackNumber" value="0" />
+        <property-default tag="upnp:playbackCount" value="0" />
+        <property-default tag="upnp:playlist" value="UNKNOWN" />
+        <property-default tag="upnp:producer" value="UNKNOWN" />
+        <property-default tag="upnp:publisher" value="UNKNOWN" />
+        <property-default tag="upnp:rating" value="0" />
+        <property-default tag="upnp:recordable" value="1" />
+        <property-default tag="upnp:relation" value="UNKNOWN" />
+      </object-defaults>
+      <container-defaults>
+        <property-default tag="@childContainerCount" value="0" />
+        <property-default tag="@childCount" value="0" />
+        <property-default tag="@id" value="0" />
+        <property-default tag="@parentID" value="0" />
+        <property-default tag="@restricted" value="1" />
+        <property-default tag="@searchable" value="1" />
+        <property-default tag="upnp:storageFree" value="0" />
+        <property-default tag="upnp:storageMaxPartition" value="0" />
+        <property-default tag="upnp:storageMedium" value="UNKNOWN" />
+        <property-default tag="upnp:storageTotal" value="0" />
+        <property-default tag="upnp:storageUsed" value="0" />
+      </container-defaults>
+    </upnp>
+    <!--
+        How frequently (in seconds) to send ssdp:alive advertisements.
+        Minimum alive value accepted is: 62
+
+        The advertisement will be sent every (A/2)-30 seconds,
+        and will have a cache-control max-age of A where A is
+        the value configured here. Ex: A value of 62 will result
+        in an SSDP advertisement being sent every second.
+    -->
+    <alive>180</alive>
+    <storage use-transactions="no" enable-sort-key="yes" string-limit="255">
+      <sqlite3 enabled="yes">
+        <database-file>gerbera.db</database-file>
+        <synchronous>off</synchronous>
+        <journal-mode>WAL</journal-mode>
+        <on-error>restore</on-error>
+        <init-sql-file>/usr/share/gerbera/sqlite3.sql</init-sql-file>
+        <upgrade-file>/usr/share/gerbera/sqlite3-upgrade.xml</upgrade-file>
+        <drop-file>/usr/share/gerbera/sqlite3-drop.sql</drop-file>
+        <backup enabled="yes" interval="600" />
+      </sqlite3>
+    </storage>
+    <containers enabled="yes">
+      <container location="/LastAdded" title="Recently Added" sort="-last_updated">
+        <filter>upnp:class derivedfrom "object.item" and last_updated &gt; "@last7"</filter>
+      </container>
+      <container location="/LastModified" title="Recently Modified" sort="-last_modified">
+        <filter>upnp:class derivedfrom "object.item" and last_modified &gt; "@last7"</filter>
+      </container>
+      <container location="/LastPlayed" title="Music Recently Played" sort="-upnp:lastPlaybackTime" upnp-shortcut="MUSIC_LAST_PLAYED">
+        <filter>upnp:class derivedfrom "object.item.audioItem" and upnp:lastPlaybackTime &gt; "@last7"</filter>
+      </container>
+    </containers>
+    <extended-runtime-options>
+      <mark-played-items enabled="no" suppress-cds-updates="yes">
+        <string mode="prepend">*</string>
+        <mark>
+          <content>video</content>
+        </mark>
+      </mark-played-items>
+    </extended-runtime-options>
+  </server>
+  <import hidden-files="no" follow-symlinks="yes" default-date="yes" import-mode="mt" nomedia-file=".nomedia" readable-names="yes">
+    <autoscan use-inotify="auto">
+      <directory location="/media" mode="inotify" recursive="yes" hidden-files="yes" media-type="Any" />
+    </autoscan>
+    <magic-file></magic-file>
+    <virtual-directories>
+      <key metadata="M_ALBUMARTIST" class="object.container.album.musicAlbum" />
+      <key metadata="M_UPNP_DATE" class="object.container.album.musicAlbum" />
+    </virtual-directories>
+    <filesystem-charset>UTF-8</filesystem-charset>
+    <metadata-charset>UTF-8</metadata-charset>
+    <playlist-charset>UTF-8</playlist-charset>
+    <scripting script-charset="UTF-8" scan-mode="manual">
+      <script-folder>
+        <common>/usr/share/gerbera/js</common>
+        <custom>/root/js</custom>
+      </script-folder>
+      <import-function>
+        <playlist create-link="yes">importPlaylist</playlist>
+        <meta-file>importMetadata</meta-file>
+        <audio-file>importAudio</audio-file>
+        <video-file>importVideo</video-file>
+        <image-file>importImage</image-file>
+      </import-function>
+      <virtual-layout type="js">
+        <structured-layout skip-chars="" div-char="" />
+        <genre-map></genre-map>
+        <boxlayout>
+          <box key="Root" title="Root" class="object.container" sort-key="00000" />
+          <box key="PCDirectory" title="PC Directory" class="object.container" sort-key="00000" />
+          <box key="Audio/allAlbums" title="Albums" class="object.container" upnp-shortcut="MUSIC_ALBUMS" />
+          <box key="Audio/allArtists" title="Artists" class="object.container" upnp-shortcut="MUSIC_ARTISTS" />
+          <box key="Audio/allAudio" title="All Audio" class="object.container" />
+          <box key="Audio/allComposers" title="Composers" class="object.container" />
+          <box key="Audio/allDirectories" title="Directories" class="object.container" upnp-shortcut="MUSIC_FOLDER_STRUCTURE" />
+          <box key="Audio/allGenres" title="Genres" class="object.container" upnp-shortcut="MUSIC_GENRES" />
+          <box key="Audio/allSongs" title="All Songs" class="object.container" />
+          <box key="Audio/allTracks" title="All - full name" class="object.container" upnp-shortcut="MUSIC_ALL" />
+          <box key="Audio/allYears" title="Year" class="object.container" />
+          <box key="Audio/audioRoot" title="Audio" class="object.container" />
+          <box key="Audio/artistChronology" title="Album Chronology" class="object.container" />
+          <box key="AudioInitial/abc" title="ABC" class="object.container" />
+          <box key="AudioInitial/allArtistTracks" title="000 All" class="object.container" />
+          <box key="AudioInitial/allBooks" title="Books" class="object.container" />
+          <box key="AudioInitial/audioBookRoot" title="AudioBooks" class="object.container" upnp-shortcut="MUSIC_AUDIOBOOKS" />
+          <box key="AudioStructured/allAlbums" title="-Album-" class="object.container" upnp-shortcut="MUSIC_ALBUMS" size="6" />
+          <box key="AudioStructured/allArtistTracks" title="all" class="object.container" />
+          <box key="AudioStructured/allArtists" title="-Artist-" class="object.container" upnp-shortcut="MUSIC_ARTISTS" size="9" />
+          <box key="AudioStructured/allGenres" title="-Genre-" class="object.container" upnp-shortcut="MUSIC_GENRES" size="6" />
+          <box key="AudioStructured/allTracks" title="-Track-" class="object.container" upnp-shortcut="MUSIC_ALL" size="6" />
+          <box key="AudioStructured/allYears" title="-Year-" class="object.container" />
+          <box key="Video/allDates" title="Date" class="object.container" upnp-shortcut="VIDEOS_YEARS_MONTH" />
+          <box key="Video/allDirectories" title="Directories" class="object.container" upnp-shortcut="VIDEOS_FOLDER_STRUCTURE" />
+          <box key="Video/allVideo" title="All Video" class="object.container" upnp-shortcut="VIDEOS_ALL" />
+          <box key="Video/allYears" title="Year" class="object.container" upnp-shortcut="VIDEOS_YEARS" />
+          <box key="Video/unknown" title="Unknown" class="object.container" />
+          <box key="Video/videoRoot" title="Video" class="object.container" upnp-shortcut="VIDEOS" />
+          <box key="Image/allDates" title="Date" class="object.container" upnp-shortcut="IMAGES_YEARS_MONTH" />
+          <box key="Image/allDirectories" title="Directories" class="object.container" upnp-shortcut="IMAGES_FOLDER_STRUCTURE" />
+          <box key="Image/allImages" title="All Photos" class="object.container" upnp-shortcut="IMAGES_ALL" />
+          <box key="Image/allYears" title="Year" class="object.container" upnp-shortcut="IMAGES_YEARS" />
+          <box key="Image/imageRoot" title="Photos" class="object.container" upnp-shortcut="IMAGES" />
+          <box key="Image/unknown" title="Unknown" class="object.container" />
+          <box key="Playlist/playlistRoot" title="Playlists" class="object.container" />
+          <box key="Playlist/allPlaylists" title="All Playlists" class="object.container" />
+          <box key="Playlist/allDirectories" title="Directories" class="object.container" upnp-shortcut="MUSIC_PLAYLISTS" />
+        </boxlayout>
+      </virtual-layout>
+    </scripting>
+    <library-options multi-value-separator="; " legacy-value-separator="">
+      <libexif charset="UTF-8" enabled="yes">
+        <auxdata></auxdata>
+        <metadata></metadata>
+        <comment enabled="no"></comment>
+      </libexif>
+      <id3 charset="UTF-8" enabled="yes">
+        <auxdata></auxdata>
+        <metadata>
+          <add-data tag="PERFORMER" key="upnp:artist@role[Performer]" />
+        </metadata>
+        <comment enabled="no"></comment>
+      </id3>
+      <ffmpeg charset="UTF-8" enabled="yes" artwork-enabled="no" subtitle-seek-size="2048">
+        <auxdata></auxdata>
+        <metadata>
+          <add-data tag="performer" key="upnp:artist@role[Performer]" />
+        </metadata>
+        <comment enabled="no"></comment>
+      </ffmpeg>
+    </library-options>
+    <system-directories>
+      <add-path name="/bin" />
+      <add-path name="/boot" />
+      <add-path name="/dev" />
+      <add-path name="/etc" />
+      <add-path name="/lib" />
+      <add-path name="/lib32" />
+      <add-path name="/lib64" />
+      <add-path name="/libx32" />
+      <add-path name="/proc" />
+      <add-path name="/run" />
+      <add-path name="/sbin" />
+      <add-path name="/sys" />
+      <add-path name="/tmp" />
+      <add-path name="/usr" />
+      <add-path name="/var" />
+    </system-directories>
+    <visible-directories></visible-directories>
+    <resources case-sensitive="yes">
+      <order></order>
+      <fanart>
+        <add-dir name="." pattern="%filename%" mime="image/*" />
+      </fanart>
+      <subtitle>
+        <add-dir name="." pattern="%filename%" mime="application/x-srt" />
+      </subtitle>
+      <metafile></metafile>
+      <resource></resource>
+      <container location="" parentCount="2" minDepth="2"></container>
+    </resources>
+    <layout parent-path="no"></layout>
+    <directories></directories>
+    <mappings>
+      <extension-mimetype ignore-unknown="no" case-sensitive="no">
+        <map from="asf" to="video/x-ms-asf" />
+        <map from="asx" to="video/x-ms-asx" />
+        <map from="dff" to="audio/x-dff" />
+        <map from="dsd" to="audio/x-dsd" />
+        <map from="dsf" to="audio/x-dsf" />
+        <map from="flv" to="video/x-flv" />
+        <map from="m2ts" to="video/mp2t" />
+        <map from="m3u" to="audio/x-mpegurl" />
+        <map from="m3u8" to="audio/x-mpegurl" />
+        <map from="m4a" to="audio/mp4" />
+        <map from="mka" to="audio/x-matroska" />
+        <map from="mkv" to="video/x-matroska" />
+        <map from="mp3" to="audio/mpeg" />
+        <map from="mts" to="video/mp2t" />
+        <map from="oga" to="audio/ogg" />
+        <map from="ogg" to="audio/ogg" />
+        <map from="ogm" to="video/ogg" />
+        <map from="ogv" to="video/ogg" />
+        <map from="ogx" to="application/ogg" />
+        <map from="pls" to="audio/x-scpls" />
+        <map from="srt" to="application/x-srt" />
+        <map from="ts" to="video/mp2t" />
+        <map from="tsa" to="audio/mp2t" />
+        <map from="tsv" to="video/mp2t" />
+        <map from="wax" to="audio/x-ms-wax" />
+        <map from="wm" to="video/x-ms-wm" />
+        <map from="wma" to="audio/x-ms-wma" />
+        <map from="wmv" to="video/x-ms-wmv" />
+        <map from="wmx" to="video/x-ms-wmx" />
+        <map from="wv" to="audio/x-wavpack" />
+        <map from="wvx" to="video/x-ms-wvx" />
+        <!-- Uncomment the line below for PS3 divx support -->
+        <!-- <map from="avi" to="video/divx" /> -->
+        <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
+        <!-- <map from="avi" to="video/avi" /> -->
+      </extension-mimetype>
+      <mimetype-upnpclass>
+        <map from="application/ogg" to="object.item.audioItem.musicTrack" />
+        <map from="audio/*" to="object.item.audioItem.musicTrack" />
+        <map from="image/*" to="object.item.imageItem" />
+        <map from="video/*" to="object.item.videoItem" />
+      </mimetype-upnpclass>
+      <mimetype-contenttype>
+        <treat mimetype="application/ogg" as="ogg" />
+        <treat mimetype="audio/L16" as="pcm" />
+        <treat mimetype="audio/flac" as="flac" />
+        <treat mimetype="audio/mp4" as="mp4" />
+        <treat mimetype="audio/mpeg" as="mp3" />
+        <treat mimetype="audio/ogg" as="ogg" />
+        <treat mimetype="audio/x-dsd" as="dsd" />
+        <treat mimetype="audio/x-flac" as="flac" />
+        <treat mimetype="audio/x-matroska" as="mka" />
+        <treat mimetype="audio/x-mpegurl" as="playlist" />
+        <treat mimetype="audio/x-ms-wma" as="wma" />
+        <treat mimetype="audio/x-scpls" as="playlist" />
+        <treat mimetype="audio/x-wav" as="pcm" />
+        <treat mimetype="audio/x-wavpack" as="wv" />
+        <treat mimetype="image/jpeg" as="jpg" />
+        <treat mimetype="image/png" as="png" />
+        <treat mimetype="video/mkv" as="mkv" />
+        <treat mimetype="video/mp4" as="mp4" />
+        <treat mimetype="video/mpeg" as="mpeg" />
+        <treat mimetype="video/x-matroska" as="mkv" />
+        <treat mimetype="video/x-mkv" as="mkv" />
+        <treat mimetype="video/x-ms-asf" as="asf" />
+        <treat mimetype="video/x-ms-asx" as="playlist" />
+        <treat mimetype="video/x-msvideo" as="avi" />
+      </mimetype-contenttype>
+      <mimetype-dlnatransfermode>
+        <map from="application/ogg" to="Streaming" />
+        <map from="application/x-srt" to="Background" />
+        <map from="audio/*" to="Streaming" />
+        <map from="image/*" to="Interactive" />
+        <map from="srt" to="Background" />
+        <map from="text/*" to="Background" />
+        <map from="video/*" to="Streaming" />
+      </mimetype-dlnatransfermode>
+      <contenttype-dlnaprofile>
+        <map from="asf" to="VC_ASF_AP_L2_WMA" />
+        <map from="avi" to="AVI" />
+        <map from="dsd" to="DSF" />
+        <map from="flac" to="FLAC" />
+        <map from="jpg" to="JPEG_LRG" />
+        <map from="mka" to="MKV" />
+        <map from="mkv" to="MKV" />
+        <map from="mp3" to="MP3" />
+        <map from="mp4" to="AVC_MP4_EU" />
+        <map from="mpeg" to="MPEG_PS_PAL" />
+        <map from="ogg" to="OGG" />
+        <map from="pcm" to="LPCM" />
+        <map from="png" to="PNG_LRG" />
+        <map from="wma" to="WMAFULL" />
+      </contenttype-dlnaprofile>
+      <ignore-extensions>
+        <add-file name="part" />
+        <add-file name="tmp" />
+      </ignore-extensions>
+    </mappings>
+  </import>
+  <transcoding enabled="no" fetch-buffer-size="262144" fetch-buffer-fill-size="0">
+    <mimetype-profile-mappings allow-unused="no">
+      <transcode mimetype="application/ogg" using="vlcmpeg" />
+      <transcode mimetype="audio/ogg" using="ogg2mp3" />
+      <transcode mimetype="video/x-flv" using="vlcmpeg" />
+    </mimetype-profile-mappings>
+    <profiles allow-unused="no">
+      <profile name="ogg2mp3" enabled="no" type="external">
+        <mimetype>audio/mpeg</mimetype>
+        <accept-url>no</accept-url>
+        <first-resource>yes</first-resource>
+        <accept-ogg-theora>no</accept-ogg-theora>
+        <agent command="ffmpeg" arguments="-y -i %in -f mp3 %out" />
+        <buffer size="1048576" chunk-size="131072" fill-size="262144" />
+      </profile>
+      <profile name="vlcmpeg" enabled="no" type="external" no-transcoding="">
+        <mimetype>video/mpeg</mimetype>
+        <accept-url>yes</accept-url>
+        <first-resource>yes</first-resource>
+        <accept-ogg-theora>yes</accept-ogg-theora>
+        <sample-frequency>-1</sample-frequency>
+        <audio-channels>-1</audio-channels>
+        <thumbnail>no</thumbnail>
+        <hide-original-resource>no</hide-original-resource>
+        <dlna-profile>MP4</dlna-profile>
+        <avi-fourcc-list mode="Ignore">
+          <fourcc>XVID</fourcc>
+          <fourcc>DX50</fourcc>
+        </avi-fourcc-list>
+        <agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc://quit" />
+        <buffer size="14400000" chunk-size="512000" fill-size="120000" />
+      </profile>
+    </profiles>
+  </transcoding>
+</config>
+
diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera
index 7600c967e0..4fa9d61b83 100644
--- a/config/rootfiles/packages/gerbera
+++ b/config/rootfiles/packages/gerbera
@@ -113,3 +113,4 @@ usr/share/gerbera/web/vendor/popper/popper.min.js.map
 usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.css
 usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.js
 #usr/share/man/man1/gerbera.1
+var/lib/gerbera
diff --git a/lfs/gerbera b/lfs/gerbera
index 4db8c681bf..41b979f4b6 100644
--- a/lfs/gerbera
+++ b/lfs/gerbera
@@ -106,7 +106,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	cd $(DIR_APP)/build && make install
 
 	# Install configuration.
-	#install -m 644 $(DIR_SRC)/config/minidlna/minidlna.conf /etc
+	install -m 644 $(DIR_SRC)/config/gerbera/config.xml /etc/gerbera
+
+	# Create gerbera home dir.
+	mkdir -pv /var/lib/gerbera
+	chown nobody:nobody /var/lib/gerbera
 
 	#install initscripts
 	#$(call INSTALL_INITSCRIPTS,$(SERVICES))
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 08/13] gerbera: Add initscript
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (6 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 07/13] gerbera: Ship default config file Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 09/13] gerbera: Add backup definitions Stefan Schantl
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 lfs/gerbera                      |  2 +-
 src/initscripts/packages/gerbera | 55 ++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 src/initscripts/packages/gerbera

diff --git a/lfs/gerbera b/lfs/gerbera
index 41b979f4b6..86b70019db 100644
--- a/lfs/gerbera
+++ b/lfs/gerbera
@@ -113,7 +113,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	chown nobody:nobody /var/lib/gerbera
 
 	#install initscripts
-	#$(call INSTALL_INITSCRIPTS,$(SERVICES))
+	$(call INSTALL_INITSCRIPTS,$(SERVICES))
 
 	#install backup definition
 	#install -v -m 644 ${DIR_SRC}/config/backup/includes/minidlna \
diff --git a/src/initscripts/packages/gerbera b/src/initscripts/packages/gerbera
new file mode 100644
index 0000000000..f8884b3666
--- /dev/null
+++ b/src/initscripts/packages/gerbera
@@ -0,0 +1,55 @@
+#!/bin/sh
+########################################################################
+# Begin $rc_base/init.d/
+#
+# Description : gerbera initscript
+#
+# Authors     : Arne Fitzenreiter
+#               Stefan Schantl
+#
+# Version     : 01.00
+#
+# Notes       : for www.ipfire.org - GPLv3
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "$1" in
+	start)
+		boot_mesg "Starting gerbera uPnP Mediaserver..."
+		route add -net 239.0.0.0 netmask 255.0.0.0 green0	
+		loadproc /usr/bin/gerbera -u nobody \
+			-c /etc/gerbera/config.xml \
+			-l /var/log/gerbera.log \
+			-m /var/lib/gerbera \
+		        -e green0 $2 $3 $4 $5 $6 $7 -d
+		evaluate_retval
+		;;
+		
+
+	stop)
+		boot_mesg "Stopping gerbera uPnP Mediaserver..."
+		killproc /usr/bin/gerbera
+		evaluate_retval
+		route del -net 239.0.0.0 netmask 255.0.0.0 green0
+		;;
+
+	restart)
+		${0} stop
+		sleep 1
+		${0} start
+
+		;;
+	status)
+		statusproc /usr/bin/gerbera
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop|init|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 09/13] gerbera: Add backup definitions
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (7 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 08/13] gerbera: Add initscript Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 10/13] gerbera: Update to 3.3.0 Stefan Schantl
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/backup/includes/gerbera | 2 ++
 lfs/gerbera                    | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 config/backup/includes/gerbera

diff --git a/config/backup/includes/gerbera b/config/backup/includes/gerbera
new file mode 100644
index 0000000000..3fb1208fa0
--- /dev/null
+++ b/config/backup/includes/gerbera
@@ -0,0 +1,2 @@
+/etc/gerbera/config.xml
+/var/lib/gerbera/*
diff --git a/lfs/gerbera b/lfs/gerbera
index 86b70019db..34041b9a51 100644
--- a/lfs/gerbera
+++ b/lfs/gerbera
@@ -116,8 +116,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	$(call INSTALL_INITSCRIPTS,$(SERVICES))
 
 	#install backup definition
-	#install -v -m 644 ${DIR_SRC}/config/backup/includes/minidlna \
-	#		/var/ipfire/backup/addons/includes/minidlna
+	install -v -m 644 ${DIR_SRC}/config/backup/includes/gerbera \
+			/var/ipfire/backup/addons/includes/gerbera
 
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 10/13] gerbera: Update to 3.3.0
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (8 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 09/13] gerbera: Add backup definitions Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 11/13] libupnp: Rootfile update Stefan Schantl
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/rootfiles/packages/gerbera | 5 +++++
 lfs/gerbera                       | 9 +++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera
index 4fa9d61b83..31a0c21cb1 100644
--- a/config/rootfiles/packages/gerbera
+++ b/config/rootfiles/packages/gerbera
@@ -1,3 +1,5 @@
+etc/gerbera
+etc/rc.d/init.d/gerbera
 usr/bin/gerbera
 #usr/share/bash-completion/completions/gerbera
 #usr/share/gerbera
@@ -5,10 +7,12 @@ usr/share/gerbera/config2.xsd
 #usr/share/gerbera/js
 usr/share/gerbera/js/audio.js
 usr/share/gerbera/js/common.js
+usr/share/gerbera/js/cuesheet.js
 usr/share/gerbera/js/image.js
 usr/share/gerbera/js/import.js
 usr/share/gerbera/js/metadata.js
 usr/share/gerbera/js/playlists.js
+usr/share/gerbera/js/shared.js
 usr/share/gerbera/js/trailer.js
 usr/share/gerbera/js/video.js
 #usr/share/gerbera/mysql-drop.sql
@@ -113,4 +117,5 @@ usr/share/gerbera/web/vendor/popper/popper.min.js.map
 usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.css
 usr/share/gerbera/web/vendor/tether-2.0.0/tether.min.js
 #usr/share/man/man1/gerbera.1
+var/ipfire/backup/addons/includes/gerbera
 var/lib/gerbera
diff --git a/lfs/gerbera b/lfs/gerbera
index 34041b9a51..50abbde451 100644
--- a/lfs/gerbera
+++ b/lfs/gerbera
@@ -26,7 +26,7 @@ include Config
 
 SUMMARY    = UPnP/DLNA Media Server
 
-VER        = 3.0.0
+VER        = 3.3.0
 
 THISAPP    = gerbera-$(VER)
 DL_FILE    = gerbera-$(VER).tar.gz
@@ -50,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 94fa4416359e58fbd74a5d25c59b5371fdfa1145d5ba78f6a3e4d932c2e18b9e8291c8bdec81f6e6ef13c99f10e90d0a2e639b335f120501bbc0abf7e7f7a189
+$(DL_FILE)_BLAKE2 = cc90463b85990d7d01dec31d9060f8ee927e815a535d7dd24c2071e4f9233b19af9f858262ea40a7204ea323b9bd6066922104cf054f0134bf809388905f0f20
 
 install : $(TARGET)
 
@@ -98,8 +98,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 		-DWITH_EXIV2=0 \
 		-DWITH_LASTFM=0 \
 		-DWITH_SYSTEMD=0 \
-		-DWITH_ICU=0\
-		-DWITH_MATROSKA=0
+		-DWITH_ICU=0 \
+		-DWITH_MATROSKA=0 \
+		-DWITH_ZIP=0
 
 	cd $(DIR_APP)/build && make $(MAKETUNING)
 
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 11/13] libupnp: Rootfile update
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (9 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 10/13] gerbera: Update to 3.3.0 Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 12/13] gerbera: Fix installing config file Stefan Schantl
  2026-11-30 15:18 ` [PATCH 13/13] gerbera: Add rc symlinks for autostart on boot Stefan Schantl
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/rootfiles/packages/libupnp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/rootfiles/packages/libupnp b/config/rootfiles/packages/libupnp
index 8d8b412d9b..b90830bd77 100644
--- a/config/rootfiles/packages/libupnp
+++ b/config/rootfiles/packages/libupnp
@@ -28,9 +28,9 @@
 #usr/lib/libixml.la
 #usr/lib/libixml.so
 usr/lib/libixml.so.11
-usr/lib/libixml.so.11.1.3
+usr/lib/libixml.so.11.1.7
 #usr/lib/libupnp.la
 #usr/lib/libupnp.so
 usr/lib/libupnp.so.17
-usr/lib/libupnp.so.17.2.5
+usr/lib/libupnp.so.17.2.10
 #usr/lib/pkgconfig/libupnp.pc
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 12/13] gerbera: Fix installing config file
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (10 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 11/13] libupnp: Rootfile update Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  2026-11-30 15:18 ` [PATCH 13/13] gerbera: Add rc symlinks for autostart on boot Stefan Schantl
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/rootfiles/packages/gerbera | 3 ++-
 lfs/gerbera                       | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera
index 31a0c21cb1..57a209590e 100644
--- a/config/rootfiles/packages/gerbera
+++ b/config/rootfiles/packages/gerbera
@@ -1,4 +1,5 @@
-etc/gerbera
+#etc/gerbera
+etc/gerbera/config.xml
 etc/rc.d/init.d/gerbera
 usr/bin/gerbera
 #usr/share/bash-completion/completions/gerbera
diff --git a/lfs/gerbera b/lfs/gerbera
index 50abbde451..e62cce9208 100644
--- a/lfs/gerbera
+++ b/lfs/gerbera
@@ -106,7 +106,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
 	cd $(DIR_APP)/build && make install
 
+
 	# Install configuration.
+	cd $(DIR_APP) && mkdir -pv /etc/gerbera
 	install -m 644 $(DIR_SRC)/config/gerbera/config.xml /etc/gerbera
 
 	# Create gerbera home dir.
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 13/13] gerbera: Add rc symlinks for autostart on boot
  2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
                   ` (11 preceding siblings ...)
  2026-11-30 15:18 ` [PATCH 12/13] gerbera: Fix installing config file Stefan Schantl
@ 2026-11-30 15:18 ` Stefan Schantl
  12 siblings, 0 replies; 14+ messages in thread
From: Stefan Schantl @ 2026-11-30 15:18 UTC (permalink / raw)
  To: development; +Cc: Stefan Schantl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/rootfiles/packages/gerbera | 3 +++
 lfs/gerbera                       | 9 +++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera
index 57a209590e..2cf7bef9bc 100644
--- a/config/rootfiles/packages/gerbera
+++ b/config/rootfiles/packages/gerbera
@@ -1,6 +1,9 @@
 #etc/gerbera
 etc/gerbera/config.xml
 etc/rc.d/init.d/gerbera
+etc/rc.d/rc0.d/K01gerbera
+etc/rc.d/rc3.d/S70gerbera
+etc/rc.d/rc6.d/K01gerbera
 usr/bin/gerbera
 #usr/share/bash-completion/completions/gerbera
 #usr/share/gerbera
diff --git a/lfs/gerbera b/lfs/gerbera
index e62cce9208..36a517466b 100644
--- a/lfs/gerbera
+++ b/lfs/gerbera
@@ -115,10 +115,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	mkdir -pv /var/lib/gerbera
 	chown nobody:nobody /var/lib/gerbera
 
-	#install initscripts
+	# Install initscripts
 	$(call INSTALL_INITSCRIPTS,$(SERVICES))
 
-	#install backup definition
+	# Create symlinks for runlevel interaction.
+	ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc3.d/S70gerbera
+	ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc0.d/K01gerbera
+	ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc6.d/K01gerbera
+
+	# Install backup definition
 	install -v -m 644 ${DIR_SRC}/config/backup/includes/gerbera \
 			/var/ipfire/backup/addons/includes/gerbera
 
-- 
2.47.3



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-11-30 15:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 15:18 ` [PATCH 02/13] spdlog: " Stefan Schantl
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 15:18 ` [PATCH 07/13] gerbera: Ship default config file Stefan Schantl
2026-11-30 15:18 ` [PATCH 08/13] gerbera: Add initscript Stefan Schantl
2026-11-30 15:18 ` [PATCH 09/13] gerbera: Add backup definitions Stefan Schantl
2026-11-30 15:18 ` [PATCH 10/13] gerbera: Update to 3.3.0 Stefan Schantl
2026-11-30 15:18 ` [PATCH 11/13] libupnp: Rootfile update Stefan Schantl
2026-11-30 15:18 ` [PATCH 12/13] gerbera: Fix installing config file Stefan Schantl
2026-11-30 15:18 ` [PATCH 13/13] gerbera: Add rc symlinks for autostart on boot Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox