head 1.2; access; symbols pkgsrc-2022Q4:1.1.0.6 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.4 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.2 pkgsrc-2022Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2023.02.04.15.38.39; author nia; state dead; branches; next 1.1; commitid vB2stSQSWeCyRdcE; 1.1 date 2022.06.22.09.36.49; author nia; state Exp; branches; next ; commitid QKJbWn1w9AuT91JD; desc @@ 1.2 log @strawberry: update to 1.0.14 Version 1.0.14 (2023.01.13): Bugfixes: * Fix initial volume not set when using Auto as output * Fix saving moodbar if the URL contains host, ie.: UNC paths for SMB * Fix CollectionBackendTest compile error * Remove explicitly enabling debug messages Version 1.0.13 (2023.01.09): Bugfixes: * Fixed volume synchronization leading to infinite loop resulting in crash when adjusting volume while playing * Fixed incorrect volume. * Fixed collection organizing incorrectly handling slashes inside {} brackets for variables * Fixed saving relative playlists to non-existing playlist files * Fixed intermittent crash on collection model query * Require system icons for fancy tabbar and settings sidebar to be larger than 22x22 Version 1.0.12 (2023.01.02): Bugfixes: * Fixed crash when adjusting volume with mouse wheel * Fixed playback stopping in certain cases where the next track was unavailable Removed features: * Removed appearance settings for changing palette colors, it was never properly implemented. Version 1.0.11 (2022.12.30): Bugfixes: * Capitalize GLib application name so it appears nicely in GNOME and PulseAudio Volume Control * Fixed missing application icon for PulseAudio Volume Control * Ignore errors for missing albums when updating Tidal collection if there are results * Only run periodic collection scan when moitoring collection setting is on. * Fixed an edge case where the context headline text was being cut short * Made "Show in file browser" support SpaceFM filemanager * Fixed incorrect tab order in edit tag dialog * Changed "FMPS_PlayCount" to "FMPS_Playcount" when saving tag * Fixed compilation tag read and write for MP4 * Removed incorrect use of "TPE1" for performer when reading ID3 tags * Disable tag fields for unsupported tags in tag editor. * Don't allow organizing files without unique tags (track or title) for filename * Don't remove disc from album title when creating cover hash to allow different covers for each disc on an album * Fixed incorrect relative paths for song filenames when saving playlists if the saved playlist location is a symablic link to the song filename * Scrobble "Various Artists" as album artist (#1082). Enhancements: * Use system volume instead of own software volume when available (#1037). * Improved Tidal and Qobuz support with timed requests. * Support MPRIS2 xesam:userRating. @ text @$NetBSD: patch-src_core_utilities.cpp,v 1.1 2022/06/22 09:36:49 nia Exp $ Support non-POSIX iconv prototype in NetBSD 9/earlier and SunOS. --- src/core/utilities.cpp.orig 2022-06-22 09:33:19.522006535 +0000 +++ src/core/utilities.cpp @@@@ -103,6 +103,15 @@@@ # include "scoped_cftyperef.h" #endif +#if defined(__NetBSD__) +#include +#if __NetBSD_Prereq__(9,99,17) +#define NETBSD_POSIX_ICONV 1 +#else +#define NETBSD_POSIX_ICONV 0 +#endif +#endif + namespace Utilities { static QString tr(const char *str) { @@@@ -807,7 +816,11 @@@@ QString UnicodeToAscii(const QString &un snprintf(input, input_len, "%s", utf8.constData()); +#if (defined(__NetBSD__) && !NETBSD_POSIX_ICONV) || defined(__sun) + iconv(conv, (const char **)&input, &input_len, &output, &output_len); +#else iconv(conv, &input, &input_len, &output, &output_len); +#endif iconv_close(conv); QString ret(output_ptr); @ 1.1 log @strawberry: Support non-POSIX iconv prototype in NetBSD 9 and earlier. @ text @d1 1 a1 1 $NetBSD$ @