aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-08 12:30:56 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-08 12:47:19 +0100
commitca1d6f23f767f1285edcd6403716649aac4cd140 (patch)
tree7120593250cd0be1baacb9cf2087918a4a06be4e
parent64cb8b30764718a2a4f5b5a077b3a8686bbd7329 (diff)
downloadayatana-indicator-sound-ca1d6f23f767f1285edcd6403716649aac4cd140.tar.gz
ayatana-indicator-sound-ca1d6f23f767f1285edcd6403716649aac4cd140.tar.bz2
ayatana-indicator-sound-ca1d6f23f767f1285edcd6403716649aac4cd140.zip
Rename com.ubuntu.AccountsService.Sound
-rw-r--r--data/CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/accounts-service-access.vala2
-rw-r--r--tests/dbus-types/CMakeLists.txt4
-rw-r--r--tests/dbus-types/com.lomiri.AccountsService.Sound.xml (renamed from tests/dbus-types/com.ubuntu.AccountsService.Sound.xml)2
-rw-r--r--tests/integration/CMakeLists.txt2
-rw-r--r--tests/integration/utils/dbus-pulse-volume.cpp2
-rw-r--r--tests/service-mocks/accounts-mock/AccountsDefs.h2
-rw-r--r--tests/service-mocks/accounts-mock/CMakeLists.txt4
-rw-r--r--tests/service-mocks/accounts-mock/com.lomiri.AccountsService.Sound.Mock.xml (renamed from tests/service-mocks/accounts-mock/com.ubuntu.AccountsService.Sound.Mock.xml)2
-rw-r--r--tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h2
11 files changed, 13 insertions, 13 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 0e30f7c..8e53533 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -102,7 +102,7 @@ DESTINATION "${POLKIT_LIB_DIR}/localauthority/10-vendor.d"
# Accounts Service Iface: Greeter Sound
#######################################
-if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.AccountsService.Sound.xml")
+if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
# Nothing to do here...
# Using files from Ubuntu specific package 'accountsservice-ubuntu-schemas'.
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 761e87b..49d2715 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -23,7 +23,7 @@ else()
set (HAS_LOMIRI_ACCTSERVICE_SYSTEMSOUND_SETTINGS OFF)
endif()
-if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.AccountsService.Sound.xml")
+if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
set (HAVE_UT_ACCTSERVICE_SOUND_SETTINGS ON)
set (VALA_DEFINE_ACCTSERVICE_SOUND_SETTINGS "--define=HAS_UT_ACCTSERVICE_SOUND_SETTINGS")
else()
diff --git a/src/accounts-service-access.vala b/src/accounts-service-access.vala
index 9973704..4287d86 100644
--- a/src/accounts-service-access.vala
+++ b/src/accounts-service-access.vala
@@ -144,7 +144,7 @@ public class AccountsServiceAccess : Object
if (user_path_variant.check_format_string ("(o)", true)) {
user_path_variant.get ("(o)", out user_path);
#if HAS_UT_ACCTSERVICE_SOUND_SETTINGS
- _user_proxy = yield new DBusProxy.for_bus (BusType.SYSTEM, DBusProxyFlags.GET_INVALIDATED_PROPERTIES, null, "org.freedesktop.Accounts", user_path, "com.ubuntu.AccountsService.Sound");
+ _user_proxy = yield new DBusProxy.for_bus (BusType.SYSTEM, DBusProxyFlags.GET_INVALIDATED_PROPERTIES, null, "org.freedesktop.Accounts", user_path, "com.lomiri.AccountsService.Sound");
#else
_user_proxy = yield new DBusProxy.for_bus (BusType.SYSTEM, DBusProxyFlags.GET_INVALIDATED_PROPERTIES, null, "org.freedesktop.Accounts", user_path, "org.ayatana.AccountsService.Sound");
#endif
diff --git a/tests/dbus-types/CMakeLists.txt b/tests/dbus-types/CMakeLists.txt
index 5323f51..cbe382a 100644
--- a/tests/dbus-types/CMakeLists.txt
+++ b/tests/dbus-types/CMakeLists.txt
@@ -14,8 +14,8 @@ set(dbusinterface_accounts_xml "org.freedesktop.Accounts.xml")
set_source_files_properties(${dbusinterface_accounts_xml} PROPERTIES
CLASSNAME AccountsInterface)
-if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.AccountsService.Sound.xml")
- set(dbusinterface_accountssound_xml "com.ubuntu.AccountsService.Sound.xml")
+if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
+ set(dbusinterface_accountssound_xml "com.lomiri.AccountsService.Sound.xml")
else()
set(dbusinterface_accountssound_xml "org.ayatana.AccountsService.Sound.xml")
endif()
diff --git a/tests/dbus-types/com.ubuntu.AccountsService.Sound.xml b/tests/dbus-types/com.lomiri.AccountsService.Sound.xml
index 27c915a..fb97049 100644
--- a/tests/dbus-types/com.ubuntu.AccountsService.Sound.xml
+++ b/tests/dbus-types/com.lomiri.AccountsService.Sound.xml
@@ -1,5 +1,5 @@
<node>
- <interface name="com.ubuntu.AccountsService.Sound">
+ <interface name="com.lomiri.AccountsService.Sound">
<method name="Set">
<arg direction="in" type="s" name="interface" />
<arg direction="in" type="s" name="property" />
diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt
index e803a87..eef04f2 100644
--- a/tests/integration/CMakeLists.txt
+++ b/tests/integration/CMakeLists.txt
@@ -37,7 +37,7 @@ add_definitions(-DSOUND_SERVICE_BIN="${CMAKE_BINARY_DIR}/src/ayatana-indicator-s
-DTEST_HOME="${TEST_HOME}"
)
-if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.AccountsService.Sound.xml")
+if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
add_definitions(-DHAS_UT_ACCTSERVICE_SOUND_SETTINGS)
endif()
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp
index cdbba6d..b99a509 100644
--- a/tests/integration/utils/dbus-pulse-volume.cpp
+++ b/tests/integration/utils/dbus-pulse-volume.cpp
@@ -141,7 +141,7 @@ bool DBusPulseVolume::setVolume(QString const & role, double volume)
QDBusVariant dbusVar(QVariant::fromValue(volume));
QDBusReply<void> set_vol = accounts_interface_->call(QLatin1String("Set"),
#ifdef HAS_UT_ACCTSERVICE_SOUND_SETTINGS
- QVariant::fromValue(QString("com.ubuntu.AccountsService.Sound")),
+ QVariant::fromValue(QString("com.lomiri.AccountsService.Sound")),
#else
QVariant::fromValue(QString("org.ayatana.AccountsService.Sound")),
#endif
diff --git a/tests/service-mocks/accounts-mock/AccountsDefs.h b/tests/service-mocks/accounts-mock/AccountsDefs.h
index 0a1806d..9726a9a 100644
--- a/tests/service-mocks/accounts-mock/AccountsDefs.h
+++ b/tests/service-mocks/accounts-mock/AccountsDefs.h
@@ -29,7 +29,7 @@ namespace testing
constexpr const char USER_PATH[] = "/org/freedesktop/Accounts/UserTest";
constexpr const char ACCOUNTS_PATH[] = "/org/freedesktop/Accounts";
#ifdef HAS_UT_ACCTSERVICE_SOUND_SETTINGS
- constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "com.ubuntu.AccountsService.Sound";
+ constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "com.lomiri.AccountsService.Sound";
#else
constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "org.ayatana.AccountsService.Sound";
#endif
diff --git a/tests/service-mocks/accounts-mock/CMakeLists.txt b/tests/service-mocks/accounts-mock/CMakeLists.txt
index 421e155..e737a07 100644
--- a/tests/service-mocks/accounts-mock/CMakeLists.txt
+++ b/tests/service-mocks/accounts-mock/CMakeLists.txt
@@ -7,9 +7,9 @@ include_directories(${Qt5DBus_INCLUDE_DIRS}
add_definitions(-DQT_NO_KEYWORDS=1)
-if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.AccountsService.Sound.xml")
+if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
add_definitions(-DHAS_UT_ACCTSERVICE_SOUND_SETTINGS)
- set(dbusinterface_sound_xml "com.ubuntu.AccountsService.Sound.Mock.xml")
+ set(dbusinterface_sound_xml "com.lomiri.AccountsService.Sound.Mock.xml")
else()
set(dbusinterface_sound_xml "org.ayatana.AccountsService.Sound.Mock.xml")
endif()
diff --git a/tests/service-mocks/accounts-mock/com.ubuntu.AccountsService.Sound.Mock.xml b/tests/service-mocks/accounts-mock/com.lomiri.AccountsService.Sound.Mock.xml
index da9e8aa..d51abd2 100644
--- a/tests/service-mocks/accounts-mock/com.ubuntu.AccountsService.Sound.Mock.xml
+++ b/tests/service-mocks/accounts-mock/com.lomiri.AccountsService.Sound.Mock.xml
@@ -1,6 +1,6 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
- <interface name="com.ubuntu.AccountsService.Sound">
+ <interface name="com.lomiri.AccountsService.Sound">
<property name="Volume" type="d" access="readwrite"/>
<property name="LastRunningPlayer" type="s" access="readwrite"/>
</interface>
diff --git a/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h b/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
index 8a19db8..b43f162 100644
--- a/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
+++ b/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
@@ -29,7 +29,7 @@ namespace testing
constexpr const char USER_PATH[] = "/org/freedesktop/Accounts/UserTest";
constexpr const char ACCOUNTS_PATH[] = "/org/freedesktop/Accounts";
#ifdef HAS_UT_ACCTSERVICE_SOUND_SETTINGS
- constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "com.ubuntu.AccountsService.Sound";
+ constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "com.lomiri.AccountsService.Sound";
#else
constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "org.ayatana.AccountsService.Sound";
#endif