diff options
Diffstat (limited to 'ksplashml')
-rw-r--r-- | ksplashml/CMakeLists.txt | 41 | ||||
-rw-r--r-- | ksplashml/kcmksplash/CMakeLists.txt | 38 | ||||
-rw-r--r-- | ksplashml/kcmksplash/pics/CMakeLists.txt | 12 | ||||
-rw-r--r-- | ksplashml/pics/CMakeLists.txt | 14 | ||||
-rw-r--r-- | ksplashml/pics/themes/CMakeLists.txt | 15 | ||||
-rw-r--r-- | ksplashml/pics/themes/blue-bend/CMakeLists.txt | 15 | ||||
-rw-r--r-- | ksplashml/pics/themes/default/CMakeLists.txt | 17 | ||||
-rw-r--r-- | ksplashml/pics/themes/default/locolor/CMakeLists.txt | 15 | ||||
-rw-r--r-- | ksplashml/pics/themes/none/CMakeLists.txt | 14 | ||||
-rw-r--r-- | ksplashml/pics/themes/simple/CMakeLists.txt | 14 | ||||
-rw-r--r-- | ksplashml/themeengine/CMakeLists.txt | 42 | ||||
-rw-r--r-- | ksplashml/themeengine/default/CMakeLists.txt | 45 | ||||
-rw-r--r-- | ksplashml/themeengine/redmond/CMakeLists.txt | 38 | ||||
-rw-r--r-- | ksplashml/themeengine/redmond/pics/CMakeLists.txt | 12 | ||||
-rw-r--r-- | ksplashml/themeengine/simple/CMakeLists.txt | 36 | ||||
-rw-r--r-- | ksplashml/themeengine/standard/CMakeLists.txt | 47 | ||||
-rw-r--r-- | ksplashml/themeengine/standard/pics/CMakeLists.txt | 12 |
17 files changed, 427 insertions, 0 deletions
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 ) |