summaryrefslogtreecommitdiffstats
path: root/kicker/applets
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 23:42:11 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 23:42:11 +0000
commitb6fc43ccd522dfbc1e215b12adb8208c156bbd31 (patch)
treeb6d14378dd6c3d2f74ea8acf515cef7f4a024cb2 /kicker/applets
parentd53bf360906757a36588588fb0286d3b4784ffcb (diff)
downloadtdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.tar.gz
tdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.zip
[kdebase] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/applets')
-rw-r--r--kicker/applets/CMakeLists.txt22
-rw-r--r--kicker/applets/clock/CMakeLists.txt45
-rw-r--r--kicker/applets/launcher/CMakeLists.txt47
-rw-r--r--kicker/applets/lockout/CMakeLists.txt34
-rw-r--r--kicker/applets/media/CMakeLists.txt40
-rw-r--r--kicker/applets/menu/CMakeLists.txt33
-rw-r--r--kicker/applets/minipager/CMakeLists.txt44
-rw-r--r--kicker/applets/naughty/CMakeLists.txt40
-rw-r--r--kicker/applets/run/CMakeLists.txt34
-rw-r--r--kicker/applets/systemtray/CMakeLists.txt41
-rw-r--r--kicker/applets/taskbar/CMakeLists.txt37
-rw-r--r--kicker/applets/trash/CMakeLists.txt40
12 files changed, 457 insertions, 0 deletions
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}
+)