OSDN Git Service

generic: build system cleanups
authorIvailo Monev <xakepa10@gmail.com>
Sat, 9 Apr 2016 17:24:49 +0000 (17:24 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Sat, 9 Apr 2016 17:24:49 +0000 (17:24 +0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 files changed:
kdeplasma-addons/applets/pastebin/CMakeLists.txt
kdeplasma-addons/libs/plasmaweather/CMakeLists.txt
kdeplasma-addons/wallpapers/virus/CMakeLists.txt
kdeplasma-addons/wallpapers/weather/CMakeLists.txt
kdevplatform/language/CMakeLists.txt
kdevplatform/plugins/appwizard/CMakeLists.txt
kdevplatform/plugins/externalscript/CMakeLists.txt
kdevplatform/plugins/filetemplates/CMakeLists.txt
kdevplatform/plugins/snippet/CMakeLists.txt
kdevplatform/plugins/templatemanager/CMakeLists.txt
okular/part.cpp
yakuake/app/CMakeLists.txt

index 80591fd..28ffee9 100644 (file)
@@ -6,7 +6,7 @@ set(pastebin_SRCS
 )
 
 kde4_add_plugin(plasma_applet_pastebin ${pastebin_SRCS})
-target_link_libraries(plasma_applet_pastebin ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KNEWSTUFF3_LIBS})
+target_link_libraries(plasma_applet_pastebin ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
 
 install(TARGETS plasma_applet_pastebin DESTINATION ${PLUGIN_INSTALL_DIR})
 install(FILES plasma-applet-pastebin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
index 68ed9d4..5af3a88 100644 (file)
@@ -17,7 +17,7 @@ set(plasmaweather_HEADERS
 
 add_library(plasmaweather SHARED ${plasmaweather_LIB_SRCS})
 
-target_link_libraries(plasmaweather ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KUNITCONVERSION_LIBS} ${KDE4WORKSPACE_WEATHERION_LIBRARY} ${KDE4_KNEWSTUFF3_LIBS})
+target_link_libraries(plasmaweather ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KUNITCONVERSION_LIBS} ${KDE4WORKSPACE_WEATHERION_LIBRARY})
 set_target_properties(plasmaweather PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
 install(TARGETS plasmaweather ${INSTALL_TARGETS_DEFAULT_ARGS})
 # nothing outside of kdeplasma-addons uses this library, and the API is not stable -> do not install headers!
index 27eb12a..c5b1115 100644 (file)
@@ -7,14 +7,13 @@ set(virus_SRCS
     backgroundlistmodel.cpp
     alife.cpp
     itemsview.cpp
-    virusconfig.ui
 )
 
 set(ksmserver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
 qt4_add_dbus_interface(image_SRCS ${ksmserver_xml} ksmserver_interface)
 
 kde4_add_plugin(plasma_wallpaper_virus ${virus_SRCS})
-target_link_libraries(plasma_wallpaper_virus ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_KNEWSTUFF3_LIBS} ${KDE4_THREADWEAVER_LIBRARY})
+target_link_libraries(plasma_wallpaper_virus ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_THREADWEAVER_LIBRARY})
 
 install(TARGETS plasma_wallpaper_virus DESTINATION ${PLUGIN_INSTALL_DIR})
 install(FILES plasma-wallpaper-virus.desktop DESTINATION ${SERVICES_INSTALL_DIR})
index 6f8241b..87761fc 100644 (file)
@@ -4,11 +4,10 @@ set(weather_SRCS
     weatherwallpaper.cpp
     backgrounddelegate.cpp
     backgroundlistmodel.cpp
-    weatherAdvanced.ui
 )
 
 kde4_add_plugin(plasma_wallpaper_weather ${weather_SRCS})
-target_link_libraries(plasma_wallpaper_weather ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_KNEWSTUFF3_LIBS} ${KDE4_THREADWEAVER_LIBRARY} plasmaweather)
+target_link_libraries(plasma_wallpaper_weather ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} plasmaweather)
 
 install(TARGETS plasma_wallpaper_weather DESTINATION ${PLUGIN_INSTALL_DIR})
 install(FILES plasma-wallpaper-weather.desktop DESTINATION ${SERVICES_INSTALL_DIR})
index 86782ff..d237679 100644 (file)
@@ -162,7 +162,6 @@ target_link_libraries(kdevplatformlanguage LINK_PRIVATE
         ${KDE4_KPARTS_LIBS}
         ${KDE4_KTEXTEDITOR_LIBS}
         ${KDE4_THREADWEAVER_LIBS}
-        ${KDE4_KNEWSTUFF3_LIBS}
         kdevplatformutil
         ${Grantlee_CORE_LIBRARIES}
 )
