pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/musicpd musicpd: update to 0.21.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4bc43a0c8fe7
branches:  trunk
changeset: 326642:4bc43a0c8fe7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Dec 11 10:37:20 2018 +0000

description:
musicpd: update to 0.21.3.

ver 0.21.3 (2018/11/16)
* output
  - alsa: fix crash bug
  - alsa: fix stuttering at start of playback
  - alsa: fix discarded samples at end of song
  - alsa: clear error after reopening device
* log: default to journal if MPD was started as systemd service

ver 0.21.2 (2018/11/12)
* protocol
  - operator "=~" matches a regular expression
  - operator "contains" matches substrings
* decoder
  - ffmpeg: require FFmpeg 3.1 or later
  - ffmpeg: fix broken sound with certain codecs
* output
  - alsa: fix high CPU usage with dmix
  - httpd: fix three crash bugs
* mixer
  - alsa: fix more rounding errors
* fix zlib support

ver 0.21.1 (2018/11/04)
* protocol
  - allow escaping quotes in filter expressions
  - operator "==" never searches substrings in filter expressions
* decoder
  - ffmpeg: fix build failure with non-standard FFmpeg installation path
  - flac: fix linker failure when building without FLAC support
* encoder
  - vorbis: fix linker failure when building without Vorbis decoder
* fix build failure on Linux-PowerPC
* fix build failure on FreeBSD
* eliminate DLL dependencies on Windows
* add warning about buggy Boost version 1.67
* require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build

ver 0.21 (2018/10/31)
* configuration
  - add "include" directive, allows including config files
  - incremental "metadata_to_use" setting
* protocol
  - "tagtypes" can be used to hide tags
  - "find" and "search" can sort
  - "outputs" prints the plugin name
  - "outputset" sets runtime attributes
  - close connection when client sends HTTP request
  - new filter syntax for "find"/"search" etc. with negation
* database
  - simple: scan audio formats
  - proxy: require libmpdclient 2.9
  - proxy: forward `sort` and `window` to server
* player
  - hard-code "buffer_before_play" to 1 second, independent of audio format
  - "one-shot" single mode
* input
  - curl: download to buffer instead of throttling transfer
  - qobuz: new plugin to play Qobuz streams
  - tidal: new plugin to play Tidal streams
* tags
  - new tags "OriginalDate", "MUSICBRAINZ_WORKID"
* decoder
  - ffmpeg: require at least version 11.12
  - gme: try loading m3u sidecar files
  - hybrid_dsd: new decoder plugin
  - mad: move "gapless_mp3_playback" setting to "decoder" block
  - mikmod: require at least version 3.2
  - pcm: support audio/L24 (RFC 3190)
  - sidplay: support basic and kernal rom (libsidplayfp)
* resampler
  - soxr: flush resampler at end of song
* output
  - alsa: non-blocking mode
  - alsa: change "dop" and "allowed_formats" settings at runtime
  - ao: fix crash bug due to partial frames
  - shout: support the Shine encoder plugin
  - sndio: remove support for the broken RoarAudio sndio emulation
  - osx: initial support for DSD over PCM
  - roar: removed
  - httpd_output: support for unix sockets
* mixer
  - sndio: new mixer plugin
* encoder
  - opus: support for sending metadata using ogg stream chaining
* listen on $XDG_RUNTIME_DIR/mpd/socket by default
* append hostname to Zeroconf service name
* systemd watchdog support
* require GCC 6
* build with Meson instead of autotools
* use GTest instead of cppunit

ver 0.20.23 (2018/10/29)
* protocol
  - emit "player" idle event when restarting the current song
* fix broken float to s32 conversion
* new clang crash bug workaround

ver 0.20.22 (2018/10/23)
* protocol
  - add tag fallbacks for AlbumArtistSort, ArtistSort
  - fix empty string filter on fallback tags
  - "count group ..." can print an empty group
  - fix broken command "list ... group"
* storage
  - curl: URL-encode paths
* decoder
  - fluidsynth: adapt to API change in version 2.0
* Android
  - now runs as a service
  - add button to start/stop MPD
  - add option to auto-start on boot
* work around clang bug leading to crash
* install the SVG icon

diffstat:

 audio/musicpd/Makefile                               |   25 ++-
 audio/musicpd/PLIST                                  |   43 ++++++-
 audio/musicpd/distinfo                               |   12 +-
 audio/musicpd/options.mk                             |  125 +-----------------
 audio/musicpd/patches/patch-src_client_ClientNew.cxx |   19 ++
 audio/musicpd/patches/patch-src_net_IPv6Address.hxx  |   25 +++
 6 files changed, 118 insertions(+), 131 deletions(-)

