diff options
Diffstat (limited to 'kcontrol')
91 files changed, 3078 insertions, 0 deletions
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} +) |