From patchwork Wed Apr 7 10:17:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 4114 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FFgLs07SPz3yBV for ; Wed, 7 Apr 2021 10:17:41 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FFgLr42m1z20M; Wed, 7 Apr 2021 10:17:40 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FFgLr2jCjz2yHP; Wed, 7 Apr 2021 10:17:40 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FFgLq1TbFz2xVn for ; Wed, 7 Apr 2021 10:17:39 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4FFgLq0S3Hz1vq; Wed, 7 Apr 2021 10:17:39 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1617790659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dtapM7U6zUjDXxhaVrXiqrBtjwegF9ZkrkRHW4YQoOw=; b=yMzNdXR9Rf2qX56r1j6i0mezz2rLX/reoRu9Zcy5RKSkPeadr7OuHUBuO9i8iuhklN7F55 0QBUhuXntLyyggCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1617790659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dtapM7U6zUjDXxhaVrXiqrBtjwegF9ZkrkRHW4YQoOw=; b=C/p6/PoW36zcKTgp8YcXcx1Dul7cD3/Rgi7Dj8h3IOSq/uGrmXsTI95OpgApHXPysTNztk 2lpFMedo+VxO4apBQGjdzqSeOKOC5Pp3v5gB2PN24Z/8reRmti66WSWTSWTtqahs9/+XlX ZT3thoFyaRAfwIPtz7GeWW9ufh2p+jx2OMfpaw9cf6wQYBnVC8dO2YQsY7XD8lf7lHfNDN Htlno6i628V1wbTgI16YvYVmS1xV3t7qn8zQ93ivI4uKEscKVWiuYpuPq+CMHDkwYJqUCE buHUM25B2mI+UcP6P9AHE9MWabYNwn/ZkGgM/tU7MfiPiFZDTNm6UrtbY71W+w== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 1/2] mpc: Update to 0.33 Date: Wed, 7 Apr 2021 12:17:36 +0200 Message-Id: <20210407101736.63500-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 0.21 to 0.33 - Update rootfiles - Required update in libmpdclient to 2.19 - Autotools build no longer available Change build to meson and ninja - Changelog 0.33 (2019/10/31) * fix off-by-one bug in "prio" command * reduce network transfer for "playlist", "ls", "listall" 0.32 (2019/06/11) * add command "listneighbors" * reduce network transfer for "search" * fall back to "Composer" or "AlbumArtist" tag in the default format * support abstract socket in --host option 0.31 (2018/10/24) * add commands "queued", "seekthrough", "mount", "unmount" * support "search" with filter expression (MPD 0.21) * support "load" with range * allow only tag names after "list" * fix the Windows build (no strndup()) * make documentation build optional with -Ddocumentation={true|false|auto} * build: require Meson 0.47 0.30 (2018/05/03) * add command "rescan" * seek: use the "seekcur" command instead of "seekid" * require MPD 0.19 0.29 (2018/02/11) * implement %prio% for --format * the default --format falls back to "performer" if there is no "artist" * add command "prio" * command "outputs" prints attributes * fix build failure with gcc 7.0 and clang 4.0 * build with Meson instead of autotools 0.28 (2016/08/18) * let "listall" print songs only * "searchplay" supports tags * add command "pause-if-playing" * format: add escape character to escape sequences * use environment variable "MPC_FORMAT" * require libmpdclient 2.9 or newer 0.27 (2015/05/30) * fix --enable-debug and --enable-werror * add unit tests * new command: "searchplay" searches and plays songs from the current playlist * fix use-after-free bug * new command: "searchadd" works like findadd with non-exact matching * improved error handling * show directories in command "tab" * bash completion: escape '&' * add %mtime% and %mdate% to --format * recognize command by unambiguous prefix * "insert" queues new songs when "random" mode is enabled 0.26 (2014/06/03) * fix segfault when adding absolute paths * "playlist" can show stored playlist * "search" supports --format 0.25 (2013/11/09) * fix "insert" with directory argument * optimize tab completion commands * do character set conversion for tab completion commands * require libmpdclient 2.3, MPD 0.16 0.24 (2013/10/29) * configure.ac: fix syntax error * new command "toggleoutput" * use the "volume" command on MPD 0.18 * fix search/find with "filename" constraint * add search/find with "base" constraint * don't strip trailing slashes from absolute URLs 0.23 (2013/04/09) * do character set conversions on client-to-client messages * allow trailing slashes in paths that can be directories * make "mv" a shortcut for "move" * new command "cdprev" * support absolute paths in "add" and "update" * enable/disable: support output names, multiple arguments, and "only" mode * doc: document missing format keywords 0.22 (2012/02/04) * implement the client-to-client protocol (MPD 0.17) * sticker: fix crash bug * print newline after volume level * print status after no-op relative volume change Signed-off-by: Adolf Belka --- config/rootfiles/packages/mpc | 11 +++++------ lfs/mpc | 16 ++++++++-------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/config/rootfiles/packages/mpc b/config/rootfiles/packages/mpc index 044b3141e..8fe332839 100644 --- a/config/rootfiles/packages/mpc +++ b/config/rootfiles/packages/mpc @@ -3,9 +3,8 @@ usr/bin/mpc #usr/share/doc/mpc/AUTHORS #usr/share/doc/mpc/COPYING #usr/share/doc/mpc/NEWS -#usr/share/doc/mpc/README -#usr/share/doc/mpc/mpc-completion.bash -#usr/share/doc/mpc/mpd-m3u-handler.sh -#usr/share/doc/mpc/mpd-pls-handler.sh -#usr/share/doc/mpc/mppledit -#usr/share/man/man1/mpc.1 +#usr/share/doc/mpc/README.rst +#usr/share/doc/mpc/contrib +#usr/share/doc/mpc/contrib/mpc-completion.bash +#usr/share/doc/mpc/contrib/mpd-m3u-handler.sh +#usr/share/doc/mpc/contrib/mpd-pls-handler.sh diff --git a/lfs/mpc b/lfs/mpc index 5f3340b98..2060685cc 100644 --- a/lfs/mpc +++ b/lfs/mpc @@ -24,15 +24,15 @@ include Config -VER = 0.21 +VER = 0.33 THISAPP = mpc-$(VER) -DL_FILE = $(THISAPP).tar.bz2 +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = mpc -PAK_VER = 6 +PAK_VER = 7 DEPS = mpd libmpdclient @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = d8f88aad5fa7ed4c6e7005c5ec1ba7c5 +$(DL_FILE)_MD5 = 7d1f5c308b5df1f2af0a01360a235af2 install : $(TARGET) @@ -76,9 +76,9 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=/usr - cd $(DIR_APP) && make $(MAKETUNING) - cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && meson --prefix=/usr builddir/ + cd $(DIR_APP) && ninja -C builddir/ + cd $(DIR_APP) && ninja -C builddir/ install @rm -rf $(DIR_APP) @$(POSTBUILD) From patchwork Wed Apr 7 10:17:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 4115 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FFgM30BlZz3yBV for ; Wed, 7 Apr 2021 10:17:51 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FFgM257Lhz1vq; Wed, 7 Apr 2021 10:17:50 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FFgM23p7qz2y5c; Wed, 7 Apr 2021 10:17:50 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FFgM10nvBz2xX7 for ; Wed, 7 Apr 2021 10:17:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4FFgM05813z1kl; Wed, 7 Apr 2021 10:17:48 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1617790668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pGGmv0LpV5GKoiCTC2jkZ+0r4Nm23ctmm1eRIBH78P4=; b=6+YjyvSjkAGv+PGXcxCI9fDKZdtRj2/uK7Pg75m11NnwZ4kVgPmqQJJHnjNMUtCo3OZdZj A8Xyo1mZ/whCoABg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1617790668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pGGmv0LpV5GKoiCTC2jkZ+0r4Nm23ctmm1eRIBH78P4=; b=ANXHxVyIjG8t8giaJXIZBZwU6S/po6Du6vIDSg+4SVGHA48Shn0F0X0ateDSjMA4dWGYNh OKvmoiCMMpHALBARxB+c8oigOmVu1hfO5EN39c6LS3wrblHdCCbypnY6lyFmD27iz01sNP GZxmR59UES3W0nsCJH0xLVwSNMrFg05UgWncImralnj8yIX+W+j06sTjLQRG9JCI0U9V9G 5NQlEo+HBKutKH/TxmyqFVxW2o6BWOQg6/zBL611uHJEfKkiBz+HnbStAn7TqIRzSFLE5Q 6qBZKmawVVqY4/R1hrm+rhOlcIToT3Nip/Mv7vZSn7lPixnPBzJ6/Buvlpr/+g== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/2] libmpdclient: Update to 2.19 Date: Wed, 7 Apr 2021 12:17:46 +0200 Message-Id: <20210407101746.63554-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 2.5 to 2.19 - Update rootfiles - Autotools no longer available for build Change from autools to meson/ninja - Changelog libmpdclient 2.19 (2020/07/03) * fix off-by-one bug in MPD_HOST parser * add function mpd_lookup_replay_gain_mode() * identify messages with length over the buffer limit * support MPD protocol 0.16 - replay gain * support MPD protocol 0.19 - idle events "neighbor" and "mount" * support MPD protocol 0.20 - rangeid * support MPD protocol 0.21 - command "tagtypes all" libmpdclient 2.18 (2020/01/20) * more out-of-memory checks * partition: add mpd_recv_partition() * support MPD protocol 0.21 - "oneshot" single state * support MPD protocol 0.22 - status: add mpd_status_get_partition() - commands "delpartition", "moveoutput" libmpdclient 2.17 (2019/12/04) * search: add mpd_search_add_db_songs_to_playlist() * idle: support event "partition" * support MPD protocol 0.19 - "listneighbors" * support MPD protocol 0.22 - "getfingerprint" * support tags "MPD_TAG_LABEL", "MPD_TAG_MUSICBRAINZ_WORKID", "Grouping", "Work", "Conductor" * support MPD partitions * mpd_async_set_keepalive() returns bool * mpd_connection_set_keepalive() returns bool * fix build failure on Haiku libmpdclient 2.16 (2018/10/09) * support MPD protocol 0.19 - "mount", "unmount", "listmounts" * support MPD protocol 0.17 - "load" with range * add mpd_output_get_attribute() * use UINX_MAX instead of `(unsigned)-1` to avoid undefined behavior libmpdclient 2.15 (2018/09/02) * support MPD protocol 0.21 - search: support search expressions - search: descending sort - search: support sorting by "Last-Modified" - song: audio format * support MPD protocol 0.17 - player: command "seekcur" * fix `-Wrestrict` compiler warning libmpdclient 2.14 (2018/02/11) * support MPD protocol 0.21 - command "outputset" - mpd_output_get_plugin() - receive output attributes * MSVC compatibility * improved local and abstract socket support libmpdclient 2.13 (2017/07/25) * fix build with meson > 0.38.1 * fix connect error "Operation now in progress" libmpdclient 2.12 (2017/07/21) * support MPD protocol 0.21 - support tag "OriginalDate" - command "tagtypes" plus "disable", "enable", "clear" * support MPD protocol 0.20 - support "plchanges" and "plchangesposid" with range * support MPD protocol 0.19 - commands "addtagid", "cleartagid" - command "listfiles" - grouping for "list" and "count" - tag "AlbumSort" - "seekid" with float time * use relative #include paths to avoid clashes with other libmpdclient copies * build with Meson instead of autotools libmpdclient 2.11 (2017/03/20) * fix heap corruption with mpd_connection_new_async() * add space before "window" search argument * detect getaddrinfo() at configure time * add support for ArtistSort and AlbumArtistSort tags * support MPD protocol 0.21 - audio format specifications "dsd64" etc. - the "sort" parameter for commands "find"/"search" libmpdclient 2.10 (2015/02/23) * support abstract sockets with "@" prefix * support tag "MUSICBRAINZ_RELEASETRACKID" * add TCP keepalive internal and external APIs * support MPD protocol 0.19 - status: support sample formats "float" and "dsd" - song: report duration with milliseconds precision - search: support constraint "modified-since" * support MPD protocol 0.20 - the "window" parameter for commands "find"/"search" libmpdclient 2.9 (2013/10/29) * directory: support attribute "Last-Modified" * support MPD protocol 0.18 - command "readcomments" - command "toggleoutput" - command "volume" - the "base" constraint for commands "find"/"search" libmpdclient 2.8 (2013/04/09) * song: support attribute "Prio" * queue: fix the ranged "prio" command * queue: support open ranges libmpdclient 2.7 (2012/02/04) * status: add nextsong/nextsongid support libmpdclient 2.6 (2011/10/23) * mpd/client.h: include message.h * queue: support song priorities Signed-off-by: Adolf Belka --- config/rootfiles/packages/libmpdclient | 16 ++++++++++++---- lfs/libmpdclient | 16 ++++++++-------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/config/rootfiles/packages/libmpdclient b/config/rootfiles/packages/libmpdclient index a349cfd59..531afce82 100644 --- a/config/rootfiles/packages/libmpdclient +++ b/config/rootfiles/packages/libmpdclient @@ -9,36 +9,44 @@ #usr/include/mpd/directory.h #usr/include/mpd/entity.h #usr/include/mpd/error.h +#usr/include/mpd/fingerprint.h #usr/include/mpd/idle.h #usr/include/mpd/list.h #usr/include/mpd/message.h #usr/include/mpd/mixer.h +#usr/include/mpd/mount.h +#usr/include/mpd/neighbor.h #usr/include/mpd/output.h #usr/include/mpd/pair.h #usr/include/mpd/parser.h +#usr/include/mpd/partition.h #usr/include/mpd/password.h #usr/include/mpd/player.h #usr/include/mpd/playlist.h #usr/include/mpd/protocol.h #usr/include/mpd/queue.h #usr/include/mpd/recv.h +#usr/include/mpd/replay_gain.h #usr/include/mpd/response.h #usr/include/mpd/search.h #usr/include/mpd/send.h #usr/include/mpd/settings.h +#usr/include/mpd/socket.h #usr/include/mpd/song.h #usr/include/mpd/stats.h #usr/include/mpd/status.h #usr/include/mpd/sticker.h #usr/include/mpd/tag.h #usr/include/mpd/version.h -#usr/lib/libmpdclient.a -#usr/lib/libmpdclient.la usr/lib/libmpdclient.so usr/lib/libmpdclient.so.2 -usr/lib/libmpdclient.so.2.0.5 +usr/lib/libmpdclient.so.2.19 #usr/lib/pkgconfig/libmpdclient.pc #usr/share/doc/libmpdclient +#usr/share/doc/libmpdclient/AUTHORS #usr/share/doc/libmpdclient/COPYING #usr/share/doc/libmpdclient/NEWS -#usr/share/doc/libmpdclient/README +#usr/share/doc/libmpdclient/README.rst +#usr/share/vala +#usr/share/vala/vapi +#usr/share/vala/vapi/libmpdclient.vapi diff --git a/lfs/libmpdclient b/lfs/libmpdclient index e35ea9ee6..24f516d01 100644 --- a/lfs/libmpdclient +++ b/lfs/libmpdclient @@ -24,15 +24,15 @@ include Config -VER = 2.5 +VER = 2.19 THISAPP = libmpdclient-$(VER) -DL_FILE = $(THISAPP).tar.bz2 +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = libmpdclient -PAK_VER = 3 +PAK_VER = 4 DEPS = @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = c1e359de6fbee3dc052deaeed05350db +$(DL_FILE)_MD5 = aee66cbf5ce2ebf1b976e9c6ade0feee install : $(TARGET) @@ -76,10 +76,10 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && ./configure --prefix=/usr - cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) - cd $(DIR_APP) && make install + cd $(DIR_APP) && meson --prefix=/usr builddir/ + cd $(DIR_APP) && ninja -C builddir/ + cd $(DIR_APP) && ninja -C builddir/ install @rm -rf $(DIR_APP) @$(POSTBUILD)