Mon Nov 1 09:51:07 2021 UTC ()
musicpd: update to 0.23.2.

ver 0.23.2 (2021/10/22)
* protocol
  - fix "albumart" timeout bug
* input
  - nfs: fix playback bug
* output
  - pipewire: send artist and title to PipeWire
  - pipewire: DSD support
* neighbor
  - mention failed plugin name in error message
* player
  - fix cross-fade regression
* fix crash with libfmt versions older than 7

ver 0.23.1 (2021/10/19)
* protocol
  - use decimal notation instead of scientific notation
  - "load" supports relative positions
* output
  - emit "mixer" idle event when replay gain changes volume
  - pipewire: emit "mixer" idle events on external volume change
  - pipewire: attempt to change the graph sample rate
  - snapcast: fix time stamp bug which caused "Failed to get chunk"
* fix libfmt linker problems
* fix broken password authentication

ver 0.23 (2021/10/14)
* protocol
  - new command "getvol"
  - show the audio format in "playlistinfo"
  - support "listfiles" with arbitrary storage plugins
  - support relative positions in "addid"
  - fix relative positions in "move" and "moveid"
  - add "position" parameter to "findadd" and "searchadd"
  - add position parameter to "load"
* database
  - proxy: require MPD 0.20 or later
  - proxy: require libmpdclient 2.11 or later
  - proxy: split search into chunks to avoid exceeding the output buffer
  - simple: add option to hide CUE target songs
  - upnp: support libnpupnp instead of libupnp
* archive
  - zzip, iso9660: ignore file names which are invalid UTF-8
* decoder
  - openmpt: new plugin
  - wavpack: fix WVC file support
* player
  - do not cross-fade songs shorter than 20 seconds
* output
  - oss: support DSD over PCM
  - pipewire: new plugin
  - snapcast: new plugin
* tags
  - new tags "ComposerSort", "Ensemble", "Movement", "MovementNumber", and "Location"
* split permission "player" from "control"
* add option "host_permissions"
* new build-time dependency: libfmt


(wiz)
diff -r1.250 -r1.251 pkgsrc/audio/musicpd/Makefile
diff -r1.16 -r1.17 pkgsrc/audio/musicpd/PLIST
diff -r1.129 -r1.130 pkgsrc/audio/musicpd/distinfo
diff -r1.37 -r1.38 pkgsrc/audio/musicpd/options.mk

