Opened 9 months ago

Last modified 9 months ago

#69275 new update

mpd: update to current version

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mpd

Description (last modified by ryandesign (Ryan Carsten Schmidt))

mpd is at 13.0.1, while MacPorts has 0.23.8. It will be nice to have it updated. Also the port is broken from Big Sur down at the moment: https://ports.macports.org/port/mpd/details

Change History (3)

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Version: 2.9.1

According to the mpd homepage, the latest version of mpd is 0.23.15.

13.0.1 appears to be the latest version of some other software called myMPD. The port's livecheck should be improved to return results only for mpd version numbers.

According to buildbot logs, the build failure on macOS 11 is due to the use of kAudioHardwareServiceDeviceProperty_VirtualMainVolume which was introduced in macOS 12, so indeed mpd 0.23.8 is not compatible with macOS 11 or earlier and this isn't in our control. You can check if the latest upstream code still uses kAudioHardwareServiceDeviceProperty_VirtualMainVolume; if so, then it still requires macOS 12 or later and the port should be marked as requiring macOS 12 or later using the platforms keyword. You can file a ticket with the developers asking them to support earlier macOS versions if you wish but they may not want to do that and it's not our job to maintain complex patches for old OS compatibility; it's only our job to offer an easy way to install the software the developers provide.

comment:2 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

In bf577352ef941b4137f78a20124d6890fdb6d6cd/macports-ports (master):

mpd: Fix livecheck

See: #69275

Also use path:-style dep for pkgconfig, use leading 0 for octal numbers,
and remove obvious comments.

comment:3 in reply to:  1 Changed 9 months ago by barracuda156

Replying to ryandesign:

According to the mpd homepage, the latest version of mpd is 0.23.15.

13.0.1 appears to be the latest version of some other software called myMPD. The port's livecheck should be improved to return results only for mpd version numbers.

According to buildbot logs, the build failure on macOS 11 is due to the use of kAudioHardwareServiceDeviceProperty_VirtualMainVolume which was introduced in macOS 12, so indeed mpd 0.23.8 is not compatible with macOS 11 or earlier and this isn't in our control. You can check if the latest upstream code still uses kAudioHardwareServiceDeviceProperty_VirtualMainVolume; if so, then it still requires macOS 12 or later and the port should be marked as requiring macOS 12 or later using the platforms keyword. You can file a ticket with the developers asking them to support earlier macOS versions if you wish but they may not want to do that and it's not our job to maintain complex patches for old OS compatibility; it's only our job to offer an easy way to install the software the developers provide.

Of course, I did not mean that anyone has to fix it. This was just to bring attention to the issue. I will open a ticket with upstream.

Thank you for fixing livecheck.

UPD. Issue with upstream: https://github.com/MusicPlayerDaemon/MPD/issues/1993

Last edited 9 months ago by barracuda156 (previous) (diff)
Note: See TracTickets for help on using tickets.