head 1.2; access; symbols pkgsrc-2024Q2:1.1.0.8 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.6 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.4 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.2 pkgsrc-2023Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2024.07.15.10.28.43; author adam; state dead; branches; next 1.1; commitid eWAT2tF0UNpYcVhF; 1.1 date 2023.08.07.10.05.20; author adam; state Exp; branches; next ; commitid 9exkY4BI4POE6QzE; desc @@ 1.2 log @gerbera: updated to 2.2.0 v2.2.0 - Add log sinks for rotating log files and syslog - Add missing define on ubuntu 18 - Add sample-frequency to config2.xsd - Adding consistent album artist support - Build against fmt 11.0.0 - Build support for libnpupnp 6.1.2 - Build: Add install scripts for alpine/docker - Build: Add install scripts for OpenSuSE - Build: add older debian - Build: Allow build of ffmpegthumbnailer without ffmpeg - Build: rework dependency handling - Build: Scripts fail again with build - Build: split debian modules - Build: Upload for bionic - Build: Upload for focal - Build: Use Ruby2.6 for bionic - Build: Use Ruby2.7 for bionic - Bump braces from 3.0.2 to 3.0.3 in /gerbera-web - Bump ws, engine.io and socket.io-adapter in /gerbera-web - CI: Drop excluded ubuntu versions as CMake PPA now supports those combinations - CI: Pass publish-deb secrets via env instead - CI: Upload debs to pkg.gerbera.io - clang-tidy: don't cast through void - config2.xsd fixes - Config: Add flag to disable dynamic descriptions - Config: Separate config values - docs: Update Arch Linux installs - Docs: Update Ubuntu/Debian repo instructions - Documentation: Update with new WebUI - Extract command line argument handling to Runtime class - Extract Content interface - FFMpeg: add custom logger - FFMpeg: Reduce logger noise - Fix crashes on freebsd 14.1 - Fix creation of mr_reg.xml - Fix database calls for browsing dynamic containers - Fix discovery - Fix logger.cc without DEBUG - Handle broken Systemd on some debian - Implement updating virtual entries - Import: Add option case sensitive tags - Import: fix single file update - Improve documentation - Inotify: Handle Inotify access failed - Insecure download due to ubuntu-20.04/armhf failing - Libexif: add custom logger - Logging: Separate description requests - Metadata: Unify handling and allow to disable - Playlist: Allow configuration of directory depth - Search: Add playstatus details to search properties - Server: Handle all HTTP via virtualdir - Startup: Always check dirs - TagLib: Use DebugListener to suppress messages - UI: Fix auto logout - UI: Tidy up login and homepage - UPnP description: Allow dynamic capability values - UPnP specification files reflect client quirks - Xml2Json: improve encoding for special chars v2.1.0 - Add ctypes include - Add issue template - Autoscan: avoid errors from parent directories - Avoid crash when parent was not created yet. - Bring back custom headers as client specific headers - BUGFIX: common.js boxSetup check Video/AllDates for Dates - Build Support for NPUPNP - Bump express from 4.18.2 to 4.19.2 in /gerbera-web - Bump follow-redirects from 1.15.3 to 1.15.4 in /gerbera-web - Bump follow-redirects from 1.15.4 to 1.15.6 in /gerbera-web - Bump xml2js and parse-bmfont-xml in /gerbera-web - clang-tidy and cppcheck fixes - clang-tidy fixes - Cleanup FileRequestHandler - CMake: Use presets - Config: Refactor handling of integer types - Correct two typos. - debian12: fix script error - Docker image usability - Docker: update alpine version - Enhances default javascript files to check config file options - Expand firewall advice in docs - Fix build-deb.sh for releases - Fix findAutoscanDirectory - Gerbera welcomes 2024 - Gerbera-web: update chromedriver for tests - github workflows: make cmake stuff consistent - Import: Safely handle second scan - Import: Safely handle second scan - 2 - matroska_handler: update API calls to work with libebml/libmatroska 2.0 - MetadataHandler: Refactor static methods - Metafile: handle instance - Minor fixes to RST documentation - Provide BoxKeys also for scripts - Refactor config and enums to reduce nesting - Refactor parser files - Safely handle suppressed file types - Scripting: print2 function with log level support - some fixes - Sqlite: Harden delete - Take configuration into account when creating virtual-layout (built-in + JS) - Update Conan to v2 - Update screenshots to latest version - Update various library versions - Update workflow actions - WebUI: Add Item View - Webui: update vendor libraries v2.0.0 - Add #include to fix building with gcc 14 - Add artist chronology container - Add audio to year container - Add cleanup of missing entries to grb import mode - Add option for external URL to be used in web page. - Add permissions on HV transcoding devices in docker container - Add Support for Configuration of Virtual Layout - Add support for nomedia file / add options to block default M_DATE - Add support for UPnP commands GetFeatureList and GetSortExtensionCapabilities - Allow overriding home in config - Autoscan: Fix inotify without autoscan - Autoscan: Handle renamed directory - Autoscan: Use path for handling of non-existing - Build for Ubuntu 23.10 - buildfix: support fmtlib 10 - Bump @@babel/traverse from 7.23.0 to 7.23.2 in /gerbera-web - Bump chromedriver from 117.0.3 to 119.0.1 in /gerbera-web - Bump engine.io and socket.io in /gerbera-web - Bump socket.io-parser from 4.2.2 to 4.2.3 in /gerbera-web - Bump ua-parser-js from 0.7.32 to 0.7.33 in /gerbera-web - Bump webpack from 5.75.0 to 5.76.0 in /gerbera-web - Bump word-wrap from 1.2.3 to 1.2.4 in /gerbera-web - Clean up physical entries in subdirectories - Clean up unreferenced items - Clients: Add detection for FSL radios - Clients: Support hiding resource types - Config WebUI: Catch up with all config changes - Config: Add follow-symlinks for autoscan - Config: Add required BoxLayout values from default - Config: Add support for time specifications - Config: Generate Example Configuration - Database items sorting case insensitive - DB rework playstatus save - DB: Don't fail on uncritical operations. - debian: bookworm is now stable - Display message on home screen when database is empty - Doc: Compile libupnp --disable-blocking-tcp-connections - Docker: Add JPEG libs - Docker: git badge update - Document dependency installation on Debian 12 - Fix "virtual-directories" heading level in documentation - Fix conan - Fix for empty path - Fix handling transcoding requests - Fix import and documentation links - Fix processing for M_DATE and M_CREATION_DATE on FFmpeg handler. - Fix spelling errors reported by lintian - Fix troff warning - Fully implement Thumbnail handling for grb mode - Gerbera-Web: Update npm packages - Import: Add staged import process - Import: Fix LastModified for grb-mode - Import: Handle really short file names correctly - Import: Icon handling and other leftovers - Import: Improve handling of thumbnails in mt-mode - Keep our unique_ptrs for the xml in scope until we are finished with … - Playlist: Add support for boxlayout - Quirks: Check for clientInfo - README: fix CI badge - Restore duktape 2.3 support - Rework javascript mechanism - Samsung: Handle browse for content class correctly - Scripting docs: Fix importFile parameter name - Scripting: Log stacktrace on errors - Scripting: Remove debugging leftover - Set defaults for autoscan settings - Transcode: Wildcards for mime type filter - Transcoding: Improve docs and examples - Transcoding: option to filter mime types with wildcard - Update build for libexiv2 - Update Documentation - Update Library Versions and Documentation - Update README.Docker.md -Add docker volume section - Update supported-devices.rst - Update to latest npm packages - Update Ubuntu Version - Update version of libfmt - Update versions of exiv2, fmt, spdlog, googletest and taglib - Upnp: Add client flag to send simple date only - Use new ffmpeg channel layout API - WebUI: Database View - don't allow deleting dynamic containers - WebUI: Fix display of time values - WebUI: Update JS libs - WebUI: Update popper to 2.11.6 / Update MD5 to 2.19.0 @ text @$NetBSD: patch-2840,v 1.1 2023/08/07 10:05:20 adam Exp $ buildfix: support fmtlib 10 https://github.com/gerbera/gerbera/pull/2840 --- src/config/setup/config_setup_array.cc +++ src/config/setup/config_setup_array.cc @@@@ -137,11 +137,11 @@@@ std::vector ConfigArraySetup::getXmlContent(const pugi::xml_node& o std::vector result; if (initArray) { if (!initArray(optValue, result, ConfigDefinition::mapConfigOption(nodeOption))) { - throw_std_runtime_error("Invalid {} array value '{}'", xpath, optValue); + throw_std_runtime_error("Invalid {} array value '{}'", xpath, optValue.name()); } } else { if (!createOptionFromNode(optValue, result)) { - throw_std_runtime_error("Invalid {} array value '{}'", xpath, optValue); + throw_std_runtime_error("Invalid {} array value '{}'", xpath, optValue.name()); } } if (result.empty()) { @@@@ -150,7 +150,7 @@@@ std::vector ConfigArraySetup::getXmlContent(const pugi::xml_node& o result = defaultEntries; } if (notEmpty && result.empty()) { - throw_std_runtime_error("Invalid array {} empty '{}'", xpath, optValue); + throw_std_runtime_error("Invalid array {} empty '{}'", xpath, optValue.name()); } return result; } --- src/config/setup/config_setup_autoscan.cc +++ src/config/setup/config_setup_autoscan.cc @@@@ -245,7 +245,7 @@@@ std::shared_ptr ConfigAutoscanSetup::newOption(const pugi::xml_nod { auto result = std::vector(); if (!createOptionFromNode(optValue, result)) { - throw_std_runtime_error("Init {} autoscan failed '{}'", xpath, optValue); + throw_std_runtime_error("Init {} autoscan failed '{}'", xpath, optValue.name()); } optionValue = std::make_shared(result); return optionValue; --- src/config/setup/config_setup_client.cc +++ src/config/setup/config_setup_client.cc @@@@ -183,7 +183,7 @@@@ std::shared_ptr ConfigClientSetup::newOption(const pugi::xml_node& auto result = std::make_shared(); if (!createOptionFromNode(isEnabled ? optValue : pugi::xml_node(nullptr), result)) { - throw_std_runtime_error("Init {} client config failed '{}'", xpath, optValue); + throw_std_runtime_error("Init {} client config failed '{}'", xpath, optValue.name()); } optionValue = std::make_shared(result); return optionValue; --- src/config/setup/config_setup_dictionary.cc +++ src/config/setup/config_setup_dictionary.cc @@@@ -163,11 +163,11 @@@@ std::map ConfigDictionarySetup::getXmlContent(const pu std::map result; if (initDict) { if (!initDict(optValue, result)) { - throw_std_runtime_error("Init {} dictionary failed '{}'", xpath, optValue); + throw_std_runtime_error("Init {} dictionary failed '{}'", xpath, optValue.name()); } } else { if (!createOptionFromNode(optValue, result) && required) { - throw_std_runtime_error("Init {} dictionary failed '{}'", xpath, optValue); + throw_std_runtime_error("Init {} dictionary failed '{}'", xpath, optValue.name()); } } if (result.empty()) { @@@@ -176,7 +176,7 @@@@ std::map ConfigDictionarySetup::getXmlContent(const pu result = defaultEntries; } if (notEmpty && result.empty()) { - throw_std_runtime_error("Invalid dictionary {} empty '{}'", xpath, optValue); + throw_std_runtime_error("Invalid dictionary {} empty '{}'", xpath, optValue.name()); } return result; } --- src/config/setup/config_setup_dynamic.cc +++ src/config/setup/config_setup_dynamic.cc @@@@ -192,7 +192,7 @@@@ std::shared_ptr ConfigDynamicContentSetup::newOption(const pugi::x auto result = std::make_shared(); if (!createOptionFromNode(optValue, result)) { - throw_std_runtime_error("Init {} DynamicContentList failed '{}'", xpath, optValue); + throw_std_runtime_error("Init {} DynamicContentList failed '{}'", xpath, optValue.name()); } optionValue = std::make_shared(result); return optionValue; --- src/config/setup/config_setup_transcoding.cc +++ src/config/setup/config_setup_transcoding.cc @@@@ -501,7 +501,7 @@@@ std::shared_ptr ConfigTranscodingSetup::newOption(const pugi::xml_ auto result = std::make_shared(); if (!createOptionFromNode(isEnabled ? optValue : pugi::xml_node(nullptr), result)) { - throw_std_runtime_error("Init {} transcoding failed '{}'", xpath, optValue); + throw_std_runtime_error("Init {} transcoding failed '{}'", xpath, optValue.name()); } optionValue = std::make_shared(result); return optionValue; --- src/config/setup/config_setup_tweak.cc +++ src/config/setup/config_setup_tweak.cc @@@@ -257,7 +257,7 @@@@ std::shared_ptr ConfigDirectorySetup::newOption(const pugi::xml_no auto result = std::make_shared(); if (!createOptionFromNode(optValue, result)) { - throw_std_runtime_error("Init {} DirectoryConfigList failed '{}'", xpath, optValue); + throw_std_runtime_error("Init {} DirectoryConfigList failed '{}'", xpath, optValue.name()); } optionValue = std::make_shared(result); return optionValue; --- src/config/setup/config_setup_vector.cc +++ src/config/setup/config_setup_vector.cc @@@@ -181,7 +181,7 @@@@ std::vector>> ConfigVectorSetup: { std::vector>> result; if (!createOptionFromNode(optValue, result) && required) { - throw_std_runtime_error("Init {} vector failed '{}'", xpath, optValue); + throw_std_runtime_error("Init {} vector failed '{}'", xpath, optValue.name()); } if (result.empty()) { log_debug("{} assigning {} default values", xpath, defaultEntries.size()); @@@@ -189,7 +189,7 @@@@ std::vector>> ConfigVectorSetup: result = defaultEntries; } if (notEmpty && result.empty()) { - throw_std_runtime_error("Invalid vector {} empty '{}'", xpath, optValue); + throw_std_runtime_error("Invalid vector {} empty '{}'", xpath, optValue.name()); } return result; } @ 1.1 log @gerbera: fix build with fmtlib 10 - pull request patch @ text @d1 1 a1 1 $NetBSD$ @