Skip to contentSkip to conversation

package/pipewire: needs headers >= 3.18

PATCH New Fabrice Fontaine 3 participants 3 messages Apr 25, 2021 – Apr 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pipewire: needs headers >= 3.18

v4l2 plugin needs headers >= 3.18 since
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/4cb90f3b868e5169cb9bfe2200f3b079d3f0db7b
(so since its addition to buildroot in commit 75c86f90c73c42ee35559610aec28a02190b65b7) because of V4L2_PIX_FMT_ARGB555X which is only available since
https://github.com/torvalds/linux/commit/fcc0d3db28922f9ba21ea6c7b23ea10ffb5d3521

v4l2 plugin can't be disabled until
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/8d71d2dab831b77cadb74f2e4630f549acc94ac4

Fixes:
- http://autobuild.buildroot.org/results/b887b6ccd2c22bb3214c07d1281ad486438fb58e

---
 package/pipewire/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
package/pipewire/Config.in +5 -2
index 57e70d65f8..9c6b6eb881 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PIPEWIRE
 	bool "pipewire"
 	depends on BR2_PACKAGE_HAS_UDEV # libudev
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_DBUS
@@ -30,6 +31,8 @@ comment "pipewire gstreamer support needs a toolchain w/ wchar, threads"
 
 endif
 
-comment "pipewire needs udev and a toolchain w/ threads"
+comment "pipewire needs udev and a toolchain w/ threads, headers >= 3.18"
 	depends on BR2_USE_MMU
-	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_PACKAGE_HAS_UDEV || \
+		!BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/pipewire: needs headers >= 3.18

Fabrice, All,

On 2021-04-25 21:37 +0200, Fabrice Fontaine spake thusly:

Quoted 9 lines

v4l2 plugin needs headers >= 3.18 since
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/4cb90f3b868e5169cb9bfe2200f3b079d3f0db7b
(so since its addition to buildroot in commit 75c86f90c73c42ee35559610aec28a02190b65b7) because of V4L2_PIX_FMT_ARGB555X which is only available since
https://github.com/torvalds/linux/commit/fcc0d3db28922f9ba21ea6c7b23ea10ffb5d3521

v4l2 plugin can't be disabled until
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/8d71d2dab831b77cadb74f2e4630f549acc94ac4

We still have an old version of pipewire... :-(

James provided a bumnp awhile ago, but the patch had some comments, and I'm afraid the reply was not entirely satisfactory:

    https://patchwork.ozlabs.org/project/buildroot/patch/20200706010444.537633-1-james.hilliard1 at gmail.com/

So, even though I do understand this is an old patch, I think we should still try and update to a more recent pipewire.

In the meantime, applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 38 lines

Fixes:
- http://autobuild.buildroot.org/results/b887b6ccd2c22bb3214c07d1281ad486438fb58e

---
 package/pipewire/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
package/pipewire/Config.in +5 -2
index 57e70d65f8..9c6b6eb881 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PIPEWIRE
 	bool "pipewire"
 	depends on BR2_PACKAGE_HAS_UDEV # libudev
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_DBUS
@@ -30,6 +31,8 @@ comment "pipewire gstreamer support needs a toolchain w/ wchar, threads"
 
 endif
 
-comment "pipewire needs udev and a toolchain w/ threads"
+comment "pipewire needs udev and a toolchain w/ threads, headers >= 3.18"
 	depends on BR2_USE_MMU
-	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_PACKAGE_HAS_UDEV || \
+		!BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/pipewire: needs headers >= 3.18

In reply to Fabrice Fontaine
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

v4l2 plugin needs headers >= 3.18 since
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/4cb90f3b868e5169cb9bfe2200f3b079d3f0db7b
(so since its addition to buildroot in commit 75c86f90c73c42ee35559610aec28a02190b65b7) because of V4L2_PIX_FMT_ARGB555X which is only available since
https://github.com/torvalds/linux/commit/fcc0d3db28922f9ba21ea6c7b23ea10ffb5d3521

Quoted 7 lines

v4l2 plugin can't be disabled until
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/8d71d2dab831b77cadb74f2e4630f549acc94ac4

Fixes:
- http://autobuild.buildroot.org/results/b887b6ccd2c22bb3214c07d1281ad486438fb58e

Committed to 2021.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard