From 828f516b18004bf33401b2e5ee7f8ffbda86c568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= <frederic.danis@collabora.com> Date: Mon, 31 May 2021 15:07:27 +0200 Subject: [PATCH] d/patches: Fix policy endpoints preventing to record sound MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Role based endpoints are not yet ready for desktop use. Signed-off-by: Frédéric Danis <frederic.danis@collabora.com> --- ...ole-based-endpoints-in-the-default-c.patch | 34 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 35 insertions(+) create mode 100644 debian/patches/apertis/0004-config-disable-role-based-endpoints-in-the-default-c.patch diff --git a/debian/patches/apertis/0004-config-disable-role-based-endpoints-in-the-default-c.patch b/debian/patches/apertis/0004-config-disable-role-based-endpoints-in-the-default-c.patch new file mode 100644 index 00000000..bb4e0b1c --- /dev/null +++ b/debian/patches/apertis/0004-config-disable-role-based-endpoints-in-the-default-c.patch @@ -0,0 +1,34 @@ +From 94dd3c4c1cf0669d16cae0ed9e7038d76c250873 Mon Sep 17 00:00:00 2001 +From: George Kiagiadakis <george.kiagiadakis@collabora.com> +Date: Fri, 28 May 2021 17:36:57 +0300 +Subject: [PATCH] config: disable role-based endpoints in the default + configuration +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: 8bit + +--- + src/config/policy.lua.d/50-endpoints-config.lua | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/src/config/policy.lua.d/50-endpoints-config.lua b/src/config/policy.lua.d/50-endpoints-config.lua +index 529ed08..4bdf82a 100644 +--- a/src/config/policy.lua.d/50-endpoints-config.lua ++++ b/src/config/policy.lua.d/50-endpoints-config.lua +@@ -1,3 +1,8 @@ ++-- uncomment to enable role-based endpoints ++-- this is not yet ready for desktop use ++-- ++--[[ ++ + default_policy.policy.roles = { + ["Multimedia"] = { + ["alias"] = { "Movie", "Music", "Game" }, +@@ -30,3 +35,5 @@ default_policy.endpoints = { + ["role"] = "Alert", + }, + } ++ ++]]-- +-- +2.25.1 + diff --git a/debian/patches/series b/debian/patches/series index 6a40ed86..ddcb0484 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ meson-force-the-gir-target-to-depend-on-wp-gtkdoc.h.patch apertis/0001-tests-si-standard-link-fix-racy-test.patch apertis/0002-m-si-standard-link-fix-number-of-links-check.patch apertis/0003-tests-si-audio-adapter-test-is.device-property.patch +apertis/0004-config-disable-role-based-endpoints-in-the-default-c.patch -- GitLab