Skip to content

mpd: update to 0.24.15 - #30673

Open
commodo wants to merge 2 commits into
openwrt:masterfrom
commodo:mpd1
Open

commodo wants to merge 2 commits into
openwrt:masterfrom
commodo:mpd1

Conversation

@commodo

@commodo commodo commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

📦 Package Details

Maintainer: me

Description:

Refresh PKG_HASH and point PKG_SOURCE_URL at the 0.24 release directory.

0.24 removed the SoundCloud plugin and replaced yajl with nlohmann/json, so -Dsoundcloud= and -Dyajl= are no longer meson options and yajl leaves DEPENDS. Pin -Dnlohmann_json=disabled rather than leave the new option at auto: its only users here, qobuz and snapcast, are both disabled.

Drop 010-fmt.patch. It was added in 0.23.16 to fix compilation against fmt 11.1, and 0.24 rewrote Response.hxx, dropping the FMT_VERSION ladder the patch edited. src/client/Response.cxx compiles against the feed's fmt 12.1.0 unpatched.


🧪 Run Testing Details

  • OpenWrt Version:
  • OpenWrt Target/Subtarget:
  • OpenWrt Device:

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 new commit.


Generated by Claude Code

Comment thread sound/mpd/Makefile
$(call Package/mpd/Default)
TITLE+= (full)
DEPENDS+= +PACKAGE_audio-support:pulseaudio +libvorbis +libmms +libnpupnp +libshout +yajl \
DEPENDS+= +PACKAGE_audio-support:pulseaudio +libvorbis +libmms +libnpupnp +libshout \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.24 also dropped Boost (NEWS:259, "remove Boost dependency"); meson no longer looks for it, and the only remaining #include <boost/...> is a fallback in src/util/Math.hxx for a libstdc++ without C99 math. Should +boost in Package/mpd/Default DEPENDS go along with +yajl?


Generated by Claude Code

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, thanks


Generated by Claude Code

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 new commits; no new issues found.


Generated by Claude Code

-Dpulse= is derived with $(if $(CONFIG_PACKAGE_audio-support)), true for
=m as well, while the rpath-link that lets the linker find
libpulsecommon was guarded by ifeq(...,y). Selecting audio-support as a
module built pulse support without the flag, leaving every pa_* symbol
undefined. Test the same way the option does.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Refresh PKG_HASH and point PKG_SOURCE_URL at the 0.24 release directory.

0.24 removed the SoundCloud plugin and replaced yajl with nlohmann/json,
so -Dsoundcloud= and -Dyajl= are no longer meson options and yajl leaves
DEPENDS. Pin -Dnlohmann_json=disabled rather than leave the new option at
auto: its only users here, qobuz and snapcast, are both disabled.

0.24 also dropped the Boost dependency: meson no longer looks for it and
the one remaining include is a header-only lround fallback for a
libstdc++ built without C99 math. Nothing links a boost library, so
drop +boost too.

Drop 010-fmt.patch. It was added in 0.23.16 to fix compilation against
fmt 11.1, and 0.24 rewrote Response.hxx, dropping the FMT_VERSION ladder
the patch edited. src/client/Response.cxx compiles against the feed's
fmt 12.1.0 unpatched.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants