Commit 5dca52b8 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Luigi Toscano
Browse files

kcms: Remove now unneeded kcoreaddons_desktop_to_json cmake function calls

parent 8b62c9b5
......@@ -36,8 +36,6 @@ target_link_libraries(kcm_access
X11::X11
)
kcoreaddons_desktop_to_json(kcm_access "kcm_access.desktop")
install(FILES kcm_access.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(
FILES
......
......@@ -20,8 +20,6 @@ target_link_libraries(kcm_baloofile
Qt::Widgets
)
kcoreaddons_desktop_to_json(kcm_baloofile "kcm_baloofile.desktop")
install(FILES kcm_baloofile.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
kpackage_install_package(package kcm_baloofile kcms)
......@@ -27,7 +27,5 @@ target_link_libraries(kcm_componentchooser
KF5::KCMUtils
)
kcoreaddons_desktop_to_json(kcm_componentchooser "componentchooser.desktop")
install(FILES componentchooser.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
kpackage_install_package(package kcm_componentchooser kcms)
......@@ -24,8 +24,6 @@ ecm_qt_install_logging_categories(
kcoreaddons_add_plugin(kcm_kded SOURCES ${kcm_kded_SRCS} INSTALL_NAMESPACE "kcms")
kcoreaddons_desktop_to_json(kcm_kded "kcmkded.desktop")
target_link_libraries(kcm_kded KF5::QuickAddons KF5::Service KF5::I18n KF5::KCMUtils Qt::DBus)
########### install files ###############
......
......@@ -38,7 +38,6 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
kcoreaddons_add_plugin(kded_keyboard SOURCES ${kded_keyboard_SRCS} INSTALL_NAMESPACE "kf5/kded")
set_target_properties(kded_keyboard PROPERTIES OUTPUT_NAME keyboard)
kcoreaddons_desktop_to_json(kded_keyboard keyboard.desktop SERVICE_TYPES kdedmodule.desktop)
target_link_libraries(kded_keyboard
Qt::Concurrent
......
......@@ -54,8 +54,6 @@ target_link_libraries(kcm_keys
KF5::QuickAddons
)
kcoreaddons_desktop_to_json(kcm_keys "kcm_keys.desktop")
install(FILES kcm_keys.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
kpackage_install_package(package kcm_keys kcms)
......
......@@ -26,8 +26,6 @@ target_link_libraries(kcm_smserver
KF5::KCMUtils
PW::KWorkspace)
kcoreaddons_desktop_to_json(kcm_smserver "kcm_smserver.desktop" SERVICE_TYPES kcmodule.desktop)
add_subdirectory(kconf_update)
########### install files ###############
......
......@@ -33,8 +33,6 @@ target_link_libraries(kcm_splashscreen
Qt::QuickWidgets
)
kcoreaddons_desktop_to_json(kcm_splashscreen "kcm_splashscreen.desktop" SERVICE_TYPES kcmodule.desktop)
#this desktop file is installed only for retrocompatibility with sycoca
install(FILES splashscreensettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES kcm_splashscreen.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......
......@@ -51,8 +51,6 @@ if (KUserFeedback_FOUND)
target_link_libraries(kcm_landingpage KUserFeedbackCore)
endif()
kcoreaddons_desktop_to_json(kcm_landingpage "kcm_landingpage.desktop" SERVICE_TYPES kcmodule.desktop)
########### install files ###############
install(FILES landingpage_kdeglobalssettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
if (KUserFeedback_FOUND)
......
......@@ -24,8 +24,6 @@ target_link_libraries(kcm_launchfeedback
KF5::QuickAddons
)
kcoreaddons_desktop_to_json(kcm_launchfeedback "kcm_launchfeedback.desktop")
########### install files ###############
install(FILES launchfeedbacksettingsbase.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
......
......@@ -74,7 +74,6 @@ add_library(kcm_mouse MODULE
${common_SRCS}
${backend_SRCS}
)
kcoreaddons_desktop_to_json(kcm_mouse "mouse.desktop")
target_link_libraries(kcm_mouse
${backend_LIBS}
......
......@@ -22,7 +22,6 @@ ki18n_wrap_ui(KCM_TOUCHPAD_SRCS
add_library(kcm_touchpad MODULE ${KCM_TOUCHPAD_SRCS})
kcoreaddons_desktop_to_json(kcm_touchpad "kcm_touchpad.desktop")
target_link_libraries(kcm_touchpad
PRIVATE
Qt::Core
......
kcoreaddons_add_plugin(kded_touchpad SOURCES kded.cpp INSTALL_NAMESPACE "kf5/kded")
kcoreaddons_desktop_to_json(kded_touchpad kded_touchpad.desktop)
target_link_libraries(kded_touchpad
PRIVATE
Qt::DBus
......
......@@ -30,8 +30,6 @@ target_link_libraries(kcm_workspace
Qt::DBus
)
kcoreaddons_desktop_to_json(kcm_workspace "kcm_workspace.desktop" SERVICE_TYPES kcmodule.desktop)
########### install files ###############
install(FILES workspaceoptions_kdeglobalssettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES workspaceoptions_plasmasettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment