Hi, found those were a bit outdated, changelogs at https://rybczak.net/ncmpcpp/ https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.22.6/NEWS https://github.com/MusicPlayerDaemon/ncmpc/blob/v0.45/NEWS
mpd updates from 0.21 to 0.22 because of some additions to the protocol, added BDEP on sphinx because the manpage isnt in the src tarball so needs to be generated from the rst file. Please test ! Landry
? 0.21.8.log ? mpd-0.20.20 ? mpd-0.21.1 ? patch-src_Main_cxx Index: Makefile =================================================================== RCS file: /cvs/ports/audio/mpd/Makefile,v retrieving revision 1.132 diff -u -r1.132 Makefile --- Makefile 8 Jul 2020 13:02:24 -0000 1.132 +++ Makefile 20 Feb 2021 07:24:49 -0000 @@ -2,7 +2,7 @@ BROKEN-hppa = no atomic ops COMMENT = Music Player Daemon -VER = 0.21.25 +VER = 0.22.6 DISTNAME = mpd-${VER} EXTRACT_SUFX = .tar.xz CATEGORIES = audio @@ -11,7 +11,7 @@ # GPLv2+ PERMIT_PACKAGE = Yes -WANTLIB = FLAC audiofile avcodec avformat avutil \ +WANTLIB = FLAC audiofile avcodec avfilter avformat avutil \ bz2 c cdio cdio_cdda cdio_paranoia curl \ expat faad icui18n icuuc \ id3tag iso9660 m mikmod mp3lame mpcdec \ @@ -24,6 +24,7 @@ COMPILER = base-clang ports-gcc BUILD_DEPENDS = devel/boost +BUILD_DEPENDS += textproc/py-sphinx LIB_DEPENDS = audio/faad>=2.6.1p0 \ audio/flac \ @@ -145,9 +146,6 @@ CPPFLAGS="-I${LOCALBASE}/include -D_BSD_SOURCE" post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/mpd.1 ${PREFIX}/man/man1/mpd.1 - ${INSTALL_MAN} ${WRKSRC}/doc/mpd.conf.5 ${PREFIX}/man/man5/mpd.conf.5 - # avoid dependency on gtk3,-guic @rm -Rf ${PREFIX}/share/icons/ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mpd Index: distinfo =================================================================== RCS file: /cvs/ports/audio/mpd/distinfo,v retrieving revision 1.57 diff -u -r1.57 distinfo --- distinfo 8 Jul 2020 13:02:24 -0000 1.57 +++ distinfo 20 Feb 2021 07:24:49 -0000 @@ -1,2 +1,2 @@ -SHA256 (mpd-0.21.25.tar.xz) = IKCtAb8yey2+tq6OGvlSyw3oPS1j+rD6S3GDp0dlwgE= -SIZE (mpd-0.21.25.tar.xz) = 683768 +SHA256 (mpd-0.22.6.tar.xz) = K+FJpIlcPLYTR3+M8Rk1k+PYodOKdf+n0y2oyDFqTV4= +SIZE (mpd-0.22.6.tar.xz) = 730524 Index: patches/patch-doc_meson_build =================================================================== RCS file: /cvs/ports/audio/mpd/patches/patch-doc_meson_build,v retrieving revision 1.1 diff -u -r1.1 patch-doc_meson_build --- patches/patch-doc_meson_build 6 Aug 2019 17:28:12 -0000 1.1 +++ patches/patch-doc_meson_build 20 Feb 2021 07:24:49 -0000 @@ -3,12 +3,12 @@ Index: doc/meson.build --- doc/meson.build.orig +++ doc/meson.build -@@ -11,7 +11,7 @@ sphinx_output = custom_target( - 'conf.py', - ], - command: [sphinx, '-q', '-b', 'html', '-d', '@OUTDIR@/doctrees', meson.current_source_dir(), '@OUTPUT@'], -- build_by_default: true, -+ build_by_default: false, - install: true, - install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()), - ) +@@ -18,7 +18,7 @@ if get_option('html_manual') + 'conf.py', + ], + command: [sphinx, '-q', '-b', 'html', '-d', '@OUTDIR@/doctrees', meson.current_source_dir(), '@OUTPUT@'], +- build_by_default: true, ++ build_by_default: false, + install: true, + install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()), + ) Index: patches/patch-doc_mpdconf_example =================================================================== RCS file: /cvs/ports/audio/mpd/patches/patch-doc_mpdconf_example,v retrieving revision 1.19 diff -u -r1.19 patch-doc_mpdconf_example --- patches/patch-doc_mpdconf_example 6 Aug 2019 17:28:12 -0000 1.19 +++ patches/patch-doc_mpdconf_example 20 Feb 2021 07:24:49 -0000 @@ -7,25 +7,25 @@ # file:// protocol) or streaming files over an accepted protocol. # -#music_directory "~/music" -+music_directory "/please-configure-your-music_directory" ++music_directory "/please-configure-your-music_directory" # # This setting sets the MPD internal playlist directory. The purpose of this - # directory is storage for playlists created by MPD. The server will use + # directory is storage for playlists created by MPD. The server will use # playlist files not created by the server but only if they are in the MPD # format. This setting defaults to playlist saving being disabled. # -#playlist_directory "~/.mpd/playlists" -+playlist_directory "/var/spool/mpd/playlists" ++playlist_directory "/var/spool/mpd/playlists" # # This setting sets the location of the MPD database. This file is used to - # load the database at server start up and store the database while the + # load the database at server start up and store the database while the @@ -25,7 +25,7 @@ # MPD to accept files over ipc socket (using file:// protocol) or streaming # files over an accepted protocol. # -#db_file "~/.mpd/database" -+db_file "/var/spool/mpd/mpd.db" - # +++db_file "/var/spool/mpd/mpd.db" + # # These settings are the locations for the daemon log files for the daemon. # These logs are great for troubleshooting, depending on your log_level @@ -34,25 +34,25 @@ @@ -33,22 +33,22 @@ # setting defaults to logging to syslog. # -#log_file "~/.mpd/log" -+log_file "/var/log/mpd/mpd.log" ++log_file "/var/log/mpd/mpd.log" # # This setting sets the location of the file which stores the process ID # for use of mpd --kill and some init scripts. This setting is disabled by # default and the pid file will not be stored. # -#pid_file "~/.mpd/pid" -+pid_file "/var/spool/mpd/mpd.pid" ++pid_file "/var/spool/mpd/mpd.pid" # # This setting sets the location of the file which contains information about # most variables to get MPD back into the same general shape it was in before - # it was brought down. This setting is disabled by default and the server + # it was brought down. This setting is disabled by default and the server # state will be reset on server start up. # -#state_file "~/.mpd/state" -+state_file "/var/spool/mpd/mpdstate" ++state_file "/var/spool/mpd/mpdstate" # # The location of the sticker database. This is a database which # manages dynamic information attached to songs. @@ -78,7 +78,7 @@ # This setting is the TCP port that is desired for the daemon to get assigned # to. # -@@ -303,11 +306,11 @@ input { +@@ -327,11 +330,11 @@ input { # # An example of an sndio output. #
Index: Makefile =================================================================== RCS file: /cvs/ports/audio/ncmpc/Makefile,v retrieving revision 1.53 diff -u -r1.53 Makefile --- Makefile 21 Oct 2020 09:24:05 -0000 1.53 +++ Makefile 20 Feb 2021 07:25:05 -0000 @@ -2,7 +2,7 @@ COMMENT= curses based frontend for mpd -VER= 0.41 +VER= 0.45 DISTNAME= ncmpc-${VER} EPOCH= 0 CATEGORIES= audio Index: distinfo =================================================================== RCS file: /cvs/ports/audio/ncmpc/distinfo,v retrieving revision 1.24 diff -u -r1.24 distinfo --- distinfo 21 Oct 2020 09:24:05 -0000 1.24 +++ distinfo 20 Feb 2021 07:25:05 -0000 @@ -1,2 +1,2 @@ -SHA256 (ncmpc-0.41.tar.xz) = inMqWPvsimNGJTcqHFw59Ack1spZMgMAs2rA8VvsE6w= -SIZE (ncmpc-0.41.tar.xz) = 269280 +SHA256 (ncmpc-0.45.tar.xz) = F/9EZEfgAvLtQ0K3MkJjqDDffXa88Xfc6Sj306bx94U= +SIZE (ncmpc-0.45.tar.xz) = 281860 Index: patches/patch-src_ProgressBar_cxx =================================================================== RCS file: /cvs/ports/audio/ncmpc/patches/patch-src_ProgressBar_cxx,v retrieving revision 1.2 diff -u -r1.2 patch-src_ProgressBar_cxx --- patches/patch-src_ProgressBar_cxx 2 Jan 2020 09:38:09 -0000 1.2 +++ patches/patch-src_ProgressBar_cxx 20 Feb 2021 07:25:05 -0000 @@ -3,7 +3,7 @@ Index: src/ProgressBar.cxx --- src/ProgressBar.cxx.orig +++ src/ProgressBar.cxx -@@ -30,7 +30,7 @@ ProgressBar::ProgressBar(Point p, unsigned _width) noe +@@ -29,7 +29,7 @@ ProgressBar::ProgressBar(Point p, unsigned _width) noe leaveok(window.w, true); #ifdef ENABLE_COLORS if (options.enable_colors) Index: patches/patch-src_StatusBar_cxx =================================================================== RCS file: /cvs/ports/audio/ncmpc/patches/patch-src_StatusBar_cxx,v retrieving revision 1.3 diff -u -r1.3 patch-src_StatusBar_cxx --- patches/patch-src_StatusBar_cxx 21 Oct 2020 09:24:05 -0000 1.3 +++ patches/patch-src_StatusBar_cxx 20 Feb 2021 07:25:05 -0000 @@ -3,7 +3,7 @@ Index: src/StatusBar.cxx --- src/StatusBar.cxx.orig +++ src/StatusBar.cxx -@@ -43,7 +43,7 @@ StatusBar::StatusBar(EventLoop &event_loop, +@@ -42,7 +42,7 @@ StatusBar::StatusBar(EventLoop &event_loop, #ifdef ENABLE_COLORS if (options.enable_colors) Index: patches/patch-src_TitleBar_cxx =================================================================== RCS file: /cvs/ports/audio/ncmpc/patches/patch-src_TitleBar_cxx,v retrieving revision 1.2 diff -u -r1.2 patch-src_TitleBar_cxx --- patches/patch-src_TitleBar_cxx 2 Jan 2020 09:38:09 -0000 1.2 +++ patches/patch-src_TitleBar_cxx 20 Feb 2021 07:25:05 -0000 @@ -3,7 +3,7 @@ Index: src/TitleBar.cxx --- src/TitleBar.cxx.orig +++ src/TitleBar.cxx -@@ -38,7 +38,7 @@ TitleBar::TitleBar(Point p, unsigned width) noexcept +@@ -37,7 +37,7 @@ TitleBar::TitleBar(Point p, unsigned width) noexcept #ifdef ENABLE_COLORS if (options.enable_colors) Index: patches/patch-src_screen_cxx =================================================================== RCS file: /cvs/ports/audio/ncmpc/patches/patch-src_screen_cxx,v retrieving revision 1.3 diff -u -r1.3 patch-src_screen_cxx --- patches/patch-src_screen_cxx 2 Jan 2020 09:38:09 -0000 1.3 +++ patches/patch-src_screen_cxx 20 Feb 2021 07:25:05 -0000 @@ -5,7 +5,7 @@ Index: src/screen.cxx --- src/screen.cxx.orig +++ src/screen.cxx -@@ -44,8 +44,8 @@ ScreenManager::MakePage(const PageMeta &sf) noexcept +@@ -43,8 +43,8 @@ ScreenManager::MakePage(const PageMeta &sf) noexcept return i; auto j = pages.emplace(&sf, Index: patches/patch-src_screen_init_cxx =================================================================== RCS file: /cvs/ports/audio/ncmpc/patches/patch-src_screen_init_cxx,v retrieving revision 1.3 diff -u -r1.3 patch-src_screen_init_cxx --- patches/patch-src_screen_init_cxx 21 Oct 2020 09:24:05 -0000 1.3 +++ patches/patch-src_screen_init_cxx 20 Feb 2021 07:25:05 -0000 @@ -3,7 +3,7 @@ Index: src/screen_init.cxx --- src/screen_init.cxx.orig +++ src/screen_init.cxx -@@ -50,8 +50,8 @@ ScreenManager::ScreenManager(EventLoop &_event_loop) n +@@ -49,8 +49,8 @@ ScreenManager::ScreenManager(EventLoop &event_loop) no #ifdef ENABLE_COLORS if (options.enable_colors) { /* set background attributes */ Index: patches/patch-src_screen_utils_cxx =================================================================== RCS file: /cvs/ports/audio/ncmpc/patches/patch-src_screen_utils_cxx,v retrieving revision 1.1 diff -u -r1.1 patch-src_screen_utils_cxx --- patches/patch-src_screen_utils_cxx 21 Oct 2020 09:24:05 -0000 1.1 +++ patches/patch-src_screen_utils_cxx 20 Feb 2021 07:25:05 -0000 @@ -4,7 +4,7 @@ --- src/screen_utils.cxx.orig +++ src/screen_utils.cxx @@ -31,6 +31,7 @@ - #include "WaitUserInput.hxx" + #include <cerrno> #endif +#include <errno.h> Index: patches/patch-src_signals_cxx =================================================================== RCS file: patches/patch-src_signals_cxx diff -N patches/patch-src_signals_cxx --- patches/patch-src_signals_cxx 21 Oct 2020 09:24:05 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-src_signals_cxx,v 1.1 2020/10/21 09:24:05 edd Exp $ - -Index: src/signals.cxx ---- src/signals.cxx.orig -+++ src/signals.cxx -@@ -17,6 +17,8 @@ - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -+#include <signal.h> -+ - #include "Instance.hxx" - - void Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/audio/ncmpc/pkg/PLIST,v retrieving revision 1.9 diff -u -r1.9 PLIST --- pkg/PLIST 17 Oct 2019 11:19:41 -0000 1.9 +++ pkg/PLIST 20 Feb 2021 07:25:05 -0000 @@ -21,11 +21,16 @@ share/locale/gl/LC_MESSAGES/ncmpc.mo share/locale/he/LC_MESSAGES/ncmpc.mo share/locale/hu/LC_MESSAGES/ncmpc.mo +share/locale/ie/ +share/locale/ie/LC_MESSAGES/ +share/locale/ie/LC_MESSAGES/ncmpc.mo share/locale/it/LC_MESSAGES/ncmpc.mo +share/locale/ja/LC_MESSAGES/ncmpc.mo share/locale/ko/LC_MESSAGES/ncmpc.mo share/locale/nb/LC_MESSAGES/ncmpc.mo share/locale/nl/LC_MESSAGES/ncmpc.mo share/locale/pl/LC_MESSAGES/ncmpc.mo +share/locale/pt/LC_MESSAGES/ncmpc.mo share/locale/pt_BR/LC_MESSAGES/ncmpc.mo share/locale/ru/LC_MESSAGES/ncmpc.mo share/locale/sk/LC_MESSAGES/ncmpc.mo
Index: Makefile =================================================================== RCS file: /cvs/ports/audio/ncmpcpp/Makefile,v retrieving revision 1.72 diff -u -r1.72 Makefile --- Makefile 12 Jul 2019 20:43:37 -0000 1.72 +++ Makefile 20 Feb 2021 07:25:43 -0000 @@ -5,8 +5,7 @@ COMMENT = ncurses mpd client inspired by ncmpc -DISTNAME = ncmpcpp-0.8.2 -REVISION = 1 +DISTNAME = ncmpcpp-0.9.2 EXTRACT_SUFX = .tar.bz2 @@ -21,6 +20,7 @@ WANTLIB += boost_program_options-mt boost_regex-mt boost_system-mt WANTLIB += boost_thread-mt c crypto curl ereadline iconv m mpdclient WANTLIB += curses nghttp2 pthread ssl ${LIBCXX} tag z +WANTLIB += boost_chrono-mt icudata icui18n icuuc WANTLIB += ${COMPILER_LIBCXX} MASTER_SITES = ${HOMEPAGE}stable/ Index: distinfo =================================================================== RCS file: /cvs/ports/audio/ncmpcpp/distinfo,v retrieving revision 1.24 diff -u -r1.24 distinfo --- distinfo 4 Jul 2018 09:03:41 -0000 1.24 +++ distinfo 20 Feb 2021 07:25:43 -0000 @@ -1,2 +1,2 @@ -SHA256 (ncmpcpp-0.8.2.tar.bz2) = ZQuj6AiWJLetnkzBm8GsYCjtt1I8wRH6FobqRMCSFVQ= -SIZE (ncmpcpp-0.8.2.tar.bz2) = 465713 +SHA256 (ncmpcpp-0.9.2.tar.bz2) = +qv2FXyMsbJKBZryduFi+p+aO5zTgQxDuRKIYMk4Ohs= +SIZE (ncmpcpp-0.9.2.tar.bz2) = 486266 Index: patches/patch-src_ncmpcpp_cpp =================================================================== RCS file: patches/patch-src_ncmpcpp_cpp diff -N patches/patch-src_ncmpcpp_cpp --- patches/patch-src_ncmpcpp_cpp 9 Jun 2017 15:09:51 -0000 1.13 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,35 +0,0 @@ -$OpenBSD: patch-src_ncmpcpp_cpp,v 1.13 2017/06/09 15:09:51 dcoppa Exp $ - -OpenBSD lacks sigignore(), use the one from NetBSD - -Index: src/ncmpcpp.cpp ---- src/ncmpcpp.cpp.orig -+++ src/ncmpcpp.cpp -@@ -68,6 +68,18 @@ void sighandler(int sig) - #endif // __sun && __SVR4 - } - -+int n_sigignore(int sig) -+{ -+ struct sigaction sa; -+ -+ sa.sa_handler = SIG_IGN; -+ if (sigemptyset(&sa.sa_mask) != 0) -+ return (-1); -+ sa.sa_flags = 0; -+ -+ return (sigaction(sig, &sa, NULL)); -+} -+ - void do_at_exit() - { - // restore old cerr & clog buffers -@@ -108,7 +120,7 @@ int main(int argc, char **argv) - cerr_buffer = std::cerr.rdbuf(); - std::cerr.rdbuf(errorlog.rdbuf()); - -- sigignore(SIGPIPE); -+ n_sigignore(SIGPIPE); - signal(SIGWINCH, sighandler); - - Mpd.setNoidleCallback(Status::update); Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/audio/ncmpcpp/pkg/PLIST,v retrieving revision 1.3 diff -u -r1.3 PLIST --- pkg/PLIST 27 Oct 2014 08:30:20 -0000 1.3 +++ pkg/PLIST 20 Feb 2021 07:25:43 -0000 @@ -2,8 +2,9 @@ @bin bin/ncmpcpp @man man/man1/ncmpcpp.1 share/examples/ncmpcpp/ +@comment share/examples/ncmpcpp/NEWS @comment share/examples/ncmpcpp/AUTHORS +share/examples/ncmpcpp/CHANGELOG.md @comment share/examples/ncmpcpp/COPYING -@comment share/examples/ncmpcpp/NEWS share/examples/ncmpcpp/bindings share/examples/ncmpcpp/config