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)