Skip to contentSkip to conversation

Backport mpd and ncmpc upgrades, fluidsynth SRC_URI fix

PATCH New Scott Murray 1 participant 6 messages Feb 27, 2023

lore
Share & tools
lore
#0 lore raw

cover Backport mpd and ncmpc upgrades, fluidsynth SRC_URI fix

Backport mpd and ncmpc client upgrades to keep current with fixes. The mpd 0.23.8 bump is very desirable for PipeWire users as it includes significant fixes to the output plugin. Also backport a fluidsynth SRC_URI fix that made it to langdale, but not kirkstone. Building mpd with the default PACKAGECONFIG fails without it.

Khem Raj (4):
mpd: Update to 0.23.8
mpd: Upgrade to 0.23.9
ncmpc: Upgrade to 0.47
mpd: Upgrade to 0.23.12 release

Preeti Sachan (1):
fluidsynth: update SRC_URI to remove non-existing 2.2.x branch

 .../fluidsynth/fluidsynth.inc                 |  2 +-
 .../musicpd/{mpd_0.23.6.bb => mpd_0.23.12.bb} |  2 +-
 ...egular-integer-to-fix-Wenum-constexp.patch | 37 +++++++++++++++++++
 .../musicpd/{ncmpc_0.46.bb => ncmpc_0.47.bb}  |  3 +-
 4 files changed, 41 insertions(+), 3 deletions(-)
 rename meta-multimedia/recipes-multimedia/musicpd/{mpd_0.23.6.bb => mpd_0.23.12.bb} (98%)
 create mode 100644 meta-multimedia/recipes-multimedia/musicpd/ncmpc/0001-SearchPage-use-regular-integer-to-fix-Wenum-constexp.patch
 rename meta-multimedia/recipes-multimedia/musicpd/{ncmpc_0.46.bb => ncmpc_0.47.bb} (92%)
Signature · 1 line
2.39.0
#1 lore raw

PATCH 1/5 mpd: Update to 0.23.8

From: Khem Raj <[email protected]>

(cherry picked from commit 02fc7f371d957cbe47f3e1a9f659eccb923306cb)
---
 .../recipes-multimedia/musicpd/{mpd_0.23.6.bb => mpd_0.23.8.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-multimedia/recipes-multimedia/musicpd/{mpd_0.23.6.bb => mpd_0.23.8.bb} (98%)
meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.8.bb renamed from meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.6.bb +1 -1
similarity index 98%
rename from meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.6.bb
rename to meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.8.bb
index c74f1074c..22bc15969 100644
@@ -21,7 +21,7 @@ DEPENDS += " \
 SRC_URI = "git://github.com/MusicPlayerDaemon/MPD;branch=v0.23.x;protocol=https \
            file://mpd.conf.in \
            "
-SRCREV = "f591193ddaa7f9bcb6c85ff5899517fc7b53e35a"
+SRCREV = "1f28790476f7bca935edec67eecae909741ff287"
 S = "${WORKDIR}/git"
 
 EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-Dsystemd=enabled -Dsystemd_system_unit_dir=${systemd_system_unitdir} -Dsystemd_user_unit_dir=${systemd_system_unitdir}', '-Dsystemd=disabled', d)}"
Signature · 1 line
2.39.0
#2 lore raw

PATCH 2/5 mpd: Upgrade to 0.23.9

In reply to Scott Murray

From: Khem Raj <[email protected]>

(cherry picked from commit 9ed1e62bbb17c66f8ab3d0601d4968e4b034484a)
---
 .../recipes-multimedia/musicpd/{mpd_0.23.8.bb => mpd_0.23.9.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-multimedia/recipes-multimedia/musicpd/{mpd_0.23.8.bb => mpd_0.23.9.bb} (98%)
meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.9.bb renamed from meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.8.bb +1 -1
similarity index 98%
rename from meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.8.bb
rename to meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.9.bb
index 22bc15969..e63c1b5e1 100644
@@ -21,7 +21,7 @@ DEPENDS += " \
 SRC_URI = "git://github.com/MusicPlayerDaemon/MPD;branch=v0.23.x;protocol=https \
            file://mpd.conf.in \
            "
-SRCREV = "1f28790476f7bca935edec67eecae909741ff287"
+SRCREV = "12147f6d5822899cc4316799b494c093b4b47f91"
 S = "${WORKDIR}/git"
 
 EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-Dsystemd=enabled -Dsystemd_system_unit_dir=${systemd_system_unitdir} -Dsystemd_user_unit_dir=${systemd_system_unitdir}', '-Dsystemd=disabled', d)}"
Signature · 1 line
2.39.0
#3 lore raw

PATCH 3/5 ncmpc: Upgrade to 0.47

In reply to Scott Murray

From: Khem Raj <[email protected]>

Backport a patch to fix c++17 build with clang

(cherry picked from commit 9b6baed24d5efe0820266ccf3567bcff42701a01)
---
 ...egular-integer-to-fix-Wenum-constexp.patch | 37 +++++++++++++++++++
 .../musicpd/{ncmpc_0.46.bb => ncmpc_0.47.bb}  |  3 +-
 2 files changed, 39 insertions(+), 1 deletion(-)
 create mode 100644 meta-multimedia/recipes-multimedia/musicpd/ncmpc/0001-SearchPage-use-regular-integer-to-fix-Wenum-constexp.patch
 rename meta-multimedia/recipes-multimedia/musicpd/{ncmpc_0.46.bb => ncmpc_0.47.bb} (92%)
meta-multimedia/recipes-multimedia/musicpd/ncmpc/0001-SearchPage-use-regular-integer-to-fix-Wenum-constexp.patch new file +37 -0
new file mode 100644
index 000000000..92094af1f
@@ -0,0 +1,37 @@
+From 2e8dc2c28c0938dbbb85ebbac2b9a60be9ccd9f3 Mon Sep 17 00:00:00 2001
+From: Max Kellermann <[email protected]>
+Date: Wed, 23 Nov 2022 12:25:50 +0100
+Subject: [PATCH] SearchPage: use regular integer to fix -Wenum-constexpr-conversion
+
+Upstream-Status: Backport [https://github.com/MusicPlayerDaemon/ncmpc/commit/ddd1757907f0376b5843f707bf182b7827ff6591]
+---
+ src/SearchPage.cxx | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/SearchPage.cxx b/src/SearchPage.cxx
+index 2fa5edbc..3f91c4fe 100644
+--- a/src/SearchPage.cxx
++++ b/src/SearchPage.cxx
+@@ -81,7 +81,7 @@ search_get_tag_id(const char *name)
+ }
+ 
+ struct SearchMode {
+-	enum mpd_tag_type table;
++	int table;
+ 	const char *label;
+ };
+ 
+@@ -89,8 +89,8 @@ static constexpr SearchMode mode[] = {
+ 	{ MPD_TAG_TITLE, N_("Title") },
+ 	{ MPD_TAG_ARTIST, N_("Artist") },
+ 	{ MPD_TAG_ALBUM, N_("Album") },
+-	{ (enum mpd_tag_type)SEARCH_URI, N_("Filename") },
+-	{ (enum mpd_tag_type)SEARCH_ARTIST_TITLE, N_("Artist + Title") },
++	{ SEARCH_URI, N_("Filename") },
++	{ SEARCH_ARTIST_TITLE, N_("Artist + Title") },
+ 	{ MPD_TAG_COUNT, nullptr }
+ };
+ 
+-- 
+2.39.0
+
meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.47.bb renamed from meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.46.bb +2 -1
similarity index 92%
rename from meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.46.bb
rename to meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.47.bb
index a77d4f978..44046912e 100644
@@ -34,6 +34,7 @@ PACKAGECONFIG[chat_screen] = "-Dchat_screen=true,-Dchat_screen=false"
 
 SRC_URI = " \
     git://github.com/MusicPlayerDaemon/ncmpc;branch=master;protocol=https \
+    file://0001-SearchPage-use-regular-integer-to-fix-Wenum-constexp.patch \
 "
-SRCREV = "b9b5e11e10d8f66cd672ffb51728aa447f78ecd4"
+SRCREV = "fc8de01c71acdf10ad07c7aae756dc522b848124"
 S = "${WORKDIR}/git"
Signature · 1 line
2.39.0
#4 lore raw

PATCH 4/5 mpd: Upgrade to 0.23.12 release

In reply to Scott Murray

From: Khem Raj <[email protected]>

(cherry picked from commit ba5a86a51a459581d8f39afd95ddd27cca5def83)
---
 .../musicpd/{mpd_0.23.9.bb => mpd_0.23.12.bb}                   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-multimedia/recipes-multimedia/musicpd/{mpd_0.23.9.bb => mpd_0.23.12.bb} (98%)
meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.12.bb renamed from meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.9.bb +1 -1
similarity index 98%
rename from meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.9.bb
rename to meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.12.bb
index e63c1b5e1..13938444c 100644
@@ -21,7 +21,7 @@ DEPENDS += " \
 SRC_URI = "git://github.com/MusicPlayerDaemon/MPD;branch=v0.23.x;protocol=https \
            file://mpd.conf.in \
            "
-SRCREV = "12147f6d5822899cc4316799b494c093b4b47f91"
+SRCREV = "d91da9679801224847c30147f5914785b6f8f240"
 S = "${WORKDIR}/git"
 
 EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-Dsystemd=enabled -Dsystemd_system_unit_dir=${systemd_system_unitdir} -Dsystemd_user_unit_dir=${systemd_system_unitdir}', '-Dsystemd=disabled', d)}"
Signature · 1 line
2.39.0
#5 lore raw

PATCH 5/5 fluidsynth: update SRC_URI to remove non-existing 2.2.x branch

In reply to Scott Murray

From: Preeti Sachan <[email protected]>

Remove branch 2.2.x from SRC_URI as fluidsynth github removed the branch. The SRCREV is on master branch.

(cherry picked from commit 534d04af483d5f3d4fc73162c110449f169677a5)
---
 meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc +1 -1
index 14d09e5f0..a4590d61a 100644
@@ -4,7 +4,7 @@ SECTION = "libs/multimedia"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
 
-SRC_URI = "git://github.com/FluidSynth/fluidsynth.git;branch=2.2.x;protocol=https"
+SRC_URI = "git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https"
 SRCREV = "8b00644751578ba67b709a827cbe5133d849d339"
 S = "${WORKDIR}/git"
 PV = "2.2.6"
Signature · 1 line
2.39.0