diffs (truncated from 484 to 300 lines):

diff -r 147cf34fb85a -r 4bc43a0c8fe7 audio/musicpd/Makefile
--- a/audio/musicpd/Makefile    Tue Dec 11 10:15:55 2018 +0000
+++ b/audio/musicpd/Makefile    Tue Dec 11 10:37:20 2018 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.176 2018/12/09 18:52:16 adam Exp $
+# $NetBSD: Makefile,v 1.177 2018/12/11 10:37:20 wiz Exp $
 
-DISTNAME=              mpd-0.20.21
+DISTNAME=              mpd-0.21.3
 PKGNAME=               ${DISTNAME:S/mpd/musicpd/}
-PKGREVISION=           4
 CATEGORIES=            audio
-MASTER_SITES=          http://www.musicpd.org/download/mpd/0.20/
+MASTER_SITES=          http://www.musicpd.org/download/mpd/0.21/
 #MASTER_SITES=         ${MASTER_SITE_SOURCEFORGE:=musicpd/}
 EXTRACT_SUFX=          .tar.xz
 
@@ -13,19 +12,17 @@
 COMMENT=               Remote controllable audio player
 LICENSE=               gnu-gpl-v2
 
+TOOL_DEPENDS+=         ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
 CONFLICTS=             mpd-[0-9]*
 
-GNU_CONFIGURE=         yes
-USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config
 USE_LANGUAGES=         c c++
+MESON_ARGS+=           -Ddocumentation=true
 
 # c++14
 GCC_REQD+=             4.9
 
-# MacOS X audio output is no longer enabled by default.
-CONFIGURE_ARGS.Darwin+=        --enable-osx
-
 CPPFLAGS.SunOS+=       -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
 
 .include "options.mk"
@@ -39,8 +36,15 @@
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     pre-configure
 SUBST_FILES.paths=     mpd.conf
+SUBST_MESSAGE.paths=   Fixing path to sound device in example config.
 SUBST_SED.paths=       -e 's,@DEVOSSAUDIO@,${DEVOSSAUDIO},'
 
+SUBST_CLASSES+=                sphinx
+SUBST_STAGE.sphinx=    pre-configure
+SUBST_FILES.sphinx=    doc/meson.build
+SUBST_MESSAGE.sphinx=  Fixing sphinx binary name.
+SUBST_SED.sphinx+=     -e "s,sphinx-build,sphinx-build${PYVERSSUFFIX},"
+
 LDFLAGS+=              ${LIBOSSAUDIO}
 
 INSTALLATION_DIRS=     ${EGDIR}
@@ -50,10 +54,13 @@
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/mpd.conf ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/doc/mpdconf.example ${DESTDIR}${EGDIR}
 
+.include "../../devel/py-meson/build.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"
 .include "../../audio/libmad/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 
 .include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 147cf34fb85a -r 4bc43a0c8fe7 audio/musicpd/PLIST
--- a/audio/musicpd/PLIST       Tue Dec 11 10:15:55 2018 +0000
+++ b/audio/musicpd/PLIST       Tue Dec 11 10:37:20 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2017/01/16 11:53:08 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2018/12/11 10:37:20 wiz Exp $
 bin/mpd
 man/man1/mpd.1
 man/man5/mpd.conf.5
@@ -6,5 +6,44 @@
 share/doc/mpd/COPYING
 share/doc/mpd/NEWS
 share/doc/mpd/README.md
-share/doc/mpd/mpdconf.example
+share/doc/mpd/html/.buildinfo
+share/doc/mpd/html/_sources/developer.rst.txt
+share/doc/mpd/html/_sources/index.rst.txt
+share/doc/mpd/html/_sources/plugins.rst.txt
+share/doc/mpd/html/_sources/protocol.rst.txt
+share/doc/mpd/html/_sources/user.rst.txt
+share/doc/mpd/html/_static/ajax-loader.gif
+share/doc/mpd/html/_static/basic.css
+share/doc/mpd/html/_static/classic.css
+share/doc/mpd/html/_static/comment-bright.png
+share/doc/mpd/html/_static/comment-close.png
+share/doc/mpd/html/_static/comment.png
+share/doc/mpd/html/_static/doctools.js
+share/doc/mpd/html/_static/documentation_options.js
+share/doc/mpd/html/_static/down-pressed.png
+share/doc/mpd/html/_static/down.png
+share/doc/mpd/html/_static/file.png
+share/doc/mpd/html/_static/jquery-3.2.1.js
+share/doc/mpd/html/_static/jquery.js
+share/doc/mpd/html/_static/minus.png
+share/doc/mpd/html/_static/plus.png
+share/doc/mpd/html/_static/pygments.css
+share/doc/mpd/html/_static/searchtools.js
+share/doc/mpd/html/_static/sidebar.js
+share/doc/mpd/html/_static/underscore-1.3.1.js
+share/doc/mpd/html/_static/underscore.js
+share/doc/mpd/html/_static/up-pressed.png
+share/doc/mpd/html/_static/up.png
+share/doc/mpd/html/_static/websupport.js
+share/doc/mpd/html/developer.html
+share/doc/mpd/html/genindex.html
+share/doc/mpd/html/index.html
+share/doc/mpd/html/objects.inv
+share/doc/mpd/html/plugins.html
+share/doc/mpd/html/protocol.html
+share/doc/mpd/html/search.html
+share/doc/mpd/html/searchindex.js
+share/doc/mpd/html/user.html
 share/examples/mpd/mpd.conf
