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)