git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1254101 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
ece9abdc38
commit
0ce518fe82
@ -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 )
|
@ -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( )
|
@ -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}
|
||||
)
|
@ -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}
|
||||
)
|
@ -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
|
||||
)
|
@ -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} )
|
@ -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
|
||||
)
|
@ -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
|
||||
)
|
Loading…
Reference in new issue