summaryrefslogtreecommitdiffstats
path: root/kdesktop
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop')
-rw-r--r--kdesktop/CMakeLists.txt100
-rw-r--r--kdesktop/init/CMakeLists.txt24
-rw-r--r--kdesktop/init/Templates/CMakeLists.txt27
-rw-r--r--kdesktop/kwebdesktop/CMakeLists.txt42
-rw-r--r--kdesktop/lock/CMakeLists.txt40
-rw-r--r--kdesktop/patterns/CMakeLists.txt17
-rw-r--r--kdesktop/pics/CMakeLists.txt16
-rw-r--r--kdesktop/programs/CMakeLists.txt14
8 files changed, 280 insertions, 0 deletions
diff --git a/kdesktop/CMakeLists.txt b/kdesktop/CMakeLists.txt
new file mode 100644
index 000000000..91bb06476
--- /dev/null
+++ b/kdesktop/CMakeLists.txt
@@ -0,0 +1,100 @@
+#################################################
+#
+# (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( lock )
+add_subdirectory( pics )
+add_subdirectory( patterns )
+add_subdirectory( programs )
+add_subdirectory( init )
+add_subdirectory( kwebdesktop )
+
+
+if( NOT BUILD_LIBKONQ )
+ include( "${TDE_CMAKE_DIR}/libkonq.cmake" )
+endif( NOT BUILD_LIBKONQ )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${CMAKE_SOURCE_DIR}/kcontrol/background
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ KDesktopIface.h KScreensaverIface.h KBackgroundIface.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+##### other data ################################
+
+install( FILES kdesktop.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+install( FILES kdesktop_custom_menu1 kdesktop_custom_menu2 DESTINATION ${CONFIG_INSTALL_DIR} )
+install( FILES kdesktopSetAsBackground.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
+install( FILES kdesktop.kcfg klaunch.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### kcheckrunning (executable) ################
+
+tde_add_executable( kcheckrunning
+ SOURCES kcheckrunning.cpp
+ LINK X11
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kxdglauncher (executable) #################
+
+tde_add_executable( kxdglauncher
+ SOURCES kxdglauncher.cpp
+ LINK kutils-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kdesktop (kdeinit) ########################
+
+set( target kdesktop )
+
+set( ${target}_SRCS
+ main.cc krootwm.cc xautolock.cc kdiconview.cc init.cc
+ desktop.cc lockeng.cc KDesktopIface.skel bgmanager.cc
+ KScreensaverIface.skel minicli.cpp KBackgroundIface.skel
+ pixmapserver.cc kcustommenu.cc startupid.cpp minicli_ui.ui
+ xautolock_diy.c xautolock_engine.c kshadowengine.cpp
+ kshadowsettings.cpp kdesktopshadowsettings.cpp
+ kfileividesktop.cpp kdesktopapp.cpp
+)
+
+tde_add_kdeinit_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK
+ kdesktopsettings-static bgnd-static dmctl-static
+ konq-shared kutils-shared
+ ${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} Xext dl
+)
+
+
+##### kdesktopsettings (static) #################
+
+tde_add_library( kdesktopsettings STATIC_PIC
+ SOURCES kdesktopsettings.kcfgc klaunchsettings.kcfgc
+)
diff --git a/kdesktop/init/CMakeLists.txt b/kdesktop/init/CMakeLists.txt
new file mode 100644
index 000000000..c771e6dfb
--- /dev/null
+++ b/kdesktop/init/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
+#
+#################################################
+
+add_subdirectory( Templates )
+
+install( FILES
+ directory.autostart directory.templates directory.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kdesktop )
+
+install( FILES
+ My_Computer My_Documents My_Network_Places Printers Trash Web_Browser
+ DESTINATION ${DATA_INSTALL_DIR}/kdesktop/Desktop )
+
+install( FILES
+ Home.desktop System.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kdesktop/DesktopLinks )
diff --git a/kdesktop/init/Templates/CMakeLists.txt b/kdesktop/init/Templates/CMakeLists.txt
new file mode 100644
index 000000000..94a4ff5e0
--- /dev/null
+++ b/kdesktop/init/Templates/CMakeLists.txt
@@ -0,0 +1,27 @@
+#################################################
+#
+# (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
+ linkProgram.desktop linkURL.desktop linkFloppy.desktop
+ linkHD.desktop linkCDROM.desktop Directory.desktop
+ TextFile.desktop HTMLFile.desktop linkZIP.desktop
+ linkDVDROM.desktop linkCAMERA.desktop linkNFS.desktop
+ linkCDWRITER.desktop linkMO.desktop
+ DESTINATION ${TEMPLATES_INSTALL_DIR} )
+
+install( FILES
+ Program.desktop URL.desktop Floppy.desktop HD.desktop
+ CDROM-Device.desktop TextFile.txt HTMLFile.html
+ ZIP-Device.desktop DVDROM-Device.desktop CAMERA-Device.desktop
+ NFS.desktop CDWRITER-Device.desktop MO-Device.desktop
+ DESTINATION ${TEMPLATES_INSTALL_DIR}/.source )
+
+tde_install_empty_directory( ${TEMPLATES_INSTALL_DIR}/.source/emptydir )
diff --git a/kdesktop/kwebdesktop/CMakeLists.txt b/kdesktop/kwebdesktop/CMakeLists.txt
new file mode 100644
index 000000000..3df328c0c
--- /dev/null
+++ b/kdesktop/kwebdesktop/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kwebdesktop.desktop DESTINATION ${DATA_INSTALL_DIR}/kdesktop/programs )
+install( FILES kwebdesktop.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### kwebdesktop (executable) ##################
+
+set( target kwebdesktop )
+
+set( ${target}_SRCS
+ kwebdesktop.cpp kwebdesktopsettings.kcfgc
+)
+
+tde_add_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK khtml-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdesktop/lock/CMakeLists.txt b/kdesktop/lock/CMakeLists.txt
new file mode 100644
index 000000000..c3e64b55a
--- /dev/null
+++ b/kdesktop/lock/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}
+ ${CMAKE_BINARY_DIR}/kdesktop
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${CMAKE_SOURCE_DIR}/kcheckpass
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kdesktop_lock (executable) ################
+
+set( target kdesktop_lock )
+
+set( ${target}_SRCS
+ lockprocess.cc lockdlg.cc infodlg.cc querydlg.cc
+ autologout.cc main.cc
+)
+
+tde_add_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdesktopsettings-static dmctl-static kio-shared ${GL_LIBRARY}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdesktop/patterns/CMakeLists.txt b/kdesktop/patterns/CMakeLists.txt
new file mode 100644
index 000000000..a6bfa053b
--- /dev/null
+++ b/kdesktop/patterns/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
+#
+#################################################
+
+install( FILES
+ night-rock.desktop night-rock.jpg stonewall2.png
+ stonewall2.desktop fish.desktop fish.png flowers.desktop
+ flowers.png pavement.desktop pavement.png rattan.desktop
+ rattan.png triangles.desktop triangles.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdesktop/patterns )
diff --git a/kdesktop/pics/CMakeLists.txt b/kdesktop/pics/CMakeLists.txt
new file mode 100644
index 000000000..05d9f4296
--- /dev/null
+++ b/kdesktop/pics/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (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( error )
+
+install( FILES
+ ksslogo.png splash.png splash2.png kde2.xbm
+ DESTINATION ${DATA_INSTALL_DIR}/kdesktop/pics )
diff --git a/kdesktop/programs/CMakeLists.txt b/kdesktop/programs/CMakeLists.txt
new file mode 100644
index 000000000..e89527a1e
--- /dev/null
+++ b/kdesktop/programs/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
+ xearth.desktop xglobe.desktop xplanet.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kdesktop/programs )