cvs diff -r1.250 -r1.251 pkgsrc/audio/musicpd/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/musicpd/Makefile 2021/10/09 15:35:03 1.250
+++ pkgsrc/audio/musicpd/Makefile 2021/11/01 09:51:07 1.251
@@ -1,20 +1,19 @@ @@ -1,20 +1,19 @@
1# $NetBSD: Makefile,v 1.250 2021/10/09 15:35:03 nia Exp $ 1# $NetBSD: Makefile,v 1.251 2021/11/01 09:51:07 wiz Exp $
2 2
3DISTNAME= mpd-0.22.11 3DISTNAME= mpd-0.23.2
4PKGNAME= ${DISTNAME:S/mpd/musicpd/} 4PKGNAME= ${DISTNAME:S/mpd/musicpd/}
5PKGREVISION= 3 
6CATEGORIES= audio 5CATEGORIES= audio
7MASTER_SITES= https://www.musicpd.org/download/mpd/0.22/ 6MASTER_SITES= https://www.musicpd.org/download/mpd/${PKGVERSION_NOREV:R}/
8EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://www.musicpd.org/ 10HOMEPAGE= https://www.musicpd.org/
12COMMENT= Remote controllable audio player 11COMMENT= Remote controllable audio player
13LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
14 13
15CONFLICTS= mpd-[0-9]* 14CONFLICTS= mpd-[0-9]*
16 15
17USE_TOOLS+= pkg-config 16USE_TOOLS+= pkg-config
18USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
19 18
20# The upstream changelog recommends gcc8, but it compiles fine with 7.5.0 19# The upstream changelog recommends gcc8, but it compiles fine with 7.5.0
@@ -122,16 +121,17 @@ BUILDLINK_API_DEPENDS.flac+= flac>=1.2 @@ -122,16 +121,17 @@ BUILDLINK_API_DEPENDS.flac+= flac>=1.2
122.include "../../audio/flac/buildlink3.mk" 121.include "../../audio/flac/buildlink3.mk"
123.include "../../audio/libid3tag/buildlink3.mk" 122.include "../../audio/libid3tag/buildlink3.mk"
124.include "../../audio/libopus/buildlink3.mk" 123.include "../../audio/libopus/buildlink3.mk"
125.include "../../audio/libsndfile/buildlink3.mk" 124.include "../../audio/libsndfile/buildlink3.mk"
126.include "../../audio/mpg123/buildlink3.mk" 125.include "../../audio/mpg123/buildlink3.mk"
127.include "../../databases/sqlite3/buildlink3.mk" 126.include "../../databases/sqlite3/buildlink3.mk"
128.include "../../devel/boost-libs/buildlink3.mk" 127.include "../../devel/boost-libs/buildlink3.mk"
129.include "../../devel/pcre/buildlink3.mk" 128.include "../../devel/pcre/buildlink3.mk"
130.include "../../devel/zlib/buildlink3.mk" 129.include "../../devel/zlib/buildlink3.mk"
131.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 130.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
132.include "../../lang/python/versioned_dependencies.mk" 131.include "../../lang/python/versioned_dependencies.mk"
133.include "../../security/libgcrypt/buildlink3.mk" 132.include "../../security/libgcrypt/buildlink3.mk"
134.include "../../textproc/expat/buildlink3.mk" 133.include "../../textproc/expat/buildlink3.mk"
 134.include "../../textproc/fmtlib/buildlink3.mk"
135.include "../../textproc/icu/buildlink3.mk" 135.include "../../textproc/icu/buildlink3.mk"
136.include "../../mk/pthread.buildlink3.mk" 136.include "../../mk/pthread.buildlink3.mk"
137.include "../../mk/bsd.pkg.mk" 137.include "../../mk/bsd.pkg.mk"

cvs diff -r1.16 -r1.17 pkgsrc/audio/musicpd/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/musicpd/PLIST 2021/04/07 11:17:54 1.16
+++ pkgsrc/audio/musicpd/PLIST 2021/11/01 09:51:07 1.17
@@ -1,44 +1,46 @@ @@ -1,44 +1,46 @@
1@comment $NetBSD: PLIST,v 1.16 2021/04/07 11:17:54 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.17 2021/11/01 09:51:07 wiz Exp $
2bin/mpd 2bin/mpd
3man/man1/mpd.1 3man/man1/mpd.1
4man/man5/mpd.conf.5 4man/man5/mpd.conf.5
5share/doc/mpd/AUTHORS 5share/doc/mpd/AUTHORS
6share/doc/mpd/COPYING 6share/doc/mpd/COPYING
7share/doc/mpd/NEWS 7share/doc/mpd/NEWS
8share/doc/mpd/README.md 8share/doc/mpd/README.md
9share/doc/mpd/html/.buildinfo 9share/doc/mpd/html/.buildinfo
 10share/doc/mpd/html/_sources/client.rst.txt
