From ca3c2fa528bff2bfa751a09e4b6282db1bd06dc6 Mon Sep 17 00:00:00 2001 From: Dara Adib Date: Sun, 8 Nov 2020 00:40:13 -0500 Subject: [PATCH] Update linphone profile (#3734) linphone 4.0 changed the location of config and database files to respect freedesktop standards. --- etc/inc/disable-programs.inc | 2 ++ etc/profile-a-l/linphone.profile | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 0b5b84e735f..1fba79f43f7 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -291,6 +291,7 @@ blacklist ${HOME}/.config/kwriterc blacklist ${HOME}/.config/leafpad blacklist ${HOME}/.config/libreoffice blacklist ${HOME}/.config/liferea +blacklist ${HOME}/.config/linphone blacklist ${HOME}/.config/lugaru blacklist ${HOME}/.config/lximage-qt blacklist ${HOME}/.config/mailtransports @@ -654,6 +655,7 @@ blacklist ${HOME}/.local/share/kube blacklist ${HOME}/.local/share/kwrite blacklist ${HOME}/.local/share/kxmlgui5/* blacklist ${HOME}/.local/share/liferea +blacklist ${HOME}/.local/share/linphone blacklist ${HOME}/.local/share/local-mail blacklist ${HOME}/.local/share/lollypop blacklist ${HOME}/.local/share/love diff --git a/etc/profile-a-l/linphone.profile b/etc/profile-a-l/linphone.profile index dc156b29853..c509122e2b6 100644 --- a/etc/profile-a-l/linphone.profile +++ b/etc/profile-a-l/linphone.profile @@ -6,8 +6,10 @@ include linphone.local # Persistent global definitions include globals.local +noblacklist ${HOME}/.config/linphone noblacklist ${HOME}/.linphone-history.db noblacklist ${HOME}/.linphonerc +noblacklist ${HOME}/.local/share/linphone include disable-common.inc include disable-devel.inc @@ -16,10 +18,15 @@ include disable-interpreters.inc include disable-passwdmgr.inc include disable-programs.inc -mkfile ${HOME}/.linphone-history.db -mkfile ${HOME}/.linphonerc +# linphone 4.0 (released 2017-06-26) moved config and database files to respect +# freedesktop standards. For backward compatibility we continue to whitelist +# ${HOME}/.linphone-history.db and ${HOME}/.linphonerc but no longer mkfile. +mkdir ${HOME}/.config/linphone +mkdir ${HOME}/.local/share/linphone +whitelist ${HOME}/.config/linphone whitelist ${HOME}/.linphone-history.db whitelist ${HOME}/.linphonerc +whitelist ${HOME}/.local/share/linphone whitelist ${DOWNLOADS} include whitelist-common.inc