13 Commits

Author SHA1 Message Date
Khem Raj 7b4333942b mpd: fix build against fmt 12.2.0
Since fmt 12.2.0, <fmt/core.h> is a shim that only includes <fmt/base.h>,
which does not declare fmt::format(). Building mpd 0.24.9 against it
fails with:

  src/net/ToString.cxx:80:16: error: no member named 'format' in namespace 'fmt'
  src/lib/avahi/Publisher.cxx:37:9: error: no member named 'format' in namespace 'fmt'

Add a patch that includes <fmt/format.h> directly in the files that
call fmt::format(). This mirrors the upstream fix (MPD commits
88d5b5248d71 and 109c26258b9d), extended to the files present in the
0.24.9 release that call fmt::format() but were not covered by those
commits.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-12 17:39:44 -07:00
Khem Raj e7ca3cedb0 mpd: Upgrade mpd to 0.23.16
- Release Notes

* database
  - fix integer overflows with 64-bit inode numbers
* filter
  - ffmpeg: fix for filters producing no output
* support libfmt 11
* support ICU 76

- Drop ICU-76 support patch its already in this release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 09:33:52 -08:00
Khem Raj 81a0d778f3 mpd: Fix build with icu 76+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-23 10:21:48 -08:00
Khem Raj 65bac5505f mpd: Upgrade to 0.23.15+git
Drop uneeded patch

ver 0.23.15 (2023/12/20)
* decoder
  - ffmpeg: fix build failure with FFmpeg 6.1
* output
  - alsa: limit buffer time to 2 seconds

Use latest master for fmt 11.x fixes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:16 -07:00
Markus Volk 1e086c487d musicpd: unbreak build with ffmpeg 6.1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-20 09:57:23 -08:00
alperak 2afb48b7f6 mpd: upgrade 0.23.12 -> 0.23.14
Patches deleted because issues fixed in the new version.

Changelog:

ver 0.23.14 (2023/10/08)
* decoder
  - flac: fix scanning files with non-ASCII names on Windows
  - mad: fix calculation of LAME peak values
* mixer
  - wasapi: fix problem setting volume
* more libfmt 10 fixes
* fix auto-detected systemd unit directory
* Android
  - require Android 7 or newer

ver 0.23.13 (2023/05/22)
* input
  - curl: fix busy loop after connection failed
  - curl: hide "404" log messages for non-existent ".mpdignore" files
* archive
  - zzip: fix crash bug
* database
  - simple: reveal hidden songs after deleting containing CUE
* decoder
  - ffmpeg: reorder to a lower priority than "gme"
  - gme: require GME 0.6 or later
* output
  - pipewire: fix corruption bug due to missing lock
* Linux
  - shut down if parent process dies in --no-daemon mode
  - determine systemd unit directories via pkg-config
* support libfmt 10

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-12 12:18:48 -08:00
Khem Raj 6b23d6fcef mpd: Fix build with clang-16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:57:36 -07:00
Wang Mingyu 8fdc550f0a mpd: fix build error when fmt updated
backport upstream patch for build error when fmt updated:
ix-build-error-when-fmt-updated.patch
minor-fixup-for-libfmt10.patch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:24 -07:00
Alexander Kanavin e9f5b21fd5 mpd: update 0.22.9 -> 0.23.5
This resolves ffmpeg 5.0 issues.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-25 09:13:09 -08:00
Khem Raj b86476b4f9 mpd: Update to 0.22.9
Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-06-29 19:47:30 -07:00
Khem Raj d21322a667 mpd: Upgrade to 0.22 series
Drop the gcc10 patches the problem is fixed in newer versions
Migrate to use meson build system
Drop libwrap packageconfig, its dropped upstream too
Use systemd_user_unit_dir to match OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Max Kellermann <max.kellermann@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-03-02 10:13:24 -08:00
Khem Raj af86f2e84d mpd: Fix build with gcc10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-26 19:52:55 -08:00
Andreas Müller 242c972502 mpd: Initial add 0.17.1
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-09-18 15:54:03 +02:00