10share/doc/mpd/html/_sources/developer.rst.txt 11share/doc/mpd/html/_sources/developer.rst.txt
11share/doc/mpd/html/_sources/index.rst.txt 12share/doc/mpd/html/_sources/index.rst.txt
12share/doc/mpd/html/_sources/mpd.1.rst.txt 13share/doc/mpd/html/_sources/mpd.1.rst.txt
13share/doc/mpd/html/_sources/mpd.conf.5.rst.txt 14share/doc/mpd/html/_sources/mpd.conf.5.rst.txt
14share/doc/mpd/html/_sources/plugins.rst.txt 15share/doc/mpd/html/_sources/plugins.rst.txt
15share/doc/mpd/html/_sources/protocol.rst.txt 16share/doc/mpd/html/_sources/protocol.rst.txt
16share/doc/mpd/html/_sources/user.rst.txt 17share/doc/mpd/html/_sources/user.rst.txt
17share/doc/mpd/html/_static/basic.css 18share/doc/mpd/html/_static/basic.css
18share/doc/mpd/html/_static/classic.css 19share/doc/mpd/html/_static/classic.css
19share/doc/mpd/html/_static/doctools.js 20share/doc/mpd/html/_static/doctools.js
20share/doc/mpd/html/_static/documentation_options.js 21share/doc/mpd/html/_static/documentation_options.js
21share/doc/mpd/html/_static/file.png 22share/doc/mpd/html/_static/file.png
22share/doc/mpd/html/_static/jquery-3.5.1.js 23share/doc/mpd/html/_static/jquery-3.5.1.js
23share/doc/mpd/html/_static/jquery.js 24share/doc/mpd/html/_static/jquery.js
24share/doc/mpd/html/_static/language_data.js 25share/doc/mpd/html/_static/language_data.js
25share/doc/mpd/html/_static/minus.png 26share/doc/mpd/html/_static/minus.png
26share/doc/mpd/html/_static/plus.png 27share/doc/mpd/html/_static/plus.png
27share/doc/mpd/html/_static/pygments.css 28share/doc/mpd/html/_static/pygments.css
28share/doc/mpd/html/_static/searchtools.js 29share/doc/mpd/html/_static/searchtools.js
29share/doc/mpd/html/_static/sidebar.js 30share/doc/mpd/html/_static/sidebar.js
30share/doc/mpd/html/_static/underscore-1.12.0.js 31share/doc/mpd/html/_static/underscore-1.13.1.js
31share/doc/mpd/html/_static/underscore.js 32share/doc/mpd/html/_static/underscore.js
 33share/doc/mpd/html/client.html
32share/doc/mpd/html/developer.html 34share/doc/mpd/html/developer.html
33share/doc/mpd/html/genindex.html 35share/doc/mpd/html/genindex.html
34share/doc/mpd/html/index.html 36share/doc/mpd/html/index.html
35share/doc/mpd/html/mpd.1.html 37share/doc/mpd/html/mpd.1.html
36share/doc/mpd/html/mpd.conf.5.html 38share/doc/mpd/html/mpd.conf.5.html
37share/doc/mpd/html/objects.inv 39share/doc/mpd/html/objects.inv
38share/doc/mpd/html/plugins.html 40share/doc/mpd/html/plugins.html
39share/doc/mpd/html/protocol.html 41share/doc/mpd/html/protocol.html
40share/doc/mpd/html/search.html 42share/doc/mpd/html/search.html
41share/doc/mpd/html/searchindex.js 43share/doc/mpd/html/searchindex.js
42share/doc/mpd/html/user.html 44share/doc/mpd/html/user.html
43share/examples/mpd/mpd.conf 45share/examples/mpd/mpd.conf
44share/examples/mpd/mpdconf.example 46share/examples/mpd/mpdconf.example

