Commit 2ba47db1 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Luigi Toscano
Browse files

Align names of KCMs and their desktop files

The desktop file name is derived from the plugins id, without the renaming the files could not be found
parent c175c2c8
......@@ -27,5 +27,5 @@ target_link_libraries(kcm_componentchooser
KF5::KCMUtils
)
install(FILES componentchooser.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES kcm_componentchooser.desktop DESTINATION ${KDE_INSTALL_APPDIR})
kpackage_install_package(package kcm_componentchooser kcms)
......@@ -37,4 +37,4 @@ kauth_install_actions(org.kde.kcontrol.kcmclock kcmclock_actions.actions)
########### install files ###############
install( FILES clock.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES kcm_clock.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
......@@ -26,5 +26,5 @@ target_link_libraries(kcm_desktoppaths
)
install(TARGETS kcm_desktoppaths DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets)
install(FILES desktoppath.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES kcm_desktoppaths.desktop DESTINATION ${KDE_INSTALL_APPDIR})
......@@ -27,6 +27,6 @@ install(TARGETS kcm_joystick DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/s
########### install files ###############
install( FILES joystick.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES kcm_joystick.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
#
......@@ -28,6 +28,6 @@ target_link_libraries(kcm_kded KF5::QuickAddons KF5::Service KF5::I18n KF5::KCMU
########### install files ###############
install( FILES kcmkded.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES kcm_kded.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
kpackage_install_package(package kcm5_kded kcms)
[Desktop Entry]
Icon=preferences-desktop-keyboard
Type=Application
Exec=systemsettings kded_keyboard
Exec=systemsettings kcm_keyboard
NoDisplay=true
Name=Keyboard
......
......@@ -97,3 +97,4 @@ add_custom_command(TARGET kcm_mouse POST_BUILD
COMMAND ${CMAKE_COMMAND} -E create_symlink ../kcms/systemsettings/kcm_mouse.so kcm_mouse_init.so)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kcm_mouse_init.so DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcminit)
install( FILES kcm_mouse.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
......@@ -17,4 +17,4 @@ target_link_libraries(kcm_qtquicksettings
########### install files ###############
install(TARGETS kcm_qtquicksettings DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets)
install(FILES qtquicksettings.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES kcm_qtquicksettings.desktop DESTINATION ${KDE_INSTALL_APPDIR})
......@@ -32,6 +32,6 @@ target_link_libraries(solid-action-desktop-gen KF5::Solid KF5::KIOCore KF5::I18n
install( TARGETS kcm_solid_actions DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets )
install( TARGETS solid-action-desktop-gen ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES solid-actions.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES kcm_solid_actions.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES solid-action-template.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kcmsolidactions )
install( FILES solid-device-type.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR} )
......@@ -14,4 +14,4 @@ target_link_libraries(kcmspellchecking
)
install(TARGETS kcmspellchecking DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets )
install( FILES spellchecking.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES kcmspellchecking.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
[Desktop Entry]
Icon=preferences-desktop
Type=Application
Exec=systemsettings
Exec=systemsettings kcm_workspace
NoDisplay=true
Name=General Behavior
......
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