Skip to contentSkip to conversation

package/pipewire: bump version to 1.6.6

PATCH In review Bernd Kuhls 2 participants 5 messages May 31

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/4 package/pipewire: bump version to 1.6.6

Release notes:
https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/1.6.6/NEWS

ffmpeg support needs swscale support:
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/2cbcdbc579bbffa682088fbedbca10e278e061dd

Renamed configure option 'systemd' to 'libsystemd' due to commit
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/f2c878a2c175d0bece4571df691a8af02e7a3ab7

Disabled jack2 support for uClibc to fix a build error:

../pipewire-jack/src/pipewire-jack.c:13:10: fatal error: threads.h: No such file or directory
13 | #include <threads.h>

Removing this include will not fix the problem:

../pipewire-jack/src/pipewire-jack.c:127:20: error: expected ‘;’ before ‘float’
127 | static thread_local float midi_scratch[MIDI_SCRATCH_FRAMES];

Fixes:
https://autobuild.buildroot.net/results/217/217f4500a7dadf089b90438e1eb06aaa9c50f4c5/

---
v2: Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/1329a1307b2caeb989b90f52289d2decfc4f6ce1

 package/pipewire/Config.in     | 1 +
 package/pipewire/pipewire.hash | 2 +-
 package/pipewire/pipewire.mk   | 9 +++++----
 3 files changed, 7 insertions(+), 5 deletions(-)
package/pipewire/Config.in +1 -0
index 9d2de6c866..38a321d500 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_PIPEWIRE
 	select BR2_PACKAGE_ALSA_LIB_UCM if BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_ALSA_LIB_SEQ if BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime
+	select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
 	help
 	  PipeWire is a server and user space API to deal with
 	  multimedia pipelines.
package/pipewire/pipewire.hash +1 -1
index 2e6a9ae3aa..8e701bfd4b 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  7670f617220cc053948fc8f2c1ff788192479ef5d4f373d878ac8a7cab76a71c  pipewire-1.2.8.tar.bz2
+sha256  2fdf073869bd171d29a92dc6857979864b53e3dc1a79ac76c15db78e5b12d9f8  pipewire-1.6.6.tar.bz2
 sha256  8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44  COPYING
 sha256  be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b  LICENSE
package/pipewire/pipewire.mk +5 -4
index c1dc2aa0cc..c5127b9a9d 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PIPEWIRE_VERSION = 1.2.8
+PIPEWIRE_VERSION = 1.6.6
 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2
 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION)
 PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver)
@@ -70,13 +70,13 @@ endif
 
 ifeq ($(BR2_PACKAGE_SYSTEMD),y)
 PIPEWIRE_CONF_OPTS += \
-	-Dsystemd=enabled \
+	-Dlibsystemd=enabled \
 	-Dsystemd-system-service=enabled \
 	-Dsystemd-user-service=enabled
 PIPEWIRE_DEPENDENCIES += systemd
 else
 PIPEWIRE_CONF_OPTS += \
-	-Dsystemd=disabled \
+	-Dlibsystemd=disabled \
 	-Dsystemd-system-service=disabled \
 	-Dsystemd-user-service=disabled
 endif
@@ -100,7 +100,8 @@ else
 PIPEWIRE_CONF_OPTS += -Davahi=disabled
 endif
 
-ifeq ($(BR2_PACKAGE_JACK2),y)
+# uClibc does not implement thread_local
+ifeq ($(BR2_PACKAGE_JACK2):$(BR2_TOOLCHAIN_USES_UCLIBC),y:)
 PIPEWIRE_CONF_OPTS += -Dpipewire-jack=enabled -Djack=enabled
 PIPEWIRE_DEPENDENCIES += jack2
 else
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 2/4 package/wireplumber: mark broken on uClibc

../lib/wp/log.c:780:49: error: implicit declaration of function ‘gettid’;
did you mean ‘getgid’? [-Wimplicit-function-declaration]
780 | g_autofree gchar *tid = g_strdup_printf("%d", gettid());

The problem was hidden by pipewire being broken with uClibc since at
least Sep 2024: https://autobuild.buildroot.net/results/ee5/ee50c8331946814c2fecb0ca56ca51c1bb0bc551/

Pipewire was bumped from 0.3.81 to 1.2.2 in Aug 2024 with buildroot commit 93b72692c36f8357e867650f4b8fac91dff375f5 which afaics caused all uClibc builds to fail due to missing tss_t() whose usage was added to pipewire in version 1.1.81 (https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/
de0db48f17aa391917ff5b430b7b9fe1dac443fe) and later removed with https://
gitlab.freedesktop.org/pipewire/pipewire/-/commit/ 9c19284f7f062a50e059b0593068429b345acf34 in version 1.3.81.

In wireplumber the relevant part of code with gettid() was added in version 0.5.9. Buildroot bumped wireplumber from 0.5.5 directly to 0.5.10 with commit c42b26bb471a260e2bb3da7988af77f78b2b4280.

---
v2: Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/1329a1307b2caeb989b90f52289d2decfc4f6ce1

 package/wireplumber/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/wireplumber/Config.in +3 -1
