From b6fc43ccd522dfbc1e215b12adb8208c156bbd31 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 23 Jan 2011 23:42:11 +0000 Subject: [kdebase] initial cmake support git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kicker/CMakeLists.txt | 30 +++++++++++++ kicker/applets/CMakeLists.txt | 22 ++++++++++ kicker/applets/clock/CMakeLists.txt | 45 ++++++++++++++++++++ kicker/applets/launcher/CMakeLists.txt | 47 +++++++++++++++++++++ kicker/applets/lockout/CMakeLists.txt | 34 +++++++++++++++ kicker/applets/media/CMakeLists.txt | 40 ++++++++++++++++++ kicker/applets/menu/CMakeLists.txt | 33 +++++++++++++++ kicker/applets/minipager/CMakeLists.txt | 44 +++++++++++++++++++ kicker/applets/naughty/CMakeLists.txt | 40 ++++++++++++++++++ kicker/applets/run/CMakeLists.txt | 34 +++++++++++++++ kicker/applets/systemtray/CMakeLists.txt | 41 ++++++++++++++++++ kicker/applets/taskbar/CMakeLists.txt | 37 ++++++++++++++++ kicker/applets/trash/CMakeLists.txt | 40 ++++++++++++++++++ kicker/data/CMakeLists.txt | 17 ++++++++ kicker/data/app_start_anim/CMakeLists.txt | 15 +++++++ kicker/data/icons/CMakeLists.txt | 14 +++++++ kicker/data/icons/actions/CMakeLists.txt | 12 ++++++ kicker/data/kickoff/CMakeLists.txt | 24 +++++++++++ kicker/data/kmenu_side/CMakeLists.txt | 12 ++++++ kicker/data/tiles/CMakeLists.txt | 63 ++++++++++++++++++++++++++++ kicker/data/wallpaper/CMakeLists.txt | 14 +++++++ kicker/extensions/CMakeLists.txt | 15 +++++++ kicker/extensions/dockbar/CMakeLists.txt | 40 ++++++++++++++++++ kicker/extensions/kasbar/CMakeLists.txt | 65 +++++++++++++++++++++++++++++ kicker/extensions/sidebar/CMakeLists.txt | 39 +++++++++++++++++ kicker/extensions/taskbar/CMakeLists.txt | 43 +++++++++++++++++++ kicker/kicker/CMakeLists.txt | 58 +++++++++++++++++++++++++ kicker/kicker/buttons/CMakeLists.txt | 51 ++++++++++++++++++++++ kicker/kicker/core/CMakeLists.txt | 53 +++++++++++++++++++++++ kicker/kicker/interfaces/CMakeLists.txt | 48 +++++++++++++++++++++ kicker/kicker/ui/CMakeLists.txt | 58 +++++++++++++++++++++++++ kicker/libkicker/CMakeLists.txt | 42 +++++++++++++++++++ kicker/menuext/CMakeLists.txt | 20 +++++++++ kicker/menuext/find/CMakeLists.txt | 34 +++++++++++++++ kicker/menuext/kate/CMakeLists.txt | 33 +++++++++++++++ kicker/menuext/kdeprint/CMakeLists.txt | 33 +++++++++++++++ kicker/menuext/konq-profiles/CMakeLists.txt | 33 +++++++++++++++ kicker/menuext/konsole/CMakeLists.txt | 33 +++++++++++++++ kicker/menuext/prefmenu/CMakeLists.txt | 35 ++++++++++++++++ kicker/menuext/recentdocs/CMakeLists.txt | 33 +++++++++++++++ kicker/menuext/remote/CMakeLists.txt | 34 +++++++++++++++ kicker/menuext/system/CMakeLists.txt | 34 +++++++++++++++ kicker/proxy/CMakeLists.txt | 41 ++++++++++++++++++ kicker/taskbar/CMakeLists.txt | 39 +++++++++++++++++ kicker/taskmanager/CMakeLists.txt | 58 +++++++++++++++++++++++++ 45 files changed, 1630 insertions(+) create mode 100644 kicker/CMakeLists.txt create mode 100644 kicker/applets/CMakeLists.txt create mode 100644 kicker/applets/clock/CMakeLists.txt create mode 100644 kicker/applets/launcher/CMakeLists.txt create mode 100644 kicker/applets/lockout/CMakeLists.txt create mode 100644 kicker/applets/media/CMakeLists.txt create mode 100644 kicker/applets/menu/CMakeLists.txt create mode 100644 kicker/applets/minipager/CMakeLists.txt create mode 100644 kicker/applets/naughty/CMakeLists.txt create mode 100644 kicker/applets/run/CMakeLists.txt create mode 100644 kicker/applets/systemtray/CMakeLists.txt create mode 100644 kicker/applets/taskbar/CMakeLists.txt create mode 100644 kicker/applets/trash/CMakeLists.txt create mode 100644 kicker/data/CMakeLists.txt create mode 100644 kicker/data/app_start_anim/CMakeLists.txt create mode 100644 kicker/data/icons/CMakeLists.txt create mode 100644 kicker/data/icons/actions/CMakeLists.txt create mode 100644 kicker/data/kickoff/CMakeLists.txt create mode 100644 kicker/data/kmenu_side/CMakeLists.txt create mode 100644 kicker/data/tiles/CMakeLists.txt create mode 100644 kicker/data/wallpaper/CMakeLists.txt create mode 100644 kicker/extensions/CMakeLists.txt create mode 100644 kicker/extensions/dockbar/CMakeLists.txt create mode 100644 kicker/extensions/kasbar/CMakeLists.txt create mode 100644 kicker/extensions/sidebar/CMakeLists.txt create mode 100644 kicker/extensions/taskbar/CMakeLists.txt create mode 100644 kicker/kicker/CMakeLists.txt create mode 100644 kicker/kicker/buttons/CMakeLists.txt create mode 100644 kicker/kicker/core/CMakeLists.txt create mode 100644 kicker/kicker/interfaces/CMakeLists.txt create mode 100644 kicker/kicker/ui/CMakeLists.txt create mode 100644 kicker/libkicker/CMakeLists.txt create mode 100644 kicker/menuext/CMakeLists.txt create mode 100644 kicker/menuext/find/CMakeLists.txt create mode 100644 kicker/menuext/kate/CMakeLists.txt create mode 100644 kicker/menuext/kdeprint/CMakeLists.txt create mode 100644 kicker/menuext/konq-profiles/CMakeLists.txt create mode 100644 kicker/menuext/konsole/CMakeLists.txt create mode 100644 kicker/menuext/prefmenu/CMakeLists.txt create mode 100644 kicker/menuext/recentdocs/CMakeLists.txt create mode 100644 kicker/menuext/remote/CMakeLists.txt create mode 100644 kicker/menuext/system/CMakeLists.txt create mode 100644 kicker/proxy/CMakeLists.txt create mode 100644 kicker/taskbar/CMakeLists.txt create mode 100644 kicker/taskmanager/CMakeLists.txt (limited to 'kicker') diff --git a/kicker/CMakeLists.txt b/kicker/CMakeLists.txt new file mode 100644 index 000000000..0bc7732f1 --- /dev/null +++ b/kicker/CMakeLists.txt @@ -0,0 +1,30 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +project( kicker ) + + +##### subdirectories ############################ + +add_subdirectory( libkicker ) +add_subdirectory( taskmanager ) +add_subdirectory( taskbar ) +add_subdirectory( kicker ) +add_subdirectory( extensions ) +add_subdirectory( applets ) +add_subdirectory( menuext ) +add_subdirectory( proxy ) +add_subdirectory( data ) + + +##### install import cmake modules ############### + +tde_install_export( ) diff --git a/kicker/applets/CMakeLists.txt b/kicker/applets/CMakeLists.txt new file mode 100644 index 000000000..0344c419b --- /dev/null +++ b/kicker/applets/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( clock ) +add_subdirectory( systemtray ) +add_subdirectory( minipager ) +add_subdirectory( taskbar ) +add_subdirectory( run ) +add_subdirectory( launcher ) +add_subdirectory( naughty ) +add_subdirectory( lockout ) +add_subdirectory( menu ) +add_subdirectory( media ) +add_subdirectory( trash ) diff --git a/kicker/applets/clock/CMakeLists.txt b/kicker/applets/clock/CMakeLists.txt new file mode 100644 index 000000000..7b2925dbf --- /dev/null +++ b/kicker/applets/clock/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES clockapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) +install( FILES lcd.png DESTINATION ${DATA_INSTALL_DIR}/clockapplet/pics ) + + +##### clock_panelapplet (module) ################ + +set( target clock_panelapplet ) + +set( ${target}_SRCS + clock.skel clock.cpp datepicker.cpp zone.cpp + analog.ui digital.ui fuzzy.ui settings.ui prefs.kcfgc +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kickermain-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/launcher/CMakeLists.txt b/kicker/applets/launcher/CMakeLists.txt new file mode 100644 index 000000000..e5bf4e92b --- /dev/null +++ b/kicker/applets/launcher/CMakeLists.txt @@ -0,0 +1,47 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/kicker/ui + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES quicklauncher.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) +install( FILES launcherapplet.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) + + +##### launcher_panelapplet (module) ############# + +# NOTE: There we have a circular dependency, +# for this reason I used -Wl,--start-group / -Wl,--end-group + +tde_add_kpart( launcher_panelapplet AUTOMOC + SOURCES + quicklauncher.skel quicklauncher.cpp quickbutton.cpp + quickaddappsmenu.cpp flowgridmanager.cpp popularity.cpp + configdlgbase.ui prefs.kcfgc configdlg.cpp + LINK + -Wl,--start-group + kicker_core-static kicker_buttons-static kicker_ui-static + -Wl,--end-group + kickermain-shared kutils-shared kabc-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/lockout/CMakeLists.txt b/kicker/applets/lockout/CMakeLists.txt new file mode 100644 index 000000000..406f5998b --- /dev/null +++ b/kicker/applets/lockout/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES lockout.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) + + +##### lockout_panelapplet (module) ############## + +tde_add_kpart( lockout_panelapplet AUTOMOC + SOURCES lockout.cpp + LINK kickermain-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/media/CMakeLists.txt b/kicker/applets/media/CMakeLists.txt new file mode 100644 index 000000000..c246bb6b8 --- /dev/null +++ b/kicker/applets/media/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +if( NOT BUILD_LIBKONQ ) + include( "${TDE_CMAKE_DIR}/libkonq.cmake" ) +endif( NOT BUILD_LIBKONQ ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES mediaapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) + + +##### media_panelapplet (module) ################ + +tde_add_kpart( media_panelapplet AUTOMOC + SOURCES preferencesdialog.cpp mediumbutton.cpp mediaapplet.cpp + LINK kickermain-shared konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/menu/CMakeLists.txt b/kicker/applets/menu/CMakeLists.txt new file mode 100644 index 000000000..b0accd9a7 --- /dev/null +++ b/kicker/applets/menu/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES menuapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) + + +##### menu_panelapplet (module) ################# + +tde_add_kpart( menu_panelapplet AUTOMOC + SOURCES menuapplet.cpp menuapplet.skel + LINK kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/minipager/CMakeLists.txt b/kicker/applets/minipager/CMakeLists.txt new file mode 100644 index 000000000..b9ca9c782 --- /dev/null +++ b/kicker/applets/minipager/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/taskmanager + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES minipagerapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) + + +##### minipager_panelapplet (module) ############ + +set( target minipager_panelapplet ) + +set( ${target}_SRCS + pagerapplet.cpp pagerbutton.cpp pagersettings.kcfgc +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK taskmanager-shared kickermain-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/naughty/CMakeLists.txt b/kicker/applets/naughty/CMakeLists.txt new file mode 100644 index 000000000..6f6b9d47a --- /dev/null +++ b/kicker/applets/naughty/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +# FIXME seems that on freebsd is needed smth named LIB_KVM + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES naughtyapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) +install( FILES naughty-happy.png naughty-sad.png DESTINATION ${DATA_INSTALL_DIR}/naughtyapplet/pics ) + + +##### naughty_panelapplet (module) ############## + +tde_add_kpart( naughty_panelapplet AUTOMOC + SOURCES + NaughtyProcessMonitor.cpp NaughtyConfigDialog.cpp + NaughtyApplet.cpp + LINK kickermain-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/run/CMakeLists.txt b/kicker/applets/run/CMakeLists.txt new file mode 100644 index 000000000..68c7c7c0c --- /dev/null +++ b/kicker/applets/run/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES runapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) + + +##### run_panelapplet (module) ################## + +tde_add_kpart( run_panelapplet AUTOMOC + SOURCES runapplet.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/systemtray/CMakeLists.txt b/kicker/applets/systemtray/CMakeLists.txt new file mode 100644 index 000000000..9dc4f41ae --- /dev/null +++ b/kicker/applets/systemtray/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES systemtrayapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) + + +##### systemtray_panelapplet (module) ########### + +set( target systemtray_panelapplet ) + +set( ${target}_SRCS + systemtrayapplet.cpp systemtrayapplet.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kickermain-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/taskbar/CMakeLists.txt b/kicker/applets/taskbar/CMakeLists.txt new file mode 100644 index 000000000..28cacb950 --- /dev/null +++ b/kicker/applets/taskbar/CMakeLists.txt @@ -0,0 +1,37 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/taskbar + ${CMAKE_SOURCE_DIR}/kicker/taskmanager + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES taskbarapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) + + +##### taskbar_panelapplet (module) ############## + +tde_add_kpart( taskbar_panelapplet AUTOMOC + SOURCES taskbarapplet.cpp + LINK taskbar-shared kickermain-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/applets/trash/CMakeLists.txt b/kicker/applets/trash/CMakeLists.txt new file mode 100644 index 000000000..e5ae62051 --- /dev/null +++ b/kicker/applets/trash/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +if( NOT BUILD_LIBKONQ ) + include( "${TDE_CMAKE_DIR}/libkonq.cmake" ) +endif( NOT BUILD_LIBKONQ ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES trashapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) + + +##### trash_panelapplet (module) ################ + +tde_add_kpart( trash_panelapplet AUTOMOC + SOURCES trashbutton.cpp trashapplet.cpp + LINK kickermain-shared konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/data/CMakeLists.txt b/kicker/data/CMakeLists.txt new file mode 100644 index 000000000..1ccdceb7c --- /dev/null +++ b/kicker/data/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( icons ) +add_subdirectory( tiles ) +add_subdirectory( app_start_anim ) +add_subdirectory( wallpaper ) +add_subdirectory( kmenu_side ) +add_subdirectory( kickoff ) diff --git a/kicker/data/app_start_anim/CMakeLists.txt b/kicker/data/app_start_anim/CMakeLists.txt new file mode 100644 index 000000000..281e42b3e --- /dev/null +++ b/kicker/data/app_start_anim/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + disk1.png disk2.png disk3.png disk4.png disk5.png + disk6.png disk7.png disk8.png disk9.png disk10.png + DESTINATION ${DATA_INSTALL_DIR}/kicker/pics ) diff --git a/kicker/data/icons/CMakeLists.txt b/kicker/data/icons/CMakeLists.txt new file mode 100644 index 000000000..de899ab17 --- /dev/null +++ b/kicker/data/icons/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( actions ) + +tde_install_icons( ) diff --git a/kicker/data/icons/actions/CMakeLists.txt b/kicker/data/icons/actions/CMakeLists.txt new file mode 100644 index 000000000..8663307b0 --- /dev/null +++ b/kicker/data/icons/actions/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kicker/icons ) diff --git a/kicker/data/kickoff/CMakeLists.txt b/kicker/data/kickoff/CMakeLists.txt new file mode 100644 index 000000000..71a01151a --- /dev/null +++ b/kicker/data/kickoff/CMakeLists.txt @@ -0,0 +1,24 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( + leave recently_used suspend2disk suspend2ram + DESTINATION ${DATA_INSTALL_DIR}/kicker/icons ) + +install( FILES + resize_handle.png main_corner_tl.png main_corner_tr.png + search-gradient.png menu_separator.png search-tab-center.png + search-tab-left.png search-tab-right.png search-tab-top-center.png + search-tab-top-left.png left_triangle.png right_triangle.png + kmenu_basic.mng kmenu_flipped.mng kmenu_vertical.mng + search-tab-top-right.png search-gradient-topdown.png + search-running.mng + DESTINATION ${DATA_INSTALL_DIR}/kicker/pics ) diff --git a/kicker/data/kmenu_side/CMakeLists.txt b/kicker/data/kmenu_side/CMakeLists.txt new file mode 100644 index 000000000..4207e1361 --- /dev/null +++ b/kicker/data/kmenu_side/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES kside.png kside_tile.png DESTINATION ${DATA_INSTALL_DIR}/kicker/pics ) diff --git a/kicker/data/tiles/CMakeLists.txt b/kicker/data/tiles/CMakeLists.txt new file mode 100644 index 000000000..bcd3187db --- /dev/null +++ b/kicker/data/tiles/CMakeLists.txt @@ -0,0 +1,63 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + red_wood_normal_down.png red_wood_normal_up.png + red_wood_tiny_down.png red_wood_tiny_up.png + blue_wood_large_down.png solid_blue_large_down.png + blue_wood_large_up.png solid_blue_large_up.png + blue_wood_normal_down.png solid_blue_normal_down.png + blue_wood_normal_up.png solid_blue_normal_up.png + blue_wood_tiny_down.png solid_blue_tiny_down.png + blue_wood_tiny_up.png solid_blue_tiny_up.png + green_wood_large_down.png solid_gray_large_down.png + green_wood_large_up.png solid_gray_large_up.png + green_wood_normal_down.png solid_gray_normal_down.png + green_wood_normal_up.png solid_gray_normal_up.png + green_wood_tiny_down.png solid_gray_tiny_down.png + green_wood_tiny_up.png solid_gray_tiny_up.png + KDE_button_large_down.png solid_green_large_down.png + KDE_button_large_up.png solid_green_large_up.png + KDE_button_normal_down.png solid_green_normal_down.png + KDE_button_normal_up.png solid_green_normal_up.png + KDE_button_tiny_down.png solid_green_tiny_down.png + KDE_button_tiny_up.png solid_green_tiny_up.png + light_green_large_down.png solid_orange_large_down.png + light_green_large_up.png solid_orange_large_up.png + light_green_normal_down.png solid_orange_normal_down.png + light_green_normal_up.png solid_orange_normal_up.png + light_green_tiny_down.png solid_orange_tiny_down.png + light_green_tiny_up.png solid_orange_tiny_up.png + light_gray_large_down.png solid_pastel_large_down.png + light_gray_large_up.png solid_pastel_large_up.png + light_gray_normal_up.png solid_pastel_normal_down.png + light_gray_tiny_down.png solid_pastel_normal_up.png + light_gray_tiny_up.png solid_pastel_tiny_down.png + light_pastel_large_down.png solid_pastel_tiny_up.png + light_pastel_large_up.png solid_purple_large_down.png + light_pastel_normal_up.png solid_purple_large_up.png + light_pastel_tiny_down.png solid_purple_normal_down.png + light_pastel_tiny_up.png solid_purple_normal_up.png + light_purple_large_down.png solid_purple_tiny_down.png + light_purple_large_up.png solid_purple_tiny_up.png + light_purple_normal_down.png solid_red_large_down.png + light_purple_normal_up.png solid_red_large_up.png + light_purple_tiny_down.png solid_red_normal_down.png + light_purple_tiny_up.png solid_red_normal_up.png + nuts_and_bolts_large_down.png solid_red_tiny_down.png + nuts_and_bolts_large_up.png solid_red_tiny_up.png + nuts_and_bolts_normal_down.png solid_tigereye_large_down.png + nuts_and_bolts_normal_up.png solid_tigereye_large_up.png + nuts_and_bolts_tiny_down.png solid_tigereye_normal_down.png + nuts_and_bolts_tiny_up.png solid_tigereye_normal_up.png + red_wood_large_down.png solid_tigereye_tiny_down.png + red_wood_large_up.png solid_tigereye_tiny_up.png + DESTINATION ${DATA_INSTALL_DIR}/kicker/tiles ) diff --git a/kicker/data/wallpaper/CMakeLists.txt b/kicker/data/wallpaper/CMakeLists.txt new file mode 100644 index 000000000..70ac818f5 --- /dev/null +++ b/kicker/data/wallpaper/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + default.png deck_plate.png green_line.png rail.png + DESTINATION ${DATA_INSTALL_DIR}/kicker/wallpapers ) diff --git a/kicker/extensions/CMakeLists.txt b/kicker/extensions/CMakeLists.txt new file mode 100644 index 000000000..0665de789 --- /dev/null +++ b/kicker/extensions/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( dockbar ) +add_subdirectory( taskbar ) +add_subdirectory( kasbar ) +add_subdirectory( sidebar ) diff --git a/kicker/extensions/dockbar/CMakeLists.txt b/kicker/extensions/dockbar/CMakeLists.txt new file mode 100644 index 000000000..3fb274a80 --- /dev/null +++ b/kicker/extensions/dockbar/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES dockbarextension.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/extensions ) + + +##### dockbar_panelextension (module) ########### + +set( target dockbar_panelextension ) + +set( ${target}_SRCS + dockcontainer.cpp dockbarextension.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/extensions/kasbar/CMakeLists.txt b/kicker/extensions/kasbar/CMakeLists.txt new file mode 100644 index 000000000..c9fd0e736 --- /dev/null +++ b/kicker/extensions/kasbar/CMakeLists.txt @@ -0,0 +1,65 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/taskmanager + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kasbarextension.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/extensions ) + + +##### kasbar (shared) ########################### + +set( target kasbar ) + +set( ${target}_SRCS + kasbar.cpp kasitem.cpp kastaskitem.cpp kastasker.cpp + kaspopup.cpp kastaskpopup.cpp kasstartupitem.cpp + kasaboutdlg.cpp kasprefsdlg.cpp kasclockitem.cpp + kasgroupitem.cpp kasresources.cpp kasgrouper.cpp + kasloaditem.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 1.0.0 + LINK taskmanager-shared + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### kasbar_panelextension (module) ############ + +tde_add_kpart( kasbar_panelextension AUTOMOC + SOURCES kasbarextension.cpp + LINK kasbar-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kasbar (executable) ####################### + +tde_add_executable( kasbar + SOURCES kasbarapp.cpp + LINK kasbar-shared + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/kicker/extensions/sidebar/CMakeLists.txt b/kicker/extensions/sidebar/CMakeLists.txt new file mode 100644 index 000000000..0ba54daee --- /dev/null +++ b/kicker/extensions/sidebar/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +if( NOT BUILD_LIBKONQ ) + include( "${TDE_CMAKE_DIR}/libkonq.cmake" ) +endif( NOT BUILD_LIBKONQ ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES sidebarextension.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/extensions ) + + +##### sidebar_panelextension (module) ########### + +tde_add_kpart( sidebar_panelextension AUTOMOC + SOURCES sidebarextension.cpp + LINK konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/extensions/taskbar/CMakeLists.txt b/kicker/extensions/taskbar/CMakeLists.txt new file mode 100644 index 000000000..c97b4416c --- /dev/null +++ b/kicker/extensions/taskbar/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/taskbar + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES taskbarextension.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/extensions ) + + +##### taskbar_panelextension (module) ########### + +set( target taskbar_panelextension ) + +set( ${target}_SRCS + taskbarextension.cpp taskbarextension.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kickermain-shared taskmanager-shared taskbar-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/kicker/CMakeLists.txt b/kicker/kicker/CMakeLists.txt new file mode 100644 index 000000000..dc5053d5a --- /dev/null +++ b/kicker/kicker/CMakeLists.txt @@ -0,0 +1,58 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +if( NOT BUILD_LIBKONQ ) + include( "${TDE_CMAKE_DIR}/libkonq.cmake" ) +endif( NOT BUILD_LIBKONQ ) + +add_subdirectory( core ) +add_subdirectory( interfaces ) +add_subdirectory( ui ) +add_subdirectory( buttons ) + +include_directories( + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} ) + +link_directories( ${TQT_LIBRARY_DIRS} ) + + +##### other data ################################ + +install( FILES panel.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} ) +install( FILES kcmkicker.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES kickerrc.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update ) + +install( PROGRAMS + kicker-3.1-properSizeSetting.pl kicker-3.5-taskbarEnums.pl + kicker-3.5-kconfigXTize.pl + DESTINATION ${DATA_INSTALL_DIR}/kconf_update ) + + +##### kicker-3.4-reverseLayout (executable) ##### + +tde_add_executable( kicker-3.4-reverseLayout + SOURCES kicker-3.4-reverseLayout.cpp + LINK kdecore-shared + DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin +) + + +##### kicker (kdeinit) ########################## + +configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY ) + +tde_add_kdeinit_executable( kicker + SOURCES dummy.cpp + EMBED kicker_core-static + LINK kicker_buttons-static kicker_ui-static kickermain-shared kabc-shared kutils-shared +) diff --git a/kicker/kicker/buttons/CMakeLists.txt b/kicker/kicker/buttons/CMakeLists.txt new file mode 100644 index 000000000..42d76a70f --- /dev/null +++ b/kicker/kicker/buttons/CMakeLists.txt @@ -0,0 +1,51 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/kicker/core + ${CMAKE_SOURCE_DIR}/kicker/kicker/ui + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + bookmarks.desktop browser.desktop desktop.desktop + exec.desktop kmenu.desktop windowlist.desktop + DESTINATION ${DATA_INSTALL_DIR} ) + + +##### kicker_buttons (static) ################### + +set( target kicker_buttons ) + +set( ${target}_SRCS + servicebutton.cpp bookmarksbutton.cpp browserbutton.cpp + knewbutton.cpp desktopbutton.cpp extensionbutton.cpp + kbutton.cpp nonkdeappbutton.cpp servicemenubutton.cpp + urlbutton.cpp windowlistbutton.cpp +) + +tde_add_library( ${target} STATIC_PIC AUTOMOC + SOURCES ${${target}_SRCS} + DEPENDENCIES kicker_core-static kicker-static kicker-shared +) diff --git a/kicker/kicker/core/CMakeLists.txt b/kicker/kicker/core/CMakeLists.txt new file mode 100644 index 000000000..a18de2393 --- /dev/null +++ b/kicker/kicker/core/CMakeLists.txt @@ -0,0 +1,53 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/kicker/ui + ${CMAKE_SOURCE_DIR}/kicker/kicker/buttons + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES default-apps DESTINATION ${DATA_INSTALL_DIR}/kicker ) +install( FILES childpanelextension.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/extensions ) + + +##### kicker_core (static) ###################### + +set( target kicker_core ) + +set( ${target}_SRCS + extensionSettings.kcfgc main.cpp kicker.cpp kicker.skel + userrectsel.cpp containerarea.cpp kmenubase.ui + applethandle.cpp container_base.cpp container_button.cpp + container_applet.cpp container_extension.cpp extensionmanager.cpp + menumanager.cpp pluginmanager.cpp showdesktop.cpp + unhidetrigger.cpp containerarealayout.cpp + panelextension.cpp panelextension.skel +) + +tde_add_library( ${target} STATIC_PIC AUTOMOC + SOURCES ${${target}_SRCS} + DEPENDENCIES libkicker-shared + LINK konq-shared +) diff --git a/kicker/kicker/interfaces/CMakeLists.txt b/kicker/kicker/interfaces/CMakeLists.txt new file mode 100644 index 000000000..b388df33e --- /dev/null +++ b/kicker/kicker/interfaces/CMakeLists.txt @@ -0,0 +1,48 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + kickoff-search-plugin.h kickoffsearchinterface.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### other data ################################ + +install( FILES kickoffsearchplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### kickoffsearch_interfaces (shared) ######### + +set( target kickoffsearch_interfaces ) + +set( ${target}_SRCS + kickoff-search-plugin.cpp kickoffsearchinterface.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 0.0.0 + LINK ${TQT_LIBRARIES} + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/kicker/kicker/ui/CMakeLists.txt b/kicker/kicker/ui/CMakeLists.txt new file mode 100644 index 000000000..04de9d867 --- /dev/null +++ b/kicker/kicker/ui/CMakeLists.txt @@ -0,0 +1,58 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR}/kicker/kicker/core + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/kicker/core + ${CMAKE_SOURCE_DIR}/kicker/kicker/buttons + ${CMAKE_SOURCE_DIR}/kdmlib + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES default-favs DESTINATION ${DATA_INSTALL_DIR}/kicker ) + + +##### kicker_ui (static) ######################## + +set( target kicker_ui ) + +set( ${target}_SRCS + addbutton_mnu.cpp appletitem.ui appletview.ui addapplet.cpp + addapplet_mnu.cpp appletop_mnu.cpp browser_mnu.cpp + client_mnu.cpp dirdrop_mnu.cpp nonKDEButtonSettings.ui + exe_dlg.cpp k_new_mnu.cpp k_mnu.cpp k_mnu.skel quickbrowser_mnu.cpp + service_mnu.cpp kmenuitembase.ui addextension_mnu.cpp + extensionop_mnu.cpp k_mnu_stub.cpp recentapps.cpp + browser_dlg.cpp itemview.cpp kickoff_bar.cpp removeapplet_mnu.cpp + removeextension_mnu.cpp removecontainer_mnu.cpp removebutton_mnu.cpp + popupmenutitle.cpp hidebutton.cpp addappletvisualfeedback.cpp + clicklineedit.cpp flipscrollview.cpp media_watcher.cpp + media_watcher.skel mykickoffsearchinterface.cpp query.cpp +) + +tde_add_library( ${target} STATIC_PIC AUTOMOC + SOURCES ${${target}_SRCS} + DEPENDENCIES kicker_core-static kickermain-static + LINK dmctl-static kickoffsearch_interfaces-shared +) diff --git a/kicker/libkicker/CMakeLists.txt b/kicker/libkicker/CMakeLists.txt new file mode 100644 index 000000000..b7a3c4610 --- /dev/null +++ b/kicker/libkicker/CMakeLists.txt @@ -0,0 +1,42 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kickerSettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) + + +##### kickermain (shared) ####################### + +set( target kickermain ) + +set( ${target}_SRCS + appletinfo.cpp global.cpp kickertip.cpp menuinfo.cpp + panelbutton.cpp panner.cpp kickerSettings.kcfgc + kshadowsettings.cpp kshadowengine.cpp paneldrag.cpp + simplebutton.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 4.2.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/kicker/menuext/CMakeLists.txt b/kicker/menuext/CMakeLists.txt new file mode 100644 index 000000000..2d214e656 --- /dev/null +++ b/kicker/menuext/CMakeLists.txt @@ -0,0 +1,20 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( find ) +add_subdirectory( kdeprint ) +add_subdirectory( prefmenu ) +add_subdirectory( recentdocs ) +add_subdirectory( konsole ) +add_subdirectory( konq-profiles ) +add_subdirectory( remote ) +add_subdirectory( system ) +add_subdirectory( kate ) diff --git a/kicker/menuext/find/CMakeLists.txt b/kicker/menuext/find/CMakeLists.txt new file mode 100644 index 000000000..5769dfc09 --- /dev/null +++ b/kicker/menuext/find/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES find.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) +install( FILES kfind.desktop websearch.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext/find ) + + +##### kickermenu_find (module) ################## + +tde_add_kpart( kickermenu_find AUTOMOC + SOURCES findmenu.cpp + LINK kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/menuext/kate/CMakeLists.txt b/kicker/menuext/kate/CMakeLists.txt new file mode 100644 index 000000000..fee34696e --- /dev/null +++ b/kicker/menuext/kate/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES katesessionmenu.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### kickermenu_kate (module) ################## + +tde_add_kpart( kickermenu_kate AUTOMOC + SOURCES katesessionmenu.cpp + LINK kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/menuext/kdeprint/CMakeLists.txt b/kicker/menuext/kdeprint/CMakeLists.txt new file mode 100644 index 000000000..b6cc714eb --- /dev/null +++ b/kicker/menuext/kdeprint/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES printmenu.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### kickermenu_kdeprint (module) ############## + +tde_add_kpart( kickermenu_kdeprint AUTOMOC + SOURCES print_mnu.cpp + LINK kdeprint-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/menuext/konq-profiles/CMakeLists.txt b/kicker/menuext/konq-profiles/CMakeLists.txt new file mode 100644 index 000000000..9154412c8 --- /dev/null +++ b/kicker/menuext/konq-profiles/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES konquerormenu.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### kickermenu_konqueror (module) ############# + +tde_add_kpart( kickermenu_konqueror AUTOMOC + SOURCES konqy_menu.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/menuext/konsole/CMakeLists.txt b/kicker/menuext/konsole/CMakeLists.txt new file mode 100644 index 000000000..e16884acf --- /dev/null +++ b/kicker/menuext/konsole/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES konsolemenu.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### kickermenu_konsole (module) ############### + +tde_add_kpart( kickermenu_konsole AUTOMOC + SOURCES konsole_mnu.cpp konsolebookmarkhandler.cpp konsolebookmarkmenu.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/menuext/prefmenu/CMakeLists.txt b/kicker/menuext/prefmenu/CMakeLists.txt new file mode 100644 index 000000000..24b947d54 --- /dev/null +++ b/kicker/menuext/prefmenu/CMakeLists.txt @@ -0,0 +1,35 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES prefmenu.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### kickermenu_prefmenu (module) ############## + +tde_add_kpart( kickermenu_prefmenu AUTOMOC + SOURCES prefmenu.cpp + LINK kickermain-shared kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/menuext/recentdocs/CMakeLists.txt b/kicker/menuext/recentdocs/CMakeLists.txt new file mode 100644 index 000000000..ebefed9c6 --- /dev/null +++ b/kicker/menuext/recentdocs/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES recentdocs.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### kickermenu_recentdocs (module) ############ + +tde_add_kpart( kickermenu_recentdocs AUTOMOC + SOURCES recentdocsmenu.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/menuext/remote/CMakeLists.txt b/kicker/menuext/remote/CMakeLists.txt new file mode 100644 index 000000000..eae12847b --- /dev/null +++ b/kicker/menuext/remote/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES remotemenu.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### kickermenu_remotemenu (module) ############ + +tde_add_kpart( kickermenu_remotemenu AUTOMOC + SOURCES remotemenu.cpp remotemenu.skel + LINK kickermain-shared kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/menuext/system/CMakeLists.txt b/kicker/menuext/system/CMakeLists.txt new file mode 100644 index 000000000..9f42aab6a --- /dev/null +++ b/kicker/menuext/system/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES systemmenu.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### kickermenu_systemmenu (module) ############ + +tde_add_kpart( kickermenu_systemmenu AUTOMOC + SOURCES systemmenu.cpp + LINK kickermain-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kicker/proxy/CMakeLists.txt b/kicker/proxy/CMakeLists.txt new file mode 100644 index 000000000..68c99312d --- /dev/null +++ b/kicker/proxy/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext ) + + +##### appletproxy (kdeinit) ##################### + +tde_add_kdeinit_executable( appletproxy AUTOMOC + SOURCES appletproxy.cpp + LINK kickermain-shared +) + + +##### extensionproxy (kdeinit) ################## + +tde_add_kdeinit_executable( extensionproxy AUTOMOC + SOURCES extensionproxy.cpp + LINK kickermain-shared +) diff --git a/kicker/taskbar/CMakeLists.txt b/kicker/taskbar/CMakeLists.txt new file mode 100644 index 000000000..45283d703 --- /dev/null +++ b/kicker/taskbar/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kicker/libkicker + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${CMAKE_SOURCE_DIR}/kicker/taskmanager + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### taskbar (shared) ########################## + +set( target taskbar ) + +set( ${target}_SRCS + taskbarsettings.kcfgc taskcontainer.cpp taskbar.cpp + taskbarcontainer.cpp taskbarcontainer.skel +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 1.2.0 + LINK kickermain-shared taskmanager-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/kicker/taskmanager/CMakeLists.txt b/kicker/taskmanager/CMakeLists.txt new file mode 100644 index 000000000..a1599f917 --- /dev/null +++ b/kicker/taskmanager/CMakeLists.txt @@ -0,0 +1,58 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +################################################# + +##### check for xcomposite ###################### + +if( WITH_XCOMPOSITE ) + + pkg_search_module( XCOMPOSITE xcomposite ) + if( XCOMPOSITE_FOUND ) + set( HAVE_XCOMPOSITE 1 CACHE INTERNAL "" ) + else( XCOMPOSITE_FOUND ) + message(FATAL_ERROR "\nxcomposite are requested, but not found on your system" ) + endif( XCOMPOSITE_FOUND ) + + pkg_search_module( XFIXES xfixes ) + if( XFIXES_FOUND ) + set( HAVE_XFIXES 1 CACHE INTERNAL "" ) + else( XFIXES_FOUND ) + message(FATAL_ERROR "\nxfixes are required, but not found on your system" ) + endif( XFIXES_FOUND ) + +endif( WITH_XCOMPOSITE ) + + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kicker/libkicker + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + + +##### taskmanager (shared) ###################### + +set( target taskmanager ) + +set( ${target}_SRCS + tasklmbmenu.cpp taskrmbmenu.cpp taskmanager.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 1.0.0 + LINK kdecore-shared kickermain-shared ${XFIXES_LIBRARIES} ${XRENDER_LIBRARIES} ${XCOMPOSITE_LIBRARIES} + DESTINATION ${LIB_INSTALL_DIR} +) -- cgit v1.2.1