diff --git a/mpd-0.22.11.tar.xz b/mpd-0.22.11.tar.xz deleted file mode 100644 index 2ddd228..0000000 --- a/mpd-0.22.11.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:143f7f34aaee6e87888f3dd35d49aade6656052651b960ca42b46cbb518ca0a0 -size 737184 diff --git a/mpd-0.22.11.tar.xz.sig b/mpd-0.22.11.tar.xz.sig deleted file mode 100644 index 25ac2ba..0000000 Binary files a/mpd-0.22.11.tar.xz.sig and /dev/null differ diff --git a/mpd-0.23.3.tar.xz b/mpd-0.23.3.tar.xz new file mode 100644 index 0000000..6d5054a --- /dev/null +++ b/mpd-0.23.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b300625701005c6b14649f11dac118d05540529a5385d05b7c3062c0ce08f399 +size 767596 diff --git a/mpd-0.23.3.tar.xz.sig b/mpd-0.23.3.tar.xz.sig new file mode 100644 index 0000000..7c279cb Binary files /dev/null and b/mpd-0.23.3.tar.xz.sig differ diff --git a/mpd-service.patch b/mpd-service.patch new file mode 100644 index 0000000..832dee2 --- /dev/null +++ b/mpd-service.patch @@ -0,0 +1,24 @@ +diff -Pdpru mpd-0.23.3.orig/systemd/system/mpd.service.in mpd-0.23.3/systemd/system/mpd.service.in +--- mpd-0.23.3.orig/systemd/system/mpd.service.in 2021-10-31 20:13:10.000000000 +0300 ++++ mpd-0.23.3/systemd/system/mpd.service.in 2021-11-06 16:16:11.928539482 +0300 +@@ -9,7 +9,7 @@ ExecStart=@prefix@/bin/mpd --no-daemon + + # Create /run/mpd (if MPD is launched without the socket unit and is + # configured to bind listener sockets there). +-RuntimeDirectory=mpd ++#RuntimeDirectory=mpd + + # Enable this setting to ask systemd to watch over MPD, see + # systemd.service(5). This is disabled by default because it causes +diff -Pdpru mpd-0.23.3.orig/systemd/user/mpd.service.in mpd-0.23.3/systemd/user/mpd.service.in +--- mpd-0.23.3.orig/systemd/user/mpd.service.in 2021-10-31 20:13:10.000000000 +0300 ++++ mpd-0.23.3/systemd/user/mpd.service.in 2021-11-06 16:16:32.508576374 +0300 +@@ -9,7 +9,7 @@ ExecStart=@prefix@/bin/mpd --no-daemon + + # Create /run/user/$UID/mpd (if MPD is launched without the socket + # unit and is configured to bind listener sockets there). +-RuntimeDirectory=mpd ++#RuntimeDirectory=mpd + + # Enable this setting to ask systemd to watch over MPD, see + # systemd.service(5). This is disabled by default because it causes diff --git a/mpd.changes b/mpd.changes index ef8f767..355b2c3 100644 --- a/mpd.changes +++ b/mpd.changes @@ -1,3 +1,60 @@ +------------------------------------------------------------------- +Sat Nov 6 02:02:33 UTC 2021 - Илья Индиго + +- Updated to 0.23.3 + * Add patch mpd-service.patch. + * Add BuildRequires for fmt, libopenmpt, libpipewire-0.3. + * Increased the minimum version for meson to 0.56.0. + * Changed meson option -Dupnp from enabled to pupnp. + * https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.23.3/NEWS + * split permission "player" from "control" + * add option "host_permissions" + * 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" + * use decimal notation instead of scientific notation + * "load" supports relative positions + * add optional position parameter to "add" and "playlistadd" + * allow range in "playlistdelete" + * 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 + * fix scanning files with question mark in the name + * inotify: fix use-after-free bug + * archive: + * zzip, iso9660: ignore file names which are invalid UTF-8 + * decoder: + * openmpt: new plugin + * wavpack: fix WVC file support + * input: nfs: fix playback bug + * neighbor: mention: failed plugin name in error message + * output: + * emit "mixer" idle event when replay gain changes volume + * alsa: add option "stop_dsd_silence" to work around DSD DAC noise + * oss: support DSD over PCM + * pipewire: new plugin + * pipewire: emit "mixer" idle events on external volume change + * pipewire: attempt to change the graph sample rate + * pipewire: send artist and title to PipeWire + * pipewire: DSD support + * snapcast: new plugin + * snapcast: fix time stamp bug which caused "Failed to get chunk" + * player: + * do not cross-fade songs shorter than 20 seconds + * fix "albumart" timeout bug + * systemd: add "RuntimeDirectory" directive + * tags: + * new tags "ComposerSort", "Ensemble", "Movement", "MovementNumber", + and "Location" + ------------------------------------------------------------------- Wed Sep 1 07:24:21 UTC 2021 - Илья Индиго diff --git a/mpd.spec b/mpd.spec index 4a96ebb..13a02d9 100644 --- a/mpd.spec +++ b/mpd.spec @@ -16,11 +16,11 @@ # -%define mver 0.22 +%define mver 0.23 %bcond_with faad %bcond_without mpd_iso9660 Name: mpd -Version: 0.22.11 +Version: 0.23.3 Release: 0 Summary: Music Player Daemon License: GPL-2.0-or-later @@ -32,7 +32,8 @@ Source3: %{name}-user.conf Source4: %{name}.firewalld Source5: %{name}.tmpfiles.d Patch0: %{name}-conf.patch -Patch1: %{name}-sndfile.patch +Patch1: %{name}-service.patch +Patch2: %{name}-sndfile.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ @@ -44,7 +45,7 @@ BuildRequires: libcue-devel BuildRequires: libgcrypt-devel BuildRequires: libmikmod-devel BuildRequires: libmp3lame-devel -BuildRequires: meson >= 0.49.0 +BuildRequires: meson >= 0.56.0 BuildRequires: pkgconfig BuildRequires: python3-Sphinx # MPD_ENABLE_AUTO_PKG @@ -57,6 +58,7 @@ BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(fluidsynth) +BuildRequires: pkgconfig(fmt) BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(id3tag) BuildRequires: pkgconfig(jack) @@ -73,6 +75,8 @@ BuildRequires: pkgconfig(libmodplug) BuildRequires: pkgconfig(libmpdclient) BuildRequires: pkgconfig(libmpg123) BuildRequires: pkgconfig(libnfs) +BuildRequires: pkgconfig(libopenmpt) +BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libupnp) @@ -180,7 +184,7 @@ This package contains optional documentation provided in addition to this packag %endif -Dzlib=enabled \ -Dbzip2=enabled \ - -Dupnp=enabled \ + -Dupnp=pupnp \ -Dzzip=enabled \ -Dadplug=disabled \ -Daudiofile=enabled \