[2/2] libmpdclient: Update to 2.19

Message ID 20210407101746.63554-1-adolf.belka@ipfire.org
State Accepted
Commit 8dee77e017be1bd5f8afb5a3052306354492b1f3
Headers
Series [1/2] mpc: Update to 0.33 |

Commit Message

Adolf Belka April 7, 2021, 10:17 a.m. UTC
  - 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 <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/libmpdclient | 16 ++++++++++++----
 lfs/libmpdclient                       | 16 ++++++++--------
 2 files changed, 20 insertions(+), 12 deletions(-)
  

Patch

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)