Remove unused applicationinterface DBus interface.
This commit is contained in:
parent
e085ba9ed9
commit
cf5ff51832
|
@ -14,7 +14,7 @@ Copyright: 2018 Andrius Štikonas <andrius@stikonas.eu>
|
|||
Copyright: 2020 KDE translators
|
||||
|
||||
### DBus interfaces
|
||||
Files: src/util/org.kde.kpmcore.*.conf
|
||||
Files: src/util/org.kde.kpmcore.helperinterface.conf
|
||||
License: MIT
|
||||
Copyright: 2018 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set(application_interface_xml org.kde.kpmcore.applicationinterface.xml)
|
||||
set(helper_interface_xml org.kde.kpmcore.helperinterface.xml)
|
||||
|
||||
qt5_generate_dbus_interface(
|
||||
|
@ -27,7 +26,6 @@ qt5_generate_dbus_interface(
|
|||
|
||||
find_package(PolkitQt5-1 REQUIRED)
|
||||
|
||||
qt5_add_dbus_interface(ApplicationInterface_SRCS ${CMAKE_CURRENT_BINARY_DIR}/${application_interface_xml} externalcommand_interface)
|
||||
qt5_add_dbus_interface(HelperInterface_SRCS ${CMAKE_CURRENT_BINARY_DIR}/${helper_interface_xml} externalcommandhelper_interface)
|
||||
|
||||
set(UTIL_SRC
|
||||
|
@ -51,7 +49,6 @@ set(UTIL_LIB_HDRS
|
|||
)
|
||||
|
||||
add_executable(kpmcore_externalcommand
|
||||
${ApplicationInterface_SRCS}
|
||||
util/externalcommandhelper.cpp
|
||||
)
|
||||
|
||||
|
@ -66,7 +63,6 @@ target_link_libraries(kpmcore_externalcommand
|
|||
|
||||
install(TARGETS kpmcore_externalcommand DESTINATION ${KDE_INSTALL_LIBEXECDIR})
|
||||
install( FILES util/org.kde.kpmcore.helperinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d )
|
||||
install( FILES util/org.kde.kpmcore.applicationinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d )
|
||||
|
||||
kauth_install_actions(org.kde.kpmcore.externalcommand util/org.kde.kpmcore.externalcommand.actions)
|
||||
ecm_install_configured_files(
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
<!DOCTYPE busconfig PUBLIC
|
||||
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||
<busconfig>
|
||||
|
||||
<policy context="default">
|
||||
<allow own="org.kde.kpmcore.applicationinterface"/>
|
||||
</policy>
|
||||
|
||||
<policy user="root">
|
||||
<allow send_destination="org.kde.kpmcore.applicationinterface"
|
||||
send_interface="org.kde.kpmcore.applicationinterface"/>
|
||||
</policy>
|
||||
</busconfig>
|
Loading…
Reference in New Issue