Sat Feb 4 15:38:39 2023 UTC ()
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.


(nia)
diff -r1.45 -r1.46 pkgsrc/audio/strawberry/Makefile
diff -r1.23 -r1.24 pkgsrc/audio/strawberry/distinfo
diff -r1.1 -r0 pkgsrc/audio/strawberry/patches/patch-src_core_utilities.cpp
diff -r0 -r1.1 pkgsrc/audio/strawberry/patches/patch-src_utilities_transliterate.cpp

cvs diff -r1.45 -r1.46 pkgsrc/audio/strawberry/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/strawberry/Makefile 2023/01/29 21:15:31 1.45
+++ pkgsrc/audio/strawberry/Makefile 2023/02/04 15:38:39 1.46
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.45 2023/01/29 21:15:31 ryoon Exp $ 1# $NetBSD: Makefile,v 1.46 2023/02/04 15:38:39 nia Exp $
2 2
3DISTNAME= strawberry-1.0.10 3DISTNAME= strawberry-1.0.14
4PKGREVISION= 4 
5CATEGORIES= audio 4CATEGORIES= audio
6MASTER_SITES= ${MASTER_SITE_GITHUB:=strawberrymusicplayer/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=strawberrymusicplayer/}
7GITHUB_RELEASE= ${PKGVERSION_NOREV} 6GITHUB_RELEASE= ${PKGVERSION_NOREV}
8EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
9 8
10MAINTAINER= nia@NetBSD.org 9MAINTAINER= nia@NetBSD.org
11HOMEPAGE= https://www.strawberrymusicplayer.org/ 10HOMEPAGE= https://www.strawberrymusicplayer.org/
12COMMENT= Music player and music collection organizer (based on Clementine) 11COMMENT= Music player and music collection organizer (based on Clementine)
13LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
14 13
15TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools 14TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
16 15
17USE_CMAKE= yes 16USE_CMAKE= yes

cvs diff -r1.23 -r1.24 pkgsrc/audio/strawberry/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/strawberry/distinfo 2022/10/25 15:54:25 1.23
+++ pkgsrc/audio/strawberry/distinfo 2023/02/04 15:38:39 1.24
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.23 2022/10/25 15:54:25 nia Exp $ 1$NetBSD: distinfo,v 1.24 2023/02/04 15:38:39 nia Exp $
2 2
3BLAKE2s (strawberry-1.0.10.tar.xz) = afe47fc9c3e88364453de0b66de284ce46eca34908e1ee444dc46701a6b5c9b5 3BLAKE2s (strawberry-1.0.14.tar.xz) = 8c540a4dfd6173a6309b14880086b234a35e5ec2c415390c56c160dcabae208b
4SHA512 (strawberry-1.0.10.tar.xz) = f13115e5c91dacb508b3c4bf6cee5dd0c1866eae41b145cfcdb7f83dafaf277bc43e3be0b58c16b4b9aa855ef9a7756c53552804481ffae7c78ca929f3d5e8af 4SHA512 (strawberry-1.0.14.tar.xz) = bf667cb93b8f0ffdb8dc625df821bc4355e3845629ff25ed57d7999e19072edffab05f27dbea90adf0bb9a9cbe478856a292a1a6f7ed2c5f37442548699a4c02
5Size (strawberry-1.0.10.tar.xz) = 11220176 bytes 5Size (strawberry-1.0.14.tar.xz) = 11234760 bytes
6SHA1 (patch-src_analyzer_blockanalyzer.cpp) = e1e22a4ea278f03142f13fd8310730854a8ddc9a 6SHA1 (patch-src_analyzer_blockanalyzer.cpp) = e1e22a4ea278f03142f13fd8310730854a8ddc9a
7SHA1 (patch-src_analyzer_boomanalyzer.cpp) = 833bab9d6b59644c9acae662bc389bf731e507ad 7SHA1 (patch-src_analyzer_boomanalyzer.cpp) = 833bab9d6b59644c9acae662bc389bf731e507ad
8SHA1 (patch-src_core_utilities.cpp) = 4763a6a376d312a65a083fd798d4a34fe46a716f 8SHA1 (patch-src_utilities_transliterate.cpp) = 560be2ee9f98afa8d971bf58d26249424eda3c39

File Deleted: pkgsrc/audio/strawberry/patches/Attic/patch-src_core_utilities.cpp

File Added: pkgsrc/audio/strawberry/patches/patch-src_utilities_transliterate.cpp
$NetBSD: patch-src_utilities_transliterate.cpp,v 1.1 2023/02/04 15:38:39 nia Exp $

Support non-POSIX iconv prototype in NetBSD 9/earlier and SunOS.

--- src/utilities/transliterate.cpp.orig	2022-12-28 21:54:04.427431913 +0000
+++ src/utilities/transliterate.cpp
@@ -34,6 +34,15 @@
 
 #include "transliterate.h"
 
+#if defined(__NetBSD__)
+#include <sys/param.h>
+#if __NetBSD_Prereq__(9,99,17)
+#define NETBSD_POSIX_ICONV 1
+#else
+#define NETBSD_POSIX_ICONV 0
+#endif
+#endif
+
 namespace Utilities {
 
 QString Transliterate(const QString &accented_str) {
@@ -76,7 +85,11 @@ QString Transliterate(const QString &acc
 
   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);