cvs diff -r1.129 -r1.130 pkgsrc/audio/musicpd/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/musicpd/distinfo 2021/10/26 09:59:17 1.129
+++ pkgsrc/audio/musicpd/distinfo 2021/11/01 09:51:07 1.130
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.129 2021/10/26 09:59:17 nia Exp $ 1$NetBSD: distinfo,v 1.130 2021/11/01 09:51:07 wiz Exp $
2 2
3BLAKE2s (mpd-0.22.11.tar.xz) = 765445aca3b2f1eb6dbcca40aecf79b527f84757b00061206856c48adfe86bee 3BLAKE2s (mpd-0.23.2.tar.xz) = 941b856fa80b0999e34cb6b5d42e37b31d446cb0719018ffef65d7b752e2a662
4SHA512 (mpd-0.22.11.tar.xz) = c53d386d42c2360502aad5e7574ae5ff76a20df037696989f9e1700f9cffb88afdd329cce758067356c59308d0cbcf3ba3ccf6f013e2fcec54ddf08bd0212b43 4SHA512 (mpd-0.23.2.tar.xz) = f30c27baeccc0bc115e8d9c05754fa5f0b68c713c0b6c7516e806fc17c52f062367a044638304477af9f9c2471d82a8a1037b6c7736be4f96c6c9d57ebfcaf1f
5Size (mpd-0.22.11.tar.xz) = 737184 bytes 5Size (mpd-0.23.2.tar.xz) = 766340 bytes
6SHA1 (patch-src_net_IPv6Address.hxx) = 3e0ad6e63a970a17d0d8b2403acc538d8b08342e 6SHA1 (patch-src_net_IPv6Address.hxx) = 3e0ad6e63a970a17d0d8b2403acc538d8b08342e

cvs diff -r1.37 -r1.38 pkgsrc/audio/musicpd/options.mk (expand / switch to unified diff)

--- pkgsrc/audio/musicpd/options.mk 2021/03/15 13:15:56 1.37
+++ pkgsrc/audio/musicpd/options.mk 2021/11/01 09:51:07 1.38
@@ -1,31 +1,37 @@ @@ -1,31 +1,37 @@
1# $NetBSD: options.mk,v 1.37 2021/03/15 13:15:56 nia Exp $ 1# $NetBSD: options.mk,v 1.38 2021/11/01 09:51:07 wiz Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd 3PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd
4 4
5# audio outputs 5# audio outputs
6PKG_SUPPORTED_OPTIONS+= jack openal libao pulseaudio 6PKG_SUPPORTED_OPTIONS+= jack openal libao pulseaudio
7# codecs 7# codecs
8PKG_SUPPORTED_OPTIONS+= adplug faad ffmpeg fluidsynth libgme libwildmidi 8PKG_SUPPORTED_OPTIONS+= adplug faad ffmpeg fluidsynth libgme libwildmidi
9PKG_SUPPORTED_OPTIONS+= mikmod modplug musepack sidplay wavpack 9PKG_SUPPORTED_OPTIONS+= mikmod modplug musepack wavpack
10# codecs (encoding only) 10# codecs (encoding only)
11PKG_SUPPORTED_OPTIONS+= lame shine twolame 11PKG_SUPPORTED_OPTIONS+= lame shine twolame
12# archive formats 12# archive formats
13PKG_SUPPORTED_OPTIONS+= bzip2 zziplib 13PKG_SUPPORTED_OPTIONS+= bzip2 zziplib
14# networking/comms 14# networking/comms
15PKG_SUPPORTED_OPTIONS+= avahi curl dbus libmms samba shout upnp 15PKG_SUPPORTED_OPTIONS+= avahi curl dbus libmms samba shout upnp
16# misc 16# misc
17PKG_SUPPORTED_OPTIONS+= cdparanoia chromaprint musicpd-soundcloud libmpdclient 17PKG_SUPPORTED_OPTIONS+= cdparanoia chromaprint musicpd-soundcloud libmpdclient
18 18
 19# no packages yet
 20# pipewire
 21# snapcast
 22# currently broken build:
 23# sid
 24
