From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>
Subject: [Buildroot] [PATCH 1/4] package/pipewire: bump version to 1.4.9
Date: Sun, 30 Nov 2025 08:48:33 +0100 [thread overview]
Message-ID: <20251130074836.4220-1-bernd@kuhls.net> (raw)
Release notes:
https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/1.4.9/NEWS
Added upstream patch to fix a build error which would be introduced by
this bump. Please note that patch 0001 does not fix uClibc-related build
errors with pipewire 1.2.8 like
https://autobuild.buildroot.net/results/217/217f4500a7dadf089b90438e1eb06aaa9c50f4c5/
because uClibc does not implement tss_t which was removed from
spa/plugins/support/loop.c with upstream commit
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/9c19284f7f062a50e059b0593068429b345acf34
added in version 1.3.81.
Ffmpeg support needs swscale support:
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/2cbcdbc579bbffa682088fbedbca10e278e061dd
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, like patch 0001 does, 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/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
| 35 +++++++++++++++++++
package/pipewire/Config.in | 1 +
package/pipewire/pipewire.hash | 2 +-
package/pipewire/pipewire.mk | 5 +--
4 files changed, 40 insertions(+), 3 deletions(-)
create mode 100644 package/pipewire/0001-Remove-unused-threads.h-header.patch
--git a/package/pipewire/0001-Remove-unused-threads.h-header.patch b/package/pipewire/0001-Remove-unused-threads.h-header.patch
new file mode 100644
index 0000000000..8fe6b862c9
--- /dev/null
+++ b/package/pipewire/0001-Remove-unused-threads.h-header.patch
@@ -0,0 +1,35 @@
+From 954f76d1078bcf23539c459a5a98aead084146d0 Mon Sep 17 00:00:00 2001
+From: Jan Grulich <jgrulich@redhat.com>
+Date: Mon, 10 Nov 2025 17:42:44 +0100
+Subject: [PATCH] Remove unused <threads.h> header
+
+This was introduced before for some threading implementation to have
+definitions for 'tss_t' and 'tss_set()' and similar, but these were
+later removed, while the header was still kept.
+
+This header doesn't exist on older systems with older glibc and is the
+reason for the only patch we need to have in Chromium to make PipeWire
+to build.
+
+Upstream: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/954f76d1078bcf23539c459a5a98aead084146d0
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ spa/plugins/support/loop.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/spa/plugins/support/loop.c b/spa/plugins/support/loop.c
+index fd53ef16d1..e5e49849fe 100644
+--- a/spa/plugins/support/loop.c
++++ b/spa/plugins/support/loop.c
+@@ -9,7 +9,6 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <pthread.h>
+-#include <threads.h>
+ #include <stdatomic.h>
+
+ #include <spa/support/loop.h>
+--
+GitLab
+
diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in
index 9d2de6c866..38a321d500 100644
--- a/package/pipewire/Config.in
+++ b/package/pipewire/Config.in
@@ -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.
diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash
index 2e6a9ae3aa..6fbceb73cc 100644
--- a/package/pipewire/pipewire.hash
+++ b/package/pipewire/pipewire.hash
@@ -1,4 +1,4 @@
# Locally calculated
-sha256 7670f617220cc053948fc8f2c1ff788192479ef5d4f373d878ac8a7cab76a71c pipewire-1.2.8.tar.bz2
+sha256 e606aa3f6d53ec4c56fe35034d35cadfe0bbea1a5275e4e006dd7d1abaec6b92 pipewire-1.4.9.tar.bz2
sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING
sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE
diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk
index c1dc2aa0cc..397e9b3493 100644
--- a/package/pipewire/pipewire.mk
+++ b/package/pipewire/pipewire.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PIPEWIRE_VERSION = 1.2.8
+PIPEWIRE_VERSION = 1.4.9
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)
@@ -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
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2025-11-30 7:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-30 7:48 Bernd Kuhls [this message]
2025-11-30 7:48 ` [Buildroot] [PATCH 2/4] package/wireplumber: mark broken on uClibc Bernd Kuhls
2025-11-30 21:40 ` Thomas Petazzoni via buildroot
2025-11-30 7:48 ` [Buildroot] [PATCH 3/4] package/wireplumber: bump version to 0.5.12 Bernd Kuhls
2025-11-30 7:48 ` [Buildroot] [PATCH 4/4] package/pipewire-media-session: bump version to 0.4.3 Bernd Kuhls
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251130074836.4220-1-bernd@kuhls.net \
--to=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
--cc=james.hilliard1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.