diff options
Diffstat (limited to 'krfb')
-rw-r--r-- | krfb/CMakeLists.txt | 19 | ||||
-rw-r--r-- | krfb/ConfigureChecks.cmake | 15 | ||||
-rw-r--r-- | krfb/kcm_krfb/CMakeLists.txt | 35 | ||||
-rw-r--r-- | krfb/kinetd/CMakeLists.txt | 38 | ||||
-rw-r--r-- | krfb/krfb/CMakeLists.txt | 54 | ||||
-rw-r--r-- | krfb/krfb_httpd/CMakeLists.txt | 13 | ||||
-rw-r--r-- | krfb/libvncserver/CMakeLists.txt | 22 | ||||
-rw-r--r-- | krfb/srvloc/CMakeLists.txt | 27 |
8 files changed, 223 insertions, 0 deletions
diff --git a/krfb/CMakeLists.txt b/krfb/CMakeLists.txt new file mode 100644 index 00000000..962559bc --- /dev/null +++ b/krfb/CMakeLists.txt @@ -0,0 +1,19 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include( ConfigureChecks.cmake ) + +add_subdirectory( srvloc ) +add_subdirectory( kinetd ) +add_subdirectory( libvncserver ) +add_subdirectory( krfb ) +add_subdirectory( kcm_krfb ) +add_subdirectory( krfb_httpd ) diff --git a/krfb/ConfigureChecks.cmake b/krfb/ConfigureChecks.cmake new file mode 100644 index 00000000..9e24956f --- /dev/null +++ b/krfb/ConfigureChecks.cmake @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +pkg_search_module( XTST xtst ) +if( NOT XTST_FOUND ) + tde_message_fatal( "xtst is required, but was not found on your system" ) +endif( ) diff --git a/krfb/kcm_krfb/CMakeLists.txt b/krfb/kcm_krfb/CMakeLists.txt new file mode 100644 index 00000000..4edb8d82 --- /dev/null +++ b/krfb/kcm_krfb/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_CURRENT_BINARY_DIR}/../krfb + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kcmkrfb.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) + + +##### kcm_krfb (module) ######################### + +tde_add_kpart( kcm_krfb AUTOMOC + SOURCES configurationwidget.ui kcm_krfb.cpp + LINK krfbconfig-static srvloc-static kdnssd-shared kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/krfb/kinetd/CMakeLists.txt b/krfb/kinetd/CMakeLists.txt new file mode 100644 index 00000000..d74481af --- /dev/null +++ b/krfb/kinetd/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/../srvloc + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kinetdmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +install( FILES kinetd.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded ) +install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kinetd ) + + +##### kded_kinetd (module) ###################### + +tde_add_kpart( kded_kinetd AUTOMOC + SOURCES kinetd.cpp kinetd.skel + LINK + srvloc-static kdnssd-shared kdeinit_kded-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/krfb/krfb/CMakeLists.txt b/krfb/krfb/CMakeLists.txt new file mode 100644 index 00000000..e95276e1 --- /dev/null +++ b/krfb/krfb/CMakeLists.txt @@ -0,0 +1,54 @@ +################################################# +# +# (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}/../srvloc + ${CMAKE_CURRENT_SOURCE_DIR}/../libvncserver + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +tde_install_icons( krfb ) +install( FILES krfb.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES eyes-open24.png eyes-closed24.png connection-side-image.png DESTINATION ${DATA_INSTALL_DIR}/krfb/pics ) +install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/krfb ) +install( FILES kinetd_krfb.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### krfb (executable) ######################### + +tde_add_executable( krfb AUTOMOC + SOURCES + rfbcontroller.cc xupdatescanner.cc main.cpp connectionwidget.ui + krfbifaceimpl.cc krfbiface.skel trayicon.cpp connectiondialog.cc + LINK + krfbconfig-static vncserver-static srvloc-static kdeui-shared kio-shared ${XTST_LIBRARIES} + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### krfbconfig (static) ####################### + +tde_add_library( krfbconfig STATIC_PIC AUTOMOC + SOURCES + configuration.cc configuration.skel invitedialog.cc invitation.cc + manageinvitations.ui personalinvitewidget.ui invitewidget.ui + personalinvitedialog.cc +) diff --git a/krfb/krfb_httpd/CMakeLists.txt b/krfb/krfb_httpd/CMakeLists.txt new file mode 100644 index 00000000..07631670 --- /dev/null +++ b/krfb/krfb_httpd/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES kinetd_krfb_httpd.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( PROGRAMS krfb_httpd DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/krfb/libvncserver/CMakeLists.txt b/krfb/libvncserver/CMakeLists.txt new file mode 100644 index 00000000..9f1009c6 --- /dev/null +++ b/krfb/libvncserver/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( -DHAVE_PTHREADS -DALLOW24BPP ) + + +##### vncserver (static) ######################## + +tde_add_library( vncserver STATIC_PIC + SOURCES + main.c rfbserver.c sraRegion.c auth.c sockets.c stats.c corre.c + hextile.c rre.c translate.c cutpaste.c zlib.c tight.c httpd.c + cursor.c font.c draw.c selbox.c d3des.c vncauth.c cargs.c +) diff --git a/krfb/srvloc/CMakeLists.txt b/krfb/srvloc/CMakeLists.txt new file mode 100644 index 00000000..095bcf54 --- /dev/null +++ b/krfb/srvloc/CMakeLists.txt @@ -0,0 +1,27 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### srvloc (static) ########################### + +tde_add_library( srvloc STATIC_PIC AUTOMOC + SOURCES + kserviceregistry.cpp uuid.cpp kinetinterface.cpp + kinetinterfacewatcher.cpp getifaddrs.cpp +) |