19PKG_SUGGESTED_OPTIONS= curl faad ffmpeg libao musepack samplerate shout vorbis 25PKG_SUGGESTED_OPTIONS= curl faad ffmpeg libao musepack samplerate shout vorbis
20PKG_SUGGESTED_OPTIONS+= wavpack 26PKG_SUGGESTED_OPTIONS+= wavpack
21 27
22PKG_OPTIONS_LEGACY_OPTS+= game-music-emu:libgme 28PKG_OPTIONS_LEGACY_OPTS+= game-music-emu:libgme
23 29
24PKG_OPTIONS_OPTIONAL_GROUPS= resampler vorbis 30PKG_OPTIONS_OPTIONAL_GROUPS= resampler vorbis
25PKG_OPTIONS_GROUP.vorbis= tremor vorbis 31PKG_OPTIONS_GROUP.vorbis= tremor vorbis
26PKG_OPTIONS_GROUP.resampler= samplerate libsoxr 32PKG_OPTIONS_GROUP.resampler= samplerate libsoxr
27 33
28.include "../../mk/bsd.options.mk" 34.include "../../mk/bsd.options.mk"
29 35
30.if !empty(PKG_OPTIONS:Madplug) 36.if !empty(PKG_OPTIONS:Madplug)
31. include "../../audio/adplug/buildlink3.mk" 37. include "../../audio/adplug/buildlink3.mk"
@@ -109,26 +115,27 @@ MESON_ARGS+= -Dlame=disabled @@ -109,26 +115,27 @@ MESON_ARGS+= -Dlame=disabled
109.if !empty(PKG_OPTIONS:Mlibao) 115.if !empty(PKG_OPTIONS:Mlibao)
110. include "../../audio/libao/buildlink3.mk" 116. include "../../audio/libao/buildlink3.mk"
111.else 117.else
112MESON_ARGS+= -Dao=disabled 118MESON_ARGS+= -Dao=disabled
113.endif 119.endif
114 120
115.if !empty(PKG_OPTIONS:Mlibmms) 121.if !empty(PKG_OPTIONS:Mlibmms)
116. include "../../net/libmms/buildlink3.mk" 122. include "../../net/libmms/buildlink3.mk"
117.else 123.else
118MESON_ARGS+= -Dmms=disabled 124MESON_ARGS+= -Dmms=disabled
119.endif 125.endif
120 126
121.if !empty(PKG_OPTIONS:Mlibmpdclient) 127.if !empty(PKG_OPTIONS:Mlibmpdclient)
 128BUILDLINK_API_DEPENDS.libmpdclient+= libmpdclient>=2.11
122. include "../../audio/libmpdclient/buildlink3.mk" 129. include "../../audio/libmpdclient/buildlink3.mk"
123.else 130.else
124MESON_ARGS+= -Dlibmpdclient=disabled 131MESON_ARGS+= -Dlibmpdclient=disabled
125.endif 132.endif
126 133
127.if !empty(PKG_OPTIONS:Mlibsoxr) 134.if !empty(PKG_OPTIONS:Mlibsoxr)
128. include "../../audio/libsoxr/buildlink3.mk" 135. include "../../audio/libsoxr/buildlink3.mk"
129.else 136.else
130MESON_ARGS+= -Dsoxr=disabled 137MESON_ARGS+= -Dsoxr=disabled
131.endif 138.endif
132 139
133.if !empty(PKG_OPTIONS:Mlibwildmidi) 140.if !empty(PKG_OPTIONS:Mlibwildmidi)
134. include "../../audio/libwildmidi/buildlink3.mk" 141. include "../../audio/libwildmidi/buildlink3.mk"
@@ -181,31 +188,32 @@ MESON_ARGS+= -Dsmbclient=disabled @@ -181,31 +188,32 @@ MESON_ARGS+= -Dsmbclient=disabled
181 188
182.if !empty(PKG_OPTIONS:Msamplerate) 189.if !empty(PKG_OPTIONS:Msamplerate)
183. include "../../audio/libsamplerate/buildlink3.mk" 190. include "../../audio/libsamplerate/buildlink3.mk"
184.else 191.else
185MESON_ARGS+= -Dsamplerate=disabled 192MESON_ARGS+= -Dsamplerate=disabled
186.endif 193.endif
187 194
188.if !empty(PKG_OPTIONS:Mshine) 195.if !empty(PKG_OPTIONS:Mshine)
189. include "../../audio/shine/buildlink3.mk" 196. include "../../audio/shine/buildlink3.mk"
190.else 197.else
191MESON_ARGS+= -Dshine=disabled 198MESON_ARGS+= -Dshine=disabled
192.endif 199.endif
193 200
194.if !empty(PKG_OPTIONS:Msidplay) 201# src/decoder/plugins/meson.build:170:6: ERROR: C++ shared or static library 'resid-builder' not found
195. include "../../audio/libsidplay2/buildlink3.mk" 202#.if !empty(PKG_OPTIONS:Msidplay)
196.else 203#. include "../../audio/libsidplay2/buildlink3.mk"
197MESON_ARGS+= -Dsidplay=disabled 204#.else
198.endif 205#MESON_ARGS+= -Dsidplay=disabled
 206#.endif
