From patchwork Sat Jun 24 13:27:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Rafael Giani X-Patchwork-Id: 26359 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF9D3C3DA41 for ; Sat, 24 Jun 2023 13:27:29 +0000 (UTC) Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by mx.groups.io with SMTP id smtpd.web10.16266.1687613245926126935 for ; Sat, 24 Jun 2023 06:27:26 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@mailbox.org header.s=mail20150812 header.b=kzDDnJfH; spf=pass (domain: mailbox.org, ip: 80.241.56.171, mailfrom: crg7475@mailbox.org) Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4QpFJp1cWcz9sV7 for ; Sat, 24 Jun 2023 15:27:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1687613242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gqPCXqpRAAlC0NVSmLXeIa0iTi0OXv9pI6j87u2HLoM=; b=kzDDnJfHl+Ry+0G/RlONJdKroHtcPw1TEnnjGQKg3OD/aLl4AKg2yNV7eJGiBSjroA3QYM hMrox83UKtxNmH2XiahGnsNk98VoG97ZLnV2nDk6j0xwncmSTAv5cM4FTdLBeFqxvY2W8Q 75D27ZgQt3LkINYhF0oxyfJFaC0PtLKIOzTBFDCeKxT97v7WYN/rpxPEtQBRvcuQtC5Yjm /aTEEV/hXmTsn6VoXmCUpN3syHolwXsS4uO7PIpGe80WrYXkTp9foRHqlftIPhquIxPLYW B5MVqB+Soe6dz4zFMD2rIFAuey2klf7MtzFIVdTeNzOvSRbBTtO1SshrTzTv1w== From: Carlos Rafael Giani To: openembedded-devel@lists.openembedded.org Subject: [meta-multimedia][PATCH 1/3] pipewire: Disable libmysofa since it is not available in OE Date: Sat, 24 Jun 2023 15:27:13 +0200 Message-Id: <20230624132715.1664863-1-crg7475@mailbox.org> MIME-Version: 1.0 X-MBO-RS-META: 1ep1r6ihk3y5ywqb6jqnhodxxojdiiw6 X-MBO-RS-ID: 811be1c0c923f493526 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 24 Jun 2023 13:27:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/103557 Signed-off-by: Carlos Rafael Giani --- meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb index 7f117e10b2..051776cceb 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb @@ -48,7 +48,7 @@ SYSTEMD_PACKAGES = "${PN}" # it just prevents this subproject feature. # # AptX and LDAC are not available in OE. Currently, neither -# are lv2 and ROC. +# are lv2, ROC, and libmysofa. # # The RTKit module is deprecated in favor of the newer RT module. # It still exists for legacy setups that still include it in @@ -66,6 +66,7 @@ EXTRA_OEMESON += " \ -Dbluez5-codec-aptx=disabled \ -Dbluez5-codec-ldac=disabled \ -Dlegacy-rtkit=false \ + -Dlibmysofa=disabled \ " # spa alsa plugin code uses typedef redefinition, which is officially a C11 feature. From patchwork Sat Jun 24 13:27:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Rafael Giani X-Patchwork-Id: 26358 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE166EB64DA for ; Sat, 24 Jun 2023 13:27:29 +0000 (UTC) Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by mx.groups.io with SMTP id smtpd.web10.16264.1687613244938166254 for ; Sat, 24 Jun 2023 06:27:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@mailbox.org header.s=mail20150812 header.b=lGum8ew/; spf=pass (domain: mailbox.org, ip: 80.241.56.171, mailfrom: crg7475@mailbox.org) Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4QpFJp4bc7z9sW3 for ; Sat, 24 Jun 2023 15:27:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1687613242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FewPTQ4l4WEqcK6MhoyAa/nLkAmuaII/je9brhZZ9uw=; b=lGum8ew/nIaUOhPRlLuJ9UVztuN9Fzqb67/5iJn7ff4jCVP94ebnkSTYy8Xvm/rYHA4W8B kPhzjcbCnjVhAnNyCWV+nKfZ5SHEPxsZR9I/GblbdpTX1udz+daPLQ/HidPyQfd31Eqh4m ow8tHzj4KNIG5DgGMSEoTTP8hPgqfxuHbXGNIQsI3oyEC4ANMjVTq/GlriQIgflAk+HIY7 55CC258mAeOhwPqHqb1Cd/IhIZ1po8n6vAXpLABBd87e96sHYhyJPweQLrjgPPjuPF82DX 8bDcbbFbkopsRSOGwnpbe+mpEkiYeHFryNqofakeLPIg5Xo3eQj4sUkg33tWDg== From: Carlos Rafael Giani To: openembedded-devel@lists.openembedded.org Subject: [meta-multimedia][PATCH 2/3] pipewire: Improve packageconfigs Date: Sat, 24 Jun 2023 15:27:14 +0200 Message-Id: <20230624132715.1664863-2-crg7475@mailbox.org> In-Reply-To: <20230624132715.1664863-1-crg7475@mailbox.org> References: <20230624132715.1664863-1-crg7475@mailbox.org> MIME-Version: 1.0 X-MBO-RS-META: 3tsscod6e1bw8jxqpeghb4zbekifoers X-MBO-RS-ID: f781af5970960179c3d List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 24 Jun 2023 13:27:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/103555 Signed-off-by: Carlos Rafael Giani --- .../recipes-multimedia/pipewire/pipewire_0.3.71.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb index 051776cceb..414ae3ea8d 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb @@ -88,7 +88,7 @@ PACKAGECONFIG:class-target ??= " \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service systemd-user-service', '', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \ ${PIPEWIRE_SESSION_MANAGER} \ - ${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling libcamera \ + ${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling libcamera readline \ " # "jack" and "pipewire-jack" packageconfigs cannot be both enabled, @@ -101,6 +101,10 @@ PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi" PACKAGECONFIG[bluez] = "-Dbluez5=enabled,-Dbluez5=disabled,bluez5 sbc" PACKAGECONFIG[bluez-aac] = "-Dbluez5-codec-aac=enabled,-Dbluez5-codec-aac=disabled,fdk-aac" PACKAGECONFIG[bluez-opus] = "-Dbluez5-codec-opus=enabled,-Dbluez5-codec-opus=disabled,libopus" +# From the pipewire git log: +# "Some Linux phones doesn't use oFono but ModemManager to control the modem." +# This packageconfig enables modemmanager specific code in the BlueZ backend. +PACKAGECONFIG[bluez-backend-native-mm] = "-Dbluez5-backend-native-mm=enabled,-Dbluez5-backend-native-mm=disabled,modemmanager" PACKAGECONFIG[docs] = "-Ddocs=enabled,-Ddocs=disabled,doxygen-native graphviz-native" PACKAGECONFIG[ffmpeg] = "-Dffmpeg=enabled,-Dffmpeg=disabled,ffmpeg" PACKAGECONFIG[flatpak] = "-Dflatpak=enabled,-Dflatpak=disabled,glib-2.0" @@ -116,6 +120,9 @@ PACKAGECONFIG[pipewire-alsa] = "-Dpipewire-alsa=enabled,-Dpipewire-alsa=disabled PACKAGECONFIG[pipewire-jack] = "-Dpipewire-jack=enabled -Dlibjack-path=${libdir}/${PW_MODULE_SUBDIR}/jack,-Dpipewire-jack=disabled,jack,,pipewire-jack,jack" PACKAGECONFIG[pw-cat] = "-Dpw-cat=enabled,-Dpw-cat=disabled" PACKAGECONFIG[raop] = "-Draop=enabled,-Draop=disabled,openssl" +# Starting with version 0.3.60, readline usage can be turned off in pw-cli. +# If it is disabled, getline() is used as a fallback. +PACKAGECONFIG[readline] = "-Dreadline=enabled,-Dreadline=disabled,readline" PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,libsdl2" PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" From patchwork Sat Jun 24 13:27:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Rafael Giani X-Patchwork-Id: 26357 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AEEFDEB64DC for ; Sat, 24 Jun 2023 13:27:29 +0000 (UTC) Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) by mx.groups.io with SMTP id smtpd.web10.16265.1687613245673549784 for ; Sat, 24 Jun 2023 06:27:26 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@mailbox.org header.s=mail20150812 header.b=AgYlJwok; spf=pass (domain: mailbox.org, ip: 80.241.56.151, mailfrom: crg7475@mailbox.org) Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4QpFJq0K0xz9sQb for ; Sat, 24 Jun 2023 15:27:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1687613243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VzVCbYsgP08r5N2nRxzJBmb4cTLtvezvQaoNGwYzlSc=; b=AgYlJwoks98xvwT55PHdfmTxl+VZSBNPHxHftkz0DYOd5tTrTexCi1rSjCSjXCZkyp9Vc/ wkmQ5opdcFa/4KBQgSQVKCNpxjJFyUcbXLVr94B5Hcse1d3VQdl3J3CHvwMX28rG3KjDNf Oa0bRGlAswuP2/TpYylB60TzpjNFP4kF0Yk/AyZrHq5zdtr/EpFYz19RARtAlJIlYJ5hkf wzxUZYzWbUCVRFnS0gfksrPacZC3JNewi6Zi7VnovlJlVvHN/w4tO2Lr3UYuwvjeOFLFZA 3gy6kbX4jwpa7IijBsxHpjD6nGBDeKtFje2zFdTMjgkuYACdCjChcRh0UBbF/w== From: Carlos Rafael Giani To: openembedded-devel@lists.openembedded.org Subject: [meta-multimedia][PATCH 3/3] pipewire: Add dedicated aes67 package and fix rlimits.d package assignment Date: Sat, 24 Jun 2023 15:27:15 +0200 Message-Id: <20230624132715.1664863-3-crg7475@mailbox.org> In-Reply-To: <20230624132715.1664863-1-crg7475@mailbox.org> References: <20230624132715.1664863-1-crg7475@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: 5cf6eec5799ffbc1855 X-MBO-RS-META: knd73buso79weyberuczwg79anzweiit List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 24 Jun 2023 13:27:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/103556 Signed-off-by: Carlos Rafael Giani --- .../recipes-multimedia/pipewire/pipewire_0.3.71.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb index 414ae3ea8d..14a0e02f81 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb @@ -249,6 +249,7 @@ PACKAGES =+ "\ ${PN}-modules-meta \ ${PN}-alsa-card-profile \ ${PN}-v4l2 \ + ${PN}-aes67 \ gstreamer1.0-pipewire \ " @@ -263,8 +264,6 @@ FILES:${PN} = " \ ${systemd_user_unitdir} \ ${bindir}/pipewire \ ${bindir}/pipewire-avb \ - ${bindir}/pipewire-aes67 \ - ${sysconfdir}/security/limits.d \ " RRECOMMENDS:${PN}:class-target += " \ @@ -358,6 +357,7 @@ RRECOMMENDS:${PN}-modules += "${PN}-modules-meta" CONFFILES:${PN}-modules-rt = "${datadir}/pipewire/client-rt.conf" FILES:${PN}-modules-rt += " \ ${datadir}/pipewire/client-rt.conf \ + ${sysconfdir}/security/limits.d/* \ " CONFFILES:${PN}-modules-filter-chain = "${datadir}/pipewire/filter-chain/*" @@ -376,6 +376,11 @@ FILES:${PN}-v4l2 += " \ ${libdir}/${PW_MODULE_SUBDIR}/v4l2/libpw-v4l2.so \ " +# AES67 is a standard for audio over IP, from the Audio Engineering Society (AES). +FILES:${PN}-aes67 += " \ + ${bindir}/pipewire-aes67 \ +" + FILES:gstreamer1.0-pipewire = " \ ${libdir}/gstreamer-1.0/* \ "