From 772772b52afbdda28b9e72758ff6fb01d789fd9bbc6e71926ec99d21f7d81285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=98=D0=BD=D0=B4=D0=B8=D0=B3?= =?UTF-8?q?=D0=BE?= Date: Fri, 5 Nov 2021 23:34:09 +0000 Subject: [PATCH 1/3] Accepting request 929786 from home:13ilya:branches:multimedia:apps - Updated to 0.23.3 * Add BuildRequires for fmt, libnpupnp, libopenmpt, libpipewire-0.3. * Increased the minimum version for meson to 0.56.0. * Changed meson option -Dupnp from enabled to npupnp. * 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" OBS-URL: https://build.opensuse.org/request/show/929786 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=80 --- mpd-0.22.11.tar.xz | 3 --- mpd-0.22.11.tar.xz.sig | Bin 566 -> 0 bytes mpd-0.23.3.tar.xz | 3 +++ mpd-0.23.3.tar.xz.sig | Bin 0 -> 566 bytes mpd.changes | 56 +++++++++++++++++++++++++++++++++++++++++ mpd.spec | 13 ++++++---- 6 files changed, 67 insertions(+), 8 deletions(-) delete mode 100644 mpd-0.22.11.tar.xz delete mode 100644 mpd-0.22.11.tar.xz.sig create mode 100644 mpd-0.23.3.tar.xz create mode 100644 mpd-0.23.3.tar.xz.sig 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 25ac2bae60a1633776a6f451bd742e3920304999076b6dadf2b4ef0e9a2d7e68..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j)!k~3O(2so6aFdRc8Zi-mO+eH!u0%0XnYyb)g5F>7i zSjO8$5(bVB`v#{aqyF+J^`k4ZEG-$|%Hxize>j~xX2(F-(Kz#6D`FLdSUGzSz7}L& zCVX!bJ+c%J!TUr1Et8BG>pLkCXw2c$*IZraSc}^h<$Tc>OZ~0*Po^aP-tPR=5oCi* z!C}jX`lV}t^or2t>Mwqxd_Ru!2e&9XXOAbKitU*=O<{-!?-%_2wWPJ5!JUeHv-h{w z*+N6Z7GN=RCD0?g`nbm9Fv^T{ns})M8Co`K@N85bL2J4J9)%`TTp8seW?Zo+ytH(w zh9=AI*I{z!6(jIOecdnLT=t|kfYr;0m$z(5s8+znAC*%hoi+C0+j)o@+lO61*#=j{ zie0sJsEr_4!I=QPlf5&ttp;Udm$9-+?R4eu@+K51zz0e@ zBD@0@axlM)S!p*msB4UQ__HJGX`3CSSLNkOhYjPN2tA98KMvc+i+~Tr6#&v z5G+$)ar-5Y49#@E=c#vo(-&nYST!C>=Q^XC1jX?-XVvL=FQ)JUbwKfCxoX8+FeR$L zlzu5~v@i9u7}`7qJ5&JDxkHJ>@NJD`wM1~&TL0H*j-uO38%Rln!fEcSWtC>f@Ls^v zn1;J_2j@0RhXp^^2^)n1?GIj{HC0Uq-Uzy4`2$amDelB#_*7Rrko8e?LN+wX^QbHq ESu#utj{pDw 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 0000000000000000000000000000000000000000000000000000000000000000..7c279cbc4e534a4afe980393bcdded3522c2a62fbc8b58c6366351f911fa746e GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j)!k~3O(2so6aFdRc8Zi-mO+eH!u0%3m6wEzkU5F>7i zSjO8$5^u>60D|a6aft*2O%-;qe2Zt++xAgOf(1Kyn%|271ljP4(;@dJ^KMmdI+<&c zSYoP$Rn{g!>VZ)Aanf&AeqCK!9zu|~(u9nvF4sH)=XMV7`I(lZ#ns>D)t57c^xvBiFGx z$8Of4s3f5Tuf}!eA(0@OJaD&yh}qOLydK=u5j$@Mas@>4T4wBmx+)gokQWrN+mc^y z6e5}f$dTPM!plV?n>Q?_SAt~mCcJW;}!tz}x7>v!#q8*Sg_4FBMVS&U9ykHfW_zY8< zh;|{09jZGWRG%-B2lsK%A}7xPRLIm?A&bjJRM!7j)^DhM8wv+EL_`G%)L~xH$h#d( znc5*T#bP495H+|$Xr%6%yvYQB~g;G7#|8yqK_Ja#{|cRW2JId6Wze7nW0nc7 + +- Updated to 0.23.3 + * Add BuildRequires for fmt, libnpupnp, libopenmpt, libpipewire-0.3. + * Increased the minimum version for meson to 0.56.0. + * Changed meson option -Dupnp from enabled to npupnp. + * 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..5fe15cb 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 @@ -44,7 +44,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 +57,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,9 +74,11 @@ BuildRequires: pkgconfig(libmodplug) BuildRequires: pkgconfig(libmpdclient) BuildRequires: pkgconfig(libmpg123) BuildRequires: pkgconfig(libnfs) +BuildRequires: pkgconfig(libnpupnp) +BuildRequires: pkgconfig(libopenmpt) +BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libsystemd) -BuildRequires: pkgconfig(libupnp) BuildRequires: pkgconfig(liburing) BuildRequires: pkgconfig(mad) BuildRequires: pkgconfig(ogg) @@ -180,7 +183,7 @@ This package contains optional documentation provided in addition to this packag %endif -Dzlib=enabled \ -Dbzip2=enabled \ - -Dupnp=enabled \ + -Dupnp=npupnp \ -Dzzip=enabled \ -Dadplug=disabled \ -Daudiofile=enabled \ From bf8001abda0284bc8e063d38889cb30703264046f0280edb578e1b3e28637a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=98=D0=BD=D0=B4=D0=B8=D0=B3?= =?UTF-8?q?=D0=BE?= Date: Sat, 6 Nov 2021 02:13:01 +0000 Subject: [PATCH 2/3] Accepting request 929791 from home:13ilya - 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" OBS-URL: https://build.opensuse.org/request/show/929791 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=81 --- mpd-service.patch | 22 ++++++++++++++++++++++ mpd.changes | 7 ++++--- mpd.spec | 7 ++++--- 3 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 mpd-service.patch diff --git a/mpd-service.patch b/mpd-service.patch new file mode 100644 index 0000000..e4b368d --- /dev/null +++ b/mpd-service.patch @@ -0,0 +1,22 @@ +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 04:55:03.182926143 +0300 +@@ -27,7 +27,6 @@ LimitMEMLOCK=64M + ProtectSystem=yes + + # more paranoid security settings +-NoNewPrivileges=yes + ProtectKernelTunables=yes + ProtectControlGroups=yes + ProtectKernelModules=yes +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 04:55:28.318981683 +0300 +@@ -27,7 +27,6 @@ LimitMEMLOCK=64M + ProtectSystem=yes + + # more paranoid security settings +-NoNewPrivileges=yes + ProtectKernelTunables=yes + ProtectControlGroups=yes + # AF_NETLINK is required by libsmbclient, or it will exit() .. *sigh* diff --git a/mpd.changes b/mpd.changes index 8710f23..355b2c3 100644 --- a/mpd.changes +++ b/mpd.changes @@ -1,10 +1,11 @@ ------------------------------------------------------------------- -Fri Nov 5 23:26:09 UTC 2021 - Илья Индиго +Sat Nov 6 02:02:33 UTC 2021 - Илья Индиго - Updated to 0.23.3 - * Add BuildRequires for fmt, libnpupnp, libopenmpt, libpipewire-0.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 npupnp. + * 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" diff --git a/mpd.spec b/mpd.spec index 5fe15cb..13a02d9 100644 --- a/mpd.spec +++ b/mpd.spec @@ -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++ @@ -74,11 +75,11 @@ BuildRequires: pkgconfig(libmodplug) BuildRequires: pkgconfig(libmpdclient) BuildRequires: pkgconfig(libmpg123) BuildRequires: pkgconfig(libnfs) -BuildRequires: pkgconfig(libnpupnp) BuildRequires: pkgconfig(libopenmpt) BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libupnp) BuildRequires: pkgconfig(liburing) BuildRequires: pkgconfig(mad) BuildRequires: pkgconfig(ogg) @@ -183,7 +184,7 @@ This package contains optional documentation provided in addition to this packag %endif -Dzlib=enabled \ -Dbzip2=enabled \ - -Dupnp=npupnp \ + -Dupnp=pupnp \ -Dzzip=enabled \ -Dadplug=disabled \ -Daudiofile=enabled \ From 9a277513c37229dbf4eba106066cb4f025fefa96a7c5c16b95294b202bb17f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=98=D0=BD=D0=B4=D0=B8=D0=B3?= =?UTF-8?q?=D0=BE?= Date: Sat, 6 Nov 2021 13:23:07 +0000 Subject: [PATCH 3/3] Accepting request 929876 from home:13ilya - 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" OBS-URL: https://build.opensuse.org/request/show/929876 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=82 --- mpd-service.patch | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/mpd-service.patch b/mpd-service.patch index e4b368d..832dee2 100644 --- a/mpd-service.patch +++ b/mpd-service.patch @@ -1,22 +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 04:55:03.182926143 +0300 -@@ -27,7 +27,6 @@ LimitMEMLOCK=64M - ProtectSystem=yes ++++ 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 - # more paranoid security settings --NoNewPrivileges=yes - ProtectKernelTunables=yes - ProtectControlGroups=yes - ProtectKernelModules=yes + # 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 04:55:28.318981683 +0300 -@@ -27,7 +27,6 @@ LimitMEMLOCK=64M - ProtectSystem=yes ++++ 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 - # more paranoid security settings --NoNewPrivileges=yes - ProtectKernelTunables=yes - ProtectControlGroups=yes - # AF_NETLINK is required by libsmbclient, or it will exit() .. *sigh* + # 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