index 379cf47..183a42a 100644 (file)
@@ -19,8 +19,11 @@ target_link_libraries(kdevappwizard
     ${KDE4_KDECORE_LIBS}
     ${KDE4_KIO_LIBS}
     ${KDE4_KDEUI_LIBS}
-    ${KDE4_KNEWSTUFF3_LIBS}
-    kdevplatforminterfaces kdevplatformvcs kdevplatformlanguage kdevplatformutil)
+    kdevplatforminterfaces
+    kdevplatformvcs
+    kdevplatformlanguage
+    kdevplatformutil
+)
 
 install(TARGETS kdevappwizard DESTINATION ${PLUGIN_INSTALL_DIR} )
 
index 8c059f1..b161e96 100644 (file)
@@ -14,7 +14,7 @@ set(kdevexternalscript_PART_SRCS
 kde4_add_plugin(kdevexternalscript ${kdevexternalscript_PART_SRCS})
 
 target_link_libraries(kdevexternalscript
-    ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KNEWSTUFF3_LIBS}
+    ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KPARTS_LIBS}
     kdevplatformlanguage kdevplatforminterfaces kdevplatformproject
     kdevplatformutil kdevplatformoutputview
 )
index 7095d2e..dd15644 100644 (file)
@@ -23,7 +23,6 @@ target_link_libraries(kdevfiletemplates
     ${KDEVPLATFORM_LANGUAGE_LIBRARIES}
     ${KDEVPLATFORM_PROJECT_LIBRARIES}
     ${KDEVPLATFORM_UTIL_LIBRARIES}
-    ${KDE4_KNEWSTUFF3_LIBS}
 )
 
 install(TARGETS kdevfiletemplates DESTINATION ${PLUGIN_INSTALL_DIR} )
@@ -79,5 +78,4 @@ target_link_libraries(testfiletemplates
     ${KDEVPLATFORM_PROJECT_LIBRARIES}
     ${KDEVPLATFORM_UTIL_LIBRARIES}
     ${KDEVPLATFORM_TESTS_LIBRARIES}
-    ${KDE4_KNEWSTUFF3_LIBS}
 )
index a52b0b2..bc91500 100644 (file)
@@ -15,13 +15,10 @@ set(kdevsnippet_PART_SRCS
     legacy/snippet.cpp
     legacy/editrepository.cpp
     legacy/editsnippet.cpp
-    legacy/snippetview.ui
-    legacy/editrepository.ui
-    legacy/editsnippet.ui
 )
 
 kde4_add_plugin(kdevsnippet ${kdevsnippet_PART_SRCS})
-target_link_libraries(kdevsnippet ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KNEWSTUFF3_LIBS}
+target_link_libraries(kdevsnippet ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KPARTS_LIBS}
 kdevplatformlanguage kdevplatforminterfaces)
 install( TARGETS kdevsnippet DESTINATION ${PLUGIN_INSTALL_DIR} )
 
index 2bdcbfc..585ee39 100644 (file)
@@ -2,13 +2,11 @@
 set(kdevtemplatemanager_config_SRCS
     templateconfig.cpp
     templatepage.cpp 
-    templateconfig.ui
-    templatepage.ui
 )
 
 kde4_add_plugin( kdevtemplatemanager_config ${kdevtemplatemanager_config_SRCS} )
 
-target_link_libraries( kdevtemplatemanager_config ${KDE4_KUTILS_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KNEWSTUFF3_LIBS} kdevplatforminterfaces)
+target_link_libraries( kdevtemplatemanager_config ${KDE4_KUTILS_LIBS} ${KDE4_KIO_LIBS} kdevplatforminterfaces)
 
 install( TARGETS kdevtemplatemanager_config DESTINATION ${PLUGIN_INSTALL_DIR} )
 install( FILES kdevtemplatemanager_config.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
index 99bc212..13699c7 100644 (file)
@@ -58,9 +58,6 @@
 #include <kicon.h>
 #include <kfilterdev.h>
 #include <kfilterbase.h>
-#if 0
-#include <knewstuff2/engine.h>
-#endif
 #include <kdeprintdialog.h>
 #include <kprintpreview.h>
 #include <kbookmarkmenu.h>
index edb37a2..8f79d6e 100644 (file)
@@ -16,10 +16,6 @@ set(yakuake_SRCS
     config/windowsettings.cpp
     config/appearancesettings.cpp
     config/skinlistdelegate.cpp
-    firstrundialog.ui
-    config/windowsettings.ui
-    behaviorsettings.ui
-    config/appearancesettings.ui
 )
 
 
@@ -27,7 +23,7 @@ kde4_add_kcfg_files(yakuake_SRCS config/settings.kcfgc)
 
 add_executable(yakuake ${yakuake_SRCS})
 
-target_link_libraries(yakuake ${KDE4_KNOTIFYCONFIG_LIBRARY} ${KDE4_KPARTS_LIBS} ${KDE4_KNEWSTUFF3_LIBS})
+target_link_libraries(yakuake ${KDE4_KNOTIFYCONFIG_LIBRARY} ${KDE4_KPARTS_LIBS})
 
 if(Q_WS_X11)
   target_link_libraries(yakuake ${X11_X11_LIB})