+share/examples/mpd/mpdconf.example
+share/icons/hicolor/scalable/apps/mpd.svg
diff -r 147cf34fb85a -r 4bc43a0c8fe7 audio/musicpd/distinfo
--- a/audio/musicpd/distinfo    Tue Dec 11 10:15:55 2018 +0000
+++ b/audio/musicpd/distinfo    Tue Dec 11 10:37:20 2018 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.91 2018/08/19 17:31:43 wiz Exp $
+$NetBSD: distinfo,v 1.92 2018/12/11 10:37:20 wiz Exp $
 
-SHA1 (mpd-0.20.21.tar.xz) = 568b99ff87552a9f16a48cc620149b6f88a4fcb0
-RMD160 (mpd-0.20.21.tar.xz) = 9999090c99e7a0b55ea2b3a5bd8e3e6d8ceb1b9a
-SHA512 (mpd-0.20.21.tar.xz) = d44fb326ea6213ecf46721ca81efdfffaec4faa5a66e627185fd5ab7c4f0c5a380f4d04aed5c2909746a37b33987cb61f62dc2d747365da06629fbb78bf7c7d6
-Size (mpd-0.20.21.tar.xz) = 800476 bytes
+SHA1 (mpd-0.21.3.tar.xz) = 271cb468f2a1dd63b2daa2db19a03ad19b4ad425
+RMD160 (mpd-0.21.3.tar.xz) = cf95848b219733726e38ab945965b3236185b2a7
+SHA512 (mpd-0.21.3.tar.xz) = c6ce513ea641d026594cd7ae6e9051bd0060e45f5839d89b350ba144cc9094a8e1490052df4d024cbc92d88680ee8e8bae14fc8037431394771018a75c3ee3d7
+Size (mpd-0.21.3.tar.xz) = 664992 bytes
+SHA1 (patch-src_client_ClientNew.cxx) = 8f42af7515fc81f00647b3b4b2e5749a852ff699
+SHA1 (patch-src_net_IPv6Address.hxx) = c9e9a5676451e6834fcef359266d37fc15f079e6
diff -r 147cf34fb85a -r 4bc43a0c8fe7 audio/musicpd/options.mk
--- a/audio/musicpd/options.mk  Tue Dec 11 10:15:55 2018 +0000
+++ b/audio/musicpd/options.mk  Tue Dec 11 10:37:20 2018 +0000
@@ -1,74 +1,46 @@
-# $NetBSD: options.mk,v 1.30 2018/04/29 09:58:21 wiz Exp $
+# $NetBSD: options.mk,v 1.31 2018/12/11 10:37:20 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.musicpd
-PKG_SUPPORTED_OPTIONS= adplug audiofile avahi bzip2 curl faad ffmpeg flac fluidsynth id3 inet6 libao lame jack libmms libmpdclient libwildmidi mikmod modplug mpg123 musepack musicpd-soundcloud 
openal opus pulseaudio shout sqlite3 tremor twolame vorbis wavpack zziplib
+PKG_SUPPORTED_OPTIONS= adplug audiofile avahi bzip2 curl faad ffmpeg flac fluidsynth id3 inet6 libao lame jack libmms libmpdclient libsoxr libwildmidi mikmod modplug mpg123 musepack 
musicpd-soundcloud openal opus pulseaudio shine shout sqlite3 tremor twolame vorbis wavpack zziplib
 PKG_SUGGESTED_OPTIONS= audiofile curl faad flac id3 inet6 libao musepack vorbis
 
-# TODO:
-# shine
-# libsoxr
-
 PKG_OPTIONS_OPTIONAL_GROUPS=   vorbis
 PKG_OPTIONS_GROUP.vorbis=      tremor vorbis
 
