diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-20 03:59:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-20 03:59:04 +0000 |
commit | 5379c37cfc91f24716af951dd08503f65f7575d7 (patch) | |
tree | 59288babdc8ae3bf4b529b7ced17509450f05679 /kwin-styles | |
parent | 99a9c9fb9a9ce322e8b43fc101877c6a78622bca (diff) | |
download | tdeartwork-5379c37cfc91f24716af951dd08503f65f7575d7.tar.gz tdeartwork-5379c37cfc91f24716af951dd08503f65f7575d7.zip |
Commit initial kdeartwork CMake support, courtesy of Golubev Alexander
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1259766 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin-styles')
23 files changed, 643 insertions, 0 deletions
diff --git a/kwin-styles/CMakeLists.txt b/kwin-styles/CMakeLists.txt new file mode 100644 index 00000000..7f3a5836 --- /dev/null +++ b/kwin-styles/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include( "${TDE_CMAKE_DIR}/kwin.cmake" ) + +add_subdirectory( cde ) +add_subdirectory( glow ) +add_subdirectory( icewm ) +add_subdirectory( kde1 ) +add_subdirectory( kstep ) +add_subdirectory( openlook ) +add_subdirectory( riscos ) +add_subdirectory( smooth-blend ) +add_subdirectory( system ) diff --git a/kwin-styles/cde/CMakeLists.txt b/kwin-styles/cde/CMakeLists.txt new file mode 100644 index 00000000..cc24e732 --- /dev/null +++ b/kwin-styles/cde/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( config ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES cde.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_cde ################################## + +tde_add_kpart( kwin3_cde AUTOMOC + SOURCES cdeclient.cpp + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/cde/config/CMakeLists.txt b/kwin-styles/cde/config/CMakeLists.txt new file mode 100644 index 00000000..5c5427b1 --- /dev/null +++ b/kwin-styles/cde/config/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (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_cde_config (module) ################### + +tde_add_kpart( kwin_cde_config AUTOMOC + SOURCES config.cpp + LINK kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/glow/CMakeLists.txt b/kwin-styles/glow/CMakeLists.txt new file mode 100644 index 00000000..50b2330e --- /dev/null +++ b/kwin-styles/glow/CMakeLists.txt @@ -0,0 +1,35 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( config ) +add_subdirectory( themes ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES glow.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_glow ################################ + +tde_add_kpart( kwin3_glow AUTOMOC + SOURCES glowbutton.cpp glowclient.cpp + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/glow/config/CMakeLists.txt b/kwin-styles/glow/config/CMakeLists.txt new file mode 100644 index 00000000..d40532a7 --- /dev/null +++ b/kwin-styles/glow/config/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (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_glow_config (module) ################## + +tde_add_kpart( kwin_glow_config AUTOMOC + SOURCES glowconfigdialog.cpp + LINK kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/glow/themes/CMakeLists.txt b/kwin-styles/glow/themes/CMakeLists.txt new file mode 100644 index 00000000..2f725214 --- /dev/null +++ b/kwin-styles/glow/themes/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( default ) +add_subdirectory( glass ) +add_subdirectory( glass_huge ) +add_subdirectory( glass_large ) +add_subdirectory( glass_verylarge ) +add_subdirectory( square )
\ No newline at end of file diff --git a/kwin-styles/glow/themes/default/CMakeLists.txt b/kwin-styles/glow/themes/default/CMakeLists.txt new file mode 100644 index 00000000..f7d98c0a --- /dev/null +++ b/kwin-styles/glow/themes/default/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + background.png + help.png help_glow.png + close.png close_glow.png + iconify.png iconify_glow.png + maximizeoff.png maximizeoff_glow.png + maximizeon.png maximizeon_glow.png + stickyon.png stickyon_glow.png + stickyoff.png stickyoff_glow.png + default.theme + DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/default ) diff --git a/kwin-styles/glow/themes/glass/CMakeLists.txt b/kwin-styles/glow/themes/glass/CMakeLists.txt new file mode 100644 index 00000000..bb02a73c --- /dev/null +++ b/kwin-styles/glow/themes/glass/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + background.png + help.png help_glow.png + close.png close_glow.png + iconify.png iconify_glow.png + maximizeoff.png maximizeoff_glow.png + maximizeon.png maximizeon_glow.png + stickyon.png stickyon_glow.png + stickyoff.png stickyoff_glow.png + glass.theme + DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass ) diff --git a/kwin-styles/glow/themes/glass_huge/CMakeLists.txt b/kwin-styles/glow/themes/glass_huge/CMakeLists.txt new file mode 100644 index 00000000..cd98469f --- /dev/null +++ b/kwin-styles/glow/themes/glass_huge/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + background.png + help.png help_glow.png + close.png close_glow.png + iconify.png iconify_glow.png + maximizeoff.png maximizeoff_glow.png + maximizeon.png maximizeon_glow.png + stickyon.png stickyon_glow.png + stickyoff.png stickyoff_glow.png + glass_huge.theme + DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_huge ) diff --git a/kwin-styles/glow/themes/glass_large/CMakeLists.txt b/kwin-styles/glow/themes/glass_large/CMakeLists.txt new file mode 100644 index 00000000..7907f6ee --- /dev/null +++ b/kwin-styles/glow/themes/glass_large/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + background.png + help.png help_glow.png + close.png close_glow.png + iconify.png iconify_glow.png + maximizeoff.png maximizeoff_glow.png + maximizeon.png maximizeon_glow.png + stickyon.png stickyon_glow.png + stickyoff.png stickyoff_glow.png + glass_large.theme + DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_large ) diff --git a/kwin-styles/glow/themes/glass_verylarge/CMakeLists.txt b/kwin-styles/glow/themes/glass_verylarge/CMakeLists.txt new file mode 100644 index 00000000..673e16a3 --- /dev/null +++ b/kwin-styles/glow/themes/glass_verylarge/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + background.png + help.png help_glow.png + close.png close_glow.png + iconify.png iconify_glow.png + maximizeoff.png maximizeoff_glow.png + maximizeon.png maximizeon_glow.png + stickyon.png stickyon_glow.png + stickyoff.png stickyoff_glow.png + glass_verylarge.theme + DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_verylarge ) diff --git a/kwin-styles/glow/themes/square/CMakeLists.txt b/kwin-styles/glow/themes/square/CMakeLists.txt new file mode 100644 index 00000000..26ea9ea7 --- /dev/null +++ b/kwin-styles/glow/themes/square/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + background.png + help.png help_glow.png + close.png close_glow.png + iconify.png iconify_glow.png + maximizeoff.png maximizeoff_glow.png + maximizeon.png maximizeon_glow.png + stickyon.png stickyon_glow.png + stickyoff.png stickyoff_glow.png + square.theme + DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/square ) diff --git a/kwin-styles/icewm/CMakeLists.txt b/kwin-styles/icewm/CMakeLists.txt new file mode 100644 index 00000000..0766fd51 --- /dev/null +++ b/kwin-styles/icewm/CMakeLists.txt @@ -0,0 +1,35 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( config ) +add_subdirectory( icewm-themes ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES icewm.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_icewm ############################### + +tde_add_kpart( kwin3_icewm AUTOMOC + SOURCES icewm.cpp + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/icewm/config/CMakeLists.txt b/kwin-styles/icewm/config/CMakeLists.txt new file mode 100644 index 00000000..479c84a4 --- /dev/null +++ b/kwin-styles/icewm/config/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (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_icewm_config (module) ################ + +tde_add_kpart( kwin_icewm_config AUTOMOC + SOURCES config.cpp + LINK kdeui-shared kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/icewm/icewm-themes/CMakeLists.txt b/kwin-styles/icewm/icewm-themes/CMakeLists.txt new file mode 100644 index 00000000..8a029357 --- /dev/null +++ b/kwin-styles/icewm/icewm-themes/CMakeLists.txt @@ -0,0 +1,21 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + titleAB.xpm titleAJ.xpm titleAM.xpm titleAP.xpm titleAQ.xpm + titleAR.xpm titleAS.xpm titleAT.xpm titleIB.xpm titleIJ.xpm + titleIM.xpm titleIQ.xpm titleIR.xpm titleIS.xpm titleIT.xpm + titleIP.xpm closeA.xpm closeI.xpm depthA.xpm depthI.xpm + maximizeA.xpm maximizeI.xpm menuButtonA.xpm menuButtonI.xpm + minimizeA.xpm minimizeI.xpm restoreA.xpm restoreI.xpm + rolldownA.xpm rolldownI.xpm rollupA.xpm rollupI.xpm + default.theme + DESTINATION ${DATA_INSTALL_DIR}/kwin/icewm-themes ) diff --git a/kwin-styles/kde1/CMakeLists.txt b/kwin-styles/kde1/CMakeLists.txt new file mode 100644 index 00000000..dec7a69b --- /dev/null +++ b/kwin-styles/kde1/CMakeLists.txt @@ -0,0 +1,32 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (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 kde1.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_cde ################################## + +tde_add_kpart( kwin3_kde1 AUTOMOC + SOURCES kde1client.cpp + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/kstep/CMakeLists.txt b/kwin-styles/kstep/CMakeLists.txt new file mode 100644 index 00000000..0344dd47 --- /dev/null +++ b/kwin-styles/kstep/CMakeLists.txt @@ -0,0 +1,32 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (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 kstep.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_kstep ############################### + +tde_add_kpart( kwin3_kstep AUTOMOC + SOURCES nextclient.cpp + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/openlook/CMakeLists.txt b/kwin-styles/openlook/CMakeLists.txt new file mode 100644 index 00000000..6727bb48 --- /dev/null +++ b/kwin-styles/openlook/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (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 openlook.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_openlook ############################ + +tde_add_kpart( kwin3_openlook AUTOMOC + SOURCES OpenLook.cpp + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/riscos/CMakeLists.txt b/kwin-styles/riscos/CMakeLists.txt new file mode 100644 index 00000000..470b6f9f --- /dev/null +++ b/kwin-styles/riscos/CMakeLists.txt @@ -0,0 +1,52 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( + -DQT_PLUGIN +) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES riscos.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_riscos ############################### + + +set( target kwin3_riscos ) + +set( ${target}_SRCS + AboveButton.cpp Button.cpp + CloseButton.cpp + HelpButton.cpp + IconifyButton.cpp + LowerButton.cpp + Manager.cpp + MaximiseButton.cpp + Static.cpp + StickyButton.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/smooth-blend/CMakeLists.txt b/kwin-styles/smooth-blend/CMakeLists.txt new file mode 100644 index 00000000..bfd4d79f --- /dev/null +++ b/kwin-styles/smooth-blend/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( client )
\ No newline at end of file diff --git a/kwin-styles/smooth-blend/client/CMakeLists.txt b/kwin-styles/smooth-blend/client/CMakeLists.txt new file mode 100644 index 00000000..09011c41 --- /dev/null +++ b/kwin-styles/smooth-blend/client/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (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} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES smoothblend.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_smoothblend ########################## + +tde_add_kpart( kwin3_smoothblend AUTOMOC + SOURCES smoothblend.cc + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/smooth-blend/client/config/CMakeLists.txt b/kwin-styles/smooth-blend/client/config/CMakeLists.txt new file mode 100644 index 00000000..6f858e92 --- /dev/null +++ b/kwin-styles/smooth-blend/client/config/CMakeLists.txt @@ -0,0 +1,32 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( + -DQT_PLUGIN +) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### kwin_smoothblend_config (module) ########## + +tde_add_kpart( kwin_smoothblend_config AUTOMOC + SOURCES configdialog.ui smoothblendconfig.cc + LINK kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kwin-styles/system/CMakeLists.txt b/kwin-styles/system/CMakeLists.txt new file mode 100644 index 00000000..cc795673 --- /dev/null +++ b/kwin-styles/system/CMakeLists.txt @@ -0,0 +1,32 @@ +################################################# +# +# (C) 2011 Golubev Alexander +# fatzer2 (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 system.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) + +##### kwin3_system ############################### + +tde_add_kpart( kwin3_system AUTOMOC + SOURCES systemclient.cpp + LINK kdecorations-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) |