kcms: Remove now unneeded kcoreaddons_desktop_to_json cmake function calls

wilder-5.24
Alexander Lohnau 4 years ago
parent c2c2ff6da5
commit 8af527c337
  1. 2
      kcms/autostart/CMakeLists.txt
  2. 3
      kcms/colors/CMakeLists.txt
  3. 2
      kcms/cursortheme/CMakeLists.txt
  4. 2
      kcms/desktoptheme/CMakeLists.txt
  5. 2
      kcms/feedback/CMakeLists.txt
  6. 2
      kcms/fonts/CMakeLists.txt
  7. 2
      kcms/formats/CMakeLists.txt
  8. 2
      kcms/icons/CMakeLists.txt
  9. 1
      kcms/kfontinst/viewpart/CMakeLists.txt
  10. 1
      kcms/lookandfeel/CMakeLists.txt
  11. 2
      kcms/nightcolor/CMakeLists.txt
  12. 2
      kcms/notifications/CMakeLists.txt
  13. 2
      kcms/style/CMakeLists.txt
  14. 2
      kcms/translations/CMakeLists.txt
  15. 2
      kcms/users/src/CMakeLists.txt

@ -9,7 +9,5 @@ kcoreaddons_add_plugin(kcm_autostart SOURCES ${kcm_autostart_PART_SRCS} INSTALL_
target_link_libraries(kcm_autostart KF5::I18n KF5::KIOCore KF5::KIOWidgets KF5::QuickAddons PW::KWorkspace)
kcoreaddons_desktop_to_json(kcm_autostart "kcm_autostart.desktop")
install(FILES kcm_autostart.desktop RENAME autostart.desktop DESTINATION ${KDE_INSTALL_APPDIR})
kpackage_install_package(package kcm_autostart kcms)

@ -40,9 +40,6 @@ if(X11_FOUND)
target_link_libraries(kcm_colors X11::X11 Qt::X11Extras)
endif()
kcoreaddons_desktop_to_json(kcm_colors "kcm_colors.desktop")
set(plasma-apply-colorscheme_SRCS
plasma-apply-colorscheme.cpp
colorsapplicator.cpp

@ -54,8 +54,6 @@ if (X11_Xfixes_FOUND)
target_link_libraries(kcm_cursortheme X11::Xfixes)
endif ()
kcoreaddons_desktop_to_json(kcm_cursortheme "kcm_cursortheme.desktop")
########### next target ###############
set(plasma-apply-cursortheme_SRCS

@ -30,8 +30,6 @@ target_link_libraries(kcm_desktoptheme
KF5::QuickAddons
)
kcoreaddons_desktop_to_json(kcm_desktoptheme "kcm_desktoptheme.desktop" SERVICE_TYPES kcmodule.desktop)
set(plasma-apply-desktoptheme_SRCS
plasma-apply-desktoptheme.cpp
themesmodel.cpp

@ -20,8 +20,6 @@ target_link_libraries(kcm_feedback
KUserFeedbackCore
)
kcoreaddons_desktop_to_json(kcm_feedback "kcm_feedback.desktop")
install(FILES feedbacksettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES kcm_feedback.desktop DESTINATION ${KDE_INSTALL_APPDIR})
kpackage_install_package(package kcm_feedback kcms)

@ -31,8 +31,6 @@ if(X11_FOUND)
target_link_libraries(kcm_fonts Qt::X11Extras X11::X11 X11::Xft XCB::IMAGE)
endif()
kcoreaddons_desktop_to_json(kcm_fonts "kcm_fonts.desktop")
########### install files ###############
install(FILES fontssettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES kcm_fonts.desktop DESTINATION ${KDE_INSTALL_APPDIR})

@ -13,8 +13,6 @@ kconfig_add_kcfg_files(kcm_formats_PART_SRCS formatssettings.kcfgc GENERATE_MOC)
add_library(kcm_formats MODULE ${kcm_formats_PART_SRCS})
kcoreaddons_desktop_to_json(kcm_formats "kcm_formats.desktop")
target_link_libraries(kcm_formats
Qt5::Core
KF5::ConfigCore

@ -35,8 +35,6 @@ kconfig_add_kcfg_files(changeicons_SRCS iconssettingsbase.kcfgc GENERATE_MOC)
add_executable(plasma-changeicons ${changeicons_SRCS})
target_link_libraries(plasma-changeicons PRIVATE Qt::Core KF5::KIOWidgets KF5::KCMUtils KF5::IconThemes KF5::I18n)
kcoreaddons_desktop_to_json(kcm_icons "kcm_icons.desktop")
install(FILES iconssettingsbase.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES icons_remove_effects.upd DESTINATION ${KDE_INSTALL_DATADIR}/kconf_update)
install(FILES kcm_icons.desktop DESTINATION ${KDE_INSTALL_APPDIR})

@ -7,7 +7,6 @@ include_directories(
set(kfontviewpart_PART_SRCS ${libkfontinstview_SRCS} ${libkfontinstdbusiface_SRCS} FontViewPart.cpp )
add_library(kfontviewpart MODULE ${kfontviewpart_PART_SRCS})
kcoreaddons_desktop_to_json(kfontviewpart kfontviewpart.desktop)
target_link_libraries(kfontviewpart KF5::Archive KF5::Parts KF5::XmlGui kfontinstui kfontinst )

@ -69,7 +69,6 @@ target_link_libraries(kcm_lookandfeel_objects
)
kcoreaddons_add_plugin(kcm_lookandfeel SOURCES kcmmain.cpp INSTALL_NAMESPACE "kcms")
kcoreaddons_desktop_to_json(kcm_lookandfeel "kcm_lookandfeel.desktop" SERVICE_TYPES kcmodule.desktop)
target_link_libraries(kcm_lookandfeel kcm_lookandfeel_objects)
#this desktop file is installed only for retrocompatibility with sycoca

@ -26,8 +26,6 @@ target_link_libraries(kcm_nightcolor
PW::LibColorCorrect
)
kcoreaddons_desktop_to_json(kcm_nightcolor "kcm_nightcolor.desktop" SERVICE_TYPES kcmodule.desktop)
#this desktop file is installed only for retrocompatibility with sycoca
install(FILES kcm_nightcolor.desktop DESTINATION ${KDE_INSTALL_APPDIR})

@ -22,8 +22,6 @@ target_link_libraries(kcm_notifications
PW::LibNotificationManager
)
kcoreaddons_desktop_to_json(kcm_notifications "kcm_notifications.desktop")
install(FILES kcm_notifications.desktop DESTINATION ${KDE_INSTALL_APPDIR})
kpackage_install_package(package kcm_notifications kcms)

@ -42,8 +42,6 @@ target_link_libraries(kcm_style
krdb
)
kcoreaddons_desktop_to_json(kcm_style "kcm_style.desktop")
install(FILES stylesettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES style_widgetstyle_default_breeze.upd style_widgetstyle_default_breeze.pl DESTINATION ${KDE_INSTALL_DATADIR}/kconf_update)
install(FILES gtk_themes.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})

@ -43,8 +43,6 @@ if(HAVE_PACKAGEKIT)
target_link_libraries(kcm_translations PK::packagekitqt5)
endif()
kcoreaddons_desktop_to_json(kcm_translations "kcm_translations.desktop")
########### install files ###############
install(FILES kcm_translations.desktop DESTINATION ${KDE_INSTALL_APPDIR})
kpackage_install_package(package kcm_translations kcms)

@ -72,5 +72,3 @@ target_link_libraries(kcm_users
Qt::DBus
crypt
)
kcoreaddons_desktop_to_json(kcm_users "../kcm_users.desktop" SERVICE_TYPES kcmodule.desktop)

Loading…
Cancel
Save