aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-10 11:19:39 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-12 13:13:10 +0100
commit611fb696d239afec803bd2fdfdcbc1b475ff3a26 (patch)
treef7131a27f3a989d1294740466fed4f33af84cd6e /data
parent27963fd99ac38eee2477ec6ae6e8d2882959994a (diff)
downloadayatana-indicator-sound-611fb696d239afec803bd2fdfdcbc1b475ff3a26.tar.gz
ayatana-indicator-sound-611fb696d239afec803bd2fdfdcbc1b475ff3a26.tar.bz2
ayatana-indicator-sound-611fb696d239afec803bd2fdfdcbc1b475ff3a26.zip
Drop org.ayatana.AccountsService.Sound
Diffstat (limited to 'data')
-rw-r--r--data/50-org.ayatana.AccountsService.Sound.pkla13
-rw-r--r--data/CMakeLists.txt30
-rw-r--r--data/org.ayatana.AccountsService.Sound.policy24
-rw-r--r--data/org.ayatana.AccountsService.Sound.xml27
4 files changed, 0 insertions, 94 deletions
diff --git a/data/50-org.ayatana.AccountsService.Sound.pkla b/data/50-org.ayatana.AccountsService.Sound.pkla
deleted file mode 100644
index ac58f75..0000000
--- a/data/50-org.ayatana.AccountsService.Sound.pkla
+++ /dev/null
@@ -1,13 +0,0 @@
-[Allow greeter to set fields]
-Identity=unix-user:lightdm
-Action=org.ayatana.AccountsService.GreeterChangeAny
-ResultAny=no
-ResultInactive=yes
-ResultActive=yes
-
-[Allow greeter to read fields]
-Identity=unix-user:lightdm
-Action=org.ayatana.AccountsService.GreeterReadAny
-ResultAny=yes
-ResultInactive=yes
-ResultActive=yes
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index f2873d9..ee9d97f 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -93,33 +93,3 @@ DESTINATION "${POLKIT_DATA_DIR}/actions"
install(FILES 50-org.ayatana.indicator.sound.AccountsService.pkla
DESTINATION "${POLKIT_LIB_DIR}/localauthority/10-vendor.d"
)
-
-#######################################
-# Accounts Service Iface: Greeter Sound
-#######################################
-
-if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
-
- # Nothing to do here...
- # Using files from Lomiri specific package 'lomiri-schemas'.
-
-else()
-
- install(FILES org.ayatana.AccountsService.Sound.xml
- DESTINATION "${DBUS_IFACE_DIR}"
- )
-
- # Create accountsservice symlink for above dbus interface
- install(CODE "
- execute_process(COMMAND mkdir -p \"\$ENV{DESTDIR}${ACCOUNTS_IFACE_DIR}\")
- execute_process(COMMAND ln -sf ../../dbus-1/interfaces/org.ayatana.AccountsService.Sound.xml \"\$ENV{DESTDIR}${ACCOUNTS_IFACE_DIR}\")
- ")
-
- install(FILES org.ayatana.AccountsService.Sound.policy
- DESTINATION "${POLKIT_DATA_DIR}/actions"
- )
-
- install(FILES 50-org.ayatana.AccountsService.Sound.pkla
- DESTINATION "${POLKIT_LIB_DIR}/localauthority/10-vendor.d"
- )
-endif()
diff --git a/data/org.ayatana.AccountsService.Sound.policy b/data/org.ayatana.AccountsService.Sound.policy
deleted file mode 100644
index 7140498..0000000
--- a/data/org.ayatana.AccountsService.Sound.policy
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<policyconfig>
- <!-- Same as org.freedesktop.accounts.user-administration, but we override
- settings for the lightdm user in a pkla file. -->
- <action id="org.ayatana.AccountsService.GreeterChangeAny">
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- </action>
-
- <!-- Normally anyone can read these, but for a little bit extra lock down,
- disallow all access, but we'll let the lightdm user read them via the
- pkla override. -->
- <action id="org.ayatana.AccountsService.GreeterReadAny">
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>no</allow_active>
- </defaults>
- </action>
-</policyconfig>
diff --git a/data/org.ayatana.AccountsService.Sound.xml b/data/org.ayatana.AccountsService.Sound.xml
deleted file mode 100644
index bfbdd09..0000000
--- a/data/org.ayatana.AccountsService.Sound.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<node>
- <interface name="org.ayatana.AccountsService.Sound">
-
- <annotation name="org.freedesktop.Accounts.VendorExtension" value="true"/>
-
- <annotation name="org.freedesktop.Accounts.Authentication.ChangeAny"
- value="org.ayatana.AccountsService.GreeterChangeAny"/>
-
- <annotation name="org.freedesktop.Accounts.Authentication.ReadAny"
- value="org.ayatana.AccountsService.GreeterReadAny"/>
-
- <property name="Volume" type="d" access="readwrite">
- <annotation name="org.freedesktop.Accounts.DefaultValue" value="-1.0"/>
- </property>
-
- <!-- Muted is all sound, SilentMode is only non-user-initiated sounds -->
- <property name="Muted" type="b" access="readwrite">
- <annotation name="org.freedesktop.Accounts.DefaultValue" value="false"/>
- </property>
-
- <property name="LastRunningPlayer" type="s" access="readwrite">
- <annotation name="org.freedesktop.Accounts.DefaultValue.String"
- value=""/>
- </property>
-
- </interface>
-</node>