index 6528a2e102..5f07a7c664 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_WIREPLUMBER
 	depends on BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC # gettid
 	depends on BR2_USE_MMU # libglib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
@@ -15,8 +16,9 @@ config BR2_PACKAGE_WIREPLUMBER
 
 	  https://pipewire.pages.freedesktop.org/wireplumber/
 
-comment "wireplumber needs a toolchain w/ wchar, threads and Lua >= 5.3"
+comment "wireplumber needs a glibc or musl toolchain w/ wchar, threads and Lua >= 5.3"
 	depends on BR2_PACKAGE_PIPEWIRE
 	depends on BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		BR2_TOOLCHAIN_USES_UCLIBC || \
 		(!BR2_PACKAGE_LUA_5_3 && !BR2_PACKAGE_LUA_5_4)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH v2 3/4 package/wireplumber: bump version to 0.5.14

In reply to Bernd Kuhls

https://gitlab.freedesktop.org/pipewire/wireplumber/-/blob/0.5.14/NEWS.rst

---
v2: Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/1329a1307b2caeb989b90f52289d2decfc4f6ce1

 package/wireplumber/wireplumber.hash | 2 +-
 package/wireplumber/wireplumber.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/wireplumber/wireplumber.hash +1 -1
index a254b68cca..b180d9d2be 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  c89fa29694e89939c0e57cade5c9a7da8e5da21c19071862978ef5f3a346f1e7  wireplumber-0.5.10.tar.bz2
+sha256  2807a9d1e97075ba10f8b7b8156e31175817d620fa7fc84442b5474123eff5db  wireplumber-0.5.14.tar.bz2
 sha256  ff2eb9af5b05d92ac3a38cffcad27582ef555a31ff1781e1c1d4e087f77c9c81  LICENSE
package/wireplumber/wireplumber.mk +1 -1
index 8818662059..2fc9098108 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WIREPLUMBER_VERSION = 0.5.10
+WIREPLUMBER_VERSION = 0.5.14
 WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2
 WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION)
 WIREPLUMBER_LICENSE = MIT
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH v2 4/4 package/pipewire-media-session: bump version to 0.4.3

In reply to Bernd Kuhls

Release notes:
https://gitlab.freedesktop.org/pipewire/media-session/-/tags/0.4.3

---
v2: Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/1329a1307b2caeb989b90f52289d2decfc4f6ce1

 package/pipewire-media-session/pipewire-media-session.hash | 2 +-
 package/pipewire-media-session/pipewire-media-session.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/pipewire-media-session/pipewire-media-session.hash +1 -1
index e6b176eea2..3559d3c222 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  26e21852e0834a4418b40eae342ac5178dfe40342b9c5afe204d43ef8aafa14e  media-session-0.4.2.tar.bz2
+sha256  ea0e371b08f9fa158fb070283b04ce1c4c0a3180d6e89de46c206296918ee1e4  media-session-0.4.3.tar.bz2
 sha256  8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44  COPYING
 sha256  77b9c867237ef919e33c0fdbcf22ab84b1cf24a63f9431ec68759026b658c994  LICENSE
package/pipewire-media-session/pipewire-media-session.mk +1 -1
index cc7317f925..16e12d9eb3 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PIPEWIRE_MEDIA_SESSION_VERSION = 0.4.2
+PIPEWIRE_MEDIA_SESSION_VERSION = 0.4.3
 PIPEWIRE_MEDIA_SESSION_SOURCE = media-session-$(PIPEWIRE_MEDIA_SESSION_VERSION).tar.bz2
 PIPEWIRE_MEDIA_SESSION_SITE = https://gitlab.freedesktop.org/pipewire/media-session/-/archive/$(PIPEWIRE_MEDIA_SESSION_VERSION)
 PIPEWIRE_MEDIA_SESSION_LICENSE = MIT
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
In reply to Bernd Kuhls
Quoted 16 lines · Bernd Kuhls

Release notes:
https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/1.6.6/NEWS

ffmpeg support needs swscale support:
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/2cbcdbc579bbffa682088fbedbca10e278e061dd

Renamed configure option 'systemd' to 'libsystemd' due to commit
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/f2c878a2c175d0bece4571df691a8af02e7a3ab7

Disabled jack2 support for uClibc to fix a build error:

../pipewire-jack/src/pipewire-jack.c:13:10: fatal error: threads.h: No such file or directory
13 | #include <threads.h>

Removing this include will not fix the problem:

Quoted 7 lines

../pipewire-jack/src/pipewire-jack.c:127:20: error: expected ‘;’ before ‘float’
127 | static thread_local float midi_scratch[MIDI_SCRATCH_FRAMES];

Fixes:
https://autobuild.buildroot.net/results/217/217f4500a7dadf089b90438e1eb06aaa9c50f4c5/

Series applied to next, thanks.

Quoted 2 lines

v2: Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/1329a1307b2caeb989b90f52289d2decfc4f6ce1

And thank you again for providing the CI links. This really makes reviews faster.

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot