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 0000000000000000000000000000000000000000..bb4e0b1ccf8324eadf4d01fe7f4fe25bef1c5574 --- /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 6a40ed8693abbb716e8d9a316b23a8ef252bef08..ddcb048490a9a7497959a009bc4d851a4d176d78 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