199 207
200.if !empty(PKG_OPTIONS:Mshout) 208.if !empty(PKG_OPTIONS:Mshout)
201. include "../../audio/libshout/buildlink3.mk" 209. include "../../audio/libshout/buildlink3.mk"
202. include "../../audio/lame/buildlink3.mk" 210. include "../../audio/lame/buildlink3.mk"
203.else 211.else
204MESON_ARGS+= -Dshout=disabled 212MESON_ARGS+= -Dshout=disabled
205.endif 213.endif
206 214
207.if !empty(PKG_OPTIONS:Mtremor) 215.if !empty(PKG_OPTIONS:Mtremor)
208. include "../../audio/tremor/buildlink3.mk" 216. include "../../audio/tremor/buildlink3.mk"
209.else 217.else
210MESON_ARGS+= -Dtremor=disabled 218MESON_ARGS+= -Dtremor=disabled
211.endif 219.endif
@@ -213,26 +221,28 @@ MESON_ARGS+= -Dtremor=disabled @@ -213,26 +221,28 @@ MESON_ARGS+= -Dtremor=disabled
213.if !empty(PKG_OPTIONS:Mtwolame) 221.if !empty(PKG_OPTIONS:Mtwolame)
214. include "../../audio/twolame/buildlink3.mk" 222. include "../../audio/twolame/buildlink3.mk"
215.else 223.else
216MESON_ARGS+= -Dtwolame=disabled 224MESON_ARGS+= -Dtwolame=disabled
217.endif 225.endif
218 226
219.if !empty(PKG_OPTIONS:Mvorbis) 227.if !empty(PKG_OPTIONS:Mvorbis)
220. include "../../audio/libvorbis/buildlink3.mk" 228. include "../../audio/libvorbis/buildlink3.mk"
221.else 229.else
222MESON_ARGS+= -Dvorbis=disabled 230MESON_ARGS+= -Dvorbis=disabled
223MESON_ARGS+= -Dvorbisenc=disabled 231MESON_ARGS+= -Dvorbisenc=disabled
224.endif 232.endif
225 233
 234# should switch to libnpupnp, not packaged yet
 235# waiting for release https://framagit.org/medoc92/npupnp/-/issues/20
226.if !empty(PKG_OPTIONS:Mupnp) 236.if !empty(PKG_OPTIONS:Mupnp)
227. include "../../net/libupnp/buildlink3.mk" 237. include "../../net/libupnp/buildlink3.mk"
228.else 238.else
229MESON_ARGS+= -Dupnp=disabled 239MESON_ARGS+= -Dupnp=disabled
230.endif 240.endif
231 241
232.if !empty(PKG_OPTIONS:Mwavpack) 242.if !empty(PKG_OPTIONS:Mwavpack)
233. include "../../audio/wavpack/buildlink3.mk" 243. include "../../audio/wavpack/buildlink3.mk"
234.else 244.else
235MESON_ARGS+= -Dwavpack=disabled 245MESON_ARGS+= -Dwavpack=disabled
236.endif 246.endif
237 247
238.if !empty(PKG_OPTIONS:Mzziplib) 248.if !empty(PKG_OPTIONS:Mzziplib)