summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--CMakeLists.txt187
-rw-r--r--ConfigureChecks.cmake153
-rw-r--r--applnk/CMakeLists.txt51
-rw-r--r--applnk/compat/CMakeLists.txt17
-rw-r--r--config.h.cmake145
-rw-r--r--doc/CMakeLists.txt12
-rw-r--r--doc/faq/CMakeLists.txt12
-rw-r--r--doc/glossary/CMakeLists.txt12
-rw-r--r--doc/kate/CMakeLists.txt12
-rw-r--r--doc/kcontrol/CMakeLists.txt13
-rw-r--r--doc/kcontrol/arts/CMakeLists.txt12
-rw-r--r--doc/kcontrol/background/CMakeLists.txt12
-rw-r--r--doc/kcontrol/bell/CMakeLists.txt12
-rw-r--r--doc/kcontrol/cache/CMakeLists.txt12
-rw-r--r--doc/kcontrol/clock/CMakeLists.txt12
-rw-r--r--doc/kcontrol/colors/CMakeLists.txt12
-rw-r--r--doc/kcontrol/cookies/CMakeLists.txt12
-rw-r--r--doc/kcontrol/crypto/CMakeLists.txt12
-rw-r--r--doc/kcontrol/desktop/CMakeLists.txt12
-rw-r--r--doc/kcontrol/desktopbehavior/CMakeLists.txt12
-rw-r--r--doc/kcontrol/ebrowsing/CMakeLists.txt12
-rw-r--r--doc/kcontrol/email/CMakeLists.txt12
-rw-r--r--doc/kcontrol/energy/CMakeLists.txt12
-rw-r--r--doc/kcontrol/filemanager/CMakeLists.txt12
-rw-r--r--doc/kcontrol/filetypes/CMakeLists.txt12
-rw-r--r--doc/kcontrol/fonts/CMakeLists.txt12
-rw-r--r--doc/kcontrol/helpindex/CMakeLists.txt12
-rw-r--r--doc/kcontrol/icons/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmaccess/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmcss/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmfontinst/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmkonsole/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmlaunch/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmnotify/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmsmserver/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmstyle/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kcmtaskbar/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kdm/CMakeLists.txt12
-rw-r--r--doc/kcontrol/keyboard/CMakeLists.txt12
-rw-r--r--doc/kcontrol/keys/CMakeLists.txt12
-rw-r--r--doc/kcontrol/khtml/CMakeLists.txt12
-rw-r--r--doc/kcontrol/kwindecoration/CMakeLists.txt12
-rw-r--r--doc/kcontrol/language/CMakeLists.txt12
-rw-r--r--doc/kcontrol/mouse/CMakeLists.txt12
-rw-r--r--doc/kcontrol/netpref/CMakeLists.txt12
-rw-r--r--doc/kcontrol/panel/CMakeLists.txt12
-rw-r--r--doc/kcontrol/panelappearance/CMakeLists.txt12
-rw-r--r--doc/kcontrol/passwords/CMakeLists.txt12
-rw-r--r--doc/kcontrol/performance/CMakeLists.txt12
-rw-r--r--doc/kcontrol/proxy/CMakeLists.txt12
-rw-r--r--doc/kcontrol/screensaver/CMakeLists.txt12
-rw-r--r--doc/kcontrol/smb/CMakeLists.txt12
-rw-r--r--doc/kcontrol/spellchecking/CMakeLists.txt12
-rw-r--r--doc/kcontrol/useragent/CMakeLists.txt12
-rw-r--r--doc/kcontrol/windowmanagement/CMakeLists.txt12
-rw-r--r--doc/kdcop/CMakeLists.txt12
-rw-r--r--doc/kdebugdialog/CMakeLists.txt12
-rw-r--r--doc/kdeprint/CMakeLists.txt12
-rw-r--r--doc/kdesu/CMakeLists.txt12
-rw-r--r--doc/kdm/CMakeLists.txt12
-rw-r--r--doc/kfind/CMakeLists.txt12
-rw-r--r--doc/khelpcenter/CMakeLists.txt12
-rw-r--r--doc/kicker/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/CMakeLists.txt13
-rw-r--r--doc/kinfocenter/cdinfo/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/devices/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/dma/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/interrupts/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/ioports/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/memory/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/nics/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/opengl/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/partitions/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/pci/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/pcmcia/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/processor/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/protocols/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/samba/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/scsi/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/sound/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/usb/CMakeLists.txt12
-rw-r--r--doc/kinfocenter/xserver/CMakeLists.txt12
-rw-r--r--doc/kioslave/CMakeLists.txt12
-rw-r--r--doc/klipper/CMakeLists.txt12
-rw-r--r--doc/kmenuedit/CMakeLists.txt12
-rw-r--r--doc/knetattach/CMakeLists.txt12
-rw-r--r--doc/kompmgr/CMakeLists.txt12
-rw-r--r--doc/konqueror/CMakeLists.txt12
-rw-r--r--doc/konsole/CMakeLists.txt12
-rw-r--r--doc/kpager/CMakeLists.txt12
-rw-r--r--doc/ksplashml/CMakeLists.txt12
-rw-r--r--doc/ksysguard/CMakeLists.txt12
-rw-r--r--doc/kwrite/CMakeLists.txt12
-rw-r--r--doc/kxkb/CMakeLists.txt12
-rw-r--r--doc/quickstart/CMakeLists.txt12
-rw-r--r--doc/userguide/CMakeLists.txt12
-rw-r--r--doc/visualdict/CMakeLists.txt12
-rw-r--r--drkonqi/CMakeLists.txt36
-rw-r--r--drkonqi/debuggers/CMakeLists.txt12
-rw-r--r--drkonqi/pics/CMakeLists.txt12
-rw-r--r--drkonqi/presets/CMakeLists.txt12
-rw-r--r--kappfinder/CMakeLists.txt46
-rw-r--r--kappfinder/apps/CMakeLists.txt19
-rw-r--r--kappfinder/apps/Development/CMakeLists.txt16
-rw-r--r--kappfinder/apps/Games/Arcade/CMakeLists.txt17
-rw-r--r--kappfinder/apps/Games/Board/CMakeLists.txt17
-rw-r--r--kappfinder/apps/Games/CMakeLists.txt23
-rw-r--r--kappfinder/apps/Games/Card/CMakeLists.txt14
-rw-r--r--kappfinder/apps/Games/Emulators/CMakeLists.txt14
-rw-r--r--kappfinder/apps/Games/Roguelikes/CMakeLists.txt15
-rw-r--r--kappfinder/apps/Games/TacticStrategy/CMakeLists.txt14
-rw-r--r--kappfinder/apps/Games/Toys/CMakeLists.txt14
-rw-r--r--kappfinder/apps/Graphics/CMakeLists.txt19
-rw-r--r--kappfinder/apps/Internet/CMakeLists.txt27
-rw-r--r--kappfinder/apps/Internet/Terminal/CMakeLists.txt16
-rw-r--r--kappfinder/apps/Multimedia/CMakeLists.txt21
-rw-r--r--kappfinder/apps/Office/CMakeLists.txt20
-rw-r--r--kappfinder/apps/System/CMakeLists.txt17
-rw-r--r--kappfinder/apps/System/Terminal/CMakeLists.txt14
-rw-r--r--kappfinder/apps/Utilities/CMakeLists.txt19
-rw-r--r--kappfinder/apps/Utilities/Editors/CMakeLists.txt16
-rw-r--r--kappfinder/apps/Utilities/xutils/CMakeLists.txt16
-rw-r--r--kate/CMakeLists.txt5
-rw-r--r--kate/app/CMakeLists.txt71
-rw-r--r--kate/data/CMakeLists.txt19
-rw-r--r--kate/interfaces/CMakeLists.txt47
-rw-r--r--kate/pics/CMakeLists.txt16
-rw-r--r--kate/pics/actions/CMakeLists.txt12
-rw-r--r--kate/utils/CMakeLists.txt40
-rw-r--r--kcheckpass/CMakeLists.txt34
-rw-r--r--kcheckpass/ConfigureChecks.cmake16
-rw-r--r--kcminit/CMakeLists.txt37
-rw-r--r--kcontrol/CMakeLists.txt82
-rw-r--r--kcontrol/ConfigureChecks.cmake87
-rw-r--r--kcontrol/access/CMakeLists.txt44
-rw-r--r--kcontrol/arts/CMakeLists.txt34
-rw-r--r--kcontrol/background/CMakeLists.txt63
-rw-r--r--kcontrol/background/pics/CMakeLists.txt12
-rw-r--r--kcontrol/bell/CMakeLists.txt33
-rw-r--r--kcontrol/clock/CMakeLists.txt34
-rw-r--r--kcontrol/colors/CMakeLists.txt34
-rw-r--r--kcontrol/componentchooser/CMakeLists.txt38
-rw-r--r--kcontrol/componentchooser/componentservices/CMakeLists.txt14
-rw-r--r--kcontrol/crypto/CMakeLists.txt49
-rw-r--r--kcontrol/css/CMakeLists.txt34
-rw-r--r--kcontrol/display/CMakeLists.txt33
-rw-r--r--kcontrol/dnssd/CMakeLists.txt36
-rw-r--r--kcontrol/ebrowsing/CMakeLists.txt35
-rw-r--r--kcontrol/ebrowsing/plugins/CMakeLists.txt14
-rw-r--r--kcontrol/ebrowsing/plugins/ikws/CMakeLists.txt51
-rw-r--r--kcontrol/ebrowsing/plugins/ikws/searchproviders/CMakeLists.txt38
-rw-r--r--kcontrol/ebrowsing/plugins/localdomain/CMakeLists.txt43
-rw-r--r--kcontrol/ebrowsing/plugins/shorturi/CMakeLists.txt34
-rw-r--r--kcontrol/energy/CMakeLists.txt65
-rw-r--r--kcontrol/energy/pics/CMakeLists.txt12
-rw-r--r--kcontrol/filetypes/CMakeLists.txt43
-rw-r--r--kcontrol/fonts/CMakeLists.txt65
-rw-r--r--kcontrol/iccconfig/CMakeLists.txt38
-rw-r--r--kcontrol/icons/CMakeLists.txt35
-rw-r--r--kcontrol/info/CMakeLists.txt41
-rw-r--r--kcontrol/input/CMakeLists.txt68
-rw-r--r--kcontrol/input/core/CMakeLists.txt23
-rw-r--r--kcontrol/input/pics/CMakeLists.txt14
-rw-r--r--kcontrol/input/xcursor/CMakeLists.txt25
-rw-r--r--kcontrol/ioslaveinfo/CMakeLists.txt34
-rw-r--r--kcontrol/joystick/CMakeLists.txt36
-rw-r--r--kcontrol/kcontrol/CMakeLists.txt50
-rw-r--r--kcontrol/kcontrol/about/CMakeLists.txt12
-rw-r--r--kcontrol/kded/CMakeLists.txt33
-rw-r--r--kcontrol/kdm/CMakeLists.txt40
-rw-r--r--kcontrol/keys/CMakeLists.txt43
-rw-r--r--kcontrol/kfontinst/CMakeLists.txt20
-rw-r--r--kcontrol/kfontinst/kcmfontinst/CMakeLists.txt40
-rw-r--r--kcontrol/kfontinst/kfile-plugin/CMakeLists.txt36
-rw-r--r--kcontrol/kfontinst/kfontinst/CMakeLists.txt36
-rw-r--r--kcontrol/kfontinst/kio/CMakeLists.txt39
-rw-r--r--kcontrol/kfontinst/lib/CMakeLists.txt33
-rw-r--r--kcontrol/kfontinst/thumbnail/CMakeLists.txt35
-rw-r--r--kcontrol/kfontinst/viewpart/CMakeLists.txt55
-rw-r--r--kcontrol/kicker/CMakeLists.txt82
-rw-r--r--kcontrol/kio/CMakeLists.txt55
-rw-r--r--kcontrol/kio/uasproviders/CMakeLists.txt23
-rw-r--r--kcontrol/knotify/CMakeLists.txt36
-rw-r--r--kcontrol/knotify/sounds/CMakeLists.txt52
-rw-r--r--kcontrol/konq/CMakeLists.txt50
-rw-r--r--kcontrol/konqhtml/CMakeLists.txt44
-rw-r--r--kcontrol/konsole/CMakeLists.txt37
-rw-r--r--kcontrol/krdb/CMakeLists.txt38
-rw-r--r--kcontrol/krdb/ad/CMakeLists.txt20
-rw-r--r--kcontrol/krdb/kcs/CMakeLists.txt20
-rw-r--r--kcontrol/krdb/pics/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/CMakeLists.txt23
-rw-r--r--kcontrol/krdb/themes/HighContrastDark-big/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/HighContrastDark/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/HighContrastLight-big/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/HighContrastLight/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/KDE_Classic/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/Keramik/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/Plastik/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/Platinum/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/Redmond/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/Sunshine/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/YellowOnBlue-big/CMakeLists.txt12
-rw-r--r--kcontrol/krdb/themes/YellowOnBlue/CMakeLists.txt12
-rw-r--r--kcontrol/kthememanager/CMakeLists.txt38
-rw-r--r--kcontrol/launch/CMakeLists.txt33
-rw-r--r--kcontrol/locale/CMakeLists.txt38
-rw-r--r--kcontrol/locale/default/CMakeLists.txt12
-rw-r--r--kcontrol/locale/pics/CMakeLists.txt12
-rw-r--r--kcontrol/nics/CMakeLists.txt41
-rw-r--r--kcontrol/performance/CMakeLists.txt34
-rw-r--r--kcontrol/pics/CMakeLists.txt12
-rw-r--r--kcontrol/privacy/CMakeLists.txt33
-rw-r--r--kcontrol/randr/CMakeLists.txt47
-rw-r--r--kcontrol/screensaver/CMakeLists.txt37
-rw-r--r--kcontrol/smserver/CMakeLists.txt33
-rw-r--r--kcontrol/spellchecking/CMakeLists.txt33
-rw-r--r--kcontrol/style/CMakeLists.txt38
-rw-r--r--kcontrol/style/keramik/CMakeLists.txt29
-rw-r--r--kcontrol/taskbar/CMakeLists.txt49
-rw-r--r--kcontrol/usbview/CMakeLists.txt42
-rw-r--r--kcontrol/view1394/CMakeLists.txt35
-rw-r--r--kcontrol/xinerama/CMakeLists.txt33
-rw-r--r--kdcop/CMakeLists.txt36
-rw-r--r--kdebugdialog/CMakeLists.txt32
-rw-r--r--kdeeject/CMakeLists.txt12
-rw-r--r--kdepasswd/CMakeLists.txt37
-rw-r--r--kdepasswd/kcm/CMakeLists.txt44
-rw-r--r--kdepasswd/kcm/pics/CMakeLists.txt19
-rw-r--r--kdeprint/CMakeLists.txt17
-rw-r--r--kdeprint/kdeprint_part/CMakeLists.txt37
-rw-r--r--kdeprint/kdeprintfax/CMakeLists.txt42
-rw-r--r--kdeprint/kjobviewer/CMakeLists.txt37
-rw-r--r--kdeprint/kprinter/CMakeLists.txt34
-rw-r--r--kdeprint/printmgr/CMakeLists.txt37
-rw-r--r--kdeprint/slave/CMakeLists.txt39
-rw-r--r--kdeprint/slave/mimetypes/CMakeLists.txt16
-rw-r--r--kdeprint/slave/templates/CMakeLists.txt25
-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
-rw-r--r--kdesu/CMakeLists.txt53
-rw-r--r--kdesu/kdesu/CMakeLists.txt30
-rw-r--r--kdesu/kdesud/CMakeLists.txt35
-rw-r--r--kdialog/CMakeLists.txt31
-rw-r--r--kdm/CMakeLists.txt19
-rw-r--r--kdm/ConfigureChecks.cmake118
-rw-r--r--kdm/backend/CMakeLists.txt39
-rw-r--r--kdm/kfrontend/CMakeLists.txt94
-rw-r--r--kdm/kfrontend/pics/CMakeLists.txt18
-rw-r--r--kdm/kfrontend/sessions/CMakeLists.txt29
-rw-r--r--kdm/kfrontend/sessions/kde.desktop.cmake45
-rw-r--r--kdm/kfrontend/themer/CMakeLists.txt41
-rw-r--r--kdm/kfrontend/themes/CMakeLists.txt13
-rw-r--r--kdm/kfrontend/themes/circles/CMakeLists.txt15
-rw-r--r--kdm/kfrontend/themes/o2_enterprise/CMakeLists.txt16
-rw-r--r--kdmlib/CMakeLists.txt71
-rw-r--r--kfind/CMakeLists.txt61
-rw-r--r--kfind/pics/CMakeLists.txt12
-rw-r--r--khelpcenter/CMakeLists.txt63
-rw-r--r--khelpcenter/pics/CMakeLists.txt13
-rw-r--r--khelpcenter/plugins/Applications/CMakeLists.txt12
-rw-r--r--khelpcenter/plugins/CMakeLists.txt22
-rw-r--r--khelpcenter/plugins/Manpages/CMakeLists.txt16
-rw-r--r--khelpcenter/plugins/Scrollkeeper/CMakeLists.txt14
-rw-r--r--khelpcenter/plugins/Tutorials/CMakeLists.txt14
-rw-r--r--khelpcenter/searchhandlers/CMakeLists.txt28
-rw-r--r--khotkeys/CMakeLists.txt41
-rw-r--r--khotkeys/app/CMakeLists.txt44
-rw-r--r--khotkeys/arts/CMakeLists.txt42
-rw-r--r--khotkeys/data/CMakeLists.txt20
-rw-r--r--khotkeys/kcontrol/CMakeLists.txt58
-rw-r--r--khotkeys/kcontrol/ui/CMakeLists.txt40
-rw-r--r--khotkeys/shared/CMakeLists.txt41
-rw-r--r--khotkeys/update/CMakeLists.txt31
-rw-r--r--kicker/CMakeLists.txt30
-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
-rw-r--r--kicker/data/CMakeLists.txt17
-rw-r--r--kicker/data/app_start_anim/CMakeLists.txt15
-rw-r--r--kicker/data/icons/CMakeLists.txt14
-rw-r--r--kicker/data/icons/actions/CMakeLists.txt12
-rw-r--r--kicker/data/kickoff/CMakeLists.txt24
-rw-r--r--kicker/data/kmenu_side/CMakeLists.txt12
-rw-r--r--kicker/data/tiles/CMakeLists.txt63
-rw-r--r--kicker/data/wallpaper/CMakeLists.txt14
-rw-r--r--kicker/extensions/CMakeLists.txt15
-rw-r--r--kicker/extensions/dockbar/CMakeLists.txt40
-rw-r--r--kicker/extensions/kasbar/CMakeLists.txt65
-rw-r--r--kicker/extensions/sidebar/CMakeLists.txt39
-rw-r--r--kicker/extensions/taskbar/CMakeLists.txt43
-rw-r--r--kicker/kicker/CMakeLists.txt58
-rw-r--r--kicker/kicker/buttons/CMakeLists.txt51
-rw-r--r--kicker/kicker/core/CMakeLists.txt53
-rw-r--r--kicker/kicker/interfaces/CMakeLists.txt48
-rw-r--r--kicker/kicker/ui/CMakeLists.txt58
-rw-r--r--kicker/libkicker/CMakeLists.txt42
-rw-r--r--kicker/menuext/CMakeLists.txt20
-rw-r--r--kicker/menuext/find/CMakeLists.txt34
-rw-r--r--kicker/menuext/kate/CMakeLists.txt33
-rw-r--r--kicker/menuext/kdeprint/CMakeLists.txt33
-rw-r--r--kicker/menuext/konq-profiles/CMakeLists.txt33
-rw-r--r--kicker/menuext/konsole/CMakeLists.txt33
-rw-r--r--kicker/menuext/prefmenu/CMakeLists.txt35
-rw-r--r--kicker/menuext/recentdocs/CMakeLists.txt33
-rw-r--r--kicker/menuext/remote/CMakeLists.txt34
-rw-r--r--kicker/menuext/system/CMakeLists.txt34
-rw-r--r--kicker/proxy/CMakeLists.txt41
-rw-r--r--kicker/taskbar/CMakeLists.txt39
-rw-r--r--kicker/taskmanager/CMakeLists.txt58
-rw-r--r--kioslave/CMakeLists.txt39
-rw-r--r--kioslave/ConfigureChecks.cmake20
-rw-r--r--kioslave/about/CMakeLists.txt36
-rw-r--r--kioslave/cgi/CMakeLists.txt39
-rw-r--r--kioslave/cgi/kcmcgi/CMakeLists.txt36
-rw-r--r--kioslave/filter/CMakeLists.txt36
-rw-r--r--kioslave/finger/CMakeLists.txt37
-rw-r--r--kioslave/fish/CMakeLists.txt45
-rw-r--r--kioslave/fish/ConfigureChecks.cmake32
-rw-r--r--kioslave/fish/genfishcode.cmake8
-rwxr-xr-xkioslave/fish/genfishcode.pl43
-rw-r--r--kioslave/floppy/CMakeLists.txt41
-rw-r--r--kioslave/home/CMakeLists.txt48
-rw-r--r--kioslave/home/kdedmodule/CMakeLists.txt41
-rw-r--r--kioslave/info/CMakeLists.txt39
-rw-r--r--kioslave/mac/CMakeLists.txt38
-rw-r--r--kioslave/man/CMakeLists.txt60
-rw-r--r--kioslave/media/CMakeLists.txt60
-rw-r--r--kioslave/media/kcmodule/CMakeLists.txt45
-rw-r--r--kioslave/media/kfile-plugin/CMakeLists.txt40
-rw-r--r--kioslave/media/libmediacommon/CMakeLists.txt41
-rw-r--r--kioslave/media/mediamanager/CMakeLists.txt48
-rw-r--r--kioslave/media/medianotifier/CMakeLists.txt43
-rw-r--r--kioslave/media/mimetypes/CMakeLists.txt35
-rw-r--r--kioslave/media/mounthelper/CMakeLists.txt36
-rw-r--r--kioslave/media/services/CMakeLists.txt17
-rw-r--r--kioslave/nfs/CMakeLists.txt45
-rw-r--r--kioslave/nntp/CMakeLists.txt36
-rw-r--r--kioslave/pop3/CMakeLists.txt37
-rw-r--r--kioslave/remote/CMakeLists.txt50
-rw-r--r--kioslave/remote/kdedmodule/CMakeLists.txt41
-rw-r--r--kioslave/settings/CMakeLists.txt38
-rw-r--r--kioslave/sftp/CMakeLists.txt37
-rw-r--r--kioslave/smtp/CMakeLists.txt37
-rw-r--r--kioslave/system/CMakeLists.txt50
-rw-r--r--kioslave/system/entries/CMakeLists.txt17
-rw-r--r--kioslave/system/kdedmodule/CMakeLists.txt41
-rw-r--r--kioslave/system/mimetypes/CMakeLists.txt14
-rw-r--r--kioslave/tar/CMakeLists.txt37
-rw-r--r--kioslave/thumbnail/CMakeLists.txt135
-rw-r--r--kioslave/trash/CMakeLists.txt59
-rw-r--r--kioslave/trash/kfile-plugin/CMakeLists.txt38
-rw-r--r--klipper/CMakeLists.txt63
-rw-r--r--kmenuedit/CMakeLists.txt58
-rw-r--r--kmenuedit/pixmaps/CMakeLists.txt13
-rw-r--r--knetattach/CMakeLists.txt35
-rw-r--r--konqueror/CMakeLists.txt117
-rw-r--r--konqueror/about/CMakeLists.txt44
-rw-r--r--konqueror/client/CMakeLists.txt43
-rw-r--r--konqueror/iconview/CMakeLists.txt40
-rw-r--r--konqueror/keditbookmarks/CMakeLists.txt62
-rw-r--r--konqueror/kttsplugin/CMakeLists.txt39
-rw-r--r--konqueror/listview/CMakeLists.txt55
-rw-r--r--konqueror/pics/CMakeLists.txt16
-rw-r--r--konqueror/pics/actions/CMakeLists.txt12
-rw-r--r--konqueror/pics/indicators/CMakeLists.txt15
-rw-r--r--konqueror/pics/tiles/CMakeLists.txt15
-rw-r--r--konqueror/preloader/CMakeLists.txt45
-rw-r--r--konqueror/quickprint/CMakeLists.txt19
-rw-r--r--konqueror/remoteencodingplugin/CMakeLists.txt48
-rw-r--r--konqueror/shellcmdplugin/CMakeLists.txt47
-rw-r--r--konqueror/sidebar/CMakeLists.txt71
-rw-r--r--konqueror/sidebar/trees/CMakeLists.txt58
-rw-r--r--konqueror/sidebar/trees/bookmark_module/CMakeLists.txt39
-rw-r--r--konqueror/sidebar/trees/dirtree_module/CMakeLists.txt38
-rw-r--r--konqueror/sidebar/trees/history_module/CMakeLists.txt60
-rw-r--r--konqueror/sidebar/trees/init/CMakeLists.txt34
-rw-r--r--konqueror/sidebar/trees/init/remote/CMakeLists.txt20
-rw-r--r--konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt14
-rw-r--r--konqueror/sidebar/trees/init/remote/web/CMakeLists.txt15
-rw-r--r--konqueror/sidebar/trees/init/services/CMakeLists.txt15
-rw-r--r--konqueror/sidebar/web_module/CMakeLists.txt40
-rw-r--r--konsole/CMakeLists.txt57
-rw-r--r--konsole/ConfigureChecks.cmake14
-rw-r--r--konsole/fonts/CMakeLists.txt30
-rw-r--r--konsole/konsole/CMakeLists.txt78
-rw-r--r--konsole/other/CMakeLists.txt33
-rw-r--r--konsole/other/icons/CMakeLists.txt12
-rw-r--r--konsole/other/wallpapers/CMakeLists.txt14
-rw-r--r--kpager/CMakeLists.txt37
-rw-r--r--kpersonalizer/CMakeLists.txt45
-rw-r--r--kpersonalizer/pics/CMakeLists.txt14
-rw-r--r--kreadconfig/CMakeLists.txt37
-rw-r--r--kscreensaver/CMakeLists.txt44
-rw-r--r--ksmserver/CMakeLists.txt46
-rw-r--r--ksplashml/CMakeLists.txt41
-rw-r--r--ksplashml/kcmksplash/CMakeLists.txt38
-rw-r--r--ksplashml/kcmksplash/pics/CMakeLists.txt12
-rw-r--r--ksplashml/pics/CMakeLists.txt14
-rw-r--r--ksplashml/pics/themes/CMakeLists.txt15
-rw-r--r--ksplashml/pics/themes/blue-bend/CMakeLists.txt15
-rw-r--r--ksplashml/pics/themes/default/CMakeLists.txt17
-rw-r--r--ksplashml/pics/themes/default/locolor/CMakeLists.txt15
-rw-r--r--ksplashml/pics/themes/none/CMakeLists.txt14
-rw-r--r--ksplashml/pics/themes/simple/CMakeLists.txt14
-rw-r--r--ksplashml/themeengine/CMakeLists.txt42
-rw-r--r--ksplashml/themeengine/default/CMakeLists.txt45
-rw-r--r--ksplashml/themeengine/redmond/CMakeLists.txt38
-rw-r--r--ksplashml/themeengine/redmond/pics/CMakeLists.txt12
-rw-r--r--ksplashml/themeengine/simple/CMakeLists.txt36
-rw-r--r--ksplashml/themeengine/standard/CMakeLists.txt47
-rw-r--r--ksplashml/themeengine/standard/pics/CMakeLists.txt12
-rw-r--r--kstart/CMakeLists.txt29
-rw-r--r--ksysguard/CContLib/CMakeLists.txt16
-rw-r--r--ksysguard/CMakeLists.txt20
-rw-r--r--ksysguard/example/CMakeLists.txt13
-rw-r--r--ksysguard/gui/CMakeLists.txt64
-rw-r--r--ksysguard/gui/SensorDisplayLib/CMakeLists.txt40
-rw-r--r--ksysguard/gui/ksgrd/CMakeLists.txt43
-rw-r--r--ksysguard/ksysguardd/CMakeLists.txt43
-rw-r--r--ksysguard/ksysguardd/Linux/CMakeLists.txt32
-rw-r--r--ksysguard/pics/CMakeLists.txt16
-rw-r--r--ksystraycmd/CMakeLists.txt29
-rw-r--r--ktip/CMakeLists.txt40
-rw-r--r--ktip/pics/CMakeLists.txt12
-rw-r--r--kwin/CMakeLists.txt62
-rw-r--r--kwin/clients/CMakeLists.txt20
-rw-r--r--kwin/clients/b2/CMakeLists.txt37
-rw-r--r--kwin/clients/b2/config/CMakeLists.txt29
-rw-r--r--kwin/clients/default/CMakeLists.txt32
-rw-r--r--kwin/clients/default/config/CMakeLists.txt29
-rw-r--r--kwin/clients/keramik/CMakeLists.txt65
-rw-r--r--kwin/clients/keramik/config/CMakeLists.txt29
-rw-r--r--kwin/clients/laptop/CMakeLists.txt35
-rw-r--r--kwin/clients/modernsystem/CMakeLists.txt36
-rw-r--r--kwin/clients/modernsystem/config/CMakeLists.txt30
-rw-r--r--kwin/clients/plastik/CMakeLists.txt39
-rw-r--r--kwin/clients/plastik/config/CMakeLists.txt33
-rw-r--r--kwin/clients/quartz/CMakeLists.txt37
-rw-r--r--kwin/clients/quartz/config/CMakeLists.txt29
-rw-r--r--kwin/clients/redmond/CMakeLists.txt35
-rw-r--r--kwin/clients/web/CMakeLists.txt34
-rw-r--r--kwin/data/CMakeLists.txt58
-rw-r--r--kwin/kcmkwin/CMakeLists.txt16
-rw-r--r--kwin/kcmkwin/kwindecoration/CMakeLists.txt37
-rw-r--r--kwin/kcmkwin/kwinoptions/CMakeLists.txt40
-rw-r--r--kwin/kcmkwin/kwinrules/CMakeLists.txt56
-rw-r--r--kwin/killer/CMakeLists.txt28
-rw-r--r--kwin/lib/CMakeLists.txt38
-rw-r--r--kwin/oldheaders/CMakeLists.txt14
-rw-r--r--kwin/pics/CMakeLists.txt16
-rw-r--r--kxkb/CMakeLists.txt55
-rw-r--r--kxkb/ConfigureChecks.cmake15
-rw-r--r--kxkb/pics/CMakeLists.txt12
-rw-r--r--l10n/CMakeLists.txt30
-rw-r--r--libkonq/CMakeLists.txt78
-rw-r--r--libkonq/favicons/CMakeLists.txt49
-rw-r--r--libkonq/pics/CMakeLists.txt15
-rw-r--r--nsplugins/CMakeLists.txt66
-rw-r--r--nsplugins/viewer/CMakeLists.txt35
-rw-r--r--pics/CMakeLists.txt13
-rw-r--r--pics/crystalsvg/CMakeLists.txt12
-rw-r--r--pics/wallpapers/CMakeLists.txt44
478 files changed, 14641 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 000000000..1756d4487
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,187 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+#################################################
+
+cmake_minimum_required( VERSION 2.6 )
+
+
+##### general package setup #####################
+
+project( kdebase )
+
+set( PACKAGE kdebase )
+set( VERSION "3.5.13" )
+
+
+##### include essential cmake modules ###########
+
+include( FindPkgConfig )
+include( CheckIncludeFile )
+include( CheckCSourceRuns )
+include( CheckCXXSourceCompiles )
+include( CheckLibraryExists )
+include( CheckFunctionExists )
+include( CheckStructHasMember )
+
+
+##### include our cmake modules #################
+
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
+include( TDEMacros )
+
+
+##### setup install paths #######################
+
+include( TDESetupPaths )
+tde_setup_paths( )
+
+
+##### optional stuff ############################
+
+option( WITH_SASL "Enable SASL support" OFF )
+option( WITH_LDAP "Enable LDAP support" OFF )
+option( WITH_SAMBA "Enable SAMBA support" OFF )
+option( WITH_OPENEXR "Enable openexr support" OFF )
+option( WITH_XCOMPOSITE "Enable xcomposite support" OFF )
+option( WITH_XCURSOR "Enable xcursor support" OFF )
+option( WITH_XRANDR "Enable xrandr support" OFF )
+option( WITH_LIBUSB "Enable control of some mouse models through libusb" OFF )
+option( WITH_LIBRAW1394 "Enable visualization of ieee1394 devices through libraw1394" OFF )
+option( WITH_SUDO_KDESU_BACKEND "Use sudo as backend for kdesu (default is su)" OFF )
+option( WITH_PAM "kdm should use PAM" OFF )
+option( WITH_SHADOW "kdm should use shadow passwords" OFF )
+option( WITH_XINERAMA "Enable xinerama extension support" OFF )
+option( WITH_ARTS "Enable aRts support" OFF )
+option( WITH_I8K "Enable Dell laptop support (ksysguard)" OFF )
+
+
+##### user requested modules ####################
+
+option( BUILD_ALL "Build all" OFF )
+option( BUILD_L10N "Build l10n" ${BUILD_ALL} )
+option( BUILD_PICS "Build pics" ${BUILD_ALL} )
+option( BUILD_APPLNK "Build applnk" ${BUILD_ALL} )
+option( BUILD_DOC "Build doc" ${BUILD_ALL} )
+option( BUILD_LIBKONQ "Build libkonq" ${BUILD_ALL} )
+option( BUILD_KCMINIT "Build kcminit" ${BUILD_ALL} )
+option( BUILD_KCONTROL "Build kcontrol" ${BUILD_ALL} )
+option( BUILD_KWIN "Build kwin" ${BUILD_ALL} )
+option( BUILD_KATE "Build kate" ${BUILD_ALL} )
+option( BUILD_KONQUEROR "Build konqueror" ${BUILD_ALL} )
+option( BUILD_KIOSLAVES "Build kioslaves" ${BUILD_ALL} )
+option( BUILD_KICKER "Build kicker" ${BUILD_ALL} )
+option( BUILD_KDESKTOP "Build kdesktop" ${BUILD_ALL} )
+option( BUILD_KONSOLE "Build konsole" ${BUILD_ALL} )
+option( BUILD_KLIPPER "Build klipper" ${BUILD_ALL} )
+option( BUILD_KMENUEDIT "Build kmenuedit" ${BUILD_ALL} )
+option( BUILD_KDEPRINT "Build kdeprint" ${BUILD_ALL} )
+option( BUILD_KPERSONALIZER "Build kpersonalizer" ${BUILD_ALL} )
+option( BUILD_KDEPASSWD "Build kdepasswd" ${BUILD_ALL} )
+option( BUILD_KTIP "Build ktip" ${BUILD_ALL} )
+option( BUILD_KDEEJECT "Build kdeeject" ${BUILD_ALL} )
+option( BUILD_KDIALOG "Build kdialog" ${BUILD_ALL} )
+option( BUILD_KREADCONFIG "Build kreadconfig" ${BUILD_ALL} )
+option( BUILD_KDESU "Build kdesu" ${BUILD_ALL} )
+option( BUILD_KDM "Build kdm" ${BUILD_ALL} )
+option( BUILD_KSMSERVER "Build ksmserver" ${BUILD_ALL} )
+option( BUILD_KSPLASHML "Build ksplashml" ${BUILD_ALL} )
+option( BUILD_STARTKDE "Build startkde" ${BUILD_ALL} )
+option( BUILD_KFIND "Build kfind" ${BUILD_ALL} )
+option( BUILD_DRKONQI "Build drkonqi" ${BUILD_ALL} )
+option( BUILD_KDCOP "Build kdcop" ${BUILD_ALL} )
+option( BUILD_KDEBUGDIALOG "Build kdebugdialog" ${BUILD_ALL} )
+option( BUILD_KNETATTACH "Build knetattach" ${BUILD_ALL} )
+option( BUILD_KPAGER "Build kpager" ${BUILD_ALL} )
+option( BUILD_KAPPFINDER "Build kappfinder" ${BUILD_ALL} )
+option( BUILD_KCHECKPASS "Build kcheckpass" ${BUILD_ALL} )
+option( BUILD_KHELPCENTER "Build khelpcenter" ${BUILD_ALL} )
+option( BUILD_KHOTKEYS "Build khotkeys" ${BUILD_ALL} )
+option( BUILD_KSCREENSAVER "Build kscreensaver" ${BUILD_ALL} )
+option( BUILD_KSTART "Build kstart" ${BUILD_ALL} )
+option( BUILD_KSYSTRAYCMD "Build ksystraycmd" ${BUILD_ALL} )
+option( BUILD_NSPLUGINS "Build nsplugins" ${BUILD_ALL} )
+option( BUILD_KSYSGUARD "Build ksysguard" ${BUILD_ALL} )
+option( BUILD_KXKB "Build kxkb" ${BUILD_ALL} )
+
+
+##### configure checks ##########################
+
+include( ConfigureChecks.cmake )
+
+
+###### global compiler settings #################
+
+add_definitions(
+ -DHAVE_CONFIG_H
+ ${TQT_CFLAGS_OTHER}
+)
+
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" )
+set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
+set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+
+
+##### kdebase directories #######################
+
+add_subdirectory( kdmlib )
+
+tde_conditional_add_subdirectory( BUILD_L10N l10n )
+tde_conditional_add_subdirectory( BUILD_PICS pics )
+tde_conditional_add_subdirectory( BUILD_APPLNK applnk )
+tde_conditional_add_subdirectory( BUILD_DOC doc )
+tde_conditional_add_subdirectory( BUILD_LIBKONQ libkonq )
+tde_conditional_add_subdirectory( BUILD_KCMINIT kcminit )
+add_subdirectory( kcontrol )
+tde_conditional_add_subdirectory( BUILD_KWIN kwin )
+tde_conditional_add_subdirectory( BUILD_KATE kate )
+tde_conditional_add_subdirectory( BUILD_KONQUEROR konqueror )
+tde_conditional_add_subdirectory( BUILD_KIOSLAVES kioslave )
+tde_conditional_add_subdirectory( BUILD_KICKER kicker )
+tde_conditional_add_subdirectory( BUILD_KDESKTOP kdesktop )
+tde_conditional_add_subdirectory( BUILD_KONSOLE konsole )
+tde_conditional_add_subdirectory( BUILD_KLIPPER klipper )
+tde_conditional_add_subdirectory( BUILD_KMENUEDIT kmenuedit )
+tde_conditional_add_subdirectory( BUILD_KDEPRINT kdeprint )
+tde_conditional_add_subdirectory( BUILD_KPERSONALIZER kpersonalizer )
+tde_conditional_add_subdirectory( BUILD_KDEPASSWD kdepasswd )
+tde_conditional_add_subdirectory( BUILD_KTIP ktip )
+tde_conditional_add_subdirectory( BUILD_KDEEJECT kdeeject )
+tde_conditional_add_subdirectory( BUILD_KDIALOG kdialog )
+tde_conditional_add_subdirectory( BUILD_KREADCONFIG kreadconfig )
+tde_conditional_add_subdirectory( BUILD_KDESU kdesu )
+tde_conditional_add_subdirectory( BUILD_KDM kdm )
+tde_conditional_add_subdirectory( BUILD_KSMSERVER ksmserver )
+tde_conditional_add_subdirectory( BUILD_KSPLASHML ksplashml )
+tde_conditional_add_subdirectory( BUILD_KFIND kfind )
+tde_conditional_add_subdirectory( BUILD_DRKONQI drkonqi )
+tde_conditional_add_subdirectory( BUILD_KDCOP kdcop )
+tde_conditional_add_subdirectory( BUILD_KDEBUGDIALOG kdebugdialog )
+tde_conditional_add_subdirectory( BUILD_KNETATTACH knetattach )
+tde_conditional_add_subdirectory( BUILD_KPAGER kpager )
+tde_conditional_add_subdirectory( BUILD_KAPPFINDER kappfinder )
+tde_conditional_add_subdirectory( BUILD_KCHECKPASS kcheckpass )
+tde_conditional_add_subdirectory( BUILD_KHELPCENTER khelpcenter )
+tde_conditional_add_subdirectory( BUILD_KHOTKEYS khotkeys )
+tde_conditional_add_subdirectory( BUILD_KSCREENSAVER kscreensaver )
+tde_conditional_add_subdirectory( BUILD_KSTART kstart )
+tde_conditional_add_subdirectory( BUILD_KSYSTRAYCMD ksystraycmd )
+tde_conditional_add_subdirectory( BUILD_NSPLUGINS nsplugins )
+tde_conditional_add_subdirectory( BUILD_KSYSGUARD ksysguard )
+tde_conditional_add_subdirectory( BUILD_KXKB kxkb )
+
+
+##### install startkde & related stuff ##########
+
+if( BUILD_STARTKDE )
+ install( PROGRAMS startkde DESTINATION ${BIN_INSTALL_DIR} )
+endif()
+
+
+##### write configure files #####################
+
+configure_file( config.h.cmake config.h @ONLY )
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 000000000..0533a21a7
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,153 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# termios.h (kdm, kioslave)
+if( BUILD_KDM OR BUILD_KIOSLAVES )
+ check_include_file( termios.h HAVE_TERMIOS_H )
+endif( )
+
+
+# sys/ioctl.h (kioslave/fish, kcontrol/info)
+if( BUILD_KIOSLAVES OR BUILD_KCONTROL )
+ check_include_file( sys/ioctl.h HAVE_SYS_IOCTL_H )
+endif( )
+
+
+# pam
+if( WITH_PAM AND (BUILD_KCHECKPASS OR BUILD_KDM) )
+ check_library_exists( pam pam_start "" HAVE_PAM )
+ if( HAVE_PAM )
+ check_include_file( "security/pam_appl.h" SECURITY_PAM_APPL_H )
+ endif( )
+ if( HAVE_PAM AND SECURITY_PAM_APPL_H )
+ set( PAM_LIBRARY pam;dl )
+ else( )
+ tde_message_fatal( "pam are requested, but not found on your system" )
+ endif( )
+endif( )
+
+
+# hal (ksmserver )
+if( BUILD_KSMSERVER )
+ pkg_search_module( HAL hal )
+ if( NOT HAL_FOUND )
+ tde_message_fatal( "hal are required, but not found on your system" )
+ endif( )
+endif( )
+
+
+# xrender (kdesktop, konsole, kcontrol, kicker)
+if( BUILD_KDESKTOP OR BUILD_KONSOLE OR BUILD_KCONTROL OR BUILD_KICKER )
+ pkg_search_module( XRENDER xrender )
+ if( XRENDER_FOUND )
+ set( HAVE_XRENDER 1 )
+ endif( )
+endif( )
+
+
+# xcursor (kioslave, kcontrol)
+
+if( WITH_XCURSOR )
+ pkg_search_module( XCURSOR xcursor )
+ if( XCURSOR_FOUND )
+ set( HAVE_XCURSOR 1 CACHE INTERNAL "" FORCE )
+ else( )
+ tde_message_fatal( "xcursor are requested, but not found on your system" )
+ endif( )
+endif( )
+
+
+# GL
+if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER )
+check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL )
+ if( HAVE_GLXCHOOSEVISUAL )
+ set( GL_LIBRARY "GL" )
+ endif( )
+endif( )
+
+
+# glib-2.0
+if( BUILD_NSPLUGINS )
+ pkg_search_module( GLIB2 glib-2.0 )
+ if( NOT GLIB2_FOUND )
+ tde_message_fatal( "glib-2.0 are required, but not found on your system" )
+ endif( )
+endif( )
+
+
+# kde_socklen_t
+if( BUILD_KIOSLAVES OR BUILD_KSYSGUARD )
+ set( kde_socklen_t socklen_t )
+endif( )
+
+
+# getifaddrs (kcontrol, kdm)
+if( BUILD_KCONTROL OR BUILD_KDM )
+ check_function_exists( getifaddrs HAVE_GETIFADDRS )
+endif( )
+
+
+# xkb (konsole, kdm, kxkb)
+if( BUILD_KONSOLE OR BUILD_KDM OR BUILD_KXKB )
+ check_include_file( X11/XKBlib.h HAVE_X11_XKBLIB_H )
+ if( HAVE_X11_XKBLIB_H )
+ check_library_exists( X11 XkbLockModifiers "" HAVE_XKB )
+ if( BUILD_KDM )
+ check_library_exists( X11 XkbSetPerClientControls "" HAVE_XKBSETPERCLIENTCONTROLS )
+ endif( )
+ endif( )
+endif( )
+
+
+# XBINDIR, XLIBDIR (kdm, kxkb)
+if( BUILD_KDM OR BUILD_KXKB )
+ find_program( some_x_program NAMES iceauth xrdb xterm )
+ if( NOT some_x_program )
+ set( some_x_program /usr/bin/xrdb )
+ message( STATUS "Warning: Could not determine X binary directory. Assuming /usr/bin." )
+ endif( )
+ get_filename_component( proto_xbindir "${some_x_program}" PATH )
+ get_filename_component( XBINDIR "${proto_xbindir}" ABSOLUTE )
+ get_filename_component( xrootdir "${XBINDIR}" PATH )
+ set( XBINDIR ${XBINDIR} CACHE INTERNAL "" FORCE )
+ set( XLIBDIR "${xrootdir}/lib/X11" CACHE INTERNAL "" FORCE )
+endif( )
+
+
+# required stuff
+find_package( Qt )
+find_package( TQt )
+find_package( TDE )
+
+
+# dbus-qt3 need Qt flags
+# dbus (kdm, ksmserver)
+if( BUILD_KDM OR BUILD_KSMSERVER )
+
+ pkg_search_module( DBUS dbus-1 )
+ if( NOT DBUS_FOUND )
+ tde_message_fatal( "dbus-1 are required, but not found on your system" )
+ endif( )
+
+ # check for dbus-qt3 (version 0.7)
+ tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+ set( CMAKE_REQUIRED_INCLUDES ${QT_INCLUDE_DIRS} ${DBUS_INCLUDE_DIRS} )
+ set( CMAKE_REQUIRED_LIBRARIES ${TQT_LDFLAGS} )
+ check_cxx_source_compiles("
+ #include <dbus/connection.h>
+ int main(int, char**) { return 0; } "
+ HAVE_DBUS_QT3_07 )
+ tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+ if( NOT HAVE_DBUS_QT3_07 )
+ tde_message_fatal( "dbus-qt3 (version 0.7) are required, but not found on your system" )
+ endif( )
+
+endif( )
diff --git a/applnk/CMakeLists.txt b/applnk/CMakeLists.txt
new file mode 100644
index 000000000..eb9fc4dd9
--- /dev/null
+++ b/applnk/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
+#
+#################################################
+
+add_subdirectory( compat )
+
+install( FILES
+ kde-settings.menu kde-information.menu kde-screensavers.menu
+ DESTINATION ${XDG_MENU_INSTALL_DIR} )
+
+install( FILES
+ kde-essential.menu
+ DESTINATION ${XDG_MENU_INSTALL_DIR}/applications-merged )
+
+install( FILES
+ hidden.directory
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden
+ RENAME .directory )
+
+install( FILES
+ kde-main.directory kde-development.directory kde-editors.directory
+ kde-edutainment.directory kde-games-arcade.directory
+ kde-games-board.directory kde-games-card.directory
+ kde-games-kids.directory kde-games-roguelikes.directory
+ kde-games-strategy.directory kde-games.directory
+ kde-graphics.directory kde-information.directory
+ kde-internet-terminal.directory kde-internet.directory
+ kde-more.directory kde-multimedia.directory kde-office.directory
+ kde-science.directory kde-settings-accessibility.directory
+ kde-settings-components.directory kde-settings-desktop.directory
+ kde-settings-looknfeel.directory kde-settings-network.directory
+ kde-settings-peripherals.directory kde-settings-hardware.directory
+ kde-settings-power.directory kde-settings-security.directory
+ kde-settings-sound.directory kde-settings-system.directory
+ kde-settings-webbrowsing.directory kde-settings.directory
+ kde-settingsmenu.directory kde-system-screensavers.directory
+ kde-system-terminal.directory kde-system.directory
+ kde-toys.directory kde-unknown.directory
+ kde-utilities-xutils.directory kde-utilities.directory
+ kde-utilities-accessibility.directory kde-utilities-desktop.directory
+ kde-utilities-peripherals.directory kde-utilities-file.directory
+ kde-utilities-pim.directory kde-development-translation.directory
+ kde-development-webdevelopment.directory
+ DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} )
diff --git a/applnk/compat/CMakeLists.txt b/applnk/compat/CMakeLists.txt
new file mode 100644
index 000000000..b7d1d6545
--- /dev/null
+++ b/applnk/compat/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
+ battery.desktop bwarning.desktop cwarning.desktop
+ power.desktop kcmkonq.desktop kcmkxmlrpcd.desktop
+ konqhtml.desktop socks.desktop virtualdesktops.desktop
+ email.desktop userinfo.desktop passwords.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden )
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 000000000..ba7520ccc
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,145 @@
+#define VERSION "@VERSION@"
+
+// konsole
+#cmakedefine HAVE_PROC_CWD 1
+
+// kdesktop, konsole, kcontrol, kicker
+#cmakedefine HAVE_XRENDER 1
+
+// kdesktop, kcontrol, ksplashml
+#cmakedefine HAVE_XCURSOR 1
+
+// konsole, kdm, kxkb
+#cmakedefine HAVE_XKB 1
+
+// kdm, kioslave
+#cmakedefine HAVE_TERMIOS_H 1
+
+// kioslave/fish, kcontrol/info
+#cmakedefine HAVE_SYS_IOCTL_H 1
+
+// kioslave/smtp, kioslave/pop3
+#cmakedefine HAVE_LIBSASL2 1
+
+// kdm, kcontrol
+#cmakedefine HAVE_GETIFADDRS 1
+
+// kio_fish
+#cmakedefine HAVE_STROPTS 1
+#cmakedefine HAVE_LIBUTIL_H 1
+#cmakedefine HAVE_UTIL_H 1
+#cmakedefine HAVE_PTY_H 1
+#cmakedefine HAVE_OPENPTY 1
+
+// kio_man
+#cmakedefine HAVE_UNISTD_H 1
+#cmakedefine HAVE_STRING_H 1
+
+// kio_smtp, ksysguard
+#cmakedefine kde_socklen_t @kde_socklen_t@
+
+// kfile_media
+#cmakedefine HAVE_STATVFS
+
+// taskmanager
+#cmakedefine HAVE_XCOMPOSITE
+#cmakedefine HAVE_XFIXES
+
+// kcontrol/fonts
+#cmakedefine HAVE_FONTCONFIG 1
+#cmakedefine HAVE_FREETYPE2 1
+
+// kcontrol/kfontinst
+#cmakedefine HAVE_XFT 1
+#cmakedefine HAVE_GETOPT_H 1
+
+// kcontrol/energy
+#cmakedefine HAVE_DPMS 1
+
+// kdesktop, kcontrol/screensaver, kscreensaver
+#cmakedefine HAVE_GLXCHOOSEVISUAL 1
+
+// kcontrol/crypto
+#cmakedefine HAVE_SSL 1
+
+// kcontrol/nics
+#cmakedefine HAVE_SYS_SOCKIO_H 1
+#cmakedefine HAVE_GETNAMEINFO 1
+#cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
+
+// kcontrol/input
+#cmakedefine HAVE_LIBUSB 1
+
+// kdeprint
+#cmakedefine HAVE_SIGACTION 1
+#cmakedefine HAVE_SIGSET 1
+
+// kdesu
+#cmakedefine HAVE_STRUCT_UCRED 1
+#cmakedefine HAVE_GETPEEREID 1
+#cmakedefine HAVE_SYS_SELECT_H 1
+#cmakedefine HAVE_SYS_WAIT_H 1
+#cmakedefine DEFAULT_SUPER_USER_COMMAND "@DEFAULT_SUPER_USER_COMMAND@"
+
+// kdm, kcheckpass
+#cmakedefine HAVE_PAM 1
+
+// kcheckpass
+#cmakedefine KCHECKPASS_PAM_SERVICE "@KCHECKPASS_PAM_SERVICE@"
+
+// kdm
+#cmakedefine XBINDIR "@XBINDIR@"
+#define KDE_BINDIR "@TDE_BIN_DIR@"
+#define KDE_DATADIR "@TDE_DATA_DIR@"
+#define KDE_CONFDIR "@TDE_CONFIG_DIR@"
+
+#cmakedefine HAVE_XKBSETPERCLIENTCONTROLS 1
+
+#cmakedefine HAVE_GETDOMAINNAME 1
+#cmakedefine HAVE_INITGROUPS 1
+#cmakedefine HAVE_MKSTEMP 1
+#cmakedefine HAVE_SETPROCTITLE 1
+#cmakedefine HAVE_SYSINFO 1
+#cmakedefine HAVE_STRNLEN 1
+#cmakedefine HAVE_GETIFADDRS 1
+
+#cmakedefine HAVE_SETUSERCONTEXT 1
+#cmakedefine HAVE_GETUSERSHELL 1
+#cmakedefine HAVE_LOGIN_GETCLASS 1
+#cmakedefine HAVE_AUTH_TIMEOK 1
+
+#cmakedefine HAVE_LASTLOG_H 1
+#cmakedefine HAVE_TERMIO_H 1
+
+#cmakedefine HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
+#cmakedefine HAVE_STRUCT_PASSWD_PW_EXPIRE 1
+#cmakedefine HAVE_STRUCT_UTMP_UT_USER 1
+
+#cmakedefine HAVE_SETLOGIN 1
+#cmakedefine HONORS_SOCKET_PERMS 1
+
+#cmakedefine HAVE_UTMPX 1
+#cmakedefine HAVE_LASTLOGX 1
+#cmakedefine BSD_UTMP 1
+
+#cmakedefine HAVE_ARC4RANDOM 1
+#cmakedefine DEV_RANDOM "@DEV_RANDOM@"
+
+#cmakedefine USE_PAM 1
+#define KDM_PAM_SERVICE "kde"
+
+#define USESHADOW 1
+#define HAVE_SHADOW 1
+
+// ksmserver
+#cmakedefine DBUS_SYSTEM_BUS "@DBUS_SYSTEM_BUS@"
+
+// ksplashml
+#cmakedefine HAVE_XINERAMA 1
+
+// khotkeys
+#cmakedefine HAVE_ARTS 1
+#cmakedefine COVARIANT_RETURN_BROKEN 1
+
+// kdm, kxkb
+#cmakedefine XLIBDIR "@XLIBDIR@"
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644
index 000000000..a8b8de4bc
--- /dev/null
+++ b/doc/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_auto_add_subdirectories()
diff --git a/doc/faq/CMakeLists.txt b/doc/faq/CMakeLists.txt
new file mode 100644
index 000000000..606220074
--- /dev/null
+++ b/doc/faq/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_create_handbook( DESTINATION khelpcenter/faq )
diff --git a/doc/glossary/CMakeLists.txt b/doc/glossary/CMakeLists.txt
new file mode 100644
index 000000000..dabf6fd78
--- /dev/null
+++ b/doc/glossary/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_create_handbook( DESTINATION khelpcenter/glossary )
diff --git a/doc/kate/CMakeLists.txt b/doc/kate/CMakeLists.txt
new file mode 100644
index 000000000..c318aaa9d
--- /dev/null
+++ b/doc/kate/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_create_handbook( DESTINATION kate )
diff --git a/doc/kcontrol/CMakeLists.txt b/doc/kcontrol/CMakeLists.txt
new file mode 100644
index 000000000..778bbb0e2
--- /dev/null
+++ b/doc/kcontrol/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_auto_add_subdirectories()
+tde_create_handbook( DESTINATION kcontrol )
diff --git a/doc/kcontrol/arts/CMakeLists.txt b/doc/kcontrol/arts/CMakeLists.txt
new file mode 100644
index 000000000..99dd64da1
--- /dev/null
+++ b/doc/kcontrol/arts/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_create_handbook( DESTINATION kcontrol/arts )
diff --git a/doc/kcontrol/background/CMakeLists.txt b/doc/kcontrol/background/CMakeLists.txt
new file mode 100644
index 000000000..80711365e
--- /dev/null
+++ b/doc/kcontrol/background/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_create_handbook( DESTINATION kcontrol/background )
diff --git a/doc/kcontrol/bell/CMakeLists.txt b/doc/kcontrol/bell/CMakeLists.txt
new file mode 100644
index 000000000..84a3c3cf7
--- /dev/null
+++ b/doc/kcontrol/bell/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_create_handbook( DESTINATION kcontrol/bell )
diff --git a/doc/kcontrol/cache/CMakeLists.txt b/doc/kcontrol/cache/CMakeLists.txt
new file mode 100644
index 000000000..9b8927e44
--- /dev/null
+++ b/doc/kcontrol/cache/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_create_handbook( DESTINATION kcontrol/cache )
diff --git a/doc/kcontrol/clock/CMakeLists.txt b/doc/kcontrol/clock/CMakeLists.txt
new file mode 100644
index 000000000..b93936f5c
--- /dev/null
+++ b/doc/kcontrol/clock/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_create_handbook( DESTINATION kcontrol/clock )
diff --git a/doc/kcontrol/colors/CMakeLists.txt b/doc/kcontrol/colors/CMakeLists.txt
new file mode 100644
index 000000000..2008301ce
--- /dev/null
+++ b/doc/kcontrol/colors/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_create_handbook( DESTINATION kcontrol/colors )
diff --git a/doc/kcontrol/cookies/CMakeLists.txt b/doc/kcontrol/cookies/CMakeLists.txt
new file mode 100644
index 000000000..4bd404706
--- /dev/null
+++ b/doc/kcontrol/cookies/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_create_handbook( DESTINATION kcontrol/cookies )
diff --git a/doc/kcontrol/crypto/CMakeLists.txt b/doc/kcontrol/crypto/CMakeLists.txt
new file mode 100644
index 000000000..5b0b4bfc2
--- /dev/null
+++ b/doc/kcontrol/crypto/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_create_handbook( DESTINATION kcontrol/crypto )
diff --git a/doc/kcontrol/desktop/CMakeLists.txt b/doc/kcontrol/desktop/CMakeLists.txt
new file mode 100644
index 000000000..acde96f88
--- /dev/null
+++ b/doc/kcontrol/desktop/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_create_handbook( DESTINATION kcontrol/desktop )
diff --git a/doc/kcontrol/desktopbehavior/CMakeLists.txt b/doc/kcontrol/desktopbehavior/CMakeLists.txt
new file mode 100644
index 000000000..f6e095c56
--- /dev/null
+++ b/doc/kcontrol/desktopbehavior/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_create_handbook( DESTINATION kcontrol/desktopbehaviour )
diff --git a/doc/kcontrol/ebrowsing/CMakeLists.txt b/doc/kcontrol/ebrowsing/CMakeLists.txt
new file mode 100644
index 000000000..e76bf184c
--- /dev/null
+++ b/doc/kcontrol/ebrowsing/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_create_handbook( DESTINATION kcontrol/ebrowsing )
diff --git a/doc/kcontrol/email/CMakeLists.txt b/doc/kcontrol/email/CMakeLists.txt
new file mode 100644
index 000000000..0fc308755
--- /dev/null
+++ b/doc/kcontrol/email/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_create_handbook( DESTINATION kcontrol/email )
diff --git a/doc/kcontrol/energy/CMakeLists.txt b/doc/kcontrol/energy/CMakeLists.txt
new file mode 100644
index 000000000..75048ea4f
--- /dev/null
+++ b/doc/kcontrol/energy/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_create_handbook( DESTINATION kcontrol/energy )
diff --git a/doc/kcontrol/filemanager/CMakeLists.txt b/doc/kcontrol/filemanager/CMakeLists.txt
new file mode 100644
index 000000000..52d3f3646
--- /dev/null
+++ b/doc/kcontrol/filemanager/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_create_handbook( DESTINATION kcontrol/filemanager )
diff --git a/doc/kcontrol/filetypes/CMakeLists.txt b/doc/kcontrol/filetypes/CMakeLists.txt
new file mode 100644
index 000000000..d66290d23
--- /dev/null
+++ b/doc/kcontrol/filetypes/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_create_handbook( DESTINATION kcontrol/filetypes )
diff --git a/doc/kcontrol/fonts/CMakeLists.txt b/doc/kcontrol/fonts/CMakeLists.txt
new file mode 100644
index 000000000..0a011fbad
--- /dev/null
+++ b/doc/kcontrol/fonts/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_create_handbook( DESTINATION kcontrol/fonts )
diff --git a/doc/kcontrol/helpindex/CMakeLists.txt b/doc/kcontrol/helpindex/CMakeLists.txt
new file mode 100644
index 000000000..bede519c0
--- /dev/null
+++ b/doc/kcontrol/helpindex/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_create_handbook( DESTINATION kcontrol/helpindex )
diff --git a/doc/kcontrol/icons/CMakeLists.txt b/doc/kcontrol/icons/CMakeLists.txt
new file mode 100644
index 000000000..082c12246
--- /dev/null
+++ b/doc/kcontrol/icons/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_create_handbook( DESTINATION kcontrol/icons )
diff --git a/doc/kcontrol/kcmaccess/CMakeLists.txt b/doc/kcontrol/kcmaccess/CMakeLists.txt
new file mode 100644
index 000000000..5cd340744
--- /dev/null
+++ b/doc/kcontrol/kcmaccess/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_create_handbook( DESTINATION kcontrol/kcmaccess )
diff --git a/doc/kcontrol/kcmcss/CMakeLists.txt b/doc/kcontrol/kcmcss/CMakeLists.txt
new file mode 100644
index 000000000..0a505ff4e
--- /dev/null
+++ b/doc/kcontrol/kcmcss/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_create_handbook( DESTINATION kcontrol/kcmcss )
diff --git a/doc/kcontrol/kcmfontinst/CMakeLists.txt b/doc/kcontrol/kcmfontinst/CMakeLists.txt
new file mode 100644
index 000000000..6aa1c19fd
--- /dev/null
+++ b/doc/kcontrol/kcmfontinst/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_create_handbook( DESTINATION kcontrol/kcmfontinst )
diff --git a/doc/kcontrol/kcmkonsole/CMakeLists.txt b/doc/kcontrol/kcmkonsole/CMakeLists.txt
new file mode 100644
index 000000000..6847d04a2
--- /dev/null
+++ b/doc/kcontrol/kcmkonsole/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_create_handbook( DESTINATION kcontrol/kcmkonsole )
diff --git a/doc/kcontrol/kcmlaunch/CMakeLists.txt b/doc/kcontrol/kcmlaunch/CMakeLists.txt
new file mode 100644
index 000000000..c0a06a2a7
--- /dev/null
+++ b/doc/kcontrol/kcmlaunch/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_create_handbook( DESTINATION kcontrol/kcmlaunch )
diff --git a/doc/kcontrol/kcmnotify/CMakeLists.txt b/doc/kcontrol/kcmnotify/CMakeLists.txt
new file mode 100644
index 000000000..7b75ad07e
--- /dev/null
+++ b/doc/kcontrol/kcmnotify/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_create_handbook( DESTINATION kcontrol/kcmnotify )
diff --git a/doc/kcontrol/kcmsmserver/CMakeLists.txt b/doc/kcontrol/kcmsmserver/CMakeLists.txt
new file mode 100644
index 000000000..7b0ef8ec8
--- /dev/null
+++ b/doc/kcontrol/kcmsmserver/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_create_handbook( DESTINATION kcontrol/kcmsmserver )
diff --git a/doc/kcontrol/kcmstyle/CMakeLists.txt b/doc/kcontrol/kcmstyle/CMakeLists.txt
new file mode 100644
index 000000000..98077a743
--- /dev/null
+++ b/doc/kcontrol/kcmstyle/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_create_handbook( DESTINATION kcontrol/kcmstyle )
diff --git a/doc/kcontrol/kcmtaskbar/CMakeLists.txt b/doc/kcontrol/kcmtaskbar/CMakeLists.txt
new file mode 100644
index 000000000..7f441092d
--- /dev/null
+++ b/doc/kcontrol/kcmtaskbar/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_create_handbook( DESTINATION kcontrol/kcmtaskbar )
diff --git a/doc/kcontrol/kdm/CMakeLists.txt b/doc/kcontrol/kdm/CMakeLists.txt
new file mode 100644
index 000000000..11f2b8477
--- /dev/null
+++ b/doc/kcontrol/kdm/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_create_handbook( DESTINATION kcontrol/kdm )
diff --git a/doc/kcontrol/keyboard/CMakeLists.txt b/doc/kcontrol/keyboard/CMakeLists.txt
new file mode 100644
index 000000000..08d08812d
--- /dev/null
+++ b/doc/kcontrol/keyboard/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_create_handbook( DESTINATION kcontrol/keyboard )
diff --git a/doc/kcontrol/keys/CMakeLists.txt b/doc/kcontrol/keys/CMakeLists.txt
new file mode 100644
index 000000000..06cf76aae
--- /dev/null
+++ b/doc/kcontrol/keys/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_create_handbook( DESTINATION kcontrol/keys )
diff --git a/doc/kcontrol/khtml/CMakeLists.txt b/doc/kcontrol/khtml/CMakeLists.txt
new file mode 100644
index 000000000..dda61f78d
--- /dev/null
+++ b/doc/kcontrol/khtml/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_create_handbook( DESTINATION kcontrol/khtml )
diff --git a/doc/kcontrol/kwindecoration/CMakeLists.txt b/doc/kcontrol/kwindecoration/CMakeLists.txt
new file mode 100644
index 000000000..55ac98586
--- /dev/null
+++ b/doc/kcontrol/kwindecoration/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_create_handbook( DESTINATION kcontrol/kwindecoration )
diff --git a/doc/kcontrol/language/CMakeLists.txt b/doc/kcontrol/language/CMakeLists.txt
new file mode 100644
index 000000000..d0546b391
--- /dev/null
+++ b/doc/kcontrol/language/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_create_handbook( DESTINATION kcontrol/language )
diff --git a/doc/kcontrol/mouse/CMakeLists.txt b/doc/kcontrol/mouse/CMakeLists.txt
new file mode 100644
index 000000000..e32df12ee
--- /dev/null
+++ b/doc/kcontrol/mouse/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_create_handbook( DESTINATION kcontrol/mouse )
diff --git a/doc/kcontrol/netpref/CMakeLists.txt b/doc/kcontrol/netpref/CMakeLists.txt
new file mode 100644
index 000000000..18a8e506a
--- /dev/null
+++ b/doc/kcontrol/netpref/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_create_handbook( DESTINATION kcontrol/netpref )
diff --git a/doc/kcontrol/panel/CMakeLists.txt b/doc/kcontrol/panel/CMakeLists.txt
new file mode 100644
index 000000000..cdb63d917
--- /dev/null
+++ b/doc/kcontrol/panel/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_create_handbook( DESTINATION kcontrol/panel )
diff --git a/doc/kcontrol/panelappearance/CMakeLists.txt b/doc/kcontrol/panelappearance/CMakeLists.txt
new file mode 100644
index 000000000..171bbdd3a
--- /dev/null
+++ b/doc/kcontrol/panelappearance/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_create_handbook( DESTINATION kcontrol/panelappearance )
diff --git a/doc/kcontrol/passwords/CMakeLists.txt b/doc/kcontrol/passwords/CMakeLists.txt
new file mode 100644
index 000000000..ffcedb07a
--- /dev/null
+++ b/doc/kcontrol/passwords/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_create_handbook( DESTINATION kcontrol/passwords )
diff --git a/doc/kcontrol/performance/CMakeLists.txt b/doc/kcontrol/performance/CMakeLists.txt
new file mode 100644
index 000000000..f43b74051
--- /dev/null
+++ b/doc/kcontrol/performance/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_create_handbook( DESTINATION kcontrol/performance )
diff --git a/doc/kcontrol/proxy/CMakeLists.txt b/doc/kcontrol/proxy/CMakeLists.txt
new file mode 100644
index 000000000..261d516e0
--- /dev/null
+++ b/doc/kcontrol/proxy/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_create_handbook( DESTINATION kcontrol/proxy )
diff --git a/doc/kcontrol/screensaver/CMakeLists.txt b/doc/kcontrol/screensaver/CMakeLists.txt
new file mode 100644
index 000000000..140ae6a1d
--- /dev/null
+++ b/doc/kcontrol/screensaver/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_create_handbook( DESTINATION kcontrol/screensaver )
diff --git a/doc/kcontrol/smb/CMakeLists.txt b/doc/kcontrol/smb/CMakeLists.txt
new file mode 100644
index 000000000..ea221f7b7
--- /dev/null
+++ b/doc/kcontrol/smb/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_create_handbook( DESTINATION kcontrol/smb )
diff --git a/doc/kcontrol/spellchecking/CMakeLists.txt b/doc/kcontrol/spellchecking/CMakeLists.txt
new file mode 100644
index 000000000..af38913c8
--- /dev/null
+++ b/doc/kcontrol/spellchecking/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_create_handbook( DESTINATION kcontrol/spellchecking )
diff --git a/doc/kcontrol/useragent/CMakeLists.txt b/doc/kcontrol/useragent/CMakeLists.txt
new file mode 100644
index 000000000..7a325cd12
--- /dev/null
+++ b/doc/kcontrol/useragent/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_create_handbook( DESTINATION kcontrol/useragent )
diff --git a/doc/kcontrol/windowmanagement/CMakeLists.txt b/doc/kcontrol/windowmanagement/CMakeLists.txt
new file mode 100644
index 000000000..856b2b475
--- /dev/null
+++ b/doc/kcontrol/windowmanagement/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_create_handbook( DESTINATION kcontrol/windowmanagement )
diff --git a/doc/kdcop/CMakeLists.txt b/doc/kdcop/CMakeLists.txt
new file mode 100644
index 000000000..02dbe501d
--- /dev/null
+++ b/doc/kdcop/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_create_handbook( DESTINATION kdcop )
diff --git a/doc/kdebugdialog/CMakeLists.txt b/doc/kdebugdialog/CMakeLists.txt
new file mode 100644
index 000000000..3f3ce3cf2
--- /dev/null
+++ b/doc/kdebugdialog/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_create_handbook( DESTINATION kdebugdialog )
diff --git a/doc/kdeprint/CMakeLists.txt b/doc/kdeprint/CMakeLists.txt
new file mode 100644
index 000000000..30f7f022c
--- /dev/null
+++ b/doc/kdeprint/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_create_handbook( DESTINATION kdeprint )
diff --git a/doc/kdesu/CMakeLists.txt b/doc/kdesu/CMakeLists.txt
new file mode 100644
index 000000000..e0a216477
--- /dev/null
+++ b/doc/kdesu/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_create_handbook( DESTINATION kdesu )
diff --git a/doc/kdm/CMakeLists.txt b/doc/kdm/CMakeLists.txt
new file mode 100644
index 000000000..fe876f955
--- /dev/null
+++ b/doc/kdm/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_create_handbook( DESTINATION kdm )
diff --git a/doc/kfind/CMakeLists.txt b/doc/kfind/CMakeLists.txt
new file mode 100644
index 000000000..e76443e3b
--- /dev/null
+++ b/doc/kfind/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_create_handbook( DESTINATION kfind )
diff --git a/doc/khelpcenter/CMakeLists.txt b/doc/khelpcenter/CMakeLists.txt
new file mode 100644
index 000000000..279f09d4d
--- /dev/null
+++ b/doc/khelpcenter/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_create_handbook( DESTINATION khelpcenter )
diff --git a/doc/kicker/CMakeLists.txt b/doc/kicker/CMakeLists.txt
new file mode 100644
index 000000000..30b2b313d
--- /dev/null
+++ b/doc/kicker/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_create_handbook( DESTINATION kicker )
diff --git a/doc/kinfocenter/CMakeLists.txt b/doc/kinfocenter/CMakeLists.txt
new file mode 100644
index 000000000..86c913fc5
--- /dev/null
+++ b/doc/kinfocenter/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_auto_add_subdirectories()
+tde_create_handbook( DESTINATION kinfocenter )
diff --git a/doc/kinfocenter/cdinfo/CMakeLists.txt b/doc/kinfocenter/cdinfo/CMakeLists.txt
new file mode 100644
index 000000000..b71abcb30
--- /dev/null
+++ b/doc/kinfocenter/cdinfo/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_create_handbook( DESTINATION kinfocenter/cdinfo )
diff --git a/doc/kinfocenter/devices/CMakeLists.txt b/doc/kinfocenter/devices/CMakeLists.txt
new file mode 100644
index 000000000..431a528fb
--- /dev/null
+++ b/doc/kinfocenter/devices/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_create_handbook( DESTINATION kinfocenter/devices )
diff --git a/doc/kinfocenter/dma/CMakeLists.txt b/doc/kinfocenter/dma/CMakeLists.txt
new file mode 100644
index 000000000..461ab9da5
--- /dev/null
+++ b/doc/kinfocenter/dma/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_create_handbook( DESTINATION kinfocenter/dma )
diff --git a/doc/kinfocenter/interrupts/CMakeLists.txt b/doc/kinfocenter/interrupts/CMakeLists.txt
new file mode 100644
index 000000000..e6dbfb37d
--- /dev/null
+++ b/doc/kinfocenter/interrupts/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_create_handbook( DESTINATION kinfocenter/interrupts )
diff --git a/doc/kinfocenter/ioports/CMakeLists.txt b/doc/kinfocenter/ioports/CMakeLists.txt
new file mode 100644
index 000000000..87a473a9b
--- /dev/null
+++ b/doc/kinfocenter/ioports/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_create_handbook( DESTINATION kinfocenter/ioports )
diff --git a/doc/kinfocenter/memory/CMakeLists.txt b/doc/kinfocenter/memory/CMakeLists.txt
new file mode 100644
index 000000000..e463d2465
--- /dev/null
+++ b/doc/kinfocenter/memory/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_create_handbook( DESTINATION kinfocenter/memory )
diff --git a/doc/kinfocenter/nics/CMakeLists.txt b/doc/kinfocenter/nics/CMakeLists.txt
new file mode 100644
index 000000000..fe31da6a2
--- /dev/null
+++ b/doc/kinfocenter/nics/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_create_handbook( DESTINATION kinfocenter/nics )
diff --git a/doc/kinfocenter/opengl/CMakeLists.txt b/doc/kinfocenter/opengl/CMakeLists.txt
new file mode 100644
index 000000000..8639752af
--- /dev/null
+++ b/doc/kinfocenter/opengl/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_create_handbook( DESTINATION kinfocenter/opengl )
diff --git a/doc/kinfocenter/partitions/CMakeLists.txt b/doc/kinfocenter/partitions/CMakeLists.txt
new file mode 100644
index 000000000..1b92782a3
--- /dev/null
+++ b/doc/kinfocenter/partitions/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_create_handbook( DESTINATION kinfocenter/partitions )
diff --git a/doc/kinfocenter/pci/CMakeLists.txt b/doc/kinfocenter/pci/CMakeLists.txt
new file mode 100644
index 000000000..5d385dcd8
--- /dev/null
+++ b/doc/kinfocenter/pci/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_create_handbook( DESTINATION kinfocenter/pci )
diff --git a/doc/kinfocenter/pcmcia/CMakeLists.txt b/doc/kinfocenter/pcmcia/CMakeLists.txt
new file mode 100644
index 000000000..06dbc8042
--- /dev/null
+++ b/doc/kinfocenter/pcmcia/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_create_handbook( DESTINATION kinfocenter/pcmcia )
diff --git a/doc/kinfocenter/processor/CMakeLists.txt b/doc/kinfocenter/processor/CMakeLists.txt
new file mode 100644
index 000000000..ee5d49a1c
--- /dev/null
+++ b/doc/kinfocenter/processor/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_create_handbook( DESTINATION kinfocenter/processor )
diff --git a/doc/kinfocenter/protocols/CMakeLists.txt b/doc/kinfocenter/protocols/CMakeLists.txt
new file mode 100644
index 000000000..66598bfdb
--- /dev/null
+++ b/doc/kinfocenter/protocols/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_create_handbook( DESTINATION kinfocenter/protocols )
diff --git a/doc/kinfocenter/samba/CMakeLists.txt b/doc/kinfocenter/samba/CMakeLists.txt
new file mode 100644
index 000000000..d59797e2a
--- /dev/null
+++ b/doc/kinfocenter/samba/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_create_handbook( DESTINATION kinfocenter/samba )
diff --git a/doc/kinfocenter/scsi/CMakeLists.txt b/doc/kinfocenter/scsi/CMakeLists.txt
new file mode 100644
index 000000000..26f891384
--- /dev/null
+++ b/doc/kinfocenter/scsi/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_create_handbook( DESTINATION kinfocenter/scsi)
diff --git a/doc/kinfocenter/sound/CMakeLists.txt b/doc/kinfocenter/sound/CMakeLists.txt
new file mode 100644
index 000000000..dfafb5077
--- /dev/null
+++ b/doc/kinfocenter/sound/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_create_handbook( DESTINATION kinfocenter/sound )
diff --git a/doc/kinfocenter/usb/CMakeLists.txt b/doc/kinfocenter/usb/CMakeLists.txt
new file mode 100644
index 000000000..46f483e51
--- /dev/null
+++ b/doc/kinfocenter/usb/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_create_handbook( DESTINATION kinfocenter/usb )
diff --git a/doc/kinfocenter/xserver/CMakeLists.txt b/doc/kinfocenter/xserver/CMakeLists.txt
new file mode 100644
index 000000000..5636eeba7
--- /dev/null
+++ b/doc/kinfocenter/xserver/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_create_handbook( DESTINATION kinfocenter/xserver )
diff --git a/doc/kioslave/CMakeLists.txt b/doc/kioslave/CMakeLists.txt
new file mode 100644
index 000000000..da80330c8
--- /dev/null
+++ b/doc/kioslave/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_create_handbook( DESTINATION kioslave )
diff --git a/doc/klipper/CMakeLists.txt b/doc/klipper/CMakeLists.txt
new file mode 100644
index 000000000..9a7de49eb
--- /dev/null
+++ b/doc/klipper/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_create_handbook( DESTINATION klipper )
diff --git a/doc/kmenuedit/CMakeLists.txt b/doc/kmenuedit/CMakeLists.txt
new file mode 100644
index 000000000..02d9edf04
--- /dev/null
+++ b/doc/kmenuedit/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_create_handbook( DESTINATION kmenuedit )
diff --git a/doc/knetattach/CMakeLists.txt b/doc/knetattach/CMakeLists.txt
new file mode 100644
index 000000000..6e8850bd3
--- /dev/null
+++ b/doc/knetattach/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_create_handbook( DESTINATION knetattach )
diff --git a/doc/kompmgr/CMakeLists.txt b/doc/kompmgr/CMakeLists.txt
new file mode 100644
index 000000000..975b7f83a
--- /dev/null
+++ b/doc/kompmgr/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_create_handbook( DESTINATION kompmgr )
diff --git a/doc/konqueror/CMakeLists.txt b/doc/konqueror/CMakeLists.txt
new file mode 100644
index 000000000..f0fff7db1
--- /dev/null
+++ b/doc/konqueror/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_create_handbook( DESTINATION konqueror )
diff --git a/doc/konsole/CMakeLists.txt b/doc/konsole/CMakeLists.txt
new file mode 100644
index 000000000..383895c35
--- /dev/null
+++ b/doc/konsole/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_create_handbook( DESTINATION konsole )
diff --git a/doc/kpager/CMakeLists.txt b/doc/kpager/CMakeLists.txt
new file mode 100644
index 000000000..91d9613b3
--- /dev/null
+++ b/doc/kpager/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_create_handbook( DESTINATION kpager )
diff --git a/doc/ksplashml/CMakeLists.txt b/doc/ksplashml/CMakeLists.txt
new file mode 100644
index 000000000..81d2f5f66
--- /dev/null
+++ b/doc/ksplashml/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_create_handbook( DESTINATION ksplashml )
diff --git a/doc/ksysguard/CMakeLists.txt b/doc/ksysguard/CMakeLists.txt
new file mode 100644
index 000000000..f27bd647a
--- /dev/null
+++ b/doc/ksysguard/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_create_handbook( DESTINATION ksysguard )
diff --git a/doc/kwrite/CMakeLists.txt b/doc/kwrite/CMakeLists.txt
new file mode 100644
index 000000000..6869aff27
--- /dev/null
+++ b/doc/kwrite/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_create_handbook( DESTINATION kwrite )
diff --git a/doc/kxkb/CMakeLists.txt b/doc/kxkb/CMakeLists.txt
new file mode 100644
index 000000000..0f9611a54
--- /dev/null
+++ b/doc/kxkb/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_create_handbook( DESTINATION kxkb )
diff --git a/doc/quickstart/CMakeLists.txt b/doc/quickstart/CMakeLists.txt
new file mode 100644
index 000000000..08642e12d
--- /dev/null
+++ b/doc/quickstart/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_create_handbook( DESTINATION quickstart )
diff --git a/doc/userguide/CMakeLists.txt b/doc/userguide/CMakeLists.txt
new file mode 100644
index 000000000..6faf345fe
--- /dev/null
+++ b/doc/userguide/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_create_handbook( DESTINATION userguide )
diff --git a/doc/visualdict/CMakeLists.txt b/doc/visualdict/CMakeLists.txt
new file mode 100644
index 000000000..7b79e955c
--- /dev/null
+++ b/doc/visualdict/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_create_handbook( DESTINATION visualdict )
diff --git a/drkonqi/CMakeLists.txt b/drkonqi/CMakeLists.txt
new file mode 100644
index 000000000..3fa8f67f0
--- /dev/null
+++ b/drkonqi/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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( presets )
+add_subdirectory( pics )
+add_subdirectory( debuggers )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### drkonqi (executable) ######################
+
+tde_add_executable( drkonqi AUTOMOC
+ SOURCES
+ krashdcopinterface.skel main.cpp debugger.cpp
+ krashconf.cpp drbugreport.cpp backtrace.cpp toplevel.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/drkonqi/debuggers/CMakeLists.txt b/drkonqi/debuggers/CMakeLists.txt
new file mode 100644
index 000000000..199d57ec0
--- /dev/null
+++ b/drkonqi/debuggers/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 gdbrc DESTINATION ${DATA_INSTALL_DIR}/drkonqi/debuggers )
diff --git a/drkonqi/pics/CMakeLists.txt b/drkonqi/pics/CMakeLists.txt
new file mode 100644
index 000000000..6a8789110
--- /dev/null
+++ b/drkonqi/pics/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 konqi.png DESTINATION ${DATA_INSTALL_DIR}/drkonqi/pics )
diff --git a/drkonqi/presets/CMakeLists.txt b/drkonqi/presets/CMakeLists.txt
new file mode 100644
index 000000000..335f95c72
--- /dev/null
+++ b/drkonqi/presets/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 enduserrc developerrc DESTINATION ${DATA_INSTALL_DIR}/drkonqi/presets )
diff --git a/kappfinder/CMakeLists.txt b/kappfinder/CMakeLists.txt
new file mode 100644
index 000000000..52d002960
--- /dev/null
+++ b/kappfinder/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (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( apps )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kappfinder )
+install( FILES kappfinder.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/System RENAME kappfinder.desktop )
+
+
+##### kappfinder (executable) ###################
+
+tde_add_executable( kappfinder AUTOMOC
+ SOURCES main.cpp toplevel.cpp common.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kappfinder_install (executable) ###########
+
+tde_add_executable( kappfinder_install AUTOMOC
+ SOURCES main_install.cpp common.cpp
+ LINK kdeui-shared
+)
diff --git a/kappfinder/apps/CMakeLists.txt b/kappfinder/apps/CMakeLists.txt
new file mode 100644
index 000000000..0b154cc1a
--- /dev/null
+++ b/kappfinder/apps/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (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( Internet )
+add_subdirectory( Development )
+add_subdirectory( Graphics )
+add_subdirectory( System )
+add_subdirectory( Utilities )
+add_subdirectory( Office )
+add_subdirectory( Multimedia )
+add_subdirectory( Games )
diff --git a/kappfinder/apps/Development/CMakeLists.txt b/kappfinder/apps/Development/CMakeLists.txt
new file mode 100644
index 000000000..45f03b746
--- /dev/null
+++ b/kappfinder/apps/Development/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
+#
+#################################################
+
+install( FILES
+ assistant.desktop dlgedit.desktop ddd.desktop
+ designer.desktop linguist.desktop Forte.desktop
+ j2mewtk.desktop pose.desktop eclipse.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Development )
diff --git a/kappfinder/apps/Games/Arcade/CMakeLists.txt b/kappfinder/apps/Games/Arcade/CMakeLists.txt
new file mode 100644
index 000000000..b5b428483
--- /dev/null
+++ b/kappfinder/apps/Games/Arcade/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
+ TuxRacer.desktop ClanBomber.desktop Gnibbles.desktop
+ rocksndiamonds.desktop GnobotsII.desktop SuperMethaneBrothers.desktop
+ XKobo.desktop cxhextris.desktop Mures.desktop Trophy.desktop
+ XSoldier.desktop alephone.desktop alephone-nogl.desktop FrozenBubble.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Arcade )
diff --git a/kappfinder/apps/Games/Board/CMakeLists.txt b/kappfinder/apps/Games/Board/CMakeLists.txt
new file mode 100644
index 000000000..3bcb8bcdc
--- /dev/null
+++ b/kappfinder/apps/Games/Board/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
+ xboard.desktop Glines.desktop Gnotravex.desktop
+ Iagno.desktop Xgammon.desktop SameGnome.desktop
+ Gataxx.desktop Gmahjongg.desktop Gnotski.desktop
+ Gchess.desktop Gmines.desktop Gstones.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Board )
diff --git a/kappfinder/apps/Games/CMakeLists.txt b/kappfinder/apps/Games/CMakeLists.txt
new file mode 100644
index 000000000..2748ff808
--- /dev/null
+++ b/kappfinder/apps/Games/CMakeLists.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (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( Arcade )
+add_subdirectory( Board )
+add_subdirectory( Card )
+add_subdirectory( Emulators )
+add_subdirectory( TacticStrategy )
+add_subdirectory( Roguelikes )
+add_subdirectory( Toys )
+
+install( FILES
+ penguin-command.desktop xshipwars.desktop
+ Clanbomber.desktop defendguin.desktop GTali.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games )
diff --git a/kappfinder/apps/Games/Card/CMakeLists.txt b/kappfinder/apps/Games/Card/CMakeLists.txt
new file mode 100644
index 000000000..2facb67f6
--- /dev/null
+++ b/kappfinder/apps/Games/Card/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
+ PySol.desktop AisleRiot.desktop FreeCell.desktop XPat2.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Card )
diff --git a/kappfinder/apps/Games/Emulators/CMakeLists.txt b/kappfinder/apps/Games/Emulators/CMakeLists.txt
new file mode 100644
index 000000000..4bd531aee
--- /dev/null
+++ b/kappfinder/apps/Games/Emulators/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
+ qmamecat.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Emulators )
diff --git a/kappfinder/apps/Games/Roguelikes/CMakeLists.txt b/kappfinder/apps/Games/Roguelikes/CMakeLists.txt
new file mode 100644
index 000000000..2262eb1b8
--- /dev/null
+++ b/kappfinder/apps/Games/Roguelikes/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
+ angband.desktop moria.desktop nethack.desktop
+ tome.desktop rogue.desktop zangband.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Roguelikes )
diff --git a/kappfinder/apps/Games/TacticStrategy/CMakeLists.txt b/kappfinder/apps/Games/TacticStrategy/CMakeLists.txt
new file mode 100644
index 000000000..ee3635366
--- /dev/null
+++ b/kappfinder/apps/Games/TacticStrategy/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
+ freeciv.desktop freecivserver.desktop xscorch.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/TacticStrategy )
diff --git a/kappfinder/apps/Games/Toys/CMakeLists.txt b/kappfinder/apps/Games/Toys/CMakeLists.txt
new file mode 100644
index 000000000..5b3849a0f
--- /dev/null
+++ b/kappfinder/apps/Games/Toys/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
+ xpinguin.desktop xeyes.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Toys )
diff --git a/kappfinder/apps/Graphics/CMakeLists.txt b/kappfinder/apps/Graphics/CMakeLists.txt
new file mode 100644
index 000000000..63ff1ad03
--- /dev/null
+++ b/kappfinder/apps/Graphics/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (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
+ gimp.desktop xpaint.desktop xv.desktop
+ GnomeIconEditor.desktop Xpcd.desktop Xwpick.desktop
+ xfig.desktop Sketch.desktop Gqview.desktop GPhoto.desktop
+ GnomeColorSelector.desktop ElectricEyes.desktop bitmap.desktop
+ tgif.desktop ghostview.desktop gv.desktop xdvi.desktop
+ sodipodi.desktop blender.desktop inkscape.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Graphics )
diff --git a/kappfinder/apps/Internet/CMakeLists.txt b/kappfinder/apps/Internet/CMakeLists.txt
new file mode 100644
index 000000000..9e98bee76
--- /dev/null
+++ b/kappfinder/apps/Internet/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
+#
+#################################################
+
+add_subdirectory( Terminal )
+
+install( FILES
+ arena.desktop netscape.desktop xftp.desktop
+ coolmail.desktop xfmail.desktop xbiff.desktop
+ xchat.desktop ethereal.desktop licq.desktop mozilla.desktop
+ BlueFish.desktop Dpsftp.desktop DrakSync.desktop Evolution.desktop
+ Faces.desktop Fetchmailconf.desktop Gabber.desktop
+ Galeon.desktop gFTP.desktop GnomeICU.desktop gnometalk.desktop gtelnet.desktop
+ Netscapemessenger.desktop Nmapfe.desktop Pan.desktop
+ Sylpheed.desktop knews.desktop netscape6.desktop opera.desktop
+ gnomemeeting.desktop balsa.desktop dc_gui.desktop ed2k_gui.desktop
+ ickle.desktop mldonkey_gui.desktop btdownloadgui.desktop epiphany.desktop
+ gaim.desktop mozilla-thunderbird.desktop mozilla-firefox.desktop
+ javaws.desktop wireshark.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Internet )
diff --git a/kappfinder/apps/Internet/Terminal/CMakeLists.txt b/kappfinder/apps/Internet/Terminal/CMakeLists.txt
new file mode 100644
index 000000000..f33d3f5b9
--- /dev/null
+++ b/kappfinder/apps/Internet/Terminal/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
+#
+#################################################
+
+install( FILES
+ mutt.desktop ncftp.desktop pine.desktop lftp.desktop
+ Links.desktop Lynx.desktop w3m.desktop slrn.desktop
+ silc.desktop btdownloadcurses.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Internet/Terminal )
diff --git a/kappfinder/apps/Multimedia/CMakeLists.txt b/kappfinder/apps/Multimedia/CMakeLists.txt
new file mode 100644
index 000000000..bea1eba7b
--- /dev/null
+++ b/kappfinder/apps/Multimedia/CMakeLists.txt
@@ -0,0 +1,21 @@
+#################################################
+#
+# (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
+ alevt.desktop alsamixergui.desktop audacity.desktop
+ Aumix.desktop aviplay.desktop bcast2000.desktop
+ enjoympeg.desktop Grip.desktop gtv.desktop jazz.desktop
+ MP3info.desktop mplayer.desktop mtv.desktop ogle.desktop
+ oqtplayer.desktop realplayer.desktop rezound.desktop
+ slab.desktop sweep.desktop xawtv.desktop xcam.desktop
+ xine.desktop xmms.desktop xmms-enqueue.desktop
+ XMovie.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia )
diff --git a/kappfinder/apps/Office/CMakeLists.txt b/kappfinder/apps/Office/CMakeLists.txt
new file mode 100644
index 000000000..a7ee15f99
--- /dev/null
+++ b/kappfinder/apps/Office/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
+#
+#################################################
+
+install( FILES
+ Applix.desktop XAcc.desktop XsLite.desktop plan.desktop
+ abiword.desktop Dia.desktop Gnome-Cal.desktop
+ Gnome-Card.desktop GnomeTimeTracker.desktop Gnumeric.desktop
+ Guppi.desktop Ical.desktop lyx.desktop netscapeaddressbook.desktop
+ scribus.desktop pybliographic.desktop xpdf.desktop
+ acroread.desktop WordPerfect.desktop WordPerfect2000.desktop
+ mrproject.desktop gnucash.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Office )
diff --git a/kappfinder/apps/System/CMakeLists.txt b/kappfinder/apps/System/CMakeLists.txt
new file mode 100644
index 000000000..baae9f34b
--- /dev/null
+++ b/kappfinder/apps/System/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( Terminal )
+
+install( FILES
+ sam.desktop xosview.desktop editres.desktop wine.desktop
+ citrix_ica.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/System )
diff --git a/kappfinder/apps/System/Terminal/CMakeLists.txt b/kappfinder/apps/System/Terminal/CMakeLists.txt
new file mode 100644
index 000000000..b0c9d5552
--- /dev/null
+++ b/kappfinder/apps/System/Terminal/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
+ procinfo.desktop vmstat.desktop aterm.desktop rxvt.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/System/Terminal )
diff --git a/kappfinder/apps/Utilities/CMakeLists.txt b/kappfinder/apps/Utilities/CMakeLists.txt
new file mode 100644
index 000000000..044c859fb
--- /dev/null
+++ b/kappfinder/apps/Utilities/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (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( Editors )
+add_subdirectory( xutils )
+
+install( FILES
+ GnomeWho.desktop SystemInfo.desktop SystemLogViewer.desktop
+ calctool.desktop e-notes.desktop oclock.desktop GKrellM.desktop
+ xgnokii.desktop
+ DESTINATION ${DATA_INSTALL_DIR} )
diff --git a/kappfinder/apps/Utilities/Editors/CMakeLists.txt b/kappfinder/apps/Utilities/Editors/CMakeLists.txt
new file mode 100644
index 000000000..ebc113c5c
--- /dev/null
+++ b/kappfinder/apps/Utilities/Editors/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
+#
+#################################################
+
+install( FILES
+ emacs.desktop gvim.desktop lemacs.desktop
+ xedit.desktop xemacs.desktop nedit.desktop
+ gedit.desktop pico.desktop nano.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Utilities/Editors )
diff --git a/kappfinder/apps/Utilities/xutils/CMakeLists.txt b/kappfinder/apps/Utilities/xutils/CMakeLists.txt
new file mode 100644
index 000000000..72ce50e7c
--- /dev/null
+++ b/kappfinder/apps/Utilities/xutils/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
+#
+#################################################
+
+install( FILES
+ xcalc.desktop xclipboard.desktop xclock.desktop
+ xconsole.desktop xterm.desktop xload.desktop xmag.desktop
+ Xkill.desktop Xrefresh.desktop Xtraceroute.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Utilities/XUtilities )
diff --git a/kate/CMakeLists.txt b/kate/CMakeLists.txt
new file mode 100644
index 000000000..e3d6d6568
--- /dev/null
+++ b/kate/CMakeLists.txt
@@ -0,0 +1,5 @@
+add_subdirectory( utils )
+add_subdirectory( interfaces )
+add_subdirectory( app )
+add_subdirectory( data )
+add_subdirectory( pics )
diff --git a/kate/app/CMakeLists.txt b/kate/app/CMakeLists.txt
new file mode 100644
index 000000000..513a37fd2
--- /dev/null
+++ b/kate/app/CMakeLists.txt
@@ -0,0 +1,71 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions(
+ -include tqt.h
+)
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kateinterfaces (shared lib) ###############
+
+set( target kateinterfaces )
+
+set( ${target}_SRCS
+ kateapp.cpp kateconfigdialog.cpp kateconfigplugindialogpage.cpp
+ kateconsole.cpp katedocmanager.cpp katefilelist.cpp
+ katefileselector.cpp katemainwindow.cpp katepluginmanager.cpp
+ kateviewmanager.cpp kateviewspace.cpp katemainwindowiface.skel
+ katemainwindowiface.cpp kategrepdialog.cpp katemailfilesdialog.cpp
+ kbookmarkhandler.cpp katedocmanageriface.skel kateappIface.cpp
+ kateappIface.skel katedocmanageriface.cpp kateexternaltools.cpp
+ katesavemodifieddialog.cpp kateviewspacecontainer.cpp
+ katemwmodonhddialog.cpp katesession.cpp katemdi.cpp
+ katetabwidget.cpp
+)
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 0.0.0
+ EMBED kateinterfacesprivate-static
+ LINK kutils-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### kate (kdeinit) ############################
+
+set( target kate )
+
+tde_add_kdeinit_executable( ${target}
+ SOURCES katemain.cpp
+ LINK kateinterfaces-shared
+)
+
+
+##### kwrite (kdeinit) ##########################
+
+set( target kwrite )
+
+tde_add_kdeinit_executable( ${target} AUTOMOC
+ SOURCES kwritemain.cpp
+ LINK kateinterfaces-shared katepartinterfaces-shared
+)
diff --git a/kate/data/CMakeLists.txt b/kate/data/CMakeLists.txt
new file mode 100644
index 000000000..fb4b28d03
--- /dev/null
+++ b/kate/data/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES kateplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+install( FILES kate.desktop kwrite.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kateui.rc externaltools tips DESTINATION ${DATA_INSTALL_DIR}/kate )
+install( FILES kwriteui.rc DESTINATION ${DATA_INSTALL_DIR}/kwrite )
+install( FILES kate-2.4.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+install( FILES katerc DESTINATION ${CONFIG_INSTALL_DIR} )
diff --git a/kate/interfaces/CMakeLists.txt b/kate/interfaces/CMakeLists.txt
new file mode 100644
index 000000000..eb7577394
--- /dev/null
+++ b/kate/interfaces/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### headers ###################################
+
+install( FILES
+ application.h documentmanager.h mainwindow.h
+ plugin.h viewmanager.h pluginconfiginterface.h
+ pluginconfiginterfaceextension.h toolviewmanager.h
+ pluginmanager.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kate )
+
+
+##### kateinterfacesprivate (static lib) ########
+
+set( target kateinterfacesprivate )
+
+set( ${target}_SRCS
+ application.cpp mainwindow.cpp documentmanager.cpp
+ viewmanager.cpp toolviewmanager.cpp pluginmanager.cpp
+ plugin.cpp pluginconfiginterface.cpp
+ pluginconfiginterfaceextension.cpp
+)
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK katepartinterfaces-shared
+)
diff --git a/kate/pics/CMakeLists.txt b/kate/pics/CMakeLists.txt
new file mode 100644
index 000000000..ba4693ba2
--- /dev/null
+++ b/kate/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
+#
+#################################################
+
+add_subdirectory( actions )
+
+tde_install_icons( )
+
+install( FILES sessionchooser.png DESTINATION ${DATA_INSTALL_DIR}/kate/pics )
diff --git a/kate/pics/actions/CMakeLists.txt b/kate/pics/actions/CMakeLists.txt
new file mode 100644
index 000000000..db8d4480c
--- /dev/null
+++ b/kate/pics/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( )
diff --git a/kate/utils/CMakeLists.txt b/kate/utils/CMakeLists.txt
new file mode 100644
index 000000000..b40f77047
--- /dev/null
+++ b/kate/utils/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}
+)
+
+##### headers ###################################
+
+install( FILES
+ dockviewbase.h messageview.h listboxview.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kate/utils )
+
+
+##### kateutils (shared lib) ####################
+
+set( target kateutils )
+
+set( ${target}_SRCS
+ dockviewbase.cpp messageview.cpp listboxview.cpp )
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 0.0.0
+ LINK kdeui-shared
+ DESTINATION ${LIB_INSTALL_DIR} )
diff --git a/kcheckpass/CMakeLists.txt b/kcheckpass/CMakeLists.txt
new file mode 100644
index 000000000..72df22f75
--- /dev/null
+++ b/kcheckpass/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( ConfigureChecks.cmake )
+
+if( HAVE_PAM )
+ add_definitions( -DHAVE_PAM )
+endif( )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+)
+
+
+##### kcheckpass (executable) ###################
+
+tde_add_executable( kcheckpass AUTOMOC
+ SOURCES
+ kcheckpass.c checkpass_etcpasswd.c checkpass_pam.c
+ checkpass_shadow.c checkpass_osfc2passwd.c checkpass_aix.c
+ LINK kdefakes-shared ${CRYPT_LIBRARY} ${PAM_LIBRARY}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+install( CODE "execute_process( COMMAND chown 0 \$ENV{DESTDIR}${_destination}/kcheckpass )" )
+install( CODE "execute_process( COMMAND chmod 4755 \$ENV{DESTDIR}${_destination}/kcheckpass )" )
diff --git a/kcheckpass/ConfigureChecks.cmake b/kcheckpass/ConfigureChecks.cmake
new file mode 100644
index 000000000..120869dac
--- /dev/null
+++ b/kcheckpass/ConfigureChecks.cmake
@@ -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
+#
+#################################################
+
+find_library( CRYPT_LIBRARY crypt )
+
+if( WITH_PAM AND (NOT DEFINED KCHECKPASS_PAM_SERVICE) )
+ set( KCHECKPASS_PAM_SERVICE "kde" CACHE INTERNAL "" )
+endif( )
diff --git a/kcminit/CMakeLists.txt b/kcminit/CMakeLists.txt
new file mode 100644
index 000000000..b18a551c7
--- /dev/null
+++ b/kcminit/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kcminit (kdeinit) #########################
+
+tde_add_kdeinit_executable( kcminit AUTOMOC
+ SOURCES main.cpp main.skel
+ LINK kutils-shared
+)
+
+
+##### kcminit_startup (kdeinit) #################
+
+tde_add_kdeinit_executable( kcminit_startup AUTOMOC
+ SOURCES main.cpp main.skel
+ LINK kutils-shared
+)
diff --git a/kcontrol/CMakeLists.txt b/kcontrol/CMakeLists.txt
new file mode 100644
index 000000000..9362653f2
--- /dev/null
+++ b/kcontrol/CMakeLists.txt
@@ -0,0 +1,82 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME smartcard is not ported
+
+if( BUILD_KCONTROL OR BUILD_KDESKTOP OR BUILD_KDM )
+
+ add_subdirectory( background )
+
+endif( )
+
+
+if( BUILD_KCONTROL )
+
+ include( ConfigureChecks.cmake )
+
+ add_subdirectory( kcontrol )
+ add_subdirectory( pics )
+ add_subdirectory( bell )
+ add_subdirectory( dnssd )
+ add_subdirectory( filetypes )
+ # add_subdirectory( samba )
+ add_subdirectory( krdb )
+ add_subdirectory( input )
+ add_subdirectory( kicker )
+ add_subdirectory( info )
+ add_subdirectory( ioslaveinfo )
+ add_subdirectory( locale )
+ add_subdirectory( clock )
+ add_subdirectory( kded )
+ add_subdirectory( launch )
+ add_subdirectory( keys )
+ add_subdirectory( kdm )
+ add_subdirectory( kio )
+ add_subdirectory( konq )
+ add_subdirectory( style )
+ add_subdirectory( konqhtml )
+ add_subdirectory( ebrowsing )
+ add_subdirectory( arts )
+ add_subdirectory( knotify )
+ add_subdirectory( colors )
+ add_subdirectory( fonts )
+ add_subdirectory( energy )
+ add_subdirectory( css )
+ add_subdirectory( icons )
+ add_subdirectory( screensaver )
+ add_subdirectory( taskbar )
+ add_subdirectory( crypto )
+ add_subdirectory( privacy )
+ add_subdirectory( smserver )
+ add_subdirectory( konsole )
+ add_subdirectory( spellchecking )
+ add_subdirectory( componentchooser )
+ add_subdirectory( nics )
+ add_subdirectory( performance )
+ add_subdirectory( xinerama )
+ add_subdirectory( display )
+ add_subdirectory( kthememanager )
+ add_subdirectory( kfontinst )
+ add_subdirectory( access )
+
+ tde_conditional_add_subdirectory( WITH_XRANDR randr )
+ tde_conditional_add_subdirectory( WITH_LIBRAW1394 view1394 )
+
+ if( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
+ add_subdirectory( iccconfig )
+ add_subdirectory( joystick )
+ endif( )
+
+ if( ${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD" )
+ add_subdirectory( usbview )
+ endif( )
+
+endif( )
diff --git a/kcontrol/ConfigureChecks.cmake b/kcontrol/ConfigureChecks.cmake
new file mode 100644
index 000000000..1ff4f0635
--- /dev/null
+++ b/kcontrol/ConfigureChecks.cmake
@@ -0,0 +1,87 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+
+##### getopt.h ##################################
+
+check_include_file( getopt.h HAVE_GETOPT_H )
+
+
+##### check for freetype2 #######################
+
+pkg_search_module( FREETYPE freetype2 )
+if( FREETYPE_FOUND )
+ set( HAVE_FREETYPE2 1 CACHE INTERNAL "" FORCE )
+else( )
+ tde_message_fatal( "freetype2 are required, but not found on your system" )
+endif( )
+
+
+##### check for fontconfig ######################
+
+pkg_search_module( FONTCONFIG fontconfig )
+if( FONTCONFIG_FOUND )
+ set( HAVE_FONTCONFIG 1 CACHE INTERNAL "" FORCE )
+else( )
+ tde_message_fatal( "fontconfig are required, but not found on your system" )
+endif( )
+
+
+##### check for xft #############################
+
+pkg_search_module( XFT xft )
+if( XFT_FOUND )
+ set( HAVE_XFT 1 CACHE INTERNAL "" FORCE )
+else( )
+ tde_message_fatal( "xft are required, but not found on your system" )
+endif( )
+
+
+##### check for Xrandr ##########################
+
+if( WITH_XRANDR )
+ pkg_search_module( XRANDR xrandr )
+ if( NOT XRANDR_FOUND )
+ tde_message_fatal( "xrandr are requested, but not found on your system" )
+ endif( )
+endif( )
+
+
+##### check for libusb ##########################
+
+if( WITH_LIBUSB )
+ pkg_search_module( LIBUSB libusb )
+ if( LIBUSB_FOUND )
+ set( HAVE_LIBUSB 1 CACHE INTERNAL "" FORCE )
+ else( )
+ tde_message_fatal( "libusb are requested, but not found on your system" )
+ endif( )
+endif( )
+
+
+##### check for libraw1394 ######################
+
+if( WITH_LIBRAW1394 )
+ pkg_search_module( LIBRAW1394 libraw1394 )
+ if( NOT LIBRAW1394_FOUND )
+ tde_message_fatal( "libraw1394 are requested, but not found on your system" )
+ endif( )
+endif( )
+
+
+##### check for fontenc #########################
+
+# fontenc seems unused in sources
+
+# pkg_search_module( FONTENC fontenc )
+# if( FONTENC_FOUND )
+# set( HAVE_FONT_ENC 1 CACHE INTERNAL "" FORCE )
+# endif( )
diff --git a/kcontrol/access/CMakeLists.txt b/kcontrol/access/CMakeLists.txt
new file mode 100644
index 000000000..bbd9ed9c0
--- /dev/null
+++ b/kcontrol/access/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kcmaccess.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kaccess.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kaccess )
+
+
+##### kcm_access (module) #######################
+
+tde_add_kpart( kcm_access AUTOMOC
+ SOURCES kcmaccess.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kaccess (kdeinit) #########################
+
+tde_add_kdeinit_executable( kaccess AUTOMOC
+ SOURCES kaccess.cpp main.cpp
+ LINK kdeui-shared
+)
diff --git a/kcontrol/arts/CMakeLists.txt b/kcontrol/arts/CMakeLists.txt
new file mode 100644
index 000000000..616b62070
--- /dev/null
+++ b/kcontrol/arts/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_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES arts.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_arts (module) #########################
+
+tde_add_kpart( kcm_arts AUTOMOC
+ SOURCES arts.cpp generaltab.ui hardwaretab.ui krichtextlabel.cpp
+ LINK kio-shared kmid-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/background/CMakeLists.txt b/kcontrol/background/CMakeLists.txt
new file mode 100644
index 000000000..693d6330c
--- /dev/null
+++ b/kcontrol/background/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
+#
+#################################################
+
+if( BUILD_KCONTROL OR BUILD_KDESKTOP OR BUILD_KDM )
+
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ )
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+ )
+
+ ##### bgnd (static) #############################
+
+ tde_add_library( bgnd STATIC_PIC AUTOMOC
+ SOURCES bgrender.cpp bgsettings.cpp
+ )
+
+endif( )
+
+
+if( BUILD_KCONTROL )
+
+ add_subdirectory( pics )
+
+ ##### other data ################################
+
+ install( FILES background.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+ ##### kcm_background (module) ###################
+
+ tde_add_kpart( kcm_background AUTOMOC
+ SOURCES main.cpp
+ LINK kcmbgnd-static bgnd-static knewstuff-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
+
+ ##### kcmbgnd (static) ##########################
+
+ tde_add_library( kcmbgnd STATIC_PIC AUTOMOC
+ SOURCES
+ bgdialog.cpp bgdialog_ui.ui bgwallpaper_ui.ui
+ bgwallpaper.cpp bgadvanced_ui.ui bgadvanced.cpp
+ bgmonitor.cpp
+ )
+
+endif( )
diff --git a/kcontrol/background/pics/CMakeLists.txt b/kcontrol/background/pics/CMakeLists.txt
new file mode 100644
index 000000000..973a300cf
--- /dev/null
+++ b/kcontrol/background/pics/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 monitor.png DESTINATION ${DATA_INSTALL_DIR}/kcontrol/pics )
diff --git a/kcontrol/bell/CMakeLists.txt b/kcontrol/bell/CMakeLists.txt
new file mode 100644
index 000000000..f45d4ec76
--- /dev/null
+++ b/kcontrol/bell/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 bell.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_bell (module) #########################
+
+tde_add_kpart( kcm_bell AUTOMOC
+ SOURCES bell.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/clock/CMakeLists.txt b/kcontrol/clock/CMakeLists.txt
new file mode 100644
index 000000000..0be0eabd1
--- /dev/null
+++ b/kcontrol/clock/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES clock.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_clock (module) ########################
+
+tde_add_kpart( kcm_clock AUTOMOC
+ SOURCES dtime.cpp tzone.cpp main.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/colors/CMakeLists.txt b/kcontrol/colors/CMakeLists.txt
new file mode 100644
index 000000000..de87133b7
--- /dev/null
+++ b/kcontrol/colors/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES colors.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_colors (module) #######################
+
+tde_add_kpart( kcm_colors AUTOMOC
+ SOURCES colorscm.cpp widgetcanvas.cpp
+ LINK krdb-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/componentchooser/CMakeLists.txt b/kcontrol/componentchooser/CMakeLists.txt
new file mode 100644
index 000000000..0a7eef7f5
--- /dev/null
+++ b/kcontrol/componentchooser/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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( componentservices )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES componentchooser.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_componentchooser (module) #############
+
+tde_add_kpart( kcm_componentchooser AUTOMOC
+ SOURCES
+ componentchooser_ui.ui componentconfig_ui.ui
+ emailclientconfig_ui.ui terminalemulatorconfig_ui.ui
+ browserconfig_ui.ui componentchooser.cpp kcm_componentchooser.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/componentchooser/componentservices/CMakeLists.txt b/kcontrol/componentchooser/componentservices/CMakeLists.txt
new file mode 100644
index 000000000..f8da91cf5
--- /dev/null
+++ b/kcontrol/componentchooser/componentservices/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
+ kcm_kemail.desktop kcm_terminal.desktop kcm_browser.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser )
diff --git a/kcontrol/crypto/CMakeLists.txt b/kcontrol/crypto/CMakeLists.txt
new file mode 100644
index 000000000..1541c1ddb
--- /dev/null
+++ b/kcontrol/crypto/CMakeLists.txt
@@ -0,0 +1,49 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### check for openssl #########################
+
+option( WITH_SSL "Enable support for SSL" ON )
+
+if( WITH_SSL )
+ pkg_search_module( SSL openssl )
+ if( NOT SSL_FOUND )
+ tde_message_fatal( "SSL support are requested, but openssl is not found on your system" )
+ endif( NOT SSL_FOUND )
+ set( HAVE_SSL 1 CACHE INTERNAL "" FORCE )
+endif( WITH_SSL )
+
+
+##### compiler/linker settings ##################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES crypto.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_crypto (module) #######################
+
+tde_add_kpart( kcm_crypto AUTOMOC
+ SOURCES crypto.cpp certexport.cpp kdatetimedlg.cpp
+ LINK kio-shared ${SSL_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/css/CMakeLists.txt b/kcontrol/css/CMakeLists.txt
new file mode 100644
index 000000000..f5410f187
--- /dev/null
+++ b/kcontrol/css/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 kcmcss.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES template.css DESTINATION ${DATA_INSTALL_DIR}/kcmcss )
+
+
+##### kcm_css (module) ##########################
+
+tde_add_kpart( kcm_css AUTOMOC
+ SOURCES template.cpp cssconfig.ui csscustom.ui kcmcss.cpp preview.ui
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/display/CMakeLists.txt b/kcontrol/display/CMakeLists.txt
new file mode 100644
index 000000000..cef021e03
--- /dev/null
+++ b/kcontrol/display/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 display.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_display (module) ######################
+
+tde_add_kpart( kcm_display AUTOMOC
+ SOURCES display.cpp
+ LINK kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/dnssd/CMakeLists.txt b/kcontrol/dnssd/CMakeLists.txt
new file mode 100644
index 000000000..03cb8f87a
--- /dev/null
+++ b/kcontrol/dnssd/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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 kcm_kdnssd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_kdnssd (module) #######################
+
+set_source_files_properties( kcmdnssd.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" )
+
+tde_add_kpart( kcm_kdnssd AUTOMOC
+ SOURCES configdialog.ui kcmdnssd.cpp
+ LINK kdnssd-shared kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/ebrowsing/CMakeLists.txt b/kcontrol/ebrowsing/CMakeLists.txt
new file mode 100644
index 000000000..47ebb7e64
--- /dev/null
+++ b/kcontrol/ebrowsing/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
+#
+#################################################
+
+add_subdirectory( plugins )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES ebrowsing.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_kurifilt (module) #####################
+
+tde_add_kpart( kcm_kurifilt AUTOMOC
+ SOURCES filteropts.cpp main.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/ebrowsing/plugins/CMakeLists.txt b/kcontrol/ebrowsing/plugins/CMakeLists.txt
new file mode 100644
index 000000000..fb64453e1
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/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( ikws )
+add_subdirectory( shorturi )
+add_subdirectory( localdomain )
diff --git a/kcontrol/ebrowsing/plugins/ikws/CMakeLists.txt b/kcontrol/ebrowsing/plugins/ikws/CMakeLists.txt
new file mode 100644
index 000000000..b5c470483
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/ikws/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
+#
+#################################################
+
+add_subdirectory( searchproviders )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kuriikwsfilter.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( FILES kuriikwsfilter.desktop kurisearchfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES searchprovider.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### libkuriikwsfilter (module) ################
+
+tde_add_kpart( libkuriikwsfilter AUTOMOC
+ SOURCES
+ kuriikwsfiltereng.cpp kuriikwsfilter.skel
+ kuriikwsfilter.cpp searchprovider.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkurisearchfilter (module) ##############
+
+tde_add_kpart( libkurisearchfilter AUTOMOC
+ SOURCES
+ kurisearchfilter.cpp kurisearchfilter.skel
+ kuriikwsfiltereng.cpp ikwsopts.cpp searchproviderdlg.cpp
+ searchprovider.cpp searchproviderdlg_ui.ui ikwsopts_ui.ui
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+) \ No newline at end of file
diff --git a/kcontrol/ebrowsing/plugins/ikws/searchproviders/CMakeLists.txt b/kcontrol/ebrowsing/plugins/ikws/searchproviders/CMakeLists.txt
new file mode 100644
index 000000000..ae9ab5775
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/ikws/searchproviders/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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
+ acronym.desktop alexa.desktop alexa_url.desktop
+ alltheweb.desktop altavista.desktop amg.desktop
+ appsy.desktop austronaut.desktop backports.desktop
+ bugft.desktop bugno.desktop call.desktop cia.desktop
+ citeseer.desktop cpan.desktop ctan_cat.desktop
+ ctan.desktop dbug.desktop de2en.desktop de2fr.desktop
+ deb.desktop dmoz.desktop docbook.desktop doi.desktop
+ en2de.desktop en2es.desktop en2fr.desktop en2it.desktop
+ es2en.desktop excite.desktop feedster.desktop foldoc.desktop
+ fr2de.desktop fr2en.desktop freedb.desktop freshmeat.desktop
+ froogle.desktop fsd.desktop google_advanced.desktop
+ google.desktop google_groups.desktop google_images.desktop
+ google_lucky.desktop google_movie.desktop google_news.desktop
+ gracenote.desktop grec.desktop hotbot.desktop hyperdictionary.desktop
+ hyperdictionary_thesaurus.desktop imdb.desktop it2en.desktop
+ jeeves.desktop kde.desktop kde_websvn.desktop katatudo.desktop
+ leo.desktop lycos.desktop mamma.desktop metacrawler.desktop
+ msdn.desktop netcraft.desktop nl-telephone.desktop
+ nl-teletekst.desktop pgpkeys.desktop php.desktop python.desktop
+ qt.desktop qt3.desktop rae.desktop rfc.desktop rpmfind.desktop
+ ruby_application_archive.desktop seek.desktop sourceforge.desktop
+ technorati.desktop technoratitags.desktop thesaurus.desktop
+ tvtome.desktop uspto.desktop vivisimo.desktop voila.desktop
+ webster.desktop whatis.desktop wikipedia.desktop wiktionary.desktop
+ wordref.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders )
diff --git a/kcontrol/ebrowsing/plugins/localdomain/CMakeLists.txt b/kcontrol/ebrowsing/plugins/localdomain/CMakeLists.txt
new file mode 100644
index 000000000..df8d0eefa
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/localdomain/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES localdomainurifilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### liblocaldomainurifilter (module) ##########
+
+tde_add_kpart( liblocaldomainurifilter AUTOMOC
+ SOURCES localdomainurifilter.cpp localdomainurifilter.skel
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### klocaldomainurifilterhelper (executable ) #
+
+tde_add_executable( klocaldomainurifilterhelper
+ SOURCES klocaldomainurifilterhelper.c
+ LINK
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kcontrol/ebrowsing/plugins/shorturi/CMakeLists.txt b/kcontrol/ebrowsing/plugins/shorturi/CMakeLists.txt
new file mode 100644
index 000000000..c8d25b1bf
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/shorturi/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 kshorturifilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kshorturifilterrc DESTINATION ${CONFIG_INSTALL_DIR} )
+
+
+##### libkshorturifilter (module) ###############
+
+tde_add_kpart( libkshorturifilter AUTOMOC
+ SOURCES kshorturifilter.cpp kshorturifilter.skel
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/energy/CMakeLists.txt b/kcontrol/energy/CMakeLists.txt
new file mode 100644
index 000000000..ee9bf8ab0
--- /dev/null
+++ b/kcontrol/energy/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
+#
+#################################################
+
+option( WITH_DPMS "Enable DPMS power saving" ON )
+
+if( WITH_DPMS )
+
+ include( CheckCSourceCompiles )
+
+ set( CMAKE_REQUIRED_LIBRARIES Xext )
+
+ check_c_source_compiles("
+ #include <sys/types.h>
+ #include <netinet/in.h>
+ #include <arpa/nameser.h>
+ #include <resolv.h>
+ #include <X11/Xproto.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>
+ int main()
+ { return DPMSSetTimeouts( 0, 0, 0, 0 ); }"
+ HAVE_DPMS )
+
+ if( NOT HAVE_DPMS )
+ tde_message_fatal( "DPMS support are requested, but is not detected on you system.\n libXext (and its devel package) are installed?" )
+ endif()
+
+ set( XEXT_LIBRARY Xext )
+
+endif()
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES energy.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_energy (module) #######################
+
+tde_add_kpart( kcm_energy AUTOMOC
+ SOURCES energy.cpp
+ LINK kio-shared ${XEXT_LIBRARY}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/energy/pics/CMakeLists.txt b/kcontrol/energy/pics/CMakeLists.txt
new file mode 100644
index 000000000..a65779060
--- /dev/null
+++ b/kcontrol/energy/pics/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 energybig.png lo-energy.png DESTINATION ${DATA_INSTALL_DIR}/kcontrol/pics )
diff --git a/kcontrol/filetypes/CMakeLists.txt b/kcontrol/filetypes/CMakeLists.txt
new file mode 100644
index 000000000..6746f5c04
--- /dev/null
+++ b/kcontrol/filetypes/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES filetypes.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_filetypes (module) ####################
+
+tde_add_kpart( kcm_filetypes AUTOMOC
+ SOURCES control.cpp
+ LINK filetypes-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### filetypes (static) ########################
+
+tde_add_library( filetypes STATIC_PIC AUTOMOC
+ SOURCES
+ filetypesview.cpp filetypedetails.cpp filegroupdetails.cpp
+ kservicelistwidget.cpp typeslistitem.cpp newtypedlg.cpp
+ kserviceselectdlg.cpp
+)
diff --git a/kcontrol/fonts/CMakeLists.txt b/kcontrol/fonts/CMakeLists.txt
new file mode 100644
index 000000000..76a335aa9
--- /dev/null
+++ b/kcontrol/fonts/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
+#
+#################################################
+
+##### check for fontconfig ######################
+
+pkg_search_module( FONTCONFIG fontconfig )
+if( NOT FONTCONFIG_FOUND )
+ message(FATAL_ERROR "\nfontconfig are required, but not found on your system" )
+endif( NOT FONTCONFIG_FOUND )
+set( HAVE_FONTCONFIG 1 CACHE INTERNAL "" FORCE )
+
+
+##### check for freetype2 #######################
+
+pkg_search_module( FREETYPE freetype2 )
+if( NOT FREETYPE_FOUND )
+ message(FATAL_ERROR "\nfreetype2 are required, but not found on your system" )
+endif( NOT FREETYPE_FOUND )
+set( HAVE_FREETYPE2 1 CACHE INTERNAL "" FORCE )
+
+
+##### compiler/linker settings ##################
+
+add_definitions( -D_LARGEFILE64_SOURCE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${FREETYPE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES fonts.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_fonts (module) ########################
+
+tde_add_kpart( kcm_fonts AUTOMOC
+ SOURCES fonts.cpp
+ LINK kxftconfig-static krdb-static kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kxftconfig (static) #######################
+
+tde_add_library( kxftconfig STATIC_PIC
+ SOURCES kxftconfig.cpp
+)
diff --git a/kcontrol/iccconfig/CMakeLists.txt b/kcontrol/iccconfig/CMakeLists.txt
new file mode 100644
index 000000000..74f4c6c5c
--- /dev/null
+++ b/kcontrol/iccconfig/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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 iccconfig.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_iccconfig (module) ####################
+
+set_source_files_properties( iccconfig.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" )
+
+tde_add_kpart( kcm_iccconfig AUTOMOC
+ SOURCES
+ iccconfig.cpp iccconfigbase.ui iccconfig.skel
+ LINK kio-shared krandr-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/icons/CMakeLists.txt b/kcontrol/icons/CMakeLists.txt
new file mode 100644
index 000000000..4e7a856ce
--- /dev/null
+++ b/kcontrol/icons/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES icons.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Settings/LookNFeel/Themes RENAME iconthemes.desktop )
+
+
+##### kcm_icons (module) ########################
+
+tde_add_kpart( kcm_icons AUTOMOC
+ SOURCES iconthemes.cpp icons.cpp main.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/info/CMakeLists.txt b/kcontrol/info/CMakeLists.txt
new file mode 100644
index 000000000..531f52780
--- /dev/null
+++ b/kcontrol/info/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
+#
+#################################################
+
+# FIXME no OPENGL support yet
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES
+ memory.desktop processor.desktop dma.desktop
+ interrupts.desktop ioports.desktop opengl.desktop
+ pci.desktop sound.desktop devices.desktop scsi.desktop
+ partitions.desktop xserver.desktop cdinfo.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_info (module) #########################
+
+tde_add_kpart( kcm_info AUTOMOC
+ SOURCES main.cpp memory.cpp opengl.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/input/CMakeLists.txt b/kcontrol/input/CMakeLists.txt
new file mode 100644
index 000000000..94ddb9dad
--- /dev/null
+++ b/kcontrol/input/CMakeLists.txt
@@ -0,0 +1,68 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+if( WITH_XCURSOR )
+ add_subdirectory( xcursor )
+ include_directories( xcursor )
+else( )
+ add_subdirectory( core )
+ include_directories( core )
+endif( )
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ mouse.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ cursor_large_black.pcf.gz cursor_large_white.pcf.gz
+ cursor_small_white.pcf.gz
+ DESTINATION ${DATA_INSTALL_DIR}/kcminput )
+
+install( FILES
+ mouse_cursor_theme.upd
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+##### kcm_input (module) ########################
+
+tde_add_kpart( kcm_input AUTOMOC
+ SOURCES
+ mouse.cpp kmousedlg.ui main.cpp logitechmouse.cpp
+ logitechmouse_base.ui
+ LINK themepage-static kio-shared ${XCURSOR_LIBRARIES} ${LIBUSB_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kapplymousetheme (executable) #############
+
+tde_add_executable( kapplymousetheme
+ SOURCES
+ kapplymousetheme.cpp
+ LINK ${XCURSOR_LIBRARIES} X11
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kcontrol/input/core/CMakeLists.txt b/kcontrol/input/core/CMakeLists.txt
new file mode 100644
index 000000000..264dadd0a
--- /dev/null
+++ b/kcontrol/input/core/CMakeLists.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (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}
+)
+
+
+##### themepage (static) ########################
+
+tde_add_library( themepage STATIC_PIC AUTOMOC
+ SOURCES themepage.cpp
+)
diff --git a/kcontrol/input/pics/CMakeLists.txt b/kcontrol/input/pics/CMakeLists.txt
new file mode 100644
index 000000000..69c246e4f
--- /dev/null
+++ b/kcontrol/input/pics/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
+ mouse_rh.png mouse_lh.png
+ DESTINATION ${DATA_INSTALL_DIR}/kcminput/pics )
diff --git a/kcontrol/input/xcursor/CMakeLists.txt b/kcontrol/input/xcursor/CMakeLists.txt
new file mode 100644
index 000000000..1e2c3a3c3
--- /dev/null
+++ b/kcontrol/input/xcursor/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (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}
+)
+
+
+##### themepage (static) ########################
+
+tde_add_library( themepage STATIC_PIC AUTOMOC
+ SOURCES
+ themepage.cpp previewwidget.cpp
+)
diff --git a/kcontrol/ioslaveinfo/CMakeLists.txt b/kcontrol/ioslaveinfo/CMakeLists.txt
new file mode 100644
index 000000000..e0811d998
--- /dev/null
+++ b/kcontrol/ioslaveinfo/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 ioslaveinfo.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_install_empty_directory( ${DATA_INSTALL_DIR}/Settings/Information )
+
+
+##### kcm_ioslaveinfo (module) ##################
+
+tde_add_kpart( kcm_ioslaveinfo AUTOMOC
+ SOURCES kcmioslaveinfo.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/joystick/CMakeLists.txt b/kcontrol/joystick/CMakeLists.txt
new file mode 100644
index 000000000..14d6bc487
--- /dev/null
+++ b/kcontrol/joystick/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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 joystick.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_joystick (module) #######################
+
+tde_add_kpart( kcm_joystick AUTOMOC
+ SOURCES
+ joystick.cpp joywidget.cpp poswidget.cpp
+ joydevice.cpp caldialog.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kcontrol/CMakeLists.txt b/kcontrol/kcontrol/CMakeLists.txt
new file mode 100644
index 000000000..a197d7347
--- /dev/null
+++ b/kcontrol/kcontrol/CMakeLists.txt
@@ -0,0 +1,50 @@
+#################################################
+#
+# (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( about )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons()
+install( FILES kcontrolui.rc DESTINATION ${DATA_INSTALL_DIR}/kcontrol )
+install( FILES kinfocenterui.rc DESTINATION ${DATA_INSTALL_DIR}/kinfocenter )
+install( FILES KControl.desktop kinfocenter.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcontrol (kdeinit) ########################
+
+set( target kcontrol )
+
+set( ${target}_SRCS
+ main.cpp toplevel.cpp indexwidget.cpp helpwidget.cpp
+ dockcontainer.cpp aboutwidget.cpp moduletreeview.cpp
+ moduleiconview.cpp moduleIface.cpp moduleIface.skel
+ global.cpp modules.cpp proxywidget.cpp kcrootonly.cpp
+ searchwidget.cpp
+)
+
+tde_add_kdeinit_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK khtml-shared
+)
+
+tde_install_symlink( kcontrol ${BIN_INSTALL_DIR}/kinfocenter )
diff --git a/kcontrol/kcontrol/about/CMakeLists.txt b/kcontrol/kcontrol/about/CMakeLists.txt
new file mode 100644
index 000000000..edaf5405e
--- /dev/null
+++ b/kcontrol/kcontrol/about/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 top-right-kcontrol.png main.html kcontrol.css DESTINATION ${DATA_INSTALL_DIR}/kcontrol/about )
diff --git a/kcontrol/kded/CMakeLists.txt b/kcontrol/kded/CMakeLists.txt
new file mode 100644
index 000000000..37ef62b5e
--- /dev/null
+++ b/kcontrol/kded/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 kcmkded.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_kded (module) #########################
+
+tde_add_kpart( kcm_kded AUTOMOC
+ SOURCES kcmkded.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kdm/CMakeLists.txt b/kcontrol/kdm/CMakeLists.txt
new file mode 100644
index 000000000..81fb197f4
--- /dev/null
+++ b/kcontrol/kdm/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}/kcontrol/background
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kdm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_kdm (module) ##########################
+
+set_source_files_properties( background.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" )
+set_source_files_properties( main.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" )
+
+tde_add_kpart( kcm_kdm AUTOMOC
+ SOURCES
+ background.cpp kdm-appear.cpp kdm-font.cpp kdm-shut.cpp
+ kdm-users.cpp kdm-conv.cpp main.cpp kbackedcombobox.cpp
+ LINK kcmbgnd-static bgnd-static knewstuff-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/keys/CMakeLists.txt b/kcontrol/keys/CMakeLists.txt
new file mode 100644
index 000000000..7921f0e84
--- /dev/null
+++ b/kcontrol/keys/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_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES keys.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kaccel.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( PROGRAMS convertShortcuts.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+install( FILES
+ wm3.kksrc kde3.kksrc kde4.kksrc win3.kksrc
+ win4.kksrc mac4.kksrc unix3.kksrc
+ DESTINATION ${DATA_INSTALL_DIR}/kcmkeys )
+
+
+##### kcm_keys (module) #########################
+
+tde_add_kpart( kcm_keys AUTOMOC
+ SOURCES
+ shortcuts.cpp modifiers.cpp main.cpp khotkeys.cpp
+ treeview.cpp commandShortcuts.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kfontinst/CMakeLists.txt b/kcontrol/kfontinst/CMakeLists.txt
new file mode 100644
index 000000000..38056cd3c
--- /dev/null
+++ b/kcontrol/kfontinst/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( lib )
+add_subdirectory( thumbnail )
+add_subdirectory( viewpart )
+add_subdirectory( kcmfontinst )
+add_subdirectory( kfile-plugin )
+add_subdirectory( kfontinst )
+add_subdirectory( kio )
+
+install( FILES installfont.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
diff --git a/kcontrol/kfontinst/kcmfontinst/CMakeLists.txt b/kcontrol/kfontinst/kcmfontinst/CMakeLists.txt
new file mode 100644
index 000000000..b5a0da812
--- /dev/null
+++ b/kcontrol/kfontinst/kcmfontinst/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}
+ ${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/lib
+ ${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/viewpart
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons()
+install( FILES kcmfontinst.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_fontinst (module) #####################
+
+tde_add_kpart( kcm_fontinst AUTOMOC
+ SOURCES
+ KCmFontInst.cpp KFileFontIconView.cpp KFileFontView.cpp
+ PrintDialog.cpp SettingsDialog.cpp
+ LINK kfontinstprint-static kfontinst-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kfontinst/kfile-plugin/CMakeLists.txt b/kcontrol/kfontinst/kfile-plugin/CMakeLists.txt
new file mode 100644
index 000000000..229c243d7
--- /dev/null
+++ b/kcontrol/kfontinst/kfile-plugin/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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}/kcontrol/kfontinst/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kfile_font.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kfile_font (module) #######################
+
+tde_add_kpart( kfile_font
+ SOURCES KFileFont.cpp
+ LINK kfontinst-shared kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kfontinst/kfontinst/CMakeLists.txt b/kcontrol/kfontinst/kfontinst/CMakeLists.txt
new file mode 100644
index 000000000..f288ca5ea
--- /dev/null
+++ b/kcontrol/kfontinst/kfontinst/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -DOS_${CMAKE_SYSTEM_NAME} )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/lib
+ ${CMAKE_SOURCE_DIR}/kcontrol/fonts/
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${FREETYPE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kfontinst (executable) ####################
+
+tde_add_executable( kfontinst
+ SOURCES
+ Main.cpp FontEngine.cpp Fontmap.cpp GetPid.c
+ XConfig.cpp
+ LINK kxftconfig-static kfontinst-shared kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kfontinst/kio/CMakeLists.txt b/kcontrol/kfontinst/kio/CMakeLists.txt
new file mode 100644
index 000000000..abb65350b
--- /dev/null
+++ b/kcontrol/kfontinst/kio/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/lib
+ ${CMAKE_SOURCE_DIR}/kcontrol/fonts
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES fonts.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES fonts.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services )
+install( FILES folder.desktop system-folder.desktop package.desktop DESTINATION ${MIME_INSTALL_DIR}/fonts )
+
+
+##### kio_fonts (module) #######################
+
+tde_add_kpart( kio_fonts AUTOMOC
+ SOURCES KioFonts.cpp
+ LINK kxftconfig-static kfontinst-shared kdesu-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kfontinst/lib/CMakeLists.txt b/kcontrol/kfontinst/lib/CMakeLists.txt
new file mode 100644
index 000000000..989d60810
--- /dev/null
+++ b/kcontrol/kfontinst/lib/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
+#
+#################################################
+
+add_definitions( -D_LARGEFILE64_SOURCE )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${FREETYPE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kfontinst (shared) ########################
+
+tde_add_library( kfontinst SHARED
+ SOURCES Misc.cpp FcEngine.cpp
+ VERSION 0.0.0
+ LINK kio-shared ${XFT_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kcontrol/kfontinst/thumbnail/CMakeLists.txt b/kcontrol/kfontinst/thumbnail/CMakeLists.txt
new file mode 100644
index 000000000..8d3c04b86
--- /dev/null
+++ b/kcontrol/kfontinst/thumbnail/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_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES fontthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### fontthumbnail (module) ####################
+
+tde_add_kpart( fontthumbnail
+ SOURCES FontThumbnail.cpp
+ LINK kfontinst-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kfontinst/viewpart/CMakeLists.txt b/kcontrol/kfontinst/viewpart/CMakeLists.txt
new file mode 100644
index 000000000..e58fb7cc6
--- /dev/null
+++ b/kcontrol/kfontinst/viewpart/CMakeLists.txt
@@ -0,0 +1,55 @@
+#################################################
+#
+# (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}/kcontrol/kfontinst/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kfontviewpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kfontview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kfontviewpart.rc kfontviewui.rc DESTINATION ${DATA_INSTALL_DIR}/kfontview )
+
+
+##### libkfontviewpart (module) #################
+
+tde_add_kpart( libkfontviewpart AUTOMOC
+ SOURCES FontViewPart.cpp FontViewPartFactory.cpp FontPreview.cpp
+ LINK kfontinstprint-static kfontinst-shared kparts-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kfontview (executable) ####################
+
+tde_add_executable( kfontview AUTOMOC
+ SOURCES FontViewerApp.cpp
+ LINK kparts-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kfontinstprint (static) ###################
+
+tde_add_library( kfontinstprint STATIC_PIC
+ SOURCES KfiPrint.cpp
+ LINK kdeprint-shared
+)
diff --git a/kcontrol/kicker/CMakeLists.txt b/kcontrol/kicker/CMakeLists.txt
new file mode 100644
index 000000000..22f388703
--- /dev/null
+++ b/kcontrol/kicker/CMakeLists.txt
@@ -0,0 +1,82 @@
+#################################################
+#
+# (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_KICKER )
+ include( "${TDE_CMAKE_DIR}/kicker.cmake" )
+endif( NOT BUILD_KICKER )
+
+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
+ panel.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ kicker_config.desktop kicker_config_arrangement.desktop
+ kicker_config_hiding.desktop kicker_config_menus.desktop
+ kicker_config_appearance.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+install(
+ FILES uninstall.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/Settings/LookNFeel
+ RENAME panel.desktop )
+
+install(
+ FILES uninstall.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/Settings/LookNFeel
+ RENAME panel_appearance.desktop )
+
+install(
+ FILES uninstall.desktop
+ DESTINATION ${APPS_INSTALL_DIR}
+ RENAME panel_appearance.desktop )
+
+
+##### kcm_kicker (module) #######################
+
+set( target kcm_kicker )
+
+add_custom_command( OUTPUT kickerSettings.h
+ COMMAND ${KDE3_KCFGC_EXECUTABLE}
+ ${CMAKE_SOURCE_DIR}/kicker/libkicker/kickerSettings.kcfg
+ ${CMAKE_SOURCE_DIR}/kicker/libkicker/kickerSettings.kcfgc
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/kicker/libkicker/kickerSettings.kcfg
+ ${CMAKE_SOURCE_DIR}/kicker/libkicker/kickerSettings.kcfgc )
+
+set_source_files_properties( lookandfeeltab_impl.cpp
+ PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kickerSettings.h )
+
+set( ${target}_SRCS
+ positiontab.ui hidingtab.ui lookandfeeltab.ui menutab.ui
+ positiontab_impl.cpp hidingtab_impl.cpp lookandfeeltab_impl.cpp
+ menutab_impl.cpp extensionInfo.cpp main.cpp main.skel
+ advancedOptions.ui advancedDialog.cpp positionconfig.cpp
+ hidingconfig.cpp menuconfig.cpp lookandfeelconfig.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK bgnd-static kickermain-shared kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kio/CMakeLists.txt b/kcontrol/kio/CMakeLists.txt
new file mode 100644
index 000000000..79be7a766
--- /dev/null
+++ b/kcontrol/kio/CMakeLists.txt
@@ -0,0 +1,55 @@
+#################################################
+#
+# (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( uasproviders )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES
+ cookies.desktop useragent.desktop cache.desktop
+ lanbrowser.desktop netpref.desktop proxy.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES uninstall.desktop
+ RENAME smb.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/Settings/WebBrowsing )
+
+install( FILES socks.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( FILES uasprovider.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+install( FILES smb.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_kio (module) ##########################
+
+tde_add_kpart( kcm_kio AUTOMOC
+ SOURCES
+ policydlg.cpp kcookiesmain.cpp kcookiespolicies.cpp
+ main.cpp smbrodlg.cpp useragentdlg.cpp kproxydlgbase.cpp
+ kmanualproxydlg.cpp kenvvarproxydlg.cpp kproxydlg.cpp
+ kcookiesmanagement.cpp fakeuaprovider.cpp uagentproviderdlg.cpp
+ netpref.cpp cache.cpp ksaveioconfig.cpp socks.cpp socksbase.ui
+ kproxydlg_ui.ui kcookiesmanagementdlg_ui.ui kcookiespoliciesdlg_ui.ui
+ policydlg_ui.ui useragentdlg_ui.ui uagentproviderdlg_ui.ui
+ manualproxy_ui.ui envvarproxy_ui.ui cache_ui.ui
+ LINK kio-shared kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kio/uasproviders/CMakeLists.txt b/kcontrol/kio/uasproviders/CMakeLists.txt
new file mode 100644
index 000000000..c9a6735e1
--- /dev/null
+++ b/kcontrol/kio/uasproviders/CMakeLists.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (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
+ ie401onwinnt4.desktop ie45onwinnt5.desktop ie501onwinnt5.desktop
+ ie50onppc.desktop ie55onwin98.desktop ie55onwinnt5.desktop
+ ie60onwinnt51.desktop ie60oncurrent.desktop mozonwinxp.desktop
+ mozonwin2000.desktop mozoncurrent16.desktop mozoncurrent12.desktop
+ mozoncurrent.desktop nn301oncurrent.desktop nn475onwin95.desktop
+ nn475oncurrent.desktop nn476onppc.desktop op403onwinnt4.desktop
+ lynxoncurrent.desktop w3moncurrent.desktop wgetoncurrent.desktop
+ ns71oncurrent.desktop ns71onwinnt51.desktop op75oncurrent.desktop
+ safari12.desktop safari20.desktop googlebot.desktop
+ firefox10oncurrent.desktop firefox15oncurrent.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/useragentstrings )
diff --git a/kcontrol/knotify/CMakeLists.txt b/kcontrol/knotify/CMakeLists.txt
new file mode 100644
index 000000000..1a5b81ca2
--- /dev/null
+++ b/kcontrol/knotify/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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( sounds )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kcmnotify.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES play.png DESTINATION ${DATA_INSTALL_DIR}/kcontrol/pics )
+
+
+##### kcm_knotify (module) ######################
+
+tde_add_kpart( kcm_knotify AUTOMOC
+ SOURCES knotify.cpp playersettings.ui
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/knotify/sounds/CMakeLists.txt b/kcontrol/knotify/sounds/CMakeLists.txt
new file mode 100644
index 000000000..eb963d725
--- /dev/null
+++ b/kcontrol/knotify/sounds/CMakeLists.txt
@@ -0,0 +1,52 @@
+#################################################
+#
+# (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
+ KDE_Beep_Ahem.wav KDE_Beep_Beep.wav KDE_Beep_Bottles.wav
+ KDE_Beep_ClassicBeep.wav KDE_Beep_ClockChime.wav
+ KDE_Beep_Connect.wav KDE_Beep_Door.wav KDE_Beep_Honk.wav
+ KDE_Beep_Lightning.wav KDE_Beep_Pop.wav KDE_Beep_RimShot.wav
+ KDE_Beep_RingRing.wav KDE_Beep_ShortBeep.wav KDE_Beep_Yo.wav
+ KDE_Click.wav KDE_Close_Window.wav KDE_Critical_Error.wav
+ KDE_Desktop1.wav KDE_Desktop2.wav KDE_Desktop3.wav
+ KDE_Desktop4.wav KDE_Desktop5.wav KDE_Desktop6.wav
+ KDE_Desktop7.wav KDE_Desktop8.wav KDE_Dialog_Appear.wav
+ KDE_Dialog_Disappear.wav KDE_Error.wav KDE_Logout.wav
+ KDE_Notify.wav KDE_Startup.wav KDE_Window_Close.wav
+ KDE_Window_DeIconify.wav KDE_Window_Iconify.wav
+ KDE_Window_Maximize.wav KDE_Window_Open.wav
+ KDE_Window_Shade_Down.wav KDE_Window_Shade_Up.wav
+ KDE_Window_Sticky.wav KDE_Window_UnMaximize.wav
+ KDE_Window_UnSticky.wav KDE_Beep.ogg KDE_Beep_Car.ogg
+ KDE_Beep_Classic.ogg KDE_Beep_Connect.ogg KDE_Beep_Digital_1.ogg
+ KDE_Beep_Digital_2.ogg KDE_Beep_Double.ogg KDE_Beep_Harsh.ogg
+ KDE_Beep_Phone_1.ogg KDE_Beep_Phone_2.ogg KDE_Bottles.ogg
+ KDE_Chimes_1.ogg KDE_Chimes_2.ogg KDE_Chimes_3.ogg
+ KDE_Click_1.ogg KDE_Click_2.ogg KDE_Click_3.ogg
+ KDE_Desktop_1.ogg KDE_Desktop_2.ogg KDE_Desktop_3.ogg
+ KDE_Desktop_4.ogg KDE_Desktop_5.ogg KDE_Desktop_6.ogg
+ KDE_Desktop_7.ogg KDE_Desktop_8.ogg KDE_Dialog_Appear.ogg
+ KDE_Dialog_Disappear.ogg KDE_Door.ogg KDE_Drum_Break.ogg
+ KDE_Error_1.ogg KDE_Error_2.ogg KDE_Error_3.ogg
+ KDE_Event_1.ogg KDE_Event_2.ogg KDE_Event_3.ogg
+ KDE_Event_4.ogg KDE_Event_5.ogg KDE_Glass_Break.ogg
+ KDE_Keyboard_Key_1.ogg KDE_Logout_1.ogg KDE_Logout_2.ogg
+ KDE_Logout_3.ogg KDE_Pop.ogg KDE_Star_Ship_1.ogg
+ KDE_Startup_1.ogg KDE_Startup_2.ogg KDE_Startup_3.ogg
+ KDE_TypeWriter_Bell.ogg KDE_TypeWriter_End_Of_Line.ogg
+ KDE_TypeWriter_Key_1.ogg KDE_TypeWriter_Key_2.ogg
+ KDE_TypeWriter_Reload.ogg KDE_TypeWriter_Scroll.ogg
+ KDE_Vox_Ahem.ogg KDE_Vox_Yo.ogg KDE_Warp.ogg
+ KDE_Water_Drop.ogg KDE_Window_Close.ogg KDE_Window_DeIconify.ogg
+ KDE_Window_Hide.ogg KDE_Window_Iconify.ogg KDE_Window_Open.ogg
+ KDE_Window_Shade_Down.ogg KDE_Window_Shade_Up.ogg
+ KDE_Window_Sticky.ogg KDE_Window_UnHide.ogg KDE_Window_UnSticky.ogg
+ DESTINATION ${SOUND_INSTALL_DIR} )
diff --git a/kcontrol/konq/CMakeLists.txt b/kcontrol/konq/CMakeLists.txt
new file mode 100644
index 000000000..b77e3bf93
--- /dev/null
+++ b/kcontrol/konq/CMakeLists.txt
@@ -0,0 +1,50 @@
+#################################################
+#
+# (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}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES
+ desktopbehavior.desktop desktop.desktop
+ desktoppath.desktop filebrowser.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ overlapping.png onlyone.png
+ DESTINATION ${DATA_INSTALL_DIR}/kcontrol/pics )
+
+install( FILES
+ filebehavior.desktop fileappearance.desktop
+ filepreviews.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_konq (module) #########################
+
+tde_add_kpart( kcm_konq AUTOMOC
+ SOURCES
+ behaviour.cpp desktop.cpp desktopbehavior_impl.cpp
+ previews.cpp browser.cpp main.cpp rootopts.cpp
+ fontopts.cpp desktopbehavior.ui
+ LINK kio-shared kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/konqhtml/CMakeLists.txt b/kcontrol/konqhtml/CMakeLists.txt
new file mode 100644
index 000000000..a67bbc4b0
--- /dev/null
+++ b/kcontrol/konqhtml/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}
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES
+ khtml_behavior.desktop khtml_java_js.desktop
+ khtml_fonts.desktop khtml_filter.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_konqhtml (module) #####################
+
+tde_add_kpart( kcm_konqhtml AUTOMOC
+ SOURCES
+ advancedTabDialog.cpp htmlopts.cpp jsopts.cpp
+ javaopts.cpp pluginopts.cpp appearance.cpp
+ khttpoptdlg.cpp policydlg.cpp main.cpp
+ jspolicies.cpp nsconfigwidget.ui policies.cpp
+ domainlistview.cpp advancedTabOptions.ui
+ filteropts.cpp
+ LINK khtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/konsole/CMakeLists.txt b/kcontrol/konsole/CMakeLists.txt
new file mode 100644
index 000000000..34e2b0041
--- /dev/null
+++ b/kcontrol/konsole/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_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kcmkonsole.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_konsole (module) ######################
+
+tde_add_kpart( kcm_konsole AUTOMOC
+ SOURCES
+ schemaeditor.cpp sessioneditor.cpp kcmkonsole.cpp
+ schemadialog.ui sessiondialog.ui kcmkonsoledialog.ui
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/krdb/CMakeLists.txt b/kcontrol/krdb/CMakeLists.txt
new file mode 100644
index 000000000..95b99bdd2
--- /dev/null
+++ b/kcontrol/krdb/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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( themes )
+add_subdirectory( kcs )
+add_subdirectory( ad )
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kcmdisplayrc.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+
+
+##### krdb (static) #############################
+
+tde_add_library( krdb STATIC_PIC AUTOMOC
+ SOURCES krdb.cpp
+ LINK kdecore-shared
+)
diff --git a/kcontrol/krdb/ad/CMakeLists.txt b/kcontrol/krdb/ad/CMakeLists.txt
new file mode 100644
index 000000000..e295acd85
--- /dev/null
+++ b/kcontrol/krdb/ad/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
+#
+#################################################
+
+install( FILES
+ AAAAAAGeneral.ad AAAMotif.ad AAATk.ad AAAXaw.ad AcroRead.ad
+ Editres.ad Emacs.ad GV.ad ML.ad Nedit.ad Netscape.ad RVPlayer.ad
+ WPerfect.ad XCalc.ad Xawtv.ad Xdvi.ad XTerm.ad XOsview.ad XV.ad Xpdf.ad
+ DESTINATION ${DATA_INSTALL_DIR}/kdisplay/app-defaults )
+
+install( PROGRAMS
+ krdb
+ DESTINATION ${BIN_INSTALL_DIR} )
diff --git a/kcontrol/krdb/kcs/CMakeLists.txt b/kcontrol/krdb/kcs/CMakeLists.txt
new file mode 100644
index 000000000..5a3a8bb99
--- /dev/null
+++ b/kcontrol/krdb/kcs/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
+#
+#################################################
+
+install( FILES
+ AtlasGreen.kcsrc BeOS.kcsrc BlueSlate.kcsrc
+ CDE.kcsrc DarkBlue.kcsrc DesertRed.kcsrc DigitalCDE.kcsrc
+ PaleGray.kcsrc Pumpkin.kcsrc SolarisCDE.kcsrc Storm.kcsrc
+ Windows2000.kcsrc System.kcsrc Next.kcsrc PointReyesGreen.kcsrc
+ KDEOne.kcsrc KDETwo.kcsrc MediaPeach.kcsrc Windows95.kcsrc EveX.kcsrc
+ WindowsXP.kcsrc Keramik.kcsrc KeramikEmerald.kcsrc KeramikWhite.kcsrc
+ BlackOnWhite.kcsrc WhiteOnBlack.kcsrc YellowOnBlue.kcsrc Plastik.kcsrc
+ DESTINATION ${DATA_INSTALL_DIR}/kdisplay/color-schemes )
diff --git a/kcontrol/krdb/pics/CMakeLists.txt b/kcontrol/krdb/pics/CMakeLists.txt
new file mode 100644
index 000000000..6c9f29a05
--- /dev/null
+++ b/kcontrol/krdb/pics/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 logo.png mini-world.png DESTINATION ${DATA_INSTALL_DIR}/kcontrol/pics )
diff --git a/kcontrol/krdb/themes/CMakeLists.txt b/kcontrol/krdb/themes/CMakeLists.txt
new file mode 100644
index 000000000..f48deb4fe
--- /dev/null
+++ b/kcontrol/krdb/themes/CMakeLists.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (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( HighContrastDark )
+add_subdirectory( HighContrastDark-big )
+add_subdirectory( HighContrastLight )
+add_subdirectory( HighContrastLight-big )
+add_subdirectory( YellowOnBlue )
+add_subdirectory( YellowOnBlue-big )
+add_subdirectory( KDE_Classic )
+add_subdirectory( Keramik )
+add_subdirectory( Plastik )
+add_subdirectory( Platinum )
+add_subdirectory( Sunshine )
+add_subdirectory( Redmond )
diff --git a/kcontrol/krdb/themes/HighContrastDark-big/CMakeLists.txt b/kcontrol/krdb/themes/HighContrastDark-big/CMakeLists.txt
new file mode 100644
index 000000000..0f173a3fa
--- /dev/null
+++ b/kcontrol/krdb/themes/HighContrastDark-big/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 HighContrastDark-big.preview.png HighContrastDark-big.xml DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/HighContrastDark-big )
diff --git a/kcontrol/krdb/themes/HighContrastDark/CMakeLists.txt b/kcontrol/krdb/themes/HighContrastDark/CMakeLists.txt
new file mode 100644
index 000000000..f71ef8a03
--- /dev/null
+++ b/kcontrol/krdb/themes/HighContrastDark/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 HighContrastDark.preview.png HighContrastDark.xml DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/HighContrastDark )
diff --git a/kcontrol/krdb/themes/HighContrastLight-big/CMakeLists.txt b/kcontrol/krdb/themes/HighContrastLight-big/CMakeLists.txt
new file mode 100644
index 000000000..86ccac7d9
--- /dev/null
+++ b/kcontrol/krdb/themes/HighContrastLight-big/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 HighContrastLight-big.preview.png HighContrastLight-big.xml DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/HighContrastLight-big )
diff --git a/kcontrol/krdb/themes/HighContrastLight/CMakeLists.txt b/kcontrol/krdb/themes/HighContrastLight/CMakeLists.txt
new file mode 100644
index 000000000..865461602
--- /dev/null
+++ b/kcontrol/krdb/themes/HighContrastLight/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 HighContrastLight.preview.png HighContrastLight.xml DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/HighContrastLight )
diff --git a/kcontrol/krdb/themes/KDE_Classic/CMakeLists.txt b/kcontrol/krdb/themes/KDE_Classic/CMakeLists.txt
new file mode 100644
index 000000000..855f00af4
--- /dev/null
+++ b/kcontrol/krdb/themes/KDE_Classic/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 KDE_Classic.xml KDE_Classic.preview.png DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/KDE_Classic )
diff --git a/kcontrol/krdb/themes/Keramik/CMakeLists.txt b/kcontrol/krdb/themes/Keramik/CMakeLists.txt
new file mode 100644
index 000000000..3f0ef566d
--- /dev/null
+++ b/kcontrol/krdb/themes/Keramik/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 Keramik.xml Keramik.preview.png DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/Keramik )
diff --git a/kcontrol/krdb/themes/Plastik/CMakeLists.txt b/kcontrol/krdb/themes/Plastik/CMakeLists.txt
new file mode 100644
index 000000000..17419336f
--- /dev/null
+++ b/kcontrol/krdb/themes/Plastik/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 Plastik.xml Plastik.preview.png DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/Plastik )
diff --git a/kcontrol/krdb/themes/Platinum/CMakeLists.txt b/kcontrol/krdb/themes/Platinum/CMakeLists.txt
new file mode 100644
index 000000000..dab79de55
--- /dev/null
+++ b/kcontrol/krdb/themes/Platinum/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 Platinum.xml Platinum.preview.png DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/Platinum )
diff --git a/kcontrol/krdb/themes/Redmond/CMakeLists.txt b/kcontrol/krdb/themes/Redmond/CMakeLists.txt
new file mode 100644
index 000000000..f3b5c930d
--- /dev/null
+++ b/kcontrol/krdb/themes/Redmond/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 Redmond.xml Redmond.preview.png DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/Redmond )
diff --git a/kcontrol/krdb/themes/Sunshine/CMakeLists.txt b/kcontrol/krdb/themes/Sunshine/CMakeLists.txt
new file mode 100644
index 000000000..e591fb633
--- /dev/null
+++ b/kcontrol/krdb/themes/Sunshine/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 Sunshine.xml Sunshine.preview.png DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/Sunshine )
diff --git a/kcontrol/krdb/themes/YellowOnBlue-big/CMakeLists.txt b/kcontrol/krdb/themes/YellowOnBlue-big/CMakeLists.txt
new file mode 100644
index 000000000..463c6d78c
--- /dev/null
+++ b/kcontrol/krdb/themes/YellowOnBlue-big/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 YellowOnBlue-big.preview.png YellowOnBlue-big.xml DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/YellowOnBlue-big )
diff --git a/kcontrol/krdb/themes/YellowOnBlue/CMakeLists.txt b/kcontrol/krdb/themes/YellowOnBlue/CMakeLists.txt
new file mode 100644
index 000000000..b8efb7d58
--- /dev/null
+++ b/kcontrol/krdb/themes/YellowOnBlue/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 YellowOnBlue.preview.png YellowOnBlue.xml DESTINATION ${DATA_INSTALL_DIR}/kthememanager/themes/YellowOnBlue )
diff --git a/kcontrol/kthememanager/CMakeLists.txt b/kcontrol/kthememanager/CMakeLists.txt
new file mode 100644
index 000000000..2d71a367e
--- /dev/null
+++ b/kcontrol/kthememanager/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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 kthememanager.desktop installktheme.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES x-ktheme.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+install( PROGRAMS kdeinstallktheme DESTINATION ${BIN_INSTALL_DIR} )
+
+
+##### kcm_kthememanager (module) ################
+
+tde_add_kpart( kcm_kthememanager AUTOMOC
+ SOURCES
+ kthemedlg.ui newthemewidget.ui knewthemedlg.cpp
+ ktheme.cpp kthememanager.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/launch/CMakeLists.txt b/kcontrol/launch/CMakeLists.txt
new file mode 100644
index 000000000..511363f3c
--- /dev/null
+++ b/kcontrol/launch/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 kcmlaunch.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_launch (module) #######################
+
+tde_add_kpart( kcm_launch AUTOMOC
+ SOURCES kcmlaunch.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/locale/CMakeLists.txt b/kcontrol/locale/CMakeLists.txt
new file mode 100644
index 000000000..c990ab669
--- /dev/null
+++ b/kcontrol/locale/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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( default )
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES language.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_locale (module) #######################
+
+tde_add_kpart( kcm_locale AUTOMOC
+ SOURCES
+ main.cpp toplevel.cpp kcmlocale.cpp klocalesample.cpp
+ localenum.cpp localemon.cpp localetime.cpp localeother.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/locale/default/CMakeLists.txt b/kcontrol/locale/default/CMakeLists.txt
new file mode 100644
index 000000000..14499886c
--- /dev/null
+++ b/kcontrol/locale/default/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 entry.desktop DESTINATION ${LOCALE_INSTALL_DIR}/en_US )
diff --git a/kcontrol/locale/pics/CMakeLists.txt b/kcontrol/locale/pics/CMakeLists.txt
new file mode 100644
index 000000000..73e5e8f5c
--- /dev/null
+++ b/kcontrol/locale/pics/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 background.png DESTINATION ${DATA_INSTALL_DIR}/kcmlocale/pics )
diff --git a/kcontrol/nics/CMakeLists.txt b/kcontrol/nics/CMakeLists.txt
new file mode 100644
index 000000000..6d2c8e675
--- /dev/null
+++ b/kcontrol/nics/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( CheckFunctionExists )
+
+check_include_file( "sys/sockio.h" HAVE_SYS_SOCKIO_H )
+check_function_exists( getnameinfo HAVE_GETNAMEINFO )
+check_struct_has_member( "struct sockaddr" sa_len "sys/types.h;sys/socket.h" HAVE_STRUCT_SOCKADDR_SA_LEN )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES nic.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_nic (module) ##########################
+
+tde_add_kpart( kcm_nic AUTOMOC
+ SOURCES nic.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/performance/CMakeLists.txt b/kcontrol/performance/CMakeLists.txt
new file mode 100644
index 000000000..5c4a2a20a
--- /dev/null
+++ b/kcontrol/performance/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 kcmperformance.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kcmkonqyperformance.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_performance (module) ##################
+
+tde_add_kpart( kcm_performance AUTOMOC
+ SOURCES kcmperformance.cpp konqueror.cpp konqueror_ui.ui system.cpp system_ui.ui
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/pics/CMakeLists.txt b/kcontrol/pics/CMakeLists.txt
new file mode 100644
index 000000000..189a3a200
--- /dev/null
+++ b/kcontrol/pics/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()
diff --git a/kcontrol/privacy/CMakeLists.txt b/kcontrol/privacy/CMakeLists.txt
new file mode 100644
index 000000000..189202863
--- /dev/null
+++ b/kcontrol/privacy/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 privacy.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_privacy (module) ######################
+
+tde_add_kpart( kcm_privacy AUTOMOC
+ SOURCES privacy.cpp kprivacysettings.ui kcmprivacydialog.ui kprivacymanager.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/randr/CMakeLists.txt b/kcontrol/randr/CMakeLists.txt
new file mode 100644
index 000000000..23999116e
--- /dev/null
+++ b/kcontrol/randr/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES krandrtray.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES randr.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+install( FILES krandrtray-autostart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+
+
+##### kcm_randr (module) ########################
+
+tde_add_kpart( kcm_randr AUTOMOC
+ SOURCES krandrmodule.cpp
+ LINK kdeui-shared krandr-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### krandrtray (executable) ###################
+
+tde_add_executable( krandrtray AUTOMOC
+ SOURCES
+ main.cpp krandrtray.cpp krandrapp.cpp
+ krandrpassivepopup.cpp configdialog.cpp
+ LINK kutils-shared krandr-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kcontrol/screensaver/CMakeLists.txt b/kcontrol/screensaver/CMakeLists.txt
new file mode 100644
index 000000000..825418e4f
--- /dev/null
+++ b/kcontrol/screensaver/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES screensaver.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_screensaver (module) ##################
+
+tde_add_kpart( kcm_screensaver AUTOMOC
+ SOURCES
+ advanceddialogimpl.ui scrnsave.cpp testwin.cpp
+ saverlist.cpp saverconfig.cpp advanceddialog.cpp
+ kswidget.cpp
+ LINK kio-shared ${GL_LIBRARY}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/smserver/CMakeLists.txt b/kcontrol/smserver/CMakeLists.txt
new file mode 100644
index 000000000..0f80ac7fa
--- /dev/null
+++ b/kcontrol/smserver/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 kcmsmserver.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_smserver (module) #####################
+
+tde_add_kpart( kcm_smserver AUTOMOC
+ SOURCES kcmsmserver.cpp smserverconfigdlg.ui smserverconfigimpl.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/spellchecking/CMakeLists.txt b/kcontrol/spellchecking/CMakeLists.txt
new file mode 100644
index 000000000..a6616de45
--- /dev/null
+++ b/kcontrol/spellchecking/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 spellchecking.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_spellchecking (module) ################
+
+tde_add_kpart( kcm_spellchecking AUTOMOC
+ SOURCES spellchecking.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/style/CMakeLists.txt b/kcontrol/style/CMakeLists.txt
new file mode 100644
index 000000000..26a9569ff
--- /dev/null
+++ b/kcontrol/style/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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( keramik )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES style.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_style (module) ########################
+
+tde_add_kpart( kcm_style AUTOMOC
+ SOURCES
+ kcmstyle.cpp stylepreview.ui menupreview.cpp
+ styleconfdialog.cpp
+ LINK krdb-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/style/keramik/CMakeLists.txt b/kcontrol/style/keramik/CMakeLists.txt
new file mode 100644
index 000000000..a4cf8c9b7
--- /dev/null
+++ b/kcontrol/style/keramik/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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}
+)
+
+
+##### kstyle_keramik_config (module) ############
+
+tde_add_kpart( kstyle_keramik_config AUTOMOC
+ SOURCES keramikconf.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/taskbar/CMakeLists.txt b/kcontrol/taskbar/CMakeLists.txt
new file mode 100644
index 000000000..9e1e22d62
--- /dev/null
+++ b/kcontrol/taskbar/CMakeLists.txt
@@ -0,0 +1,49 @@
+#################################################
+#
+# (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_KICKER )
+ include( "${TDE_CMAKE_DIR}/kicker.cmake" )
+endif( NOT BUILD_KICKER )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kcmtaskbar.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Settings/LookNFeel RENAME kcmtaskbar.desktop )
+
+
+##### kcm_taskbar (module) ######################
+
+add_custom_command( OUTPUT taskbarsettings.h
+ COMMAND ${KDE3_KCFGC_EXECUTABLE}
+ ${CMAKE_SOURCE_DIR}/kicker/taskbar/taskbar.kcfg
+ ${CMAKE_SOURCE_DIR}/kicker/taskbar/taskbarsettings.kcfgc
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/kicker/taskbar/taskbar.kcfg
+ ${CMAKE_SOURCE_DIR}/kicker/taskbar/taskbarsettings.kcfgc )
+
+set_source_files_properties( kcmtaskbar.cpp
+ PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/taskbarsettings.h )
+
+tde_add_kpart( kcm_taskbar AUTOMOC
+ SOURCES kcmtaskbarui.ui kcmtaskbar.cpp
+ LINK taskbar-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/usbview/CMakeLists.txt b/kcontrol/usbview/CMakeLists.txt
new file mode 100644
index 000000000..b33305d0e
--- /dev/null
+++ b/kcontrol/usbview/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 kcmusb.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+if( WITH_USBIDS )
+ set_source_files_properties( usbdb.cpp PROPERTIES COMPILE_FLAGS -DUSBIDS_FILE=\\"${WITH_USBIDS}\\" )
+else( )
+ install( FILES usb.ids DESTINATION ${DATA_INSTALL_DIR} )
+endif( )
+
+
+##### kcm_usb (module) ##########################
+
+tde_add_kpart( kcm_usb AUTOMOC
+ SOURCES
+ kcmusb.cpp usbdevices.cpp usbdb.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/view1394/CMakeLists.txt b/kcontrol/view1394/CMakeLists.txt
new file mode 100644
index 000000000..e691ead03
--- /dev/null
+++ b/kcontrol/view1394/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kcmview1394.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES oui.db DESTINATION ${DATA_INSTALL_DIR}/kcmview1394 )
+
+
+##### kcm_view1394 (module) #####################
+
+tde_add_kpart( kcm_view1394 AUTOMOC
+ SOURCES view1394widget.ui view1394.cpp
+ LINK kdeui-shared ${LIBRAW1394_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/xinerama/CMakeLists.txt b/kcontrol/xinerama/CMakeLists.txt
new file mode 100644
index 000000000..5cd2765fe
--- /dev/null
+++ b/kcontrol/xinerama/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 xinerama.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_xinerama (module) #####################
+
+tde_add_kpart( kcm_xinerama AUTOMOC
+ SOURCES kcmxinerama.cpp xineramawidget.ui
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdcop/CMakeLists.txt b/kdcop/CMakeLists.txt
new file mode 100644
index 000000000..c0b33e5b7
--- /dev/null
+++ b/kdcop/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdcopui.rc DESTINATION ${DATA_INSTALL_DIR}/kdcop )
+
+
+##### kdcop (executable) ########################
+
+tde_add_executable( kdcop AUTOMOC
+ SOURCES
+ kdcop.cpp kdcopwindow.cpp kdcoplistview.cpp kdcopview.ui
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdebugdialog/CMakeLists.txt b/kdebugdialog/CMakeLists.txt
new file mode 100644
index 000000000..f03f958c1
--- /dev/null
+++ b/kdebugdialog/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (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}
+)
+
+
+##### kdebugdialog (executable) #################
+
+tde_add_executable( kdebugdialog AUTOMOC
+ SOURCES
+ main.cpp kabstractdebugdialog.cpp kdebugdialog.cpp
+ klistdebugdialog.cpp
+ LINK kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdeeject/CMakeLists.txt b/kdeeject/CMakeLists.txt
new file mode 100644
index 000000000..08f4ce9a3
--- /dev/null
+++ b/kdeeject/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( PROGRAMS kdeeject DESTINATION ${BIN_INSTALL_DIR} )
diff --git a/kdepasswd/CMakeLists.txt b/kdepasswd/CMakeLists.txt
new file mode 100644
index 000000000..a087113da
--- /dev/null
+++ b/kdepasswd/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
+#
+#################################################
+
+add_subdirectory( kcm )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdepasswd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kdepasswd (executable) ####################
+
+tde_add_executable( kdepasswd AUTOMOC
+ SOURCES kdepasswd.cpp passwd.cpp passwddlg.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdepasswd/kcm/CMakeLists.txt b/kdepasswd/kcm/CMakeLists.txt
new file mode 100644
index 000000000..338a4f4cb
--- /dev/null
+++ b/kdepasswd/kcm/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
+#
+#################################################
+
+if( NOT BUILD_LIBKONQ )
+ include( "${TDE_CMAKE_DIR}/libkonq.cmake" )
+endif( NOT BUILD_LIBKONQ )
+
+add_subdirectory( pics )
+
+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 kcm_useraccount.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kcm_useraccount.kcfg kcm_useraccount_pass.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### kcm_useraccount (module) ##################
+
+tde_add_kpart( kcm_useraccount AUTOMOC
+ SOURCES
+ main_widget.ui chfnprocess.cpp main.cpp
+ chfacedlg.cpp settings.kcfgc pass.kcfgc
+ LINK konq-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdepasswd/kcm/pics/CMakeLists.txt b/kdepasswd/kcm/pics/CMakeLists.txt
new file mode 100644
index 000000000..8346d035f
--- /dev/null
+++ b/kdepasswd/kcm/pics/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (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
+ Apple.png BeachBall.png Blowfish.png Bug.png
+ Butterfly.png Car.png Cow.png Daemon.png Dog.png
+ Elephant.png Flower.png Frog.png Ghost.png Guitar.png
+ Heart.png Konqui.png Lion.png Monkey.png Penguin.png
+ Pig.png Rabbit.png Ring.png Scream.png Shark.png
+ Splash.png Star.png Teddybear.png Turtle.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdm/pics/users )
diff --git a/kdeprint/CMakeLists.txt b/kdeprint/CMakeLists.txt
new file mode 100644
index 000000000..8cbe437bb
--- /dev/null
+++ b/kdeprint/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( printmgr )
+add_subdirectory( kjobviewer )
+add_subdirectory( kprinter )
+add_subdirectory( kdeprintfax )
+add_subdirectory( slave )
+add_subdirectory( kdeprint_part )
diff --git a/kdeprint/kdeprint_part/CMakeLists.txt b/kdeprint/kdeprint_part/CMakeLists.txt
new file mode 100644
index 000000000..8aa740d6f
--- /dev/null
+++ b/kdeprint/kdeprint_part/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
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdeprint_part.rc DESTINATION ${DATA_INSTALL_DIR}/kdeprint_part )
+install( FILES kdeprint_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkdeprint_part (module) #################
+
+tde_add_kpart( libkdeprint_part AUTOMOC
+ SOURCES printpart.cpp
+ LINK kdeprint_management-shared kparts-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdeprint/kdeprintfax/CMakeLists.txt b/kdeprint/kdeprintfax/CMakeLists.txt
new file mode 100644
index 000000000..9c6e5095f
--- /dev/null
+++ b/kdeprint/kdeprintfax/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kdeprintfax )
+tde_install_icons( abentry DESTINATION ${DATA_INSTALL_DIR}/kdeprintfax/icons )
+install( FILES kdeprintfax.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kdeprintfaxui.rc faxfilters DESTINATION ${DATA_INSTALL_DIR}/kdeprintfax )
+install( PROGRAMS anytops DESTINATION ${DATA_INSTALL_DIR}/kdeprintfax )
+
+
+##### kdeprintfax (executable) ##################
+
+tde_add_executable( kdeprintfax AUTOMOC
+ SOURCES
+ main.cpp kdeprintfax.cpp faxab.cpp faxctrl.cpp
+ confgeneral.cpp configdlg.cpp conffax.cpp
+ confsystem.cpp conffilters.cpp filterdlg.cpp
+ defcmds.cpp
+ LINK kabc-shared kdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdeprint/kjobviewer/CMakeLists.txt b/kdeprint/kjobviewer/CMakeLists.txt
new file mode 100644
index 000000000..1bba4ea65
--- /dev/null
+++ b/kdeprint/kjobviewer/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
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kjobviewer )
+install( FILES kjobviewer.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kjobviewerui.rc DESTINATION ${DATA_INSTALL_DIR}/kjobviewer )
+
+
+##### kjobviewer (kdeinit) ######################
+
+tde_add_kdeinit_executable( kjobviewer AUTOMOC
+ SOURCES kjobviewer.cpp main.cpp
+ LINK kdeprint_management-shared
+)
diff --git a/kdeprint/kprinter/CMakeLists.txt b/kdeprint/kprinter/CMakeLists.txt
new file mode 100644
index 000000000..121c97f5e
--- /dev/null
+++ b/kdeprint/kprinter/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( CheckFunctionExists )
+check_function_exists( sigset HAVE_SIGACTION )
+check_function_exists( sigaction HAVE_SIGSET )
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kprinter (kdeinit) ########################
+
+tde_add_kdeinit_executable( kprinter AUTOMOC
+ SOURCES main.cpp printwrapper.cpp
+ LINK kdeprint-shared
+)
diff --git a/kdeprint/printmgr/CMakeLists.txt b/kdeprint/printmgr/CMakeLists.txt
new file mode 100644
index 000000000..847996abf
--- /dev/null
+++ b/kdeprint/printmgr/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
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( printmgr )
+install( FILES printers.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_printmgr (module) #####################
+
+tde_add_kpart( kcm_printmgr AUTOMOC
+ SOURCES kcmprintmgr.cpp
+ LINK kdeprint_management-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdeprint/slave/CMakeLists.txt b/kdeprint/slave/CMakeLists.txt
new file mode 100644
index 000000000..cfac6d998
--- /dev/null
+++ b/kdeprint/slave/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
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+add_subdirectory( mimetypes )
+add_subdirectory( templates )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES print.protocol printdb.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_print (module) ########################
+
+tde_add_kpart( kio_print AUTOMOC
+ SOURCES kio_print.cpp
+ LINK kdeprint-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdeprint/slave/mimetypes/CMakeLists.txt b/kdeprint/slave/mimetypes/CMakeLists.txt
new file mode 100644
index 000000000..02d289c15
--- /dev/null
+++ b/kdeprint/slave/mimetypes/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
+#
+#################################################
+
+install( FILES
+ folder.desktop printer.desktop class.desktop
+ manager.desktop jobs.desktop driver.desktop
+ printermodel.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/print )
diff --git a/kdeprint/slave/templates/CMakeLists.txt b/kdeprint/slave/templates/CMakeLists.txt
new file mode 100644
index 000000000..31f11cf6a
--- /dev/null
+++ b/kdeprint/slave/templates/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (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
+ class.template printer.template pseudo.template
+ jobs.template driver.template bar-bottom-left.png
+ bar-top-middle.png box-bottom-middle.png
+ box-top-middle.png bar-bottom-middle.png
+ bar-top-right.png box-bottom-right.png
+ box-top-right.png bar-bottom-right.png
+ bottom-left.png box-centre-kdeprint.png
+ top-left.png bar-middle-left.png bottom-middle.png
+ box-middle-left.png top-middle.png bar-middle-right.png
+ bottom-right.png box-middle-right.png top-right-kdeprint.png
+ bar-top-left.png box-bottom-left.png box-top-left.png
+ htmlstyles.css
+ DESTINATION ${DATA_INSTALL_DIR}/kdeprint/template )
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 )
diff --git a/kdesu/CMakeLists.txt b/kdesu/CMakeLists.txt
new file mode 100644
index 000000000..5461732be
--- /dev/null
+++ b/kdesu/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( CheckCSourceCompiles )
+include( CheckFunctionExists )
+
+check_c_source_compiles( "
+ #define _GNU_SOURCE 1
+ #include <sys/socket.h>
+ int main(int argc, char *argv[]) { struct ucred red; return 0; } "
+ HAVE_STRUCT_UCRED )
+
+check_c_source_runs( "
+ #include <grp.h>
+ #include <sys/types.h>
+ int main() { struct group *grp = getgrnam(\"nogroup\"); if(grp) return 0; return 1; }"
+ HAVE_NOGROUP )
+
+if( HAVE_NOGROUP )
+ set( nogroup nogroup )
+else()
+ check_c_source_runs("
+ #include <grp.h>
+ #include <sys/types.h>
+ int main() { struct group *grp = getgrnam(\"nobody\"); if(grp) return 0; return 1; }"
+ HAVE_NOBODY )
+ if( HAVE_NOBODY )
+ set( nogroup nobody )
+ else()
+ set( nogroup 65534 )
+ endif()
+endif()
+
+check_function_exists( getpeereid HAVE_GETPEEREID )
+check_include_file( "sys/select.h" HAVE_SYS_SELECT_H )
+check_include_file( "sys/wait.h" HAVE_SYS_WAIT_H )
+
+if( WITH_SUDO_KDESU_BACKEND )
+ set( DEFAULT_SUPER_USER_COMMAND sudo CACHE INTERNAL "" FORCE )
+else()
+ set( DEFAULT_SUPER_USER_COMMAND su CACHE INTERNAL "" FORCE )
+endif()
+
+add_subdirectory( kdesu )
+add_subdirectory( kdesud )
diff --git a/kdesu/kdesu/CMakeLists.txt b/kdesu/kdesu/CMakeLists.txt
new file mode 100644
index 000000000..b18fbfb57
--- /dev/null
+++ b/kdesu/kdesu/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kdesu (executable) ########################
+
+tde_add_executable( kdesu AUTOMOC
+ SOURCES kdesu.cpp sudlg.cpp
+ LINK kdesu-shared kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdesu/kdesud/CMakeLists.txt b/kdesu/kdesud/CMakeLists.txt
new file mode 100644
index 000000000..5e7fe6cbb
--- /dev/null
+++ b/kdesu/kdesud/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
+#
+#################################################
+
+# FIXME there is used KDE_USE_FPIE
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kdesud (executable) #######################
+
+tde_add_executable( kdesud
+ SOURCES kdesud.cpp repo.cpp lexer.cpp handler.cpp secure.cpp
+ LINK kdesu-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+install( CODE "execute_process( COMMAND chown root:${nogroup} \$ENV{DESTDIR}${_destination}/kdesud )" )
+install( CODE "execute_process( COMMAND chmod 2755 \$ENV{DESTDIR}${_destination}/kdesud )" )
diff --git a/kdialog/CMakeLists.txt b/kdialog/CMakeLists.txt
new file mode 100644
index 000000000..28bcc8389
--- /dev/null
+++ b/kdialog/CMakeLists.txt
@@ -0,0 +1,31 @@
+#################################################
+#
+# (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}
+)
+
+
+##### kdialog (executable) ######################
+
+tde_add_executable( kdialog AUTOMOC
+ SOURCES
+ kdialog.cpp widgets.cpp klistboxdialog.cpp
+ progressdialog.cpp progressdialogiface.skel
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdm/CMakeLists.txt b/kdm/CMakeLists.txt
new file mode 100644
index 000000000..73bcba446
--- /dev/null
+++ b/kdm/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME initial work, only PAM
+# FIXME needs more checks (for kerberos, etc)
+# FIXME Xsession need some improvements
+
+include( ConfigureChecks.cmake )
+
+add_subdirectory( backend )
+add_subdirectory( kfrontend )
diff --git a/kdm/ConfigureChecks.cmake b/kdm/ConfigureChecks.cmake
new file mode 100644
index 000000000..2ac6dbd29
--- /dev/null
+++ b/kdm/ConfigureChecks.cmake
@@ -0,0 +1,118 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+find_library( UTIL_LIBRARY util )
+
+check_function_exists( getdomainname HAVE_GETDOMAINNAME )
+check_function_exists( initgroups HAVE_INITGROUPS )
+check_function_exists( mkstemp HAVE_MKSTEMP )
+check_function_exists( setproctitle HAVE_SETPROCTITLE )
+check_function_exists( sysinfo HAVE_SYSINFO )
+check_function_exists( strnlen HAVE_STRNLEN )
+check_function_exists( getifaddrs HAVE_GETIFADDRS )
+
+tde_save( CMAKE_REQUIRED_LIBRARIES )
+set( CMAKE_REQUIRED_LIBRARIES ${UTIL_LIBRARY} )
+check_function_exists( setusercontext HAVE_SETUSERCONTEXT )
+check_function_exists( getusershell HAVE_GETUSERSHELL )
+check_function_exists( login_getclass HAVE_LOGIN_GETCLASS )
+check_function_exists( auth_timeok HAVE_AUTH_TIMEOK )
+tde_restore( CMAKE_REQUIRED_LIBRARIES )
+
+check_include_file( lastlog.h HAVE_LASTLOG_H )
+check_include_file( termio.h HAVE_TERMIO_H )
+
+check_struct_has_member( "struct sockaddr_in" "sin_len" "sys/socket.h;netinet/in.h" HAVE_STRUCT_SOCKADDR_IN_SIN_LEN )
+check_struct_has_member( "struct passwd" "pw_expire" "pwd.h" HAVE_STRUCT_PASSWD_PW_EXPIRE )
+check_struct_has_member( "struct utmp" "ut_user" "utmp.h" HAVE_STRUCT_UTMP_UT_USER )
+
+check_c_source_runs( "
+ #include <errno.h>
+ #include <unistd.h>
+ int main()
+ {
+ setlogin(0);
+ return errno == ENOSYS;
+ }
+" HAVE_SETLOGIN )
+
+check_c_source_runs( "
+ #include <sys/socket.h>
+ #include <sys/un.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <errno.h>
+ int main()
+ {
+ int fd, fd2;
+ struct sockaddr_un sa;
+
+ if((fd = socket(PF_UNIX, SOCK_STREAM, 0)) < 0)
+ return 2;
+ sa.sun_family = AF_UNIX;
+ strcpy(sa.sun_path, \"testsock\");
+ unlink(sa.sun_path);
+ if(bind(fd, (struct sockaddr *)&sa, sizeof(sa)))
+ return 2;
+ chmod(sa.sun_path, 0);
+ setuid(getuid() + 1000);
+ if((fd2 = socket(PF_UNIX, SOCK_STREAM, 0)) < 0)
+ return 2;
+ connect(fd2, (struct sockaddr *)&sa, sizeof(sa));
+ return errno != EACCES;
+ }
+" HONORS_SOCKET_PERMS )
+
+if( CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES Darwin OR CMAKE_SYSTEM_NAME MATCHES GNU/FreeBSD )
+ unset( HAVE_UTMPX )
+ unset( HAVE_LASTLOGX )
+else( )
+ check_function_exists( getutxent HAVE_UTMPX )
+ check_function_exists( updlastlogx HAVE_LASTLOGX )
+endif( )
+
+unset( BSD_UTMP )
+if( NOT HAVE_UTMPX )
+ check_function_exists( getutent have_getutent )
+ if( NOT have_getutent )
+ set( BSD_UTMP 1 )
+ endif( )
+endif( )
+
+check_function_exists( arc4random HAVE_ARC4RANDOM )
+if( NOT HAVE_ARC4RANDOM )
+ # assume that /dev/random is non-blocking if /dev/urandom does not exist
+ if( EXISTS /dev/urandom )
+ set( DEV_RANDOM "/dev/urandom" CACHE INTERNAL "" FORCE )
+ elseif( EXISTS /dev/random )
+ set( DEV_RANDOM "/dev/random" CACHE INTERNAL "" FORCE )
+ endif( )
+endif (NOT HAVE_ARC4RANDOM)
+
+# Xau
+pkg_search_module( XAU xau )
+if( NOT XAU_FOUND )
+ tde_message_fatal( "Xau are required, but not found on your system" )
+endif()
+
+
+if( WITH_PAM )
+
+ set( USE_PAM 1 CACHE INTERNAL "" FORCE )
+
+elseif( WITH_SHADOW )
+
+ set( HAVE_SHADOW 1 CACHE INTERNAL "" FORCE )
+ set( USESHADOW 1 CACHE INTERNAL "" FORCE )
+
+endif( )
diff --git a/kdm/backend/CMakeLists.txt b/kdm/backend/CMakeLists.txt
new file mode 100644
index 000000000..ef3d4f709
--- /dev/null
+++ b/kdm/backend/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
+#
+#################################################
+
+# FIXME this is far from complete!!!
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${DBUS_INCLUDE_DIRS}
+)
+
+
+##### kdm (executable) ##########################
+
+add_custom_command( OUTPUT config.ci
+ COMMAND perl -w ${CMAKE_SOURCE_DIR}/kdm/confproc.pl ${CMAKE_SOURCE_DIR}/kdm/config.def config.ci
+ DEPENDS ${CMAKE_SOURCE_DIR}/kdm/confproc.pl ${CMAKE_SOURCE_DIR}/kdm/config.def )
+
+set_property( SOURCE auth.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
+
+tde_add_executable( kdm
+ SOURCES
+ access.c auth.c bootman.c choose.c client.c consolekit.c
+ ctrl.c daemon.c dm.c dpylist.c error.c genauth.c
+ inifile.c krb5auth.c mitauth.c netaddr.c policy.c
+ process.c protodpy.c reset.c resource.c rpcauth.c
+ server.c session.c sessreg.c socket.c streams.c
+ util.c xdmauth.c xdmcp.c
+ LINK X11 ${XAU_LIBRARIES} ${DBUS_LIBRARIES} ${PAM_LIBRARY}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdm/kfrontend/CMakeLists.txt b/kdm/kfrontend/CMakeLists.txt
new file mode 100644
index 000000000..122f8c84e
--- /dev/null
+++ b/kdm/kfrontend/CMakeLists.txt
@@ -0,0 +1,94 @@
+#################################################
+#
+# (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( themer )
+add_subdirectory( themes )
+add_subdirectory( pics )
+add_subdirectory( sessions )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kdm/backend
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${CMAKE_SOURCE_DIR}/kcontrol/background
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( CODE "execute_process( COMMAND ${CMAKE_CURRENT_BINARY_DIR}/genkdmconf --in \$ENV{DESTDIR}${CONFIG_INSTALL_DIR}/kdm --no-in-notice --face-src ${CMAKE_CURRENT_SOURCE_DIR}/pics ${GENKDMCONF_FLAGS} )" )
+
+
+##### config.ci (generated) #####################
+
+add_custom_command( OUTPUT config.ci
+ COMMAND perl -w ${CMAKE_SOURCE_DIR}/kdm/confproc.pl ${CMAKE_SOURCE_DIR}/kdm/config.def config.ci
+ DEPENDS ${CMAKE_SOURCE_DIR}/kdm/confproc.pl ${CMAKE_SOURCE_DIR}/kdm/config.def )
+
+
+##### kdm_config (executable) ###################
+
+set_property( SOURCE kdm_config.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
+
+tde_add_executable( kdm_config
+ SOURCES kdm_config.c
+ LINK
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kdm_greet (executable) ####################
+
+tde_add_executable( kdm_greet AUTOMOC
+ SOURCES
+ kdm_greet.c kdmconfig.cpp kdmclock.cpp kconsole.cpp
+ kfdialog.cpp kgdialog.cpp kchooser.cpp kgverify.cpp
+ kdmshutdown.cpp kdmadmindialog.cpp kgreeter.cpp
+ kgapp.cpp
+ LINK kdmthemer-static kdeui-shared Xtst
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### krootimage (executable) ###################
+
+tde_add_executable( krootimage AUTOMOC
+ SOURCES krootimage.cpp
+ LINK bgnd-static kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### genkdmconf (executable) ###################
+
+set_property( SOURCE genkdmconf.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
+
+tde_add_executable( genkdmconf AUTOMOC
+ SOURCES genkdmconf.c
+ LINK X11
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kdmctl (executable) #######################
+
+tde_add_executable( kdmctl
+ SOURCES kdmctl.c
+ LINK
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdm/kfrontend/pics/CMakeLists.txt b/kdm/kfrontend/pics/CMakeLists.txt
new file mode 100644
index 000000000..790dc06ce
--- /dev/null
+++ b/kdm/kfrontend/pics/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (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
+ kdelogo.png kdelogo-crystal.png shutdown.jpg
+ DESTINATION ${DATA_INSTALL_DIR}/kdm/pics )
+
+install( FILES
+ default1.png default2.png default3.png root1.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdm/pics/users )
diff --git a/kdm/kfrontend/sessions/CMakeLists.txt b/kdm/kfrontend/sessions/CMakeLists.txt
new file mode 100644
index 000000000..e5ccb9fb0
--- /dev/null
+++ b/kdm/kfrontend/sessions/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+configure_file( kde.desktop.cmake kde.desktop @ONLY )
+
+install( FILES
+ admin.desktop ${CMAKE_CURRENT_BINARY_DIR}/kde.desktop
+ gnome.desktop 9wm.desktop aewm++.desktop aewm.desktop
+ afterstep.desktop amaterus.desktop amiwm.desktop
+ asclassic.desktop blackbox.desktop cde.desktop
+ ctwm.desktop cwwm.desktop enlightenment.desktop
+ evilwm.desktop fluxbox.desktop flwm.desktop fvwm.desktop
+ fvwm95.desktop golem.desktop icewm.desktop ion.desktop
+ larswm.desktop lwm.desktop matchbox.desktop metacity.desktop
+ mwm.desktop olvwm.desktop olwm.desktop openbox.desktop
+ oroborus.desktop phluid.desktop pwm.desktop qvwm.desktop
+ ratpoison.desktop sapphire.desktop sawfish.desktop
+ twm.desktop ude.desktop vtwm.desktop w9wm.desktop
+ waimea.desktop wm2.desktop wmaker.desktop xfce.desktop
+ xfce4.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kdm/sessions )
diff --git a/kdm/kfrontend/sessions/kde.desktop.cmake b/kdm/kfrontend/sessions/kde.desktop.cmake
new file mode 100644
index 000000000..fa56e73a9
--- /dev/null
+++ b/kdm/kfrontend/sessions/kde.desktop.cmake
@@ -0,0 +1,45 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=XSession
+Exec=@TDE_BIN_DIR@/startkde
+TryExec=@TDE_BIN_DIR@/startkde
+Name=KDE3
+Name[hi]=केडीई
+Name[mn]=КДЭ
+Name[ta]=Kஏற்றக் காவலன்
+Name[xh]=iKDE
+Name[xx]=xxKDExx
+Comment=The K Desktop Environment. A powerful Open Source graphical desktop environment
+Comment[bs]=K Desktop Environment. Moćan grafički desktop otvorenog izvornog koda
+Comment[ca]=L'entorn d'escriptori K. Un poderós entorn d'escriptori gràfic de Codi Font Obert
+Comment[cy]=Yr Amgylchedd Penbwrdd K. Amgylchedd penbwrdd graffegol pwerus, sy'n gôd-agored.
+Comment[da]=K Skrivebordsmiljøet. Et kraftigt, åbent, grafisk skrivebordsmiljø
+Comment[de]=Das K Desktop Environment. Eine mächtige, graphische Arbeitsumgebung und Open Source / Freie Software
+Comment[el]=Το K Desktop Environment. Ένα πανίσχυρο ελεύθερης προέλευσης γραφικό περιβάλλον επιφάνειας εργασίας
+Comment[es]=El Entorno de Escritorio K, un potente entorno de escritorio gráfico realizado de código abierto
+Comment[et]=K töölaua keskkond on võimas vaba tarkvara graafiline töölaua keskkond
+Comment[fi]=KDE-työpöytäympäristö (K Desktop Environment) on tehokas avoimen lähdekoodin graafinen työpöytäympäristö
+Comment[fr]=The K Desktop Environment. Un environnement de bureau graphique, puissant et Open Source
+Comment[he]=The K Desktop Environment. סביבת עבודה גרפית, בעלת-עוצמה בקוד פתוח
+Comment[hi]=के डेस्कटॉप वातावरण. एक शक्तिशाली, ओपन सोर्स चित्रमय डेस्कटॉप वातावरण
+Comment[hu]=A KDE grafikus munkakörnyezet, egy szabad forráskódú grafikus ablakkezelő környezet
+Comment[it]=L'ambiente desktop KDE. Un potente ambiente desktop grafico Open Source
+Comment[mn]=The K Desktop Environment. Хүчирхэг нээлттэй эх код бүхий график дэлгэцийн орчин
+Comment[nb]=K Desktop Environment. Et kraftig grafisk skrivebordsmiljø med åpen kildekode.
+Comment[nl]=De K Desktop Environment, een krachtige open source grafische desktop environment
+Comment[nn]=K Desktop Environment. Eit kraftig grafisk skrivebordsmiljø med open kjeldekode.
+Comment[pl]=Środowisko KDE. Potężne środowisko graficzne Wolnego Oprogramowania.
+Comment[pt]=O K Desktop Environment. Um ambiente gráfico open source poderoso
+Comment[pt_BR]=Acrônimo para K Desktop Environment (ou Ambiente de Trabalho K). Um poderoso ambiente de trabalho gráfico de código aberto
+Comment[ro]=K Desktop Environment. Un mediu grafic cu surse deschise, foarte puternic
+Comment[sk]=The K Desktop Environment. Výkonné, voľne šíriteľné grafické pracovné prostredie
+Comment[sl]=Namizno okolje K. Zmogljivo grafično namizno okolje odprte kode
+Comment[sr]=K Desktop Environment (KDE). Моћно графичко радно окружење отвореног кода
+Comment[sv]=K-skrivbordsmiljön. En kraftfull grafisk skrivbordsmiljö med öppen källkod
+Comment[ta]= Kமேல்மேசை சூழல். சக்திவாய்ந்த திறந்த ஆணைமூல சித்திர வகை மேல்மேசை சூழல்
+Comment[tr]=KDE Masaüstü Yöneticisi. Güçlü bir grafiksel masaüstü ortamı
+Comment[uk]=The K Desktop Environment. Потужне графічне середовище з відкритими текстами
+Comment[uz]=KDE (K Desktop Environment) - кучли Open Source график иш столи муҳити
+Comment[vi]=môi trường desktop K, môi trường desktop đồ hoạ mã nguồn mở rất mạnh
+Comment[xx]=xxThe K Desktop Environment. A powerful Open Source graphical desktop environmentxx
+Comment[zh_CN]=K 桌面环境。强大的开放源代码图形桌面环境
diff --git a/kdm/kfrontend/themer/CMakeLists.txt b/kdm/kfrontend/themer/CMakeLists.txt
new file mode 100644
index 000000000..ff65734af
--- /dev/null
+++ b/kdm/kfrontend/themer/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_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kdm/kfrontend
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+# FIXME this must be optimized
+##### config.ci (generated) #####################
+
+add_custom_command( OUTPUT config.ci
+ COMMAND perl -w ${CMAKE_SOURCE_DIR}/kdm/confproc.pl ${CMAKE_SOURCE_DIR}/kdm/config.def config.ci
+ DEPENDS ${CMAKE_SOURCE_DIR}/kdm/confproc.pl ${CMAKE_SOURCE_DIR}/kdm/config.def )
+set_property( SOURCE kdmthemer.cpp APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
+
+
+##### kdmthemer (static) ########################
+
+tde_add_library( kdmthemer STATIC_PIC AUTOMOC
+ SOURCES
+ kdmthemer.cpp kdmitem.cpp kdmpixmap.cpp
+ kdmrect.cpp kdmlabel.cpp kdmlayout.cpp
+)
diff --git a/kdm/kfrontend/themes/CMakeLists.txt b/kdm/kfrontend/themes/CMakeLists.txt
new file mode 100644
index 000000000..f1dd26e15
--- /dev/null
+++ b/kdm/kfrontend/themes/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (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( circles )
+add_subdirectory( o2_enterprise )
diff --git a/kdm/kfrontend/themes/circles/CMakeLists.txt b/kdm/kfrontend/themes/circles/CMakeLists.txt
new file mode 100644
index 000000000..91396000b
--- /dev/null
+++ b/kdm/kfrontend/themes/circles/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
+ GdmGreeterTheme.desktop circles.xml background.svg
+ flower.png help.png options.png screenshot.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdm/themes/circles )
diff --git a/kdm/kfrontend/themes/o2_enterprise/CMakeLists.txt b/kdm/kfrontend/themes/o2_enterprise/CMakeLists.txt
new file mode 100644
index 000000000..81b5fe7de
--- /dev/null
+++ b/kdm/kfrontend/themes/o2_enterprise/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
+#
+#################################################
+
+install( FILES
+ Dialog.png enter_normal.png enter_over.png enter_pressed.png
+ enterprise.xml GdmGreeterTheme.desktop preview.png
+ system_normal.png system_over.png system_pressed.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdm/themes/o2_enterprise )
diff --git a/kdmlib/CMakeLists.txt b/kdmlib/CMakeLists.txt
new file mode 100644
index 000000000..34aaff323
--- /dev/null
+++ b/kdmlib/CMakeLists.txt
@@ -0,0 +1,71 @@
+#################################################
+#
+# (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}/kdm/kfrontend
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+if( BUILD_KDM )
+
+
+##### headers ###################################
+
+install( FILES kgreeterplugin.h DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+##### kgreet_classic (module) ###################
+
+tde_add_kpart( kgreet_classic AUTOMOC
+ SOURCES kgreet_classic.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kgreet_pam (module) #######################
+
+tde_add_kpart( kgreet_pam AUTOMOC
+ SOURCES kgreet_pam.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kgreet_winbind (module) ###################
+
+tde_add_kpart( kgreet_winbind AUTOMOC
+ SOURCES kgreet_winbind.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+
+endif( BUILD_KDM )
+
+
+##### dmctl (static) ############################
+
+if( BUILD_KICKER OR BUILD_KDESKTOP OR BUILD_KDM OR BUILD_KSMSERVER )
+
+ tde_add_library( dmctl STATIC_PIC
+ SOURCES dmctl.cpp
+ LINK Xau
+ )
+
+endif( )
diff --git a/kfind/CMakeLists.txt b/kfind/CMakeLists.txt
new file mode 100644
index 000000000..91ed980f5
--- /dev/null
+++ b/kfind/CMakeLists.txt
@@ -0,0 +1,61 @@
+#################################################
+#
+# (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( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kfind )
+install( FILES Kfind.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kfindpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES findpart.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### libkfindpart (module) #####################
+
+tde_add_kpart( libkfindpart AUTOMOC
+ SOURCES kfindpart.cpp
+ LINK kfind_common-static konq-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kfind (executable) ######################
+
+tde_add_executable( kfind AUTOMOC
+ SOURCES kfwin.cpp kfinddlg.cpp main.cpp
+ LINK kfind_common-static
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kfind_common (static) #####################
+
+tde_add_library( kfind_common STATIC_PIC AUTOMOC
+ SOURCES kftabdlg.cpp kfind.cpp kquery.cpp kdatecombo.cpp
+ LINK kparts-shared
+)
diff --git a/kfind/pics/CMakeLists.txt b/kfind/pics/CMakeLists.txt
new file mode 100644
index 000000000..14a63b2f8
--- /dev/null
+++ b/kfind/pics/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}/kfindpart/icons )
diff --git a/khelpcenter/CMakeLists.txt b/khelpcenter/CMakeLists.txt
new file mode 100644
index 000000000..71840b081
--- /dev/null
+++ b/khelpcenter/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
+#
+#################################################
+
+add_subdirectory( plugins )
+add_subdirectory( pics )
+add_subdirectory( searchhandlers )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES Help.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES khelpcenter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES khelpcenter.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+install( FILES
+ khelpcenterui.rc intro.html.in glossary.html.in
+ table-of-contents.xslt glossary.xslt index.html.in
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter )
+
+
+##### khelpcenter (kdeinit) #####################
+
+tde_add_kdeinit_executable( khelpcenter AUTOMOC
+ SOURCES
+ navigator.cpp navigatoritem.cpp navigatorappitem.cpp
+ view.cpp searchwidget.cpp searchengine.cpp docmetainfo.cpp
+ docentrytraverser.cpp formatter.cpp glossary.cpp
+ toc.cpp mainwindow.cpp docentry.cpp htmlsearch.cpp
+ history.cpp application.cpp searchwidget.skel
+ treebuilder.cpp infotree.cpp mainwindow.skel
+ kcmhelpcenter.cpp htmlsearchconfig.cpp kcmhelpcenter.skel
+ fontdialog.cpp plugintraverser.cpp scrollkeepertreebuilder.cpp
+ prefs.kcfgc searchhandler.cpp
+ LINK khtml-shared
+)
+
+
+##### khc_indexbuilder (executable) #############
+
+tde_add_executable( khc_indexbuilder AUTOMOC
+ SOURCES khc_indexbuilder.cpp
+ LINK kdecore-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/khelpcenter/pics/CMakeLists.txt b/khelpcenter/pics/CMakeLists.txt
new file mode 100644
index 000000000..31014722a
--- /dev/null
+++ b/khelpcenter/pics/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (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( khelpcenter )
+tde_install_icons( helpdoc helpbook helpbook_open DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/icons )
diff --git a/khelpcenter/plugins/Applications/CMakeLists.txt b/khelpcenter/plugins/Applications/CMakeLists.txt
new file mode 100644
index 000000000..d31a92243
--- /dev/null
+++ b/khelpcenter/plugins/Applications/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 .directory DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Applications )
diff --git a/khelpcenter/plugins/CMakeLists.txt b/khelpcenter/plugins/CMakeLists.txt
new file mode 100644
index 000000000..e18aa5647
--- /dev/null
+++ b/khelpcenter/plugins/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( Applications )
+add_subdirectory( Manpages )
+add_subdirectory( Tutorials )
+add_subdirectory( Scrollkeeper )
+
+install( FILES
+ applets.desktop contact.desktop faq.desktop info.desktop
+ links.desktop support.desktop userguide.desktop welcome.desktop
+ kicmodules.desktop kcontrolmodules.desktop konqplugins.desktop
+ kioslaves.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins )
diff --git a/khelpcenter/plugins/Manpages/CMakeLists.txt b/khelpcenter/plugins/Manpages/CMakeLists.txt
new file mode 100644
index 000000000..d6abb8a15
--- /dev/null
+++ b/khelpcenter/plugins/Manpages/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
+#
+#################################################
+
+install( FILES
+ .directory man1.desktop man2.desktop man3.desktop
+ man4.desktop man5.desktop man6.desktop man7.desktop
+ man8.desktop man9.desktop mann.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Manpages )
diff --git a/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt b/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt
new file mode 100644
index 000000000..fe2acd80f
--- /dev/null
+++ b/khelpcenter/plugins/Scrollkeeper/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
+ .directory scrollkeeper.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Scrollkeeper )
diff --git a/khelpcenter/plugins/Tutorials/CMakeLists.txt b/khelpcenter/plugins/Tutorials/CMakeLists.txt
new file mode 100644
index 000000000..2388c6440
--- /dev/null
+++ b/khelpcenter/plugins/Tutorials/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
+ .directory quickstart.desktop visualdict.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Tutorials )
diff --git a/khelpcenter/searchhandlers/CMakeLists.txt b/khelpcenter/searchhandlers/CMakeLists.txt
new file mode 100644
index 000000000..eeb76104b
--- /dev/null
+++ b/khelpcenter/searchhandlers/CMakeLists.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+set( prefix ${CMAKE_INSTALL_PREFIX} )
+configure_file( khc_docbookdig.pl.in khc_docbookdig.pl @ONLY )
+configure_file( khc_htdig.pl.in khc_htdig.pl @ONLY )
+
+install( FILES
+ htdig.desktop man.desktop docbook.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/searchhandlers )
+
+install( PROGRAMS
+ ${CMAKE_CURRENT_BINARY_DIR}/khc_htdig.pl khc_htsearch.pl
+ ${CMAKE_CURRENT_BINARY_DIR}/khc_docbookdig.pl khc_beagle_search.pl
+ khc_mansearch.pl khc_beagle_index.pl
+ DESTINATION ${BIN_INSTALL_DIR} )
+
+install( FILES
+ htdig_long.html
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/searchhandlers/htdig )
diff --git a/khotkeys/CMakeLists.txt b/khotkeys/CMakeLists.txt
new file mode 100644
index 000000000..b2529ae04
--- /dev/null
+++ b/khotkeys/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
+#
+#################################################
+
+check_c_source_runs( "
+ class A { public: virtual A* me(); };
+ class X { public: int x; virtual void ff() {}; };
+ class B : public X, public A { public: virtual B* me(); };
+ int foo( A* a )
+ {
+ A* aa = a->me();
+ return a == aa;
+ }
+ int main()
+ {
+ B* b = new B;
+ return foo( b ) == 0;
+ }
+ A* A::me() { return this; }
+ B* B::me() { return this; }
+" COVARIANT_RETURN )
+
+if( NOT COVARIANT_RETURN )
+ set( COVARIANT_RETURN_BROKEN 1 CACHE INTERNAL "" FORCE )
+endif( )
+
+add_subdirectory( shared )
+add_subdirectory( kcontrol )
+add_subdirectory( app )
+add_subdirectory( data )
+add_subdirectory( update )
+tde_conditional_add_subdirectory( WITH_ARTS arts )
+
+install( FILES khotkeys.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
diff --git a/khotkeys/app/CMakeLists.txt b/khotkeys/app/CMakeLists.txt
new file mode 100644
index 000000000..8d5cc8fef
--- /dev/null
+++ b/khotkeys/app/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}
+ ${CMAKE_SOURCE_DIR}/khotkeys/shared
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES khotkeys.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+
+
+##### kded_khotkeys (module) ####################
+
+tde_add_kpart( kded_khotkeys AUTOMOC
+ SOURCES kded.cpp kded.skel
+ LINK khotkeys_shared-shared kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### khotkeys (kdeinit) ########################
+
+tde_add_kdeinit_executable( khotkeys AUTOMOC
+ SOURCES app.cpp app.skel
+ LINK khotkeys_shared-shared
+)
diff --git a/khotkeys/arts/CMakeLists.txt b/khotkeys/arts/CMakeLists.txt
new file mode 100644
index 000000000..7cbf4eac3
--- /dev/null
+++ b/khotkeys/arts/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
+#
+#################################################
+
+if( WITH_ARTS )
+ pkg_search_module( ARTS arts )
+ if( NOT ARTS_FOUND )
+ tde_message_fatal( "aRts are requested, but not found on your system" )
+ endif( )
+ set( HAVE_ARTS 1 CACHE INTERNAL "" FORCE )
+endif( )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/khotkeys/kcontrol
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/khotkeys/shared
+ ${CMAKE_SOURCE_DIR}/khotkeys/kcontrol
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### khotkeys_arts (module) #######################
+
+tde_add_kpart( khotkeys_arts AUTOMOC
+ SOURCES soundrecorder_arts.cpp voicerecorder_arts.cpp
+ LINK khotkeys_shared-shared artskde-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/khotkeys/data/CMakeLists.txt b/khotkeys/data/CMakeLists.txt
new file mode 100644
index 000000000..06228c804
--- /dev/null
+++ b/khotkeys/data/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
+#
+#################################################
+
+install( FILES
+ kde32b1.khotkeys konqueror_gestures_kde321.khotkeys
+ printscreen.khotkeys
+ DESTINATION ${DATA_INSTALL_DIR}/khotkeys )
+
+install( FILES
+ khotkeys_32b1_update.upd khotkeys_printscreen.upd
+ konqueror_gestures_kde321_update.upd
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
diff --git a/khotkeys/kcontrol/CMakeLists.txt b/khotkeys/kcontrol/CMakeLists.txt
new file mode 100644
index 000000000..e8c08a0ec
--- /dev/null
+++ b/khotkeys/kcontrol/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
+#
+#################################################
+
+add_subdirectory( ui )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/ui
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/khotkeys/shared
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( khotkeys )
+install( FILES khotkeys.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_khotkeys (module) #####################
+
+tde_add_kpart( kcm_khotkeys AUTOMOC
+ SOURCES
+ menuedit.cpp window_trigger_widget.cpp tab_widget.cpp main_buttons_widget.cpp
+ actions_listview_widget.cpp menuentry_widget.cpp general_tab.cpp
+ action_group_tab.cpp kcmkhotkeys.cpp command_url_widget.cpp windowdef_list_widget.cpp
+ windowdef_simple_widget.cpp triggers_tab.cpp dcop_widget.cpp info_tab.cpp
+ action_list_widget.cpp keyboard_input_widget.cpp condition_list_widget.cpp
+ gesturedrawer.cpp gesturerecorder.cpp gesturerecordpage.cpp gesture_triggers_tab.cpp
+ windowselector.cpp gestures_settings_tab.cpp general_settings_tab.cpp
+ voicerecorder.cpp voicerecordpage.cpp voice_settings_tab.cpp
+ LINK ui-static
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_khotkeys_init (module) ################
+
+tde_add_kpart( kcm_khotkeys_init AUTOMOC
+ SOURCES init.cpp
+ LINK kdecore-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/khotkeys/kcontrol/ui/CMakeLists.txt b/khotkeys/kcontrol/ui/CMakeLists.txt
new file mode 100644
index 000000000..85212affb
--- /dev/null
+++ b/khotkeys/kcontrol/ui/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}
+ ${CMAKE_SOURCE_DIR}/khotkeys/shared
+ ${CMAKE_SOURCE_DIR}/khotkeys/kcontrol
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### ui (static) ###############################
+
+tde_add_library( ui STATIC_PIC AUTOMOC
+ SOURCES
+ windowdef_simple_widget_ui.ui windowdef_list_widget_ui.ui
+ command_url_widget_ui.ui menuentry_widget_ui.ui
+ triggers_tab_ui.ui general_tab_ui.ui action_group_tab_ui.ui
+ dcop_widget_ui.ui main_buttons_widget_ui.ui voice_settings_tab_ui.ui
+ info_tab_ui.ui window_trigger_widget_ui.ui action_list_widget_ui.ui
+ keyboard_input_widget_ui.ui condition_list_widget_ui.ui
+ gesture_triggers_tab_ui.ui gestures_settings_tab_ui.ui
+ general_settings_tab_ui.ui voice_input_widget_ui.ui
+ actions_listview_widget_ui.ui
+ LINK khotkeys_shared-shared
+)
diff --git a/khotkeys/shared/CMakeLists.txt b/khotkeys/shared/CMakeLists.txt
new file mode 100644
index 000000000..c1e1de043
--- /dev/null
+++ b/khotkeys/shared/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### khotkeys_shared (shared) ##################
+
+set( target khotkeys_shared )
+
+set( ${target}_SRCS
+ action_data.cpp khotkeysglobal.cpp triggers.cpp
+ windows.cpp settings.cpp actions.cpp input.cpp
+ conditions.cpp khlistview.cpp khlistbox.cpp
+ gestures.cpp voices.cpp voicesignature.cpp
+ sound.cpp soundrecorder.cpp
+)
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 1.0.0
+ LINK kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/khotkeys/update/CMakeLists.txt b/khotkeys/update/CMakeLists.txt
new file mode 100644
index 000000000..13a7dffca
--- /dev/null
+++ b/khotkeys/update/CMakeLists.txt
@@ -0,0 +1,31 @@
+#################################################
+#
+# (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}/khotkeys/shared
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### khotkeys_update (executable) ##############
+
+tde_add_executable( khotkeys_update
+ SOURCES update.cpp
+ LINK khotkeys_shared-shared
+ DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
+)
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}
+)
diff --git a/kioslave/CMakeLists.txt b/kioslave/CMakeLists.txt
new file mode 100644
index 000000000..79ba1f9b9
--- /dev/null
+++ b/kioslave/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
+#
+#################################################
+
+include( ConfigureChecks.cmake )
+
+# FIXME no LDAP and SAMBA support yet
+
+add_subdirectory( about )
+add_subdirectory( cgi )
+add_subdirectory( floppy )
+add_subdirectory( filter )
+add_subdirectory( fish )
+add_subdirectory( info )
+add_subdirectory( mac )
+add_subdirectory( man )
+add_subdirectory( nfs )
+add_subdirectory( nntp )
+add_subdirectory( pop3 )
+add_subdirectory( smtp )
+add_subdirectory( sftp )
+add_subdirectory( tar )
+add_subdirectory( finger )
+add_subdirectory( thumbnail )
+add_subdirectory( settings )
+add_subdirectory( trash )
+add_subdirectory( media )
+add_subdirectory( remote )
+add_subdirectory( home )
+add_subdirectory( system )
+# tde_conditional_add_subdirectory( WITH_LDAP ldap )
+# tde_conditional_add_subdirectory( WITH_SAMBA smb )
diff --git a/kioslave/ConfigureChecks.cmake b/kioslave/ConfigureChecks.cmake
new file mode 100644
index 000000000..8f0783133
--- /dev/null
+++ b/kioslave/ConfigureChecks.cmake
@@ -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
+#
+#################################################
+
+if( WITH_SASL )
+ check_include_file( "sasl/sasl.h" HAVE_SASL_SASL_H )
+ check_library_exists( sasl2 sasl_client_init "" HAVE_LIBSASL2 )
+ if( HAVE_SASL_SASL_H AND HAVE_LIBSASL2 )
+ set( SASL_LIBRARIES sasl2 )
+ else( )
+ tde_message_fatal( "sasl2 are requested, but not found on your system" )
+ endif( )
+endif( )
diff --git a/kioslave/about/CMakeLists.txt b/kioslave/about/CMakeLists.txt
new file mode 100644
index 000000000..a0e588286
--- /dev/null
+++ b/kioslave/about/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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 about.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_about (module) ########################
+
+set( target kio_about )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kio_about.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/cgi/CMakeLists.txt b/kioslave/cgi/CMakeLists.txt
new file mode 100644
index 000000000..ba13d948f
--- /dev/null
+++ b/kioslave/cgi/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
+#
+#################################################
+
+add_subdirectory( kcmcgi )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES cgi.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_cgi (module) ##########################
+
+set( target kio_cgi )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES cgi.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/cgi/kcmcgi/CMakeLists.txt b/kioslave/cgi/kcmcgi/CMakeLists.txt
new file mode 100644
index 000000000..9993fb52f
--- /dev/null
+++ b/kioslave/cgi/kcmcgi/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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 kcmcgi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_cgi (module) ##########################
+
+set( target kcm_cgi )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kcmcgi.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/filter/CMakeLists.txt b/kioslave/filter/CMakeLists.txt
new file mode 100644
index 000000000..cc511f564
--- /dev/null
+++ b/kioslave/filter/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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 bzip.protocol bzip2.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_filter (module) #######################
+
+set( target kio_filter )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES filter.cc
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/finger/CMakeLists.txt b/kioslave/finger/CMakeLists.txt
new file mode 100644
index 000000000..8f70b4188
--- /dev/null
+++ b/kioslave/finger/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES finger.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kio_finger.pl kio_finger.css DESTINATION ${DATA_INSTALL_DIR}/kio_finger )
+
+
+##### kio_finger (module) #######################
+
+set( target kio_finger )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kio_finger.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/fish/CMakeLists.txt b/kioslave/fish/CMakeLists.txt
new file mode 100644
index 000000000..77049ce8b
--- /dev/null
+++ b/kioslave/fish/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( ConfigureChecks.cmake )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES fish.protocol nxfish.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_fish (module) #########################
+
+add_custom_command( OUTPUT fishcode.h
+ COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/genfishcode.pl ${CMAKE_CURRENT_SOURCE_DIR}/fish.pl > fishcode.h
+ DEPENDS fish.pl )
+
+set_property( SOURCE fish.cpp APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/fishcode.h )
+
+set( target kio_fish )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES fish.cpp
+ LINK kio-shared util
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/fish/ConfigureChecks.cmake b/kioslave/fish/ConfigureChecks.cmake
new file mode 100644
index 000000000..46ea1c181
--- /dev/null
+++ b/kioslave/fish/ConfigureChecks.cmake
@@ -0,0 +1,32 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+check_include_file( stropts.h HAVE_STROPTS )
+check_include_file( libutil.h HAVE_LIBUTIL_H )
+check_include_file( util.h HAVE_UTIL_H )
+check_include_file( pty.h HAVE_PTY_H )
+
+
+tde_save( CMAKE_REQUIRED_LIBRARIES )
+set( CMAKE_REQUIRED_LIBRARIES util )
+
+check_c_source_runs("
+ #include <pty.h>
+ int main(int argc, char* argv) {
+ int master_fd, slave_fd;
+ int result;
+ result = openpty(&master_fd, &slave_fd, 0, 0, 0);
+ return 0;
+ }"
+ HAVE_OPENPTY
+)
+
+tde_restore( CMAKE_REQUIRED_LIBRARIES )
diff --git a/kioslave/fish/genfishcode.cmake b/kioslave/fish/genfishcode.cmake
new file mode 100644
index 000000000..9b35a51ec
--- /dev/null
+++ b/kioslave/fish/genfishcode.cmake
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+SUM=$( @MD5SUM@ @CMAKE_CURRENT_SOURCE_DIR@/fish.pl | cut -d ' ' @MD5SUM_CUT@ )
+
+#echo "#define CHECKSUM "\"$SUM\"" > fishcode.h
+#echo 'static const char *fishCode(' >> fishcode.h
+#sed -e 's/\\/\\\\/g;s/"/\\"/g;s/^[ ]*/"/;/^"# /d;s/[ ]*$$/\\n"/;/^"\\n"$$/d;s/{CHECKSUM}/'$$SUM'/;' @CMAKE_CURRENT_SOURCE_DIR@/fish.pl >> fishcode.h
+#echo ');' >> fishcode.h
diff --git a/kioslave/fish/genfishcode.pl b/kioslave/fish/genfishcode.pl
new file mode 100755
index 000000000..60dfff8de
--- /dev/null
+++ b/kioslave/fish/genfishcode.pl
@@ -0,0 +1,43 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+
+use Digest::MD5;
+
+sub md5sum {
+ my $filename = shift;
+ my $digest;
+ eval {
+ open( my $FILE, '<', $filename )
+ or die "Can't find file $filename\n";
+ my $ctx = Digest::MD5->new;
+ $ctx->addfile($FILE);
+ $digest = $ctx->hexdigest;
+ close($FILE);
+ };
+ if ($@) {
+ warn $@;
+ }
+ return $digest;
+}
+
+my $file = $ARGV[0] or die "Missing filename argument";
+
+my $fish_md5 = md5sum($file)
+ or die "Couldn't compute MD5 for some reason\n";
+print qq{#define CHECKSUM "$fish_md5"\n};
+print qq{static const char *fishCode(\n};
+
+open( my $FISH, "<", "$file" ) or die "Can't open $file\n";
+while (<$FISH>) {
+ chomp;
+ s|\\|\\\\|g;
+ s|"|\\"|g;
+ s/^\s*/"/;
+ next if /^"# /;
+ s/\s*$/\\n"/;
+ next if /^"\\n"$/;
+ print "$_\n";
+}
+close($FISH);
+print qq{);\n};
diff --git a/kioslave/floppy/CMakeLists.txt b/kioslave/floppy/CMakeLists.txt
new file mode 100644
index 000000000..0b369e251
--- /dev/null
+++ b/kioslave/floppy/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES floppy.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_floppy (module) #######################
+
+set( target kio_floppy )
+
+set( ${target}_SRCS
+ kio_floppy.cpp program.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/home/CMakeLists.txt b/kioslave/home/CMakeLists.txt
new file mode 100644
index 000000000..99639d9cb
--- /dev/null
+++ b/kioslave/home/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
+#
+#################################################
+
+add_subdirectory( kdedmodule )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES home.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kiohome (static) ##########################
+
+set( target kiohome )
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES kio_home.cpp homeimpl.cpp
+)
+
+
+##### kio_home (module) #########################
+
+set( target kio_home )
+
+tde_add_kpart( ${target}
+ SOURCES dummy.cpp
+ EMBED kiohome-static
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/home/kdedmodule/CMakeLists.txt b/kioslave/home/kdedmodule/CMakeLists.txt
new file mode 100644
index 000000000..0d86f52f7
--- /dev/null
+++ b/kioslave/home/kdedmodule/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES homedirnotify.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+
+
+##### kded_homedirnotify (module) ###############
+
+set( target kded_homedirnotify )
+
+set( ${target}_SRCS
+ homedirnotify.cpp homedirnotify.skel
+ homedirnotifymodule.cpp homedirnotifymodule.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/info/CMakeLists.txt b/kioslave/info/CMakeLists.txt
new file mode 100644
index 000000000..f2dfb52e8
--- /dev/null
+++ b/kioslave/info/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES info.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kde-info2html.conf DESTINATION ${DATA_INSTALL_DIR}/kio_info )
+install( PROGRAMS kde-info2html DESTINATION ${DATA_INSTALL_DIR}/kio_info )
+
+
+##### kio_info (module) #########################
+
+set( target kio_info )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES info.cc
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
diff --git a/kioslave/mac/CMakeLists.txt b/kioslave/mac/CMakeLists.txt
new file mode 100644
index 000000000..fbe700838
--- /dev/null
+++ b/kioslave/mac/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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 mac.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_install_icons( )
+
+
+##### kio_mac (module) ##########################
+
+set( target kio_mac )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kio_mac.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
diff --git a/kioslave/man/CMakeLists.txt b/kioslave/man/CMakeLists.txt
new file mode 100644
index 000000000..6532f0cbf
--- /dev/null
+++ b/kioslave/man/CMakeLists.txt
@@ -0,0 +1,60 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME not built: man2html, kio_man_test
+
+
+##### system checks #############################
+
+check_include_file( "unistd.h" HAVE_UNISTD_H )
+check_include_file( "string.h" HAVE_STRING_H )
+
+
+##### compiler/linker settings ##################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES man.protocol kmanpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kio_man.css DESTINATION ${DATA_INSTALL_DIR}/kio_man )
+
+
+##### kio_man (module) ##########################
+
+set( target kio_man )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES man2html.cpp kio_man.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkmanpart (module) ######################
+
+set( target libkmanpart )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kmanpart.cpp
+ LINK khtml-shared kparts-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/media/CMakeLists.txt b/kioslave/media/CMakeLists.txt
new file mode 100644
index 000000000..bce9c7a3c
--- /dev/null
+++ b/kioslave/media/CMakeLists.txt
@@ -0,0 +1,60 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME no HAL support yet
+
+add_subdirectory( libmediacommon )
+add_subdirectory( mediamanager )
+add_subdirectory( medianotifier )
+add_subdirectory( mounthelper )
+add_subdirectory( kfile-plugin )
+add_subdirectory( kcmodule )
+add_subdirectory( mimetypes )
+add_subdirectory( services )
+# tde_conditional_add_subdirectory( WITH_HAL propsdlgplugin )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/libmediacommon
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES media.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kiomedia (static) #########################
+
+set( target kiomedia )
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES kio_media.cpp mediaimpl.cpp mediaimpl.skel
+)
+
+
+##### kio_media (module) ########################
+
+set( target kio_media )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES dummy.cpp
+ EMBED kiomedia-static
+ LINK mediacommon-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/media/kcmodule/CMakeLists.txt b/kioslave/media/kcmodule/CMakeLists.txt
new file mode 100644
index 000000000..4a1dc2345
--- /dev/null
+++ b/kioslave/media/kcmodule/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}/kioslave/media/libmediacommon
+ ${CMAKE_SOURCE_DIR}/kioslave/media/libmediacommon
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES media.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_media (module) ########################
+
+set( target kcm_media )
+
+set( ${target}_SRCS
+ notifiermodule.cpp notifiermoduleview.ui serviceconfigdialog.cpp
+ serviceview.ui mimetypelistboxitem.cpp managermodule.cpp
+ managermoduleview.ui main.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK mediacommon-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/media/kfile-plugin/CMakeLists.txt b/kioslave/media/kfile-plugin/CMakeLists.txt
new file mode 100644
index 000000000..591fd77f0
--- /dev/null
+++ b/kioslave/media/kfile-plugin/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
+#
+#################################################
+
+check_include_file( "sys/statvfs.h" HAVE_STATVFS )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kioslave/media/libmediacommon
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kfile_media.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kfile_media (module) ######################
+
+set( target kfile_media )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kfilemediaplugin.cpp
+ LINK mediacommon-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/media/libmediacommon/CMakeLists.txt b/kioslave/media/libmediacommon/CMakeLists.txt
new file mode 100644
index 000000000..2059e35a8
--- /dev/null
+++ b/kioslave/media/libmediacommon/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES mediamanagersettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### mediacommon (static) ######################
+
+set( target mediacommon )
+
+set( ${target}_SRCS
+ medium.cpp actionlistboxitem.cpp notifieraction.cpp
+ notifierserviceaction.cpp notifiernothingaction.cpp
+ notifieropenaction.cpp notifiersettings.cpp
+ mediamanagersettings.kcfgc
+)
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES ${${target}_SRCS}
+)
diff --git a/kioslave/media/mediamanager/CMakeLists.txt b/kioslave/media/mediamanager/CMakeLists.txt
new file mode 100644
index 000000000..ae35f45f2
--- /dev/null
+++ b/kioslave/media/mediamanager/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
+#
+#################################################
+
+# FIXME there is no support for HAL and linuxcdpolling yet
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kioslave/media/libmediacommon
+ ${CMAKE_SOURCE_DIR}/kioslave/media/libmediacommon
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES mediamanager.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+
+
+##### kded_mediamanager (module) ################
+
+set( target kded_mediamanager )
+
+set( ${target}_SRCS
+ mediamanager.cpp mediamanager.skel medialist.cpp
+ backendbase.cpp fstabbackend.cpp removablebackend.cpp
+ mediadirnotify.cpp mediadirnotify.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK mediacommon-static kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/media/medianotifier/CMakeLists.txt b/kioslave/media/medianotifier/CMakeLists.txt
new file mode 100644
index 000000000..7d67c736a
--- /dev/null
+++ b/kioslave/media/medianotifier/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}/kioslave/media/libmediacommon
+ ${CMAKE_SOURCE_DIR}/kioslave/media/libmediacommon
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES medianotifier.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+
+
+##### kded_medianotifier (module) ###############
+
+set( target kded_medianotifier )
+
+set( ${target}_SRCS
+ medianotifier.cpp medianotifier.skel notificationdialog.cpp
+ notificationdialogview.ui
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK mediacommon-static kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/media/mimetypes/CMakeLists.txt b/kioslave/media/mimetypes/CMakeLists.txt
new file mode 100644
index 000000000..5b1946c2d
--- /dev/null
+++ b/kioslave/media/mimetypes/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
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ floppy_mounted.desktop floppy_unmounted.desktop
+ floppy5_unmounted.desktop floppy5_mounted.desktop
+ zip_mounted.desktop zip_unmounted.desktop
+ hdd_mounted.desktop hdd_unmounted.desktop
+ hdd_mounted_decrypted.desktop hdd_unmounted_encrypted.desktop
+ hdd_unmounted_decrypted.desktop removable_mounted.desktop
+ removable_unmounted.desktop removable_mounted_decrypted.desktop
+ removable_unmounted_encrypted.desktop removable_unmounted_decrypted.desktop
+ cdrom_mounted.desktop cdrom_unmounted.desktop cdrom_mounted_decrypted.desktop
+ cdrom_unmounted_encrypted.desktop cdrom_unmounted_decrypted.desktop
+ dvd_mounted.desktop dvd_unmounted.desktop dvd_mounted_decrypted.desktop
+ dvd_unmounted_encrypted.desktop dvd_unmounted_decrypted.desktop
+ cdwriter_mounted.desktop cdwriter_unmounted.desktop
+ cdwriter_mounted_decrypted.desktop cdwriter_unmounted_encrypted.desktop
+ cdwriter_unmounted_decrypted.desktop smb_mounted.desktop
+ smb_unmounted.desktop nfs_mounted.desktop nfs_unmounted.desktop
+ audiocd.desktop dvdvideo.desktop blankcd.desktop blankdvd.desktop
+ svcd.desktop vcd.desktop gphoto2camera.desktop camera_mounted.desktop
+ camera_unmounted.desktop mydocuments.desktop mycomputer.desktop
+ mynetworkplaces.desktop printers.desktop trash.desktop webbrowser.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/media )
diff --git a/kioslave/media/mounthelper/CMakeLists.txt b/kioslave/media/mounthelper/CMakeLists.txt
new file mode 100644
index 000000000..099a07764
--- /dev/null
+++ b/kioslave/media/mounthelper/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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}/kioslave/media/libmediacommon
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kio_media_mounthelper (executable) ########
+
+set( target kio_media_mounthelper )
+
+set( ${target}_SRCS
+ kio_media_mounthelper.cpp decryptdialog.ui dialog.cpp
+)
+
+tde_add_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK mediacommon-static kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kioslave/media/services/CMakeLists.txt b/kioslave/media/services/CMakeLists.txt
new file mode 100644
index 000000000..055bfdf48
--- /dev/null
+++ b/kioslave/media/services/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
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ media_decrypt.desktop media_mount.desktop media_unmount.desktop
+ media_eject.desktop media_safelyremove.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
diff --git a/kioslave/nfs/CMakeLists.txt b/kioslave/nfs/CMakeLists.txt
new file mode 100644
index 000000000..b24506bf3
--- /dev/null
+++ b/kioslave/nfs/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES nfs.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_nfs (module) ##########################
+
+set( target kio_nfs )
+
+add_custom_command( OUTPUT mount_xdr.c
+ COMMAND rpcgen -c -o mount_xdr.c ${CMAKE_CURRENT_SOURCE_DIR}/mount.x
+ DEPENDS mount.x )
+
+add_custom_command( OUTPUT nfs_prot_xdr.c
+ COMMAND rpcgen -c -o nfs_prot_xdr.c ${CMAKE_CURRENT_SOURCE_DIR}/nfs_prot.x
+ DEPENDS nfs_prot.x )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kio_nfs.cpp mount_xdr.c nfs_prot_xdr.c
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/nntp/CMakeLists.txt b/kioslave/nntp/CMakeLists.txt
new file mode 100644
index 000000000..271d2c64e
--- /dev/null
+++ b/kioslave/nntp/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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 nntp.protocol nntps.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_nntp (module) #########################
+
+set( target kio_nntp )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES nntp.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/pop3/CMakeLists.txt b/kioslave/pop3/CMakeLists.txt
new file mode 100644
index 000000000..ed558f7cb
--- /dev/null
+++ b/kioslave/pop3/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES pop3.protocol pop3s.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_pop3 (module) #########################
+
+set( target kio_pop3 )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES pop3.cc
+ LINK kio-shared ${SASL_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/remote/CMakeLists.txt b/kioslave/remote/CMakeLists.txt
new file mode 100644
index 000000000..74daa992a
--- /dev/null
+++ b/kioslave/remote/CMakeLists.txt
@@ -0,0 +1,50 @@
+#################################################
+#
+# (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( kdedmodule )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES remote.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kioremote (static) ########################
+
+set( target kioremote )
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES kio_remote.cpp remoteimpl.cpp
+)
+
+
+##### kio_remote (module) #######################
+
+set( target kio_remote )
+
+configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_kpart( ${target}
+ SOURCES dummy.cpp
+ EMBED kioremote-static
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/remote/kdedmodule/CMakeLists.txt b/kioslave/remote/kdedmodule/CMakeLists.txt
new file mode 100644
index 000000000..52e84e9ad
--- /dev/null
+++ b/kioslave/remote/kdedmodule/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES remotedirnotify.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+
+
+##### kded_remotedirnotify (module) #############
+
+set( target kded_remotedirnotify )
+
+set( ${target}_SRCS
+ remotedirnotify.cpp remotedirnotify.skel
+ remotedirnotifymodule.cpp remotedirnotifymodule.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/settings/CMakeLists.txt b/kioslave/settings/CMakeLists.txt
new file mode 100644
index 000000000..7732c7661
--- /dev/null
+++ b/kioslave/settings/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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
+ settings.protocol programs.protocol applications.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_settings (module) #####################
+
+set( target kio_settings )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kio_settings.cc
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/sftp/CMakeLists.txt b/kioslave/sftp/CMakeLists.txt
new file mode 100644
index 000000000..c068166b0
--- /dev/null
+++ b/kioslave/sftp/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES sftp.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_sftp (module) #########################
+
+set( target kio_sftp )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES process.cpp atomicio.cpp kio_sftp.cpp sftpfileattr.cpp ksshprocess.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/smtp/CMakeLists.txt b/kioslave/smtp/CMakeLists.txt
new file mode 100644
index 000000000..af475cbc6
--- /dev/null
+++ b/kioslave/smtp/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES smtp.protocol smtps.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_smtp (module) #########################
+
+set( target kio_smtp )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES smtp.cc request.cc response.cc capabilities.cc command.cc transactionstate.cc
+ LINK kio-shared ${SASL_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/system/CMakeLists.txt b/kioslave/system/CMakeLists.txt
new file mode 100644
index 000000000..edd4751d8
--- /dev/null
+++ b/kioslave/system/CMakeLists.txt
@@ -0,0 +1,50 @@
+#################################################
+#
+# (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( kdedmodule )
+add_subdirectory( entries )
+add_subdirectory( mimetypes )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES system.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kiosystem (static) ########################
+
+set( target kiosystem )
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES kio_system.cpp systemimpl.cpp
+)
+
+
+##### kio_system (module) #######################
+
+set( target kio_system )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES dummy.cpp
+ EMBED kiosystem-static
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/system/entries/CMakeLists.txt b/kioslave/system/entries/CMakeLists.txt
new file mode 100644
index 000000000..a1d15fa53
--- /dev/null
+++ b/kioslave/system/entries/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
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ home.desktop documents.desktop users.desktop
+ media.desktop remote.desktop trash.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/systemview )
diff --git a/kioslave/system/kdedmodule/CMakeLists.txt b/kioslave/system/kdedmodule/CMakeLists.txt
new file mode 100644
index 000000000..720c5dd00
--- /dev/null
+++ b/kioslave/system/kdedmodule/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES systemdirnotify.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+
+
+##### kded_systemdirnotify (module) #############
+
+set( target kded_systemdirnotify )
+
+set( ${target}_SRCS
+ systemdirnotify.cpp systemdirnotify.skel
+ systemdirnotifymodule.cpp systemdirnotifymodule.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/system/mimetypes/CMakeLists.txt b/kioslave/system/mimetypes/CMakeLists.txt
new file mode 100644
index 000000000..8695a7cd3
--- /dev/null
+++ b/kioslave/system/mimetypes/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
+#
+#################################################
+
+##### other data ################################
+
+install( FILES system_directory.desktop DESTINATION ${MIME_INSTALL_DIR}/inode )
diff --git a/kioslave/tar/CMakeLists.txt b/kioslave/tar/CMakeLists.txt
new file mode 100644
index 000000000..4e7bbcb3f
--- /dev/null
+++ b/kioslave/tar/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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES tar.protocol ar.protocol zip.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_tar (module) #######################
+
+set( target kio_tar )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES tar.cc
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslave/thumbnail/CMakeLists.txt b/kioslave/thumbnail/CMakeLists.txt
new file mode 100644
index 000000000..4fbdae0a9
--- /dev/null
+++ b/kioslave/thumbnail/CMakeLists.txt
@@ -0,0 +1,135 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### check for openexr #########################
+
+if( WITH_OPENEXR )
+ pkg_search_module( OPENEXR OpenEXR )
+ if( NOT OPENEXR_FOUND )
+ message(FATAL_ERROR "\nopenexr are requested, but not found on your system" )
+ endif( NOT OPENEXR_FOUND )
+ set( HAVE_EXR 1 )
+endif( WITH_OPENEXR )
+
+
+##### compiler/linker flags #####################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${XCURSOR_INCLUDE_DIRS}
+ ${OPENEXR_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ thumbnail.protocol imagethumbnail.desktop textthumbnail.desktop
+ htmlthumbnail.desktop djvuthumbnail.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES thumbcreator.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### kio_thumbnail (module) ####################
+
+set( target kio_thumbnail )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES thumbnail.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### imagethumbnail (module) ####################
+
+set( target imagethumbnail )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES imagecreator.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### textthumbnail (module) ####################
+
+set( target textthumbnail )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES textcreator.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### htmlthumbnail (module) ####################
+
+set( target htmlthumbnail )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES htmlcreator.cpp
+ LINK khtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### djvuthumbnail (module) ####################
+
+set( target djvuthumbnail )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES djvucreator.cpp
+ LINK kdecore-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### cursorthumbnail (module) ##################
+
+if( WITH_XCURSOR )
+
+ set( target cursorthumbnail )
+
+ tde_add_kpart( ${target} AUTOMOC
+ SOURCES cursorcreator.cpp
+ LINK kdecore-shared ${XCURSOR_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
+ install( FILES cursorthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+endif( WITH_XCURSOR )
+
+
+##### exrthumbnail (module) #####################
+
+if( WITH_OPENEXR )
+
+ set( target exrthumbnail )
+
+ tde_add_kpart( ${target} AUTOMOC
+ SOURCES exrcreator.cpp
+ LINK kdecore-shared ${OPENEXR_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
+ install( FILES exrthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+endif( WITH_OPENEXR )
diff --git a/kioslave/trash/CMakeLists.txt b/kioslave/trash/CMakeLists.txt
new file mode 100644
index 000000000..5dfd62cb2
--- /dev/null
+++ b/kioslave/trash/CMakeLists.txt
@@ -0,0 +1,59 @@
+#################################################
+#
+# (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( kfile-plugin )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES trash.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### trashcommon (static) ######################
+
+set( target trashcommon )
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES trashimpl.cpp
+)
+
+
+##### kio_trash (module) ########################
+
+set( target kio_trash )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kio_trash.cpp
+ LINK trashcommon-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### ktrash (executable) #######################
+
+set( target ktrash )
+
+tde_add_executable( ${target}
+ SOURCES ktrash.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kioslave/trash/kfile-plugin/CMakeLists.txt b/kioslave/trash/kfile-plugin/CMakeLists.txt
new file mode 100644
index 000000000..920144faa
--- /dev/null
+++ b/kioslave/trash/kfile-plugin/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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
+ kfile_trash.desktop kfile_trash_system.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kfile_trash (module) ######################
+
+set( target kfile_trash )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kfile_trash.cpp
+ LINK trashcommon-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/klipper/CMakeLists.txt b/klipper/CMakeLists.txt
new file mode 100644
index 000000000..7016ae236
--- /dev/null
+++ b/klipper/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+tde_install_icons( klipper )
+install( FILES klipper.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES klipper.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+install( FILES klipper.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets )
+install( FILES klipper.desktop DESTINATION ${CONFIG_INSTALL_DIR} RENAME klipperrc )
+install( FILES klipperrc.upd klippershortcuts.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( PROGRAMS klipper-1-2.pl klipper-kde31.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+##### klipper (executable) ######################
+
+configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_kdeinit_executable( klipper AUTOMOC
+ SOURCES dummy.cpp
+ EMBED klipper_common-static
+)
+
+
+##### klipper_panelapplet (module) ##############
+
+tde_add_kpart( klipper_panelapplet AUTOMOC
+ SOURCES applet.cpp applet.skel
+ LINK klipper_common-static
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### klipper_common (static) ###################
+
+tde_add_library( klipper_common STATIC_PIC AUTOMOC
+ SOURCES
+ main.cpp toplevel.cpp urlgrabber.cpp configdialog.cpp
+ toplevel.skel clipboardpoll.cpp history.cpp historyitem.cpp
+ historystringitem.cpp klipperpopup.cpp popupproxy.cpp
+ historyimageitem.cpp historyurlitem.cpp
+ LINK kio-shared
+)
diff --git a/kmenuedit/CMakeLists.txt b/kmenuedit/CMakeLists.txt
new file mode 100644
index 000000000..26f98c2cc
--- /dev/null
+++ b/kmenuedit/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
+#
+#################################################
+
+add_subdirectory( pixmaps )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kmenuedit )
+install( FILES kmenuedit.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/System RENAME kmenuedit.desktop )
+install( FILES kmenueditui.rc DESTINATION ${DATA_INSTALL_DIR}/kmenuedit )
+install( FILES kcontroleditui.rc DESTINATION ${DATA_INSTALL_DIR}/kcontroledit )
+
+
+##### kmenuedit (kdeinit) #######################
+
+tde_add_kdeinit_executable( kmenuedit AUTOMOC
+ SOURCES main.cpp
+ LINK kmenueditcommon-static
+)
+
+
+##### kcontroledit (kdeinit) ####################
+
+tde_add_kdeinit_executable( kcontroledit AUTOMOC
+ SOURCES kcontrol_main.cpp
+ LINK kmenueditcommon-static
+)
+
+
+##### kmenueditcommon (static) ##################
+
+tde_add_library( kmenueditcommon STATIC_PIC AUTOMOC
+ SOURCES
+ basictab.cpp treeview.cpp kmenuedit.cpp
+ khotkeys.cpp menufile.cpp menuinfo.cpp
+ LINK kio-shared
+)
diff --git a/kmenuedit/pixmaps/CMakeLists.txt b/kmenuedit/pixmaps/CMakeLists.txt
new file mode 100644
index 000000000..a58fe9b20
--- /dev/null
+++ b/kmenuedit/pixmaps/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (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}/kmenuedit/icons )
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kcontroledit/icons )
diff --git a/knetattach/CMakeLists.txt b/knetattach/CMakeLists.txt
new file mode 100644
index 000000000..37b0ca82e
--- /dev/null
+++ b/knetattach/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES knetattach.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### knetattach (executable) ###################
+
+tde_add_executable( knetattach AUTOMOC
+ SOURCES knetattach.ui main.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/konqueror/CMakeLists.txt b/konqueror/CMakeLists.txt
new file mode 100644
index 000000000..b0e77858e
--- /dev/null
+++ b/konqueror/CMakeLists.txt
@@ -0,0 +1,117 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( konqueror )
+
+if( NOT BUILD_LIBKONQ )
+ include( "${TDE_CMAKE_DIR}/libkonq.cmake" )
+endif( NOT BUILD_LIBKONQ )
+
+
+add_definitions(
+ -D_LARGEFILE64_SOURCE
+)
+
+
+add_subdirectory( client )
+add_subdirectory( iconview )
+add_subdirectory( listview )
+add_subdirectory( keditbookmarks )
+add_subdirectory( shellcmdplugin )
+add_subdirectory( about )
+add_subdirectory( pics )
+add_subdirectory( sidebar )
+add_subdirectory( preloader )
+add_subdirectory( quickprint )
+add_subdirectory( remoteencodingplugin )
+add_subdirectory( kttsplugin )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ KonquerorIface.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+##### other data ################################
+
+install( FILES konqueror.rc konq-simplebrowser.rc DESTINATION ${DATA_INSTALL_DIR}/konqueror )
+install( FILES konqueror.desktop DESTINATION ${APPS_INSTALL_DIR} )
+install( FILES konqfilemgr.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+install( FILES konqueror.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+install( FILES
+ kfmclient.desktop kfmclient_dir.desktop kfmclient_html.desktop
+ kfmclient_war.desktop konqbrowser.desktop konquerorsu.desktop
+ Home.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+set( PROFILEDIR ${DATA_INSTALL_DIR}/konqueror/profiles )
+install( FILES profile_webbrowsing.desktop DESTINATION ${PROFILEDIR} RENAME webbrowsing )
+install( FILES profile_filemanagement.desktop DESTINATION ${PROFILEDIR} RENAME filemanagement )
+install( FILES profile_midnightcommander.desktop DESTINATION ${PROFILEDIR} RENAME midnightcommander )
+install( FILES profile_tabbedbrowsing.desktop DESTINATION ${PROFILEDIR} RENAME tabbedbrowsing )
+install( FILES profile_kde_devel.desktop DESTINATION ${PROFILEDIR} RENAME kde_devel )
+install( FILES profile_simplebrowser.desktop DESTINATION ${PROFILEDIR} RENAME simplebrowser )
+
+
+##### konqueror_intern (static lib) #############
+
+set( target konqueror_intern )
+
+set( ${target}_SRCS
+ konq_settingsxt.kcfgc
+)
+
+tde_add_library( ${target} STATIC_PIC
+ SOURCES ${${target}_SRCS}
+)
+
+
+##### konqueror (kdeinit) #######################
+
+set( target konqueror )
+
+set( ${target}_SRCS
+ konq_main.cc KonquerorIface.cc KonquerorIface.skel
+ KonqMainWindowIface.cc KonqMainWindowIface.skel
+ KonqViewIface.cc KonqViewIface.skel konq_guiclients.cc
+ konq_run.cc konq_view.cc konq_viewmgr.cc konq_misc.cc
+ konq_frame.cc konq_tabs.cc konq_actions.cc konq_profiledlg.cc
+ konq_factory.cc konq_combo.cc konq_browseriface.cc
+ delayedinitializer.cc konq_mainwindow.cc konq_extensionmanager.cc
+)
+
+tde_add_kdeinit_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konqueror_intern-static konq-shared kutils-shared
+)
+
+
+##### install import cmake modules ###############
+
+tde_install_export( )
diff --git a/konqueror/about/CMakeLists.txt b/konqueror/about/CMakeLists.txt
new file mode 100644
index 000000000..55e8f4462
--- /dev/null
+++ b/konqueror/about/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES konq_aboutpage.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES konqaboutpage.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+install( FILES
+ box-centre-konqueror.png top-right-konqueror.png
+ lightning.png launch.html intro.html specs.html
+ tips.html plugins.html plugins_rtl.html konq.css
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/about )
+
+
+##### konq_aboutpage (module) ###################
+
+set( target konq_aboutpage )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES konq_aboutpage.cc
+ LINK khtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/client/CMakeLists.txt b/konqueror/client/CMakeLists.txt
new file mode 100644
index 000000000..e711e1f82
--- /dev/null
+++ b/konqueror/client/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kfmclient_3_2.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+install( PROGRAMS kfmclient_3_2_update.sh DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+
+
+##### kfmclient (kdeinit) #######################
+
+set( target kfmclient )
+
+set( ${target}_SRCS
+ kfmclient.cc
+ ${CMAKE_SOURCE_DIR}/konqueror/KonquerorIface.stub
+ ${CMAKE_SOURCE_DIR}/kdesktop/KDesktopIface.stub
+)
+
+tde_add_kdeinit_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kio-shared
+)
diff --git a/konqueror/iconview/CMakeLists.txt b/konqueror/iconview/CMakeLists.txt
new file mode 100644
index 000000000..d3fa80c56
--- /dev/null
+++ b/konqueror/iconview/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}
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES konq_iconview.desktop konq_multicolumnview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES konq_iconview.rc konq_multicolumnview.rc DESTINATION ${DATA_INSTALL_DIR}/konqiconview )
+
+
+##### konq_iconview (module) ####################
+
+set( target konq_iconview )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES konq_iconview.cc
+ LINK konq-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/keditbookmarks/CMakeLists.txt b/konqueror/keditbookmarks/CMakeLists.txt
new file mode 100644
index 000000000..37882a447
--- /dev/null
+++ b/konqueror/keditbookmarks/CMakeLists.txt
@@ -0,0 +1,62 @@
+#################################################
+#
+# (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}/libkonq
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES keditbookmarksui.rc keditbookmarks-genui.rc DESTINATION ${DATA_INSTALL_DIR}/keditbookmarks )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Internet/keditbookmarks.desktop )
+install( FILES keditbookmarks.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+tde_install_icons( )
+
+
+##### kbookmarkmerger ###########################
+
+set( target kbookmarkmerger )
+
+tde_add_executable( ${target}
+ SOURCES kbookmarkmerger.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### keditbookmarks (kdeinit) ##################
+
+set( target keditbookmarks )
+
+set( ${target}_SRCS AUTOMOC
+ main.cpp listview.cpp toplevel.cpp actionsimpl.cpp
+ commands.cpp importers.cpp dcop.skel dcop.cpp
+ bookmarkiterator.cpp testlink.cpp favicons.cpp
+ updater.cpp exporters.cpp ${TDE_INCLUDE_DIR}/kbookmarknotifier.stub
+ bookmarkinfo.cpp kebsearchline.cpp settings.kcfgc
+)
+
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+
+tde_add_kdeinit_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq-shared
+)
diff --git a/konqueror/kttsplugin/CMakeLists.txt b/konqueror/kttsplugin/CMakeLists.txt
new file mode 100644
index 000000000..80180aa8e
--- /dev/null
+++ b/konqueror/kttsplugin/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ khtmlkttsd.rc khtmlkttsd.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/khtml/kpartplugins )
+
+
+##### libkhtmlkttsdplugin (module) ##############
+
+set( target libkhtmlkttsdplugin )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES khtmlkttsd.cpp
+ LINK khtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/listview/CMakeLists.txt b/konqueror/listview/CMakeLists.txt
new file mode 100644
index 000000000..02ab59564
--- /dev/null
+++ b/konqueror/listview/CMakeLists.txt
@@ -0,0 +1,55 @@
+#################################################
+#
+# (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}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ konq_treeview.desktop konq_detailedlistview.desktop
+ konq_textview.desktop konq_infolistview.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ konq_treeview.rc konq_detailedlistview.rc
+ konq_textview.rc konq_infolistview.rc
+ DESTINATION ${DATA_INSTALL_DIR}/konqlistview )
+
+install( FILES konq_listview.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### konq_listview (module) ####################
+
+set( target konq_listview )
+
+set( ${target}_SRCS
+ konq_listview.cc konq_listviewwidget.cc konq_listviewitems.cc
+ konq_treeviewwidget.cc konq_treeviewitem.cc konq_textviewwidget.cc
+ konq_textviewitem.cc konq_infolistviewwidget.cc
+ konq_infolistviewitem.cc konq_listviewsettings.kcfgc
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/pics/CMakeLists.txt b/konqueror/pics/CMakeLists.txt
new file mode 100644
index 000000000..d2cf5f546
--- /dev/null
+++ b/konqueror/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
+#
+#################################################
+
+add_subdirectory( tiles )
+add_subdirectory( indicators )
+add_subdirectory( actions )
+
+tde_install_icons( )
diff --git a/konqueror/pics/actions/CMakeLists.txt b/konqueror/pics/actions/CMakeLists.txt
new file mode 100644
index 000000000..83e2f2e73
--- /dev/null
+++ b/konqueror/pics/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}/konqueror/icons )
diff --git a/konqueror/pics/indicators/CMakeLists.txt b/konqueror/pics/indicators/CMakeLists.txt
new file mode 100644
index 000000000..90e8189b3
--- /dev/null
+++ b/konqueror/pics/indicators/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
+ indicator_connect.png indicator_noconnect.png
+ indicator_empty.png indicator_viewactive.png
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/pics )
diff --git a/konqueror/pics/tiles/CMakeLists.txt b/konqueror/pics/tiles/CMakeLists.txt
new file mode 100644
index 000000000..e6ffc586d
--- /dev/null
+++ b/konqueror/pics/tiles/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
+ bluemorning.png canvas.png kde4ever.png
+ kenwimer.png noise.png paper_flieder.png redfiber.png
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/tiles )
diff --git a/konqueror/preloader/CMakeLists.txt b/konqueror/preloader/CMakeLists.txt
new file mode 100644
index 000000000..0b9f219e6
--- /dev/null
+++ b/konqueror/preloader/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
+#
+#################################################
+
+# FIXME there we have some checks for malloc
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/konqueror
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES konqy_preloader.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES konqy_preload.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+
+
+##### kded_konqy_preloader (module) #############
+
+set( target kded_konqy_preloader )
+
+set( ${target}_SRCS
+ preloader.cc preloader.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konqueror_intern-static kio-shared kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/quickprint/CMakeLists.txt b/konqueror/quickprint/CMakeLists.txt
new file mode 100644
index 000000000..29bb04443
--- /dev/null
+++ b/konqueror/quickprint/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (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
+ text-print.desktop text-html-print.desktop text-css-print.desktop
+ text-ada-print.desktop text-c++-print.desktop text-c++h-print.desktop
+ text-ch-print.desktop text-diff-print.desktop text-java-print.desktop
+ text-log-print.desktop text-makefile-print.desktop text-pas-print.desktop
+ text-perl-print.desktop text-python-print.desktop text-tcl-print.desktop
+ text-tex-print.desktop text-xslt-print.desktop text-xml-print.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
diff --git a/konqueror/remoteencodingplugin/CMakeLists.txt b/konqueror/remoteencodingplugin/CMakeLists.txt
new file mode 100644
index 000000000..35c947858
--- /dev/null
+++ b/konqueror/remoteencodingplugin/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}
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ kremoteencodingplugin.rc kremoteencodingplugin.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins )
+
+install( FILES
+ kremoteencodingplugin.rc kremoteencodingplugin.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins )
+
+
+##### konq_remoteencoding (module) ##############
+
+set( target konq_remoteencoding )
+
+set( ${target}_SRCS
+ kremoteencodingplugin.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/shellcmdplugin/CMakeLists.txt b/konqueror/shellcmdplugin/CMakeLists.txt
new file mode 100644
index 000000000..717a7464e
--- /dev/null
+++ b/konqueror/shellcmdplugin/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}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kshellcmdplugin.rc kshellcmdplugin.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins )
+
+install( FILES kshellcmdplugin.rc kshellcmdplugin.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins )
+
+
+##### konq_shellcmdplugin (module) ##############
+
+set( target konq_shellcmdplugin )
+
+set( ${target}_SRCS
+ kshellcmdexecutor.cpp kshellcmddialog.cpp
+ kshellcmdplugin.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/sidebar/CMakeLists.txt b/konqueror/sidebar/CMakeLists.txt
new file mode 100644
index 000000000..ac792504a
--- /dev/null
+++ b/konqueror/sidebar/CMakeLists.txt
@@ -0,0 +1,71 @@
+#################################################
+#
+# (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( trees )
+add_subdirectory( web_module )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES konqsidebarplugin.h DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+##### other data ################################
+
+install( FILES konqsidebartng.rc DESTINATION ${CONFIG_INSTALL_DIR} )
+install( FILES konq_sidebartng.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES .version DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries )
+install( FILES konqsidebartng.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+install( PROGRAMS move_konqsidebartng_entries.sh DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+
+
+##### konqsidebarplugin (lib) ###################
+
+set( target konqsidebarplugin )
+
+set( ${target}_SRCS
+ konqsidebarplugin.cpp
+)
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 4.2.0
+ LINK kparts-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### konq_sidebar (module) #####################
+
+set( target konq_sidebar )
+
+set( ${target}_SRCS
+ konqsidebar.cpp sidebar_widget.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konqsidebarplugin-shared konq-shared kio-shared kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/sidebar/trees/CMakeLists.txt b/konqueror/sidebar/trees/CMakeLists.txt
new file mode 100644
index 000000000..216b58d37
--- /dev/null
+++ b/konqueror/sidebar/trees/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
+#
+#################################################
+
+add_subdirectory( init )
+add_subdirectory( dirtree_module )
+add_subdirectory( history_module )
+add_subdirectory( bookmark_module )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/konqueror/sidebar
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### konq_sidebar_tree (static lib) ############
+
+set( target konq_sidebar_tree )
+
+set( ${target}_SRCS
+ konq_sidebartree.cpp konq_sidebartreeitem.cpp
+ konq_sidebartreetoplevelitem.cpp
+)
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konqsidebarplugin-shared konq-shared
+)
+
+
+##### konqsidebar_tree (module) #################
+
+set( target konqsidebar_tree )
+
+set( ${target}_SRCS
+ konqsidebar_tree.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq_sidebar_tree-static
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/sidebar/trees/bookmark_module/CMakeLists.txt b/konqueror/sidebar/trees/bookmark_module/CMakeLists.txt
new file mode 100644
index 000000000..032235648
--- /dev/null
+++ b/konqueror/sidebar/trees/bookmark_module/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/konqueror/sidebar
+ ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### konq_sidebartree_bookmarks (module) #######
+
+set( target konq_sidebartree_bookmarks )
+
+set( ${target}_SRCS
+ bookmark_module.cpp bookmark_item.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq_sidebar_tree-static
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt b/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt
new file mode 100644
index 000000000..dbffc25b4
--- /dev/null
+++ b/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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}/konqueror/sidebar
+ ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### konq_sidebartree_dirtree (module) #########
+
+set( target konq_sidebartree_dirtree )
+
+set( ${target}_SRCS
+ dirtree_module.cpp dirtree_item.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq_sidebar_tree-static
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/sidebar/trees/history_module/CMakeLists.txt b/konqueror/sidebar/trees/history_module/CMakeLists.txt
new file mode 100644
index 000000000..799342ee8
--- /dev/null
+++ b/konqueror/sidebar/trees/history_module/CMakeLists.txt
@@ -0,0 +1,60 @@
+#################################################
+#
+# (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}/konqueror/sidebar
+ ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kcmhistory.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### konq_sidebartree_history (module) #########
+
+set( target konq_sidebartree_history )
+
+set( ${target}_SRCS
+ history_module.cpp history_item.cpp
+ history_settings.cpp history_settings.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq_sidebar_tree-static
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_history (module) ######################
+
+set( target kcm_history )
+
+set( ${target}_SRCS
+ kcmhistory.cpp history_dlg.ui history_settings.cpp
+ history_settings.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK konq-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konqueror/sidebar/trees/init/CMakeLists.txt b/konqueror/sidebar/trees/init/CMakeLists.txt
new file mode 100644
index 000000000..02df2aba3
--- /dev/null
+++ b/konqueror/sidebar/trees/init/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
+#
+#################################################
+
+add_subdirectory( remote )
+add_subdirectory( services )
+
+
+##### other data ################################
+
+install( FILES
+ home.desktop root.desktop history.desktop bookmarks.desktop
+ services.desktop remote.desktop system.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries )
+
+install( FILES
+ home.desktop root.desktop history.desktop bookmarks.desktop
+ services.desktop remote.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries )
+
+install( FILES
+ virtualfolderadd.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add )
+
+install( FILES
+ history_module.desktop dirtree_module.desktop bookmarks_module.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/dirtree )
diff --git a/konqueror/sidebar/trees/init/remote/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/CMakeLists.txt
new file mode 100644
index 000000000..2c8099ed8
--- /dev/null
+++ b/konqueror/sidebar/trees/init/remote/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( ftp )
+add_subdirectory( web )
+
+
+##### other data ################################
+
+install( FILES
+ .directory
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote )
diff --git a/konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt
new file mode 100644
index 000000000..c1ed4c80e
--- /dev/null
+++ b/konqueror/sidebar/trees/init/remote/ftp/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
+ .directory kde_ftp.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote/ftp )
diff --git a/konqueror/sidebar/trees/init/remote/web/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/web/CMakeLists.txt
new file mode 100644
index 000000000..0d2471685
--- /dev/null
+++ b/konqueror/sidebar/trees/init/remote/web/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
+ .directory apps_web.desktop dot_web.desktop
+ kde_web.desktop look_web.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote/web )
diff --git a/konqueror/sidebar/trees/init/services/CMakeLists.txt b/konqueror/sidebar/trees/init/services/CMakeLists.txt
new file mode 100644
index 000000000..524380aa8
--- /dev/null
+++ b/konqueror/sidebar/trees/init/services/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
+ .directory audiocd.desktop printsystem.desktop
+ media.desktop settings.desktop applications.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services )
diff --git a/konqueror/sidebar/web_module/CMakeLists.txt b/konqueror/sidebar/web_module/CMakeLists.txt
new file mode 100644
index 000000000..a925474b4
--- /dev/null
+++ b/konqueror/sidebar/web_module/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_SOURCE_DIR}/konqueror/sidebar
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES webmodule_add.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add )
+install( FILES websidebar.html DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/websidebar )
+
+
+##### konqsidebar_web (module) ##################
+
+set( target konqsidebar_web )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES web_module.cpp
+ LINK konqsidebarplugin-shared konq-shared khtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/konsole/CMakeLists.txt b/konsole/CMakeLists.txt
new file mode 100644
index 000000000..6f0900d3c
--- /dev/null
+++ b/konsole/CMakeLists.txt
@@ -0,0 +1,57 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( ConfigureChecks.cmake )
+
+add_subdirectory( konsole )
+add_subdirectory( other )
+# add_subdirectory( doc )
+add_subdirectory( fonts )
+
+
+install( FILES
+ konsole.desktop konsolesu.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+install( FILES
+ konsolepart.desktop kwrited.desktop konsole-script.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+install( FILES
+ terminalemulator.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+install( FILES
+ konsole.upd
+ DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+
+
+install( PROGRAMS
+ schemaStrip.pl
+ DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+
+
+install( FILES
+ kwrited.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+
+
+install( FILES
+ konsolehere.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
+
+
+install( FILES
+ eventsrc tips
+ DESTINATION ${DATA_INSTALL_DIR}/konsole )
diff --git a/konsole/ConfigureChecks.cmake b/konsole/ConfigureChecks.cmake
new file mode 100644
index 000000000..5362adb8b
--- /dev/null
+++ b/konsole/ConfigureChecks.cmake
@@ -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
+#
+#################################################
+
+if( ${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
+ set( HAVE_PROC_CWD 1 CACHE INTERNAL "" FORCE )
+endif()
diff --git a/konsole/fonts/CMakeLists.txt b/konsole/fonts/CMakeLists.txt
new file mode 100644
index 000000000..e3353a783
--- /dev/null
+++ b/konsole/fonts/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
+#
+#################################################
+
+install( FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/console8x16.pcf.gz
+ ${CMAKE_CURRENT_BINARY_DIR}/9x15.pcf.gz
+ DESTINATION ${DATA_INSTALL_DIR}/konsole/fonts )
+
+
+# FIXME generating fonts can be improved
+
+add_custom_target( console8x16.pcf.gz ALL )
+add_custom_command( TARGET console8x16.pcf.gz
+ COMMAND bdftopcf -o console8x16.pcf ${CMAKE_CURRENT_SOURCE_DIR}/console8x16.bdf
+ COMMAND gzip -f --best console8x16.pcf
+ DEPENDS console8x16.bdf )
+
+add_custom_target( 9x15.pcf.gz ALL )
+add_custom_command( TARGET 9x15.pcf.gz
+ COMMAND bdftopcf -o 9x15.pcf ${CMAKE_CURRENT_SOURCE_DIR}/9x15.bdf
+ COMMAND gzip -f --best 9x15.pcf
+ DEPENDS 9x15.bdf )
diff --git a/konsole/konsole/CMakeLists.txt b/konsole/konsole/CMakeLists.txt
new file mode 100644
index 000000000..9308ff64d
--- /dev/null
+++ b/konsole/konsole/CMakeLists.txt
@@ -0,0 +1,78 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES x-konsole.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+
+
+##### libkonsolepart (module) ###################
+
+set( target libkonsolepart )
+
+set( ${target}_SRCS
+ TEPty.cpp BlockArray.cpp konsole_part.cpp schema.cpp
+ session.cpp zmodem_dialog.cpp TEWidget.cpp TEmuVt102.cpp
+ TEScreen.cpp konsole_wcwidth.cpp TEmulation.cpp
+ TEHistory.cpp keytrans.cpp konsoleiface.skel sessioniface.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kparts-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kded_kwrited (module) #####################
+
+set( target kded_kwrited )
+
+set( ${target}_SRCS
+ kwrited.cpp TEPty.cpp kwrited.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### konsole (kdeinit) #########################
+
+set( target konsole )
+
+set( ${target}_SRCS
+ TEPty.cpp BlockArray.cpp main.cpp konsole.cpp
+ schema.cpp session.cpp TEWidget.cpp TEmuVt102.cpp
+ TEScreen.cpp TEmulation.cpp TEHistory.cpp keytrans.cpp
+ konsoleiface.skel sessioniface.skel konsole_wcwidth.cpp
+ konsolebookmarkhandler.cpp konsolebookmarkmenu.cpp
+ zmodem_dialog.cpp printsettings.cpp
+)
+
+tde_add_kdeinit_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeprint-shared kio-shared ${XRENDER_LIBRARIES} dl
+)
diff --git a/konsole/other/CMakeLists.txt b/konsole/other/CMakeLists.txt
new file mode 100644
index 000000000..2dc3214b4
--- /dev/null
+++ b/konsole/other/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
+#
+#################################################
+
+add_subdirectory( icons )
+add_subdirectory( wallpapers )
+
+tde_install_icons( )
+
+install( FILES
+ BlackOnLightColor.schema BlackOnLightYellow.schema
+ BlackOnWhite.schema Example.Schema GreenOnBlack.schema
+ WhiteOnBlack.schema README.default.Schema syscolor.schema
+ Linux.schema XTerm.schema vim.schema DarkPicture.schema
+ LightPicture.schema Transparent.schema GreenTint.schema
+ Transparent_MC.schema GreenTint_MC.schema Transparent_lightbg.schema
+ Transparent_darkbg.schema LightPaper.schema linux.desktop
+ mc.desktop shell.desktop su.desktop sumc.desktop
+ linux.keytab vt100.keytab vt420pc.keytab x11r5.keytab
+ solaris.keytab README.Schema README.KeyTab README.default.Keytab
+ screen.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konsole )
+
+install( FILES
+ 2shells 3shells 4shells 5shells
+ DESTINATION ${DATA_INSTALL_DIR}/konsole/profiles )
diff --git a/konsole/other/icons/CMakeLists.txt b/konsole/other/icons/CMakeLists.txt
new file mode 100644
index 000000000..a4f71c5ff
--- /dev/null
+++ b/konsole/other/icons/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}/konsole/icons )
diff --git a/konsole/other/wallpapers/CMakeLists.txt b/konsole/other/wallpapers/CMakeLists.txt
new file mode 100644
index 000000000..709e996a4
--- /dev/null
+++ b/konsole/other/wallpapers/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
+ Paper01.jpg Blkmarble.jpg gray02.jpg Metric-Monospace-14.png
+ DESTINATION ${DATA_INSTALL_DIR}/konsole/wallpapers )
diff --git a/kpager/CMakeLists.txt b/kpager/CMakeLists.txt
new file mode 100644
index 000000000..8e1385b41
--- /dev/null
+++ b/kpager/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kpager.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Utilities RENAME kpager.desktop )
+
+
+##### kpager (executable) #######################
+
+tde_add_executable( kpager AUTOMOC
+ SOURCES
+ desktop.cpp kpager.cpp config.cpp windowdrag.cpp
+ kpagerIface.skel main.cpp
+ LINK kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kpersonalizer/CMakeLists.txt b/kpersonalizer/CMakeLists.txt
new file mode 100644
index 000000000..27a5ede93
--- /dev/null
+++ b/kpersonalizer/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
+#
+#################################################
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR} # for libkonq/konq_defaults.h
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES kpersonalizer.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/System RENAME kpersonalizer.desktop )
+
+
+##### kpersonalizer (executable) ################
+
+tde_add_executable( kpersonalizer AUTOMOC
+ SOURCES
+ stylepreview.ui krefinepage.cpp kstylepage.cpp
+ keyecandypage.cpp kospage.cpp kcountrypage.cpp
+ kpersonalizer.cpp main.cpp kfindlanguage.cpp
+ kcountrypagedlg.ui kospagedlg.ui keyecandypagedlg.ui
+ kstylepagedlg.ui krefinepagedlg.ui ksysinfo.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kpersonalizer/pics/CMakeLists.txt b/kpersonalizer/pics/CMakeLists.txt
new file mode 100644
index 000000000..dc1cdd671
--- /dev/null
+++ b/kpersonalizer/pics/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
+ step1.png step2.png step3.png step4.png step5.png
+ DESTINATION ${DATA_INSTALL_DIR}/kpersonalizer/pics )
diff --git a/kreadconfig/CMakeLists.txt b/kreadconfig/CMakeLists.txt
new file mode 100644
index 000000000..126c2c93f
--- /dev/null
+++ b/kreadconfig/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(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kreadconfig (executable) ##################
+
+tde_add_executable( kreadconfig
+ SOURCES kreadconfig.cpp
+ LINK kdecore-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kwriteconfig (executable) #################
+
+tde_add_executable( kwriteconfig
+ SOURCES kwriteconfig.cpp
+ LINK kdecore-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kscreensaver/CMakeLists.txt b/kscreensaver/CMakeLists.txt
new file mode 100644
index 000000000..f1e88cfb5
--- /dev/null
+++ b/kscreensaver/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES KRandom.desktop KBlankscreen.desktop DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers )
+
+
+##### krandom (executable) ######################
+
+tde_add_executable( krandom.kss AUTOMOC
+ SOURCES random.cpp
+ LINK kdeui-shared ${GL_LIBRARY}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kblankscrn (executable) ###################
+
+tde_add_executable( kblankscrn.kss AUTOMOC
+ SOURCES blankscrn.cpp
+ LINK kscreensaver-shared kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ksmserver/CMakeLists.txt b/ksmserver/CMakeLists.txt
new file mode 100644
index 000000000..3b4b6ff25
--- /dev/null
+++ b/ksmserver/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (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 DBUS_SYSTEM_BUS )
+ set( DBUS_SYSTEM_BUS "unix:path=/var/run/dbus/system_bus_socket" CACHE INTERNAL "" FORCE )
+endif()
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${DBUS_INCLUDE_DIRS}
+ ${HAL_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES shutdownkonq.png DESTINATION ${DATA_INSTALL_DIR}/ksmserver/pics )
+install( FILES ksmserver.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( FILES move_session_config.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+##### ksmserver (kdeinit) #######################
+
+tde_add_kdeinit_executable( ksmserver AUTOMOC
+ SOURCES
+ main.cpp server.cpp shutdowndlg.cpp
+ legacy.cpp startup.cpp shutdown.cpp client.cpp
+ KSMServerInterface.skel server.skel timed.ui
+ LINK dmctl-static kdeui-shared ${HAL_LIBRARIES} ${DBUS_LIBRARIES}
+)
diff --git a/ksplashml/CMakeLists.txt b/ksplashml/CMakeLists.txt
new file mode 100644
index 000000000..2ab57be05
--- /dev/null
+++ b/ksplashml/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
+#
+#################################################
+
+add_subdirectory( themeengine )
+add_subdirectory( pics )
+add_subdirectory( kcmksplash )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/ksplashml/themeengine
+ ${CMAKE_SOURCE_DIR}/ksplashml/themeengine/default
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES ksplash.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### ksplash (executable) ######################
+
+tde_add_executable( ksplash AUTOMOC
+ SOURCES wndmain.cpp ksplashiface.skel main.cpp
+ LINK themedefault-static kparts-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ksplashml/kcmksplash/CMakeLists.txt b/ksplashml/kcmksplash/CMakeLists.txt
new file mode 100644
index 000000000..45822facd
--- /dev/null
+++ b/ksplashml/kcmksplash/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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( pics )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES ksplashthememgr.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_ksplashthemes (module) ################
+
+tde_add_kpart( kcm_ksplashthemes AUTOMOC
+ SOURCES installer.cpp main.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/ksplashml/kcmksplash/pics/CMakeLists.txt b/ksplashml/kcmksplash/pics/CMakeLists.txt
new file mode 100644
index 000000000..189a3a200
--- /dev/null
+++ b/ksplashml/kcmksplash/pics/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()
diff --git a/ksplashml/pics/CMakeLists.txt b/ksplashml/pics/CMakeLists.txt
new file mode 100644
index 000000000..49617244a
--- /dev/null
+++ b/ksplashml/pics/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( themes )
+
+install( FILES splash.png DESTINATION ${DATA_INSTALL_DIR}/ksplash/pics )
diff --git a/ksplashml/pics/themes/CMakeLists.txt b/ksplashml/pics/themes/CMakeLists.txt
new file mode 100644
index 000000000..3cd91738d
--- /dev/null
+++ b/ksplashml/pics/themes/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( blue-bend )
+add_subdirectory( default )
+add_subdirectory( none )
+add_subdirectory( simple )
diff --git a/ksplashml/pics/themes/blue-bend/CMakeLists.txt b/ksplashml/pics/themes/blue-bend/CMakeLists.txt
new file mode 100644
index 000000000..76a069a83
--- /dev/null
+++ b/ksplashml/pics/themes/blue-bend/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
+ Theme.rc Preview.png splash_active_bar.png splash_bottom.png
+ splash_inactive_bar.png splash_top.png
+ DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/blue-bend )
diff --git a/ksplashml/pics/themes/default/CMakeLists.txt b/ksplashml/pics/themes/default/CMakeLists.txt
new file mode 100644
index 000000000..bc2390950
--- /dev/null
+++ b/ksplashml/pics/themes/default/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( locolor )
+
+install( FILES
+ Theme.rc Preview.png splash_active_bar.png splash_bottom.png
+ splash_inactive_bar.png splash_top.png
+ DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Default )
diff --git a/ksplashml/pics/themes/default/locolor/CMakeLists.txt b/ksplashml/pics/themes/default/locolor/CMakeLists.txt
new file mode 100644
index 000000000..4d161f84c
--- /dev/null
+++ b/ksplashml/pics/themes/default/locolor/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
+ Theme.rc splash_active_bar.png splash_bottom.png
+ splash_inactive_bar.png splash_top.png
+ DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Default/locolor )
diff --git a/ksplashml/pics/themes/none/CMakeLists.txt b/ksplashml/pics/themes/none/CMakeLists.txt
new file mode 100644
index 000000000..fce8f9d00
--- /dev/null
+++ b/ksplashml/pics/themes/none/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
+ Theme.rc
+ DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/None )
diff --git a/ksplashml/pics/themes/simple/CMakeLists.txt b/ksplashml/pics/themes/simple/CMakeLists.txt
new file mode 100644
index 000000000..901752d0b
--- /dev/null
+++ b/ksplashml/pics/themes/simple/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
+ Theme.rc Preview.png
+ DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Simple )
diff --git a/ksplashml/themeengine/CMakeLists.txt b/ksplashml/themeengine/CMakeLists.txt
new file mode 100644
index 000000000..0d4192299
--- /dev/null
+++ b/ksplashml/themeengine/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
+#
+#################################################
+
+add_subdirectory( default )
+add_subdirectory( standard )
+add_subdirectory( redmond )
+add_subdirectory( simple )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES themeengine.h objkstheme.h DESTINATION ${INCLUDE_INSTALL_DIR}/ksplash )
+install( FILES ksplashplugins.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### ksplashthemes (shared) ####################
+
+tde_add_library( ksplashthemes SHARED AUTOMOC
+ SOURCES themeengine.cpp objkstheme.cpp
+ VERSION 0.0.0
+ LINK kdeui-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/ksplashml/themeengine/default/CMakeLists.txt b/ksplashml/themeengine/default/CMakeLists.txt
new file mode 100644
index 000000000..ba3866e35
--- /dev/null
+++ b/ksplashml/themeengine/default/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_CURRENT_SOURCE_DIR}
+ #${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/ksplashml/themeengine
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES ksplashdefault.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### ksplashdefault (module) ###################
+
+tde_add_kpart( ksplashdefault AUTOMOC
+ SOURCES main.cpp
+ LINK themedefault-static ksplashthemes-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### themedefault (static) #####################
+
+tde_add_library( themedefault STATIC_PIC AUTOMOC
+ SOURCES themelegacy.cpp
+ LINK ksplashthemes-shared
+)
diff --git a/ksplashml/themeengine/redmond/CMakeLists.txt b/ksplashml/themeengine/redmond/CMakeLists.txt
new file mode 100644
index 000000000..b8947a0aa
--- /dev/null
+++ b/ksplashml/themeengine/redmond/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/ksplashml/themeengine
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES Theme.rc DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Redmond )
+install( FILES ksplashredmond.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### ksplashredmond (module) ###################
+
+tde_add_kpart( ksplashredmond AUTOMOC
+ SOURCES previewredmond.cpp themeredmond.cpp
+ LINK ksplashthemes-shared kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/ksplashml/themeengine/redmond/pics/CMakeLists.txt b/ksplashml/themeengine/redmond/pics/CMakeLists.txt
new file mode 100644
index 000000000..1b4f09de0
--- /dev/null
+++ b/ksplashml/themeengine/redmond/pics/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 Preview.png Background.png DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Redmond )
diff --git a/ksplashml/themeengine/simple/CMakeLists.txt b/ksplashml/themeengine/simple/CMakeLists.txt
new file mode 100644
index 000000000..6f4c2dcb9
--- /dev/null
+++ b/ksplashml/themeengine/simple/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+if( WITH_XINERAMA )
+ check_include_file( "X11/extensions/Xinerama.h" X11_EXTENSIONS_XINERAMA_H )
+ if( X11_EXTENSIONS_XINERAMA_H )
+ check_library_exists( Xinerama XineramaQueryExtension "" HAVE_XINERAMA )
+ endif( X11_EXTENSIONS_XINERAMA_H )
+ if( NOT HAVE_XINERAMA )
+ tde_message_fatal( "xinerama are requested, but not found on your system" )
+ endif( NOT HAVE_XINERAMA )
+ set( XINERAMA_LIBRARY Xinerama )
+endif( WITH_XINERAMA )
+
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### ksplashsimple (executable) ################
+
+tde_add_executable( ksplashsimple
+ SOURCES main.cpp
+ LINK X11 ${XINERAMA_LIBRARY}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ksplashml/themeengine/standard/CMakeLists.txt b/ksplashml/themeengine/standard/CMakeLists.txt
new file mode 100644
index 000000000..ca85efe96
--- /dev/null
+++ b/ksplashml/themeengine/standard/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
+#
+#################################################
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/ksplashml/themeengine
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES Theme.rc DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Standard )
+install( FILES ksplashstandard.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### ksplashstandard (module) ##################
+
+tde_add_kpart( ksplashstandard AUTOMOC
+ SOURCES themestandardlib.cpp
+ LINK themestandard-static
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### themestandard (static) ####################
+
+tde_add_library( themestandard STATIC_PIC AUTOMOC
+ SOURCES themestandard.cpp wndicon.cpp wndstatus.cpp
+ LINK ksplashthemes-shared
+)
diff --git a/ksplashml/themeengine/standard/pics/CMakeLists.txt b/ksplashml/themeengine/standard/pics/CMakeLists.txt
new file mode 100644
index 000000000..01a6355d3
--- /dev/null
+++ b/ksplashml/themeengine/standard/pics/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 Preview.png DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Standard )
diff --git a/kstart/CMakeLists.txt b/kstart/CMakeLists.txt
new file mode 100644
index 000000000..bdb525f01
--- /dev/null
+++ b/kstart/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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}
+)
+
+
+##### kstart (executable) #######################
+
+tde_add_executable( kstart AUTOMOC
+ SOURCES kstart.cpp
+ LINK kdecore-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ksysguard/CContLib/CMakeLists.txt b/ksysguard/CContLib/CMakeLists.txt
new file mode 100644
index 000000000..c6a47792c
--- /dev/null
+++ b/ksysguard/CContLib/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
+#
+#################################################
+
+##### ccont (static) ############################
+
+tde_add_library( ccont STATIC_PIC
+ SOURCES ccont.c
+)
diff --git a/ksysguard/CMakeLists.txt b/ksysguard/CMakeLists.txt
new file mode 100644
index 000000000..9beeeb971
--- /dev/null
+++ b/ksysguard/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
+#
+#################################################
+
+# FIXME no support for lm_sensors yet
+
+add_subdirectory( CContLib )
+add_subdirectory( ksysguardd )
+add_subdirectory( gui )
+add_subdirectory( pics )
+add_subdirectory( example )
+
+tde_install_icons( ksysguard )
diff --git a/ksysguard/example/CMakeLists.txt b/ksysguard/example/CMakeLists.txt
new file mode 100644
index 000000000..7cb6e750f
--- /dev/null
+++ b/ksysguard/example/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (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 eventsrc DESTINATION ${DATA_INSTALL_DIR}/ksysguard )
+install( FILES ksysguarddrc DESTINATION ${SYSCONF_INSTALL_DIR} )
diff --git a/ksysguard/gui/CMakeLists.txt b/ksysguard/gui/CMakeLists.txt
new file mode 100644
index 000000000..e6d7357bf
--- /dev/null
+++ b/ksysguard/gui/CMakeLists.txt
@@ -0,0 +1,64 @@
+#################################################
+#
+# (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( ksgrd )
+add_subdirectory( SensorDisplayLib )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/SensorDisplayLib
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/ksgrd
+ ${CMAKE_CURRENT_SOURCE_DIR}/SensorDisplayLib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES ksysguard.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES x-ksysguard.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+install( FILES ProcessTable.sgrd SystemLoad.sgrd KSysGuardApplet.xml ksysguardui.rc DESTINATION ${DATA_INSTALL_DIR}/ksysguard )
+install( FILES ksysguardapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets )
+
+
+##### sysguard_panelapplet (module) #############
+
+tde_add_kpart( sysguard_panelapplet AUTOMOC
+ SOURCES KSysGuardApplet.cc KSGAppletSettings.cc
+ LINK sensordisplays-static ksgrd-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### ksysguard (executable) ####################
+
+tde_add_executable( ksysguard AUTOMOC
+ SOURCES
+ SensorBrowser.cc WorkSheet.cc WorkSheetSettings.cc
+ Workspace.cc ksysguard.cc ksysguard.skel
+ LINK sensordisplays-static ksgrd-shared kdnssd-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kpm (executable) ##########################
+
+tde_add_executable( kpm
+ SOURCES kpm.c
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ksysguard/gui/SensorDisplayLib/CMakeLists.txt b/ksysguard/gui/SensorDisplayLib/CMakeLists.txt
new file mode 100644
index 000000000..b6cfacf4f
--- /dev/null
+++ b/ksysguard/gui/SensorDisplayLib/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_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/ksysguard/gui/ksgrd
+ ${CMAKE_SOURCE_DIR}/ksysguard/gui
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### sensordisplays (static) ###################
+
+tde_add_library( sensordisplays STATIC_PIC AUTOMOC
+ SOURCES
+ SensorDisplay.cc BarGraph.cc DancingBars.cc DancingBarsSettings.cc
+ DummyDisplay.cc FancyPlotter.cc FancyPlotterSettings.cc
+ ListView.cc LogFile.cc MultiMeter.cc MultiMeterSettings.cc
+ ProcessController.cc ProcessList.cc ReniceDlg.cc
+ SensorLogger.cc SensorLoggerDlg.cc SensorLoggerSettings.cc
+ ListViewSettings.cc SignalPlotter.cc ListViewSettingsWidget.ui
+ LogFileSettings.ui MultiMeterSettingsWidget.ui SensorLoggerDlgWidget.ui
+ SensorLoggerSettingsWidget.ui
+ LINK ksgrd-shared kio-shared
+)
diff --git a/ksysguard/gui/ksgrd/CMakeLists.txt b/ksysguard/gui/ksgrd/CMakeLists.txt
new file mode 100644
index 000000000..5009bfcca
--- /dev/null
+++ b/ksysguard/gui/ksgrd/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_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ HostConnector.h SensorAgent.h SensorClient.h
+ SensorManager.h SensorShellAgent.h SensorSocketAgent.h
+ StyleEngine.h StyleSettings.h TimerSettings.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/ksgrd )
+
+
+##### ksgrd (shared) ############################
+
+tde_add_library( ksgrd SHARED AUTOMOC
+ SOURCES
+ HostConnector.cc SensorAgent.cc SensorManager.cc
+ SensorShellAgent.cc SensorSocketAgent.cc StyleEngine.cc
+ StyleSettings.cc TimerSettings.cc
+ VERSION 1.2.0
+ LINK kdeui-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/ksysguard/ksysguardd/CMakeLists.txt b/ksysguard/ksysguardd/CMakeLists.txt
new file mode 100644
index 000000000..9aa0ac4e7
--- /dev/null
+++ b/ksysguard/ksysguardd/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
+#
+#################################################
+
+# FIXME there is only Linux support
+
+if( ${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
+ set( OS_SPECIFIC_DIR Linux )
+else()
+ tde_message_fatal( "Your operating system (${CMAKE_SYSTEM_NAME}) is not supported yet." )
+endif()
+
+
+add_subdirectory( ${OS_SPECIFIC_DIR} )
+
+
+add_definitions(
+ -DKSYSGUARDDRCFILE=\"${SYSCONF_INSTALL_DIR}/ksysguarddrc\"
+ -DOSTYPE_${CMAKE_SYSTEM_NAME}
+)
+
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${OS_SPECIFIC_DIR}
+ ${CMAKE_SOURCE_DIR}/ksysguard/CContLib
+)
+
+
+##### ksysguardd (executable) ###################
+
+tde_add_executable( ksysguardd AUTOMOC
+ SOURCES Command.c conf.c ksysguardd.c PWUIDCache.c
+ LINK ccont-static ksysguardd-static ${TDE_LIB_DIR}/libkdefakes_nonpic.a
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ksysguard/ksysguardd/Linux/CMakeLists.txt b/ksysguard/ksysguardd/Linux/CMakeLists.txt
new file mode 100644
index 000000000..b0cff4205
--- /dev/null
+++ b/ksysguard/ksysguardd/Linux/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -D_GNU_SOURCE )
+
+if( WITH_I8K )
+ add_definitions( -DHAVE_I8K_SUPPORT )
+endif()
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/ksysguard/CContLib
+ ${CMAKE_SOURCE_DIR}/ksysguard/ksysguardd
+)
+
+
+##### ksysguardd (static) #######################
+
+tde_add_library( ksysguardd STATIC
+ SOURCES
+ ProcessList.c Memory.c stat.c netdev.c apm.c acpi.c
+ loadavg.c cpuinfo.c lmsensors.c netstat.c diskstat.c
+ logfile.c i8k.c
+)
diff --git a/ksysguard/pics/CMakeLists.txt b/ksysguard/pics/CMakeLists.txt
new file mode 100644
index 000000000..8071b96e3
--- /dev/null
+++ b/ksysguard/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
+#
+#################################################
+
+install( FILES
+ unknownapp.png ksysguardd.png computer.png daemon.png
+ shell.png kernel.png kdeapp.png X.png tools.png
+ waiting.png running.png
+ DESTINATION ${DATA_INSTALL_DIR}/ksysguard/pics )
diff --git a/ksystraycmd/CMakeLists.txt b/ksystraycmd/CMakeLists.txt
new file mode 100644
index 000000000..bebeb4f45
--- /dev/null
+++ b/ksystraycmd/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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}
+)
+
+
+##### ksystraycmd (executable) ##################
+
+tde_add_executable( ksystraycmd AUTOMOC
+ SOURCES ksystraycmd.cpp main.cpp
+ LINK kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ktip/CMakeLists.txt b/ktip/CMakeLists.txt
new file mode 100644
index 000000000..4b7d1b2c6
--- /dev/null
+++ b/ktip/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
+#
+#################################################
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES ktip.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES ktip.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Toys RENAME ktip.desktop )
+install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/kdewizard )
+
+
+##### ktip (executable) #########################
+
+tde_add_executable( ktip AUTOMOC
+ SOURCES ktipwindow.cpp
+ LINK kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ktip/pics/CMakeLists.txt b/ktip/pics/CMakeLists.txt
new file mode 100644
index 000000000..fe5b80511
--- /dev/null
+++ b/ktip/pics/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 wizard_small.png DESTINATION ${DATA_INSTALL_DIR}/kdewizard/pics )
diff --git a/kwin/CMakeLists.txt b/kwin/CMakeLists.txt
new file mode 100644
index 000000000..1001aa4a0
--- /dev/null
+++ b/kwin/CMakeLists.txt
@@ -0,0 +1,62 @@
+#################################################
+#
+# (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( lib )
+add_subdirectory( killer )
+add_subdirectory( kcmkwin )
+add_subdirectory( pics )
+add_subdirectory( clients )
+add_subdirectory( oldheaders )
+add_subdirectory( data )
+# add_subdirectory( kompmgr )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES KWinInterface.h DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+##### other data ################################
+
+tde_install_icons( kwin )
+install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kwin )
+install( FILES kwin.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### kwin (kdeinit) ############################
+
+set( target kwin )
+
+set( ${target}_SRCS
+ workspace.cpp client.cpp placement.cpp atoms.cpp
+ utils.cpp layers.cpp main.cpp popupinfo.cpp tabbox.cpp
+ options.cpp plugins.cpp events.cpp KWinInterface.skel
+ killwindow.cpp geometrytip.cpp sm.cpp group.cpp bridge.cpp
+ manage.cpp notifications.cpp activation.cpp useractions.cpp
+ geometry.cpp rules.cpp
+)
+
+tde_add_kdeinit_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdecorations-shared kdeui-shared Xext
+)
diff --git a/kwin/clients/CMakeLists.txt b/kwin/clients/CMakeLists.txt
new file mode 100644
index 000000000..c9a8faf85
--- /dev/null
+++ b/kwin/clients/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( plastik )
+add_subdirectory( b2 )
+add_subdirectory( default )
+add_subdirectory( keramik )
+add_subdirectory( laptop )
+add_subdirectory( modernsystem )
+add_subdirectory( quartz )
+add_subdirectory( redmond )
+add_subdirectory( web )
diff --git a/kwin/clients/b2/CMakeLists.txt b/kwin/clients/b2/CMakeLists.txt
new file mode 100644
index 000000000..0031343d7
--- /dev/null
+++ b/kwin/clients/b2/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
+#
+#################################################
+
+add_subdirectory( config )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES b2.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
+
+
+##### kwin3_b2 (module) #########################
+
+tde_add_kpart( kwin3_b2 AUTOMOC
+ SOURCES b2client.cpp
+ LINK kdecorations-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/b2/config/CMakeLists.txt b/kwin/clients/b2/config/CMakeLists.txt
new file mode 100644
index 000000000..c260bc6d0
--- /dev/null
+++ b/kwin/clients/b2/config/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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}
+)
+
+
+##### kwin_b2_config (module) ###################
+
+tde_add_kpart( kwin_b2_config AUTOMOC
+ SOURCES config.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/default/CMakeLists.txt b/kwin/clients/default/CMakeLists.txt
new file mode 100644
index 000000000..1f539106c
--- /dev/null
+++ b/kwin/clients/default/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (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( config )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kwin3_default (module) ####################
+
+tde_add_kpart( kwin3_default AUTOMOC
+ SOURCES kdedefault.cpp
+ LINK kdecorations-shared kdecore-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/default/config/CMakeLists.txt b/kwin/clients/default/config/CMakeLists.txt
new file mode 100644
index 000000000..35492058f
--- /dev/null
+++ b/kwin/clients/default/config/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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}
+)
+
+
+##### kwin_default_config (module) ##############
+
+tde_add_kpart( kwin_default_config AUTOMOC
+ SOURCES config.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/keramik/CMakeLists.txt b/kwin/clients/keramik/CMakeLists.txt
new file mode 100644
index 000000000..851f44a9a
--- /dev/null
+++ b/kwin/clients/keramik/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
+#
+#################################################
+
+add_subdirectory( config )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES keramik.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
+
+
+##### kwin3_keramik (module) ####################
+
+set_source_files_properties( keramik.cpp
+ PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tiles.h )
+
+tde_add_kpart( kwin3_keramik AUTOMOC
+ SOURCES keramik.cpp
+ LINK kdecorations-shared kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### tiles.h (header) ##########################
+
+set( pics
+ pics/caption-large-left.png pics/caption-small-right.png
+ pics/titlebar-center.png pics/titlebutton-square.png
+ pics/border-left.png pics/caption-large-right.png
+ pics/grabbar-center.png pics/titlebar-left.png
+ pics/border-right.png pics/caption-small-center.png
+ pics/grabbar-left.png pics/titlebar-right.png
+ pics/caption-large-center.png pics/caption-small-left.png
+ pics/grabbar-right.png pics/titlebutton-round.png
+ pics/bottom-left.png pics/bottom-right.png pics/bottom-center.png
+ pics/titlebutton-square-large.png pics/titlebutton-square-huge.png
+ pics/titlebutton-round-large.png pics/titlebutton-round-huge.png )
+
+add_custom_command( OUTPUT tiles.h
+ COMMAND ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${pics}
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${pics} )
+
+tde_add_executable( embedtool
+ SOURCES embedtool.cpp
+ LINK ${TQT_LIBRARIES}
+)
diff --git a/kwin/clients/keramik/config/CMakeLists.txt b/kwin/clients/keramik/config/CMakeLists.txt
new file mode 100644
index 000000000..3d5fb9e03
--- /dev/null
+++ b/kwin/clients/keramik/config/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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}
+)
+
+
+##### kwin_keramik_config (module) ##############
+
+tde_add_kpart( kwin_keramik_config AUTOMOC
+ SOURCES config.cpp keramikconfig.ui
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/laptop/CMakeLists.txt b/kwin/clients/laptop/CMakeLists.txt
new file mode 100644
index 000000000..b6e16e800
--- /dev/null
+++ b/kwin/clients/laptop/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_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES laptop.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
+
+
+##### kwin3_laptop (module) #####################
+
+tde_add_kpart( kwin3_laptop AUTOMOC
+ SOURCES laptopclient.cpp
+ LINK kdecorations-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/modernsystem/CMakeLists.txt b/kwin/clients/modernsystem/CMakeLists.txt
new file mode 100644
index 000000000..8fbfec858
--- /dev/null
+++ b/kwin/clients/modernsystem/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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( config )
+
+include_directories(
+ ${CMAKE_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES modernsystem.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
+
+
+##### kwin3_modernsys (module) ##################
+
+tde_add_kpart( kwin3_modernsys
+ SOURCES modernsys.cpp
+ LINK kdecorations-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/modernsystem/config/CMakeLists.txt b/kwin/clients/modernsystem/config/CMakeLists.txt
new file mode 100644
index 000000000..7e644f0c9
--- /dev/null
+++ b/kwin/clients/modernsystem/config/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kwin_modernsys_config (module) ############
+
+tde_add_kpart( kwin_modernsys_config AUTOMOC
+ SOURCES config.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
diff --git a/kwin/clients/plastik/CMakeLists.txt b/kwin/clients/plastik/CMakeLists.txt
new file mode 100644
index 000000000..da88e2ffa
--- /dev/null
+++ b/kwin/clients/plastik/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
+#
+#################################################
+
+add_subdirectory( config )
+
+add_definitions( -DQT_PLUGIN )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES plastik.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
+
+
+##### kwin3_plastik (module) ####################
+
+tde_add_kpart( kwin3_plastik AUTOMOC
+ SOURCES plastik.cpp plastikclient.cpp plastikbutton.cpp misc.cpp
+ LINK kdecorations-shared kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/plastik/config/CMakeLists.txt b/kwin/clients/plastik/config/CMakeLists.txt
new file mode 100644
index 000000000..c5b34f368
--- /dev/null
+++ b/kwin/clients/plastik/config/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 DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kwin_plastik_config (module) ##############
+
+tde_add_kpart( kwin_plastik_config AUTOMOC
+ SOURCES config.cpp configdialog.ui
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/quartz/CMakeLists.txt b/kwin/clients/quartz/CMakeLists.txt
new file mode 100644
index 000000000..a4463067a
--- /dev/null
+++ b/kwin/clients/quartz/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
+#
+#################################################
+
+add_subdirectory( config )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES quartz.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
+
+
+##### kwin3_quartz (module) #####################
+
+tde_add_kpart( kwin3_quartz AUTOMOC
+ SOURCES quartz.cpp
+ LINK kdecorations-shared kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/quartz/config/CMakeLists.txt b/kwin/clients/quartz/config/CMakeLists.txt
new file mode 100644
index 000000000..3b3ed6564
--- /dev/null
+++ b/kwin/clients/quartz/config/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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}
+)
+
+
+##### kwin_quartz_config (module) ###############
+
+tde_add_kpart( kwin_quartz_config AUTOMOC
+ SOURCES config.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/redmond/CMakeLists.txt b/kwin/clients/redmond/CMakeLists.txt
new file mode 100644
index 000000000..8a3bc7814
--- /dev/null
+++ b/kwin/clients/redmond/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_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES redmond.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
+
+
+##### kwin3_redmond (module) ####################
+
+tde_add_kpart( kwin3_redmond AUTOMOC
+ SOURCES redmond.cpp
+ LINK kdecorations-shared kdecore-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/clients/web/CMakeLists.txt b/kwin/clients/web/CMakeLists.txt
new file mode 100644
index 000000000..9bb7de57f
--- /dev/null
+++ b/kwin/clients/web/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 web.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
+
+
+##### kwin3_web (module) ########################
+
+tde_add_kpart( kwin3_web AUTOMOC
+ SOURCES Web.cpp WebButton.cpp
+ LINK kdecorations-shared kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/data/CMakeLists.txt b/kwin/data/CMakeLists.txt
new file mode 100644
index 000000000..ac9d78e1c
--- /dev/null
+++ b/kwin/data/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(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ kwin.upd kwinsticky.upd kwiniconify.upd kwin3_plugin.upd
+ kwin_focus1.upd kwinupdatewindowsettings.upd
+ kwin_focus2.upd kwin_fsp_workarounds_1.upd
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+install( PROGRAMS
+ pluginlibFix.pl kwin3_plugin.pl kwin_focus1.sh kwin_focus2.sh
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+install( FILES
+ pop.wav
+ DESTINATION ${SOUND_INSTALL_DIR} )
+
+install( FILES
+ fsp_workarounds_1.kwinrules
+ DESTINATION ${DATA_INSTALL_DIR}/kwin/default_rules )
+
+
+##### kwin_update_window_settings (executable) ##
+
+tde_add_executable( kwin_update_window_settings
+ SOURCES update_window_settings.cpp
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
+)
+
+
+##### kwin_update_default_rules (executable) ####
+
+tde_add_executable( kwin_update_default_rules
+ SOURCES update_default_rules.cpp
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
+)
diff --git a/kwin/kcmkwin/CMakeLists.txt b/kwin/kcmkwin/CMakeLists.txt
new file mode 100644
index 000000000..76ed077ec
--- /dev/null
+++ b/kwin/kcmkwin/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
+#
+#################################################
+
+add_subdirectory( kwinoptions )
+add_subdirectory( kwindecoration )
+add_subdirectory( kwinrules )
+
+install( FILES showdesktop.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
diff --git a/kwin/kcmkwin/kwindecoration/CMakeLists.txt b/kwin/kcmkwin/kwindecoration/CMakeLists.txt
new file mode 100644
index 000000000..21cfa02c8
--- /dev/null
+++ b/kwin/kcmkwin/kwindecoration/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_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kwindecoration.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_kwindecoration (module) ###############
+
+tde_add_kpart( kcm_kwindecoration AUTOMOC
+ SOURCES
+ kwindecoration.cpp buttons.cpp
+ kwindecorationIface.skel preview.cpp
+ LINK kdecorations-shared kdeui-shared Xext
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/kcmkwin/kwinoptions/CMakeLists.txt b/kwin/kcmkwin/kwinoptions/CMakeLists.txt
new file mode 100644
index 000000000..fe28283b9
--- /dev/null
+++ b/kwin/kcmkwin/kwinoptions/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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kwinoptions.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ kwinactions.desktop kwinadvanced.desktop kwinfocus.desktop
+ kwinmoving.desktop kwintranslucency.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/.hidden )
+
+
+##### kcm_kwinoptions (module) ##################
+
+tde_add_kpart( kcm_kwinoptions AUTOMOC
+ SOURCES windows.cpp mouse.cpp main.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kwin/kcmkwin/kwinrules/CMakeLists.txt b/kwin/kcmkwin/kwinrules/CMakeLists.txt
new file mode 100644
index 000000000..f88020adb
--- /dev/null
+++ b/kwin/kcmkwin/kwinrules/CMakeLists.txt
@@ -0,0 +1,56 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -DKCMRULES )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kwin/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kwinrules.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_kwinrules (module) ####################
+
+tde_add_kpart( kcm_kwinrules AUTOMOC
+ SOURCES kcm.cpp
+ LINK kwinrules-static
+ DESTINATION ${PLUGIN_INSTALL_DIR} )
+
+
+##### kwin_rules_dialog (kdeinit) ###############
+
+tde_add_kdeinit_executable( kwin_rules_dialog
+ SOURCES main.cpp
+ LINK kwinrules-static )
+
+
+##### kwinrules (static) ########################
+
+set( target kwinrules )
+
+set( ${target}_SRCS
+ ruleswidget.cpp ruleslist.cpp kwinsrc.cpp detectwidget.cpp
+ ruleswidgetbase.ui ruleslistbase.ui detectwidgetbase.ui
+ editshortcutbase.ui )
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeui-shared )
diff --git a/kwin/killer/CMakeLists.txt b/kwin/killer/CMakeLists.txt
new file mode 100644
index 000000000..71c349c7c
--- /dev/null
+++ b/kwin/killer/CMakeLists.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (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(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kwin_killer_helper (executable) ###########
+
+tde_add_executable( kwin_killer_helper
+ SOURCES killer.cpp
+ LINK kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kwin/lib/CMakeLists.txt b/kwin/lib/CMakeLists.txt
new file mode 100644
index 000000000..34660a2e5
--- /dev/null
+++ b/kwin/lib/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kdecorations (shared) #####################
+
+set( target kdecorations )
+
+set( ${target}_SRCS
+ kdecoration.cpp kdecoration_p.cpp kdecoration_plugins_p.cpp
+ kdecorationfactory.cpp kcommondecoration.cpp
+)
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 1.0.0
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kwin/oldheaders/CMakeLists.txt b/kwin/oldheaders/CMakeLists.txt
new file mode 100644
index 000000000..fa5995850
--- /dev/null
+++ b/kwin/oldheaders/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
+ options.h client.h workspace.h kwinbutton.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kwin )
diff --git a/kwin/pics/CMakeLists.txt b/kwin/pics/CMakeLists.txt
new file mode 100644
index 000000000..928efb718
--- /dev/null
+++ b/kwin/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
+#
+#################################################
+
+install( FILES
+ close.png maximize.png maximizedown.png menu.png
+ iconify.png pindown.png pinup.png unknown.png fog.png
+ fog-grey.png bluesun.png greenie.light.png greenie.dim.png
+ DESTINATION ${DATA_INSTALL_DIR}/kwin/pics )
diff --git a/kxkb/CMakeLists.txt b/kxkb/CMakeLists.txt
new file mode 100644
index 000000000..ee1d141ff
--- /dev/null
+++ b/kxkb/CMakeLists.txt
@@ -0,0 +1,55 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( ConfigureChecks.cmake )
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES keyboard.desktop keyboard_layout.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kxkb_groups DESTINATION ${CONFIG_INSTALL_DIR} )
+install( FILES kxkb.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kcm_keyboard (module) #####################
+
+tde_add_kpart( kcm_keyboard AUTOMOC
+ SOURCES
+ extension.cpp x11helper.cpp rules.cpp kxkbconfig.cpp
+ pixmap.cpp kcmlayout.cpp kcmlayoutwidget.ui
+ kcmmisc.cpp kcmmiscwidget.ui
+ LINK kio-shared xkbfile
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kxkb (kdeinit) ############################
+
+tde_add_kdeinit_executable( kxkb AUTOMOC
+ SOURCES
+ extension.cpp x11helper.cpp rules.cpp kxkbconfig.cpp
+ pixmap.cpp layoutmap.cpp kxkb.cpp kxkbtraywindow.cpp
+ kxkb.skel
+ LINK kdeui-shared xkbfile
+)
diff --git a/kxkb/ConfigureChecks.cmake b/kxkb/ConfigureChecks.cmake
new file mode 100644
index 000000000..4bf356bc4
--- /dev/null
+++ b/kxkb/ConfigureChecks.cmake
@@ -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
+#
+#################################################
+
+find_program( SETXKBMAP setxkbmap )
+if( SETXKBMAP-NOTFOUND )
+ tde_message_fatal( "setxkbmap is required, but not found on your system" )
+endif()
diff --git a/kxkb/pics/CMakeLists.txt b/kxkb/pics/CMakeLists.txt
new file mode 100644
index 000000000..189a3a200
--- /dev/null
+++ b/kxkb/pics/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()
diff --git a/l10n/CMakeLists.txt b/l10n/CMakeLists.txt
new file mode 100644
index 000000000..c9516b52c
--- /dev/null
+++ b/l10n/CMakeLists.txt
@@ -0,0 +1,30 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+#################################################
+
+install( FILES
+ northafrica.desktop westafrica.desktop southafrica.desktop
+ centralafrica.desktop caribbean.desktop oceania.desktop
+ centralamerica.desktop northamerica.desktop southamerica.desktop
+ easteurope.desktop westeurope.desktop centraleurope.desktop
+ northeurope.desktop southeurope.desktop southasia.desktop
+ southeastasia.desktop eastasia.desktop centralasia.desktop
+ middleeast.desktop
+ DESTINATION
+ ${LOCALE_INSTALL_DIR}/l10n )
+
+
+file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
+foreach( _dir ${_dirs} )
+ if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} )
+ if( NOT (${_dir} STREQUAL ".svn" OR ${_dir} STREQUAL "CMakeFiles") )
+ install( FILES ${_dir}/entry.desktop ${_dir}/flag.png
+ DESTINATION ${LOCALE_INSTALL_DIR}/l10n/${_dir} )
+ endif( )
+ endif( )
+endforeach( )
diff --git a/libkonq/CMakeLists.txt b/libkonq/CMakeLists.txt
new file mode 100644
index 000000000..4dbac40c8
--- /dev/null
+++ b/libkonq/CMakeLists.txt
@@ -0,0 +1,78 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( libkonq )
+
+
+add_subdirectory( pics )
+add_subdirectory( favicons )
+
+add_definitions(
+ -include tqt.h
+)
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ konq_popupmenu.h knewmenu.h kfileivi.h konq_drag.h
+ konq_iconviewwidget.h konq_defaults.h konq_settings.h
+ konq_operations.h libkonq_export.h konq_dirpart.h
+ konq_propsview.h konq_events.h konq_undo.h
+ konq_historymgr.h konq_historycomm.h konq_pixmapprovider.h
+ kivdirectoryoverlay.h konq_faviconmgr.h konq_xmlguiclient.h
+ konqbookmarkmanager.h konq_filetip.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+##### other data ################################
+
+install( FILES directory_bookmarkbar.desktop DESTINATION ${DATA_INSTALL_DIR}/kbookmark )
+install( FILES konqpopupmenuplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### konq (shared lib) #########################
+
+set( target konq )
+
+set( ${target}_SRCS
+ konq_popupmenu.cc knewmenu.cc konq_xmlguiclient.cc
+ kfileivi.cc konq_iconviewwidget.cc konq_settings.cc
+ konq_drag.cc konq_operations.cc konq_dirpart.cc
+ konq_propsview.cc konq_events.cc konq_bgnddlg.cc
+ konq_undo.cc konq_undo.skel konq_historymgr.cc
+ konq_historycomm.cc konq_historycomm.skel konq_pixmapprovider.cc
+ kivdirectoryoverlay.cc konq_faviconmgr.cc konq_faviconmgr.skel
+ konq_filetip.cc
+)
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 4.2.0
+ LINK kparts-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### install import cmake modules ###############
+
+tde_install_export( )
diff --git a/libkonq/favicons/CMakeLists.txt b/libkonq/favicons/CMakeLists.txt
new file mode 100644
index 000000000..fd3058fb3
--- /dev/null
+++ b/libkonq/favicons/CMakeLists.txt
@@ -0,0 +1,49 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions(
+)
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ #${CMAKE_CURRENT_SOURCE_DIR}
+ #${CMAKE_BINARY_DIR}
+ #${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIBRARY_DIRS}
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES favicons.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+install( FILES favicons.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( PROGRAMS move_favicons.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+##### kded_favicons (module) ####################
+
+set( target kded_favicons )
+
+set( ${target}_SRCS
+ favicons.cpp favicons.skel
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeinit_kded-shared
+ DESTINATION ${TDE_MODULEDIR}
+)
diff --git a/libkonq/pics/CMakeLists.txt b/libkonq/pics/CMakeLists.txt
new file mode 100644
index 000000000..96126651a
--- /dev/null
+++ b/libkonq/pics/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
+ thumbnailfont_7x4.png arrow_topleft.png arrow_topright.png
+ arrow_bottomleft.png arrow_bottomright.png
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/pics )
diff --git a/nsplugins/CMakeLists.txt b/nsplugins/CMakeLists.txt
new file mode 100644
index 000000000..5e16114f3
--- /dev/null
+++ b/nsplugins/CMakeLists.txt
@@ -0,0 +1,66 @@
+#################################################
+#
+# (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( viewer )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES khtml_plugins.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES nspluginpart.rc DESTINATION ${DATA_INSTALL_DIR}/plugin )
+
+
+##### libnsplugin (module) ######################
+
+tde_add_kpart( libnsplugin AUTOMOC
+ SOURCES
+ viewer/NSPluginClassIface.stub
+ NSPluginCallbackIface.skel
+ plugin_part.cpp nspluginloader.cpp
+ LINK kparts-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_nsplugins (module) ####################
+
+tde_add_kpart( kcm_nsplugins AUTOMOC
+ SOURCES kcm_nsplugins.cpp
+ LINK pluginpaths-static kdecore-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### nspluginscan (executable) #################
+
+tde_add_executable( nspluginscan AUTOMOC
+ SOURCES pluginscan.cpp
+ LINK pluginpaths-static kio-shared Xt
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### pluginpaths (static) ######################
+
+tde_add_library( pluginpaths STATIC_PIC
+ SOURCES plugin_paths.cpp
+)
diff --git a/nsplugins/viewer/CMakeLists.txt b/nsplugins/viewer/CMakeLists.txt
new file mode 100644
index 000000000..27e15cc1c
--- /dev/null
+++ b/nsplugins/viewer/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}
+ ${CMAKE_SOURCE_DIR}/nsplugins
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GLIB2_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### nspluginviewer (executable) ###############
+
+tde_add_executable( nspluginviewer AUTOMOC
+ SOURCES
+ ../NSPluginCallbackIface.stub NSPluginClassIface.skel
+ nsplugin.cpp viewer.cpp kxt.cpp qxteventloop.cpp
+ glibevents.cpp
+ LINK kparts-shared kio-shared ${GLIB2_LIBRARIES} Xt
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/pics/CMakeLists.txt b/pics/CMakeLists.txt
new file mode 100644
index 000000000..e3acb51e7
--- /dev/null
+++ b/pics/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (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( crystalsvg )
+add_subdirectory( wallpapers )
diff --git a/pics/crystalsvg/CMakeLists.txt b/pics/crystalsvg/CMakeLists.txt
new file mode 100644
index 000000000..db8d4480c
--- /dev/null
+++ b/pics/crystalsvg/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( )
diff --git a/pics/wallpapers/CMakeLists.txt b/pics/wallpapers/CMakeLists.txt
new file mode 100644
index 000000000..5d9bb1ec4
--- /dev/null
+++ b/pics/wallpapers/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
+#
+#################################################
+
+install( FILES
+ All-Good-People-1.jpg All-Good-People-1.jpg.desktop
+ alta-badia.jpg alta-badia.jpg.desktop
+ blue-bend.jpg blue-bend.jpg.desktop
+ Chicken-Songs-2.jpg Chicken-Songs-2.jpg.desktop
+ default_blue.jpg default_blue.jpg.desktop
+ default_gears.jpg default_gears.jpg.desktop
+ floating-leaves.jpg floating-leaves.jpg.desktop
+ No-Ones-Laughing-3.jpg No-Ones-Laughing-3.jpg.desktop
+ seaofconero.jpg seaofconero.jpg.desktop
+ soft-green.jpg soft-green.jpg.desktop
+ stelvio.jpg stelvio.jpg.desktop
+ sunshine-after-the-rain.jpg sunshine-after-the-rain.jpg.desktop
+ Time-For-Lunch-2.jpg Time-For-Lunch-2.jpg.desktop
+ Totally-New-Product-1.jpg Totally-New-Product-1.jpg.desktop
+ triplegears.jpg triplegears.jpg.desktop
+ Won-Ton-Soup-3.jpg Won-Ton-Soup-3.jpg.desktop
+ KDE34.png KDE34.png.desktop
+ aghi.jpg aghi.jpg.desktop
+ andes-venezolanos.svgz andes-venezolanos.svgz.desktop
+ aurora.svgz aurora.svgz.desktop
+ celtic.svgz celtic.svgz.desktop
+ globe.svgz globe.svgz.desktop
+ green_curtain.jpg green_curtain.jpg.desktop
+ here-gear.svgz here-gear.svgz.desktop
+ horse-head-nebula.png horse-head-nebula.png.desktop
+ isadora.png isadora.png.desktop
+ konqui.svgz konqui.svgz.desktop
+ lineart.svgz lineart.svgz.desktop
+ moon.svgz moon.svgz.desktop
+ stripes.jpg stripes.jpg.desktop
+ world-desktop.jpg world-desktop.jpg.desktop
+ DESTINATION ${WALLPAPER_INSTALL_DIR} )