head 1.5; access; symbols pkgsrc-2022Q2:1.1.0.4 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.2 pkgsrc-2022Q1-base:1.1; locks; strict; comment @// @; 1.5 date 2026.06.25.08.16.53; author wiz; state Exp; branches; next 1.4; commitid BpEIr6md5BNQE9LG; 1.4 date 2022.11.30.21.28.36; author adam; state dead; branches; next 1.3; commitid JJ8akW2IbwY9VL3E; 1.3 date 2022.10.06.08.41.03; author nros; state Exp; branches; next 1.2; commitid oMtCLbh2uXbArDWD; 1.2 date 2022.07.11.11.49.48; author adam; state dead; branches; next 1.1; commitid mO9hcalHL58yhtLD; 1.1 date 2022.02.08.06.26.49; author khorben; state Exp; branches; next ; commitid Z7TA2KOcFDeKpMrD; desc @@ 1.5 log @gerbera: fix build Not sure where these std:: problems come from, the fmt changes are needed for fmtlib 12.2.0 @ text @$NetBSD$ Fix build. https://github.com/gerbera/gerbera/issues/3897 --- src/util/string_converter.cc.orig 2026-06-25 08:04:46.598053683 +0000 +++ src/util/string_converter.cc @@@@ -144,7 +144,7 @@@@ std::pair StringConverter::_ #endif if (ret == -1) { - std::string err = fmt::format("iconv: {}", std::strerror(errno)); + std::string err = fmt::format("iconv: {}", strerror(errno)); switch (errno) { case EILSEQ: case EINVAL: { @ 1.4 log @gerbera: updated to 1.12.0 v1.12.0 NEW Features - Support for NFO files as additional resources: Set up in `resources` and place nfo-files (https://kodi.wiki/view/NFO_files/Templates) next to your media files. - Tweaking mimetypes for clients - Editing Flags in web UI - More statistics on web UI - Add support for ip subnets in client config - Defaults for virtual container upnp class - Configuration for SQLite database modes - Offline mode for initial scan large libraries FIXES - Database update on autoscan table - Transcoding for external items - Sqlite errors because of deleted objects - Sorting by certain keys - Broken path comparison (skipped renaming, adding files) - Update docker images to alpine 3.16 Code Improvements - Xml2Json rework - build with latest versions of pupnp (1.14.14), wavpack (5.5.0), ebml (1.4.4), matroska (1.7.1), exiv2 (0.27.5), fmt (9.1.0) and spdlog (1.10.0) - Further Cleanups General If you activated nfo-metafile resources you have to reimport your media files. @ text @d1 1 a1 1 $NetBSD: patch-src_util_string__converter.cc,v 1.3 2022/10/06 08:41:03 nros Exp $ d3 2 a4 1 * fix build on systems that have const in second argument to iconv d6 1 a6 1 --- src/util/string_converter.cc.orig 2022-10-06 08:09:22.564707578 +0000 d8 9 a16 11 @@@@ -122,8 +122,8 @@@@ std::string StringConverter::_convert(co // log_debug(("iconv: BEFORE: input bytes left: {} output bytes left: {}", // input_bytes, output_bytes)); #if defined(ICONV_CONST) || defined(SOLARIS) - int ret = iconv(cd, inputPtr, &input_bytes, - output_ptr, &output_bytes); + int ret = iconv(cd, inputPtr, &inputBytes, + outputPtr, &outputBytes); #else int ret = iconv(cd, const_cast(inputPtr), &inputBytes, outputPtr, &outputBytes); @ 1.3 log @gerbera: fix build on systems that use const in second argument to iconv @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @gerbera: updated to 1.11.0 Gerbera v1.11.0 NEW Features Database: Clients and statistics are stored database so restart does not empty client list. Client grouping for play statistics. Search: Support searching playlists containers Search: Respect ContainerID when performing search Import: item class filtering and mapping by file properties allows more sophisticated virtual structure Transcoding: Support filtering transcoding profiles by resource properties (like codecs) avoids transcoding if client can play files DLNA: Detect DNLA profiles by resource attributes to specify more detailled profile for handling in client File type support for WavPack improved: More metadata read with special library if compiled in. Support Ubuntu 22.04 FIXES Playlist: Fix parser error Playlist: Handle end of file properly Browsing: Sort containers first Search: search result is sort by title now Import: Timestamps in future are not stored for containers @ text @d1 1 a1 1 $NetBSD: patch-src_util_string__converter.cc,v 1.1 2022/02/08 06:26:49 khorben Exp $ d3 1 a3 1 Fix invalid cast d5 1 a5 1 --- src/util/string_converter.cc.orig 2021-09-30 19:23:27.000000000 +0000 d7 8 a14 3 @@@@ -129,7 +129,7 @@@@ std::string StringConverter::_convert(co ret = iconv(cd, input_ptr, &input_bytes, output_ptr, &output_bytes); d16 2 a17 5 - ret = iconv(cd, const_cast(input_ptr), &input_bytes, + ret = iconv(cd, const_cast(input_ptr), &input_bytes, output_ptr, &output_bytes); #endif @ 1.1 log @gerbera: import version 1.9.2 Gerbera is a UPnP media server which allows you to stream your digital media through your home network and consume it on a variety of UPnP compatible devices. Gerbera was originally based on MediaTomb. @ text @d1 1 a1 1 $NetBSD$ @