On Sun, Dec 09, 2018 at 10:29:33PM +0100, Landry Breuil wrote:
> Hi,
>
> here's 4 updates for the mpd gang, libmpdclient, mpc & ncmpc are more or
> less trivial, mpd was harder:
> - switched from autotools to meson. I tried as hard as i could to select
> the same featureset as was used with autohell.
> - we cant update to 0.21.3 (latest) because ffmpeg>=57 is required since
>
> https://github.com/MusicPlayerDaemon/MPD/commit/08272cdee2b886f759ffe632c3310e3ead095b62
> - so the diff is for the latest version before this commit. I tried
> updating to the latest mpd by disabling ffmpeg crap and use mpg123
> instead, but it fails to link against libmpg123.
> - remove the hicolor svg icon to avoid depending on gtk+3,-guic
> - patches here and there to install manpages and all, disable broken
> ucred detection, etc.
> - in ncmpc, cast Style::FOO to int otherwise the ncurses macro complains
> about it.
>
> totally untested, will test them in the coming days. Note that mpd 0.21
> requires gcc6 so it will probably give bad results on non-clang archs -
> but other than that this branch has shitloads of fixes & new features
> per https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21/NEWS
>
> on the other hand, we can also update to mpd 0.20.23...
Might actually be safer, since some ppl use exotic non-clang archs for
audio jukeboxes, stay on the 0.20 branch until we have ffmpeg 3.1 & gcc
6.
Running this version at home.
Landry
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/mpd/Makefile,v
retrieving revision 1.117
diff -u -r1.117 Makefile
--- Makefile 4 Jul 2018 09:01:59 -0000 1.117
+++ Makefile 23 Dec 2018 10:04:10 -0000
@@ -2,7 +2,7 @@
BROKEN-hppa = no atomic ops
COMMENT = Music Player Daemon
-VER = 0.20.20
+VER = 0.20.23
DISTNAME = mpd-${VER}
CATEGORIES = audio
HOMEPAGE = https://www.musicpd.org/
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/mpd/distinfo,v
retrieving revision 1.49
diff -u -r1.49 distinfo
--- distinfo 4 Jul 2018 09:01:59 -0000 1.49
+++ distinfo 23 Dec 2018 10:04:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (mpd-0.20.20.tar.gz) = KZQHeiWVJIaHynj+EsYdxrHk55EzMMayCjmGJLyolZA=
-SIZE (mpd-0.20.20.tar.gz) = 1139145
+SHA256 (mpd-0.20.23.tar.gz) = zZAEPeY4zPCk5rOPwu53rLmZlZvM8ABHfxQXTDwXYGw=
+SIZE (mpd-0.20.23.tar.gz) = 1161696
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/audio/mpd/patches/patch-Makefile_in,v
retrieving revision 1.24
diff -u -r1.24 patch-Makefile_in
--- patches/patch-Makefile_in 4 Jul 2018 09:01:59 -0000 1.24
+++ patches/patch-Makefile_in 23 Dec 2018 10:04:10 -0000
@@ -2,7 +2,7 @@
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
-@@ -4680,7 +4680,7 @@ FILTER_LIBS = \
+@@ -5313,7 +5313,7 @@ icons_DATA = mpd.svg
# Documentation
#
man_MANS = doc/mpd.1 doc/mpd.conf.5
Index: patches/patch-src_Main_cxx
===================================================================
RCS file: /cvs/ports/audio/mpd/patches/patch-src_Main_cxx,v
retrieving revision 1.5
diff -u -r1.5 patch-src_Main_cxx
--- patches/patch-src_Main_cxx 4 Jul 2018 09:01:59 -0000 1.5
+++ patches/patch-src_Main_cxx 23 Dec 2018 10:04:10 -0000
@@ -5,7 +5,7 @@
Index: src/Main.cxx
--- src/Main.cxx.orig
+++ src/Main.cxx
-@@ -115,7 +115,7 @@ static constexpr size_t MEGABYTE = 1024 * KILOBYTE;
+@@ -116,7 +116,7 @@ static constexpr size_t MEGABYTE = 1024 * KILOBYTE;
static constexpr size_t DEFAULT_BUFFER_SIZE = 4 * MEGABYTE;
static