-PKG_OPTIONS_LEGACY_OPTS=       ogg:vorbis
-
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Madplug)
 .  include "../../audio/adplug/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-adplug
-.else
-CONFIGURE_ARGS+=       --disable-adplug
 .endif
 
 .if !empty(PKG_OPTIONS:Maudiofile)
 BUILDLINK_API_DEPENDS.libaudiofile+=   libaudiofile>=0.3
 .  include "../../audio/libaudiofile/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-audiofile
-.else
-CONFIGURE_ARGS+=       --disable-audiofile
 .endif
 
 .if !empty(PKG_OPTIONS:Mavahi)
 .  include "../../net/avahi/buildlink3.mk"
-CONFIGURE_ARGS+=       --with-zeroconf=avahi
 .endif
 
 .if !empty(PKG_OPTIONS:Mbzip2)
 .  include "../../archivers/bzip2/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-bzip2
-.else
-CONFIGURE_ARGS+=       --disable-bzip2
 .endif
 
 # wants a different version of the library than we have in pkgsrc
 #.if !empty(PKG_OPTIONS:Mcdparanoia)
 #.  include "../../audio/cdparanoia/buildlink3.mk"
-#CONFIGURE_ARGS+=      --enable-cdio-paranoia
-#.else
-#CONFIGURE_ARGS+=      --enable-cdio-paranoia
 #.endif
 
 .if !empty(PKG_OPTIONS:Mcurl)
 .  include "../../www/curl/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-curl
-.else
-CONFIGURE_ARGS+=       --disable-curl
 .endif
 
 .if !empty(PKG_OPTIONS:Mfaad)
 .  include "../../audio/faad2/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-aac
-.else
-CONFIGURE_ARGS+=       --disable-aac
 .endif
 
 .if !empty(PKG_OPTIONS:Mffmpeg)
 .  include "../../multimedia/ffmpeg4/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-ffmpeg
-.else
-CONFIGURE_ARGS+=       --disable-ffmpeg
 .endif
 
 .if !empty(PKG_OPTIONS:Mflac)
@@ -77,201 +49,124 @@
 # XXX whole album flac files can appearently be parsed without libcue,
 # so I've yet to find out what libcue is good for
 #.  include "../../audio/libcue/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-flac
-.else
-CONFIGURE_ARGS+=       --disable-flac
 .endif
 
 .if !empty(PKG_OPTIONS:Mfluidsynth)
 .  include "../../audio/fluidsynth/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-fluidsynth
-.else
-CONFIGURE_ARGS+=       --disable-fluidsynth
 .endif
 
 # needs to be imported from wip first
 #.if !empty(PKG_OPTIONS:Mgme)
 #.  include "../../wip/libgme/buildlink3.mk"
-#CONFIGURE_ARGS+=      --enable-gme
-#.else
-#CONFIGURE_ARGS+=      --disable-gme
 #.endif
 
 .if !empty(PKG_OPTIONS:Mid3)
 .  include "../../audio/libid3tag/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-id3
-.else
-CONFIGURE_ARGS+=       --disable-id3
 .endif
 
 .if !empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+=       --enable-ipv6
-.else
-CONFIGURE_ARGS+=       --disable-ipv6
 .endif
 
 .if !empty(PKG_OPTIONS:Mjack)
 .  include "../../audio/jack/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-jack
-.else
-CONFIGURE_ARGS+=       --disable-jack
 .endif
 
 .if !empty(PKG_OPTIONS:Mlame)
 .  include "../../audio/lame/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-lame-encoder
-.else
-CONFIGURE_ARGS+=       --disable-lame-encoder
 .endif
 
 .if !empty(PKG_OPTIONS:Mlibao)
 .  include "../../audio/libao/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-ao
-.else
-CONFIGURE_ARGS+=       --disable-ao
 .endif
 
 .if !empty(PKG_OPTIONS:Mlibmms)
 .  include "../../net/libmms/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-mms
-.else
-CONFIGURE_ARGS+=       --disable-mms
 .endif
 
 .if !empty(PKG_OPTIONS:Mlibmpdclient)
 .  include "../../audio/libmpdclient/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-libmpdclient
-.else
-CONFIGURE_ARGS+=       --disable-libmpdclient
 .endif
 
 # does not find libresid-builder
 #.if !empty(PKG_OPTIONS:Mlibsidplay2)
 #.  include "../../audio/libsidplay2/buildlink3.mk"
-#CONFIGURE_ARGS+=      --enable-sidplay
-#.else
-#CONFIGURE_ARGS+=      --disable-sidplay



Home | Main Index | Thread Index | Old Index