Add a man page taken from the Debian packaging. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: gregory guy <gregory-tde@laposte.net>pull/4/head
parent
daac380b7c
commit
2bc7596862
@ -0,0 +1,83 @@
|
|||||||
|
############################################
|
||||||
|
# #
|
||||||
|
# Improvements and feedbacks are welcome #
|
||||||
|
# #
|
||||||
|
# This file is released under GPL >= 3 #
|
||||||
|
# #
|
||||||
|
############################################
|
||||||
|
|
||||||
|
|
||||||
|
cmake_minimum_required( VERSION 2.8.12 )
|
||||||
|
|
||||||
|
|
||||||
|
#### general package setup
|
||||||
|
|
||||||
|
project( kftpgrabber )
|
||||||
|
set( VERSION R14.1.0 )
|
||||||
|
|
||||||
|
|
||||||
|
#### include essential cmake modules
|
||||||
|
|
||||||
|
include( FindPkgConfig )
|
||||||
|
include( CheckFunctionExists )
|
||||||
|
include( CheckSymbolExists )
|
||||||
|
include( CheckIncludeFile )
|
||||||
|
include( CheckIncludeFiles )
|
||||||
|
include( CheckLibraryExists )
|
||||||
|
include( CheckCSourceCompiles )
|
||||||
|
include( CheckCXXSourceCompiles )
|
||||||
|
|
||||||
|
|
||||||
|
#### include our cmake modules
|
||||||
|
|
||||||
|
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
|
||||||
|
include( TDEMacros )
|
||||||
|
|
||||||
|
|
||||||
|
##### setup install paths
|
||||||
|
|
||||||
|
include( TDESetupPaths )
|
||||||
|
tde_setup_paths( )
|
||||||
|
|
||||||
|
|
||||||
|
##### optional stuff
|
||||||
|
|
||||||
|
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
|
||||||
|
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
|
||||||
|
|
||||||
|
|
||||||
|
##### user requested modules
|
||||||
|
|
||||||
|
option( BUILD_ALL "Build all" ON )
|
||||||
|
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||||
|
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
||||||
|
|
||||||
|
|
||||||
|
##### configure checks
|
||||||
|
|
||||||
|
include( ConfigureChecks.cmake )
|
||||||
|
|
||||||
|
|
||||||
|
###### global compiler settings
|
||||||
|
|
||||||
|
add_definitions( -DHAVE_CONFIG_H )
|
||||||
|
|
||||||
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||||
|
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||||
|
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||||
|
|
||||||
|
|
||||||
|
##### directories
|
||||||
|
|
||||||
|
add_subdirectory( kftpgrabber )
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_conditional_add_project_docs( BUILD_DOC )
|
||||||
|
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
|
||||||
|
|
||||||
|
|
||||||
|
##### write configure files
|
||||||
|
|
||||||
|
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,85 @@
|
|||||||
|
###########################################
|
||||||
|
# #
|
||||||
|
# Improvements and feedback are welcome #
|
||||||
|
# #
|
||||||
|
# This file is released under GPL >= 3 #
|
||||||
|
# #
|
||||||
|
###########################################
|
||||||
|
|
||||||
|
# required stuff
|
||||||
|
find_package( TQt )
|
||||||
|
find_package( TDE )
|
||||||
|
|
||||||
|
tde_setup_architecture_flags( )
|
||||||
|
|
||||||
|
include(TestBigEndian)
|
||||||
|
test_big_endian(WORDS_BIGENDIAN)
|
||||||
|
|
||||||
|
tde_setup_largefiles( )
|
||||||
|
|
||||||
|
|
||||||
|
##### check for gcc visibility support
|
||||||
|
|
||||||
|
if( WITH_GCC_VISIBILITY )
|
||||||
|
tde_setup_gcc_visibility( )
|
||||||
|
endif( WITH_GCC_VISIBILITY )
|
||||||
|
|
||||||
|
|
||||||
|
##### check for OpenSSL
|
||||||
|
|
||||||
|
find_package( OpenSSL )
|
||||||
|
|
||||||
|
if( NOT OPENSSL_FOUND )
|
||||||
|
check_include_file( openssl/err.h HAVE_OPENSSL_H )
|
||||||
|
check_library_exists( ssl OPENSSL_init_ssl "" HAVE_LIBSSL_11 )
|
||||||
|
check_library_exists( crypto EVP_EncryptInit_ex "" HAVE_LIBCRYPTO )
|
||||||
|
|
||||||
|
if( NOT HAVE_LIBSSL_11 )
|
||||||
|
check_library_exists( ssl SSL_library_init "" HAVE_LIBSSL )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if( HAVE_OPENSSL_H AND HAVE_LIBCRYPTO AND (HAVE_LIBSSL_11 OR HAVE_LIBSSL) )
|
||||||
|
set( SSL_FOUND 1 CACHE INTERNAL "" FORCE )
|
||||||
|
find_file( OPENSSLV_H openssl/opensslv.h )
|
||||||
|
file( STRINGS "${OPENSSLV_H}" SSL_VERSION REGEX "#[ \t]*define[ \t]*OPENSSL_VERSION_TEXT" )
|
||||||
|
string( REGEX REPLACE "# *define[ \t]*OPENSSL_VERSION_TEXT[ \t]*\"[^0-9 ]* *([^ ]*).*" "\\1" SSL_VERSION "${SSL_VERSION}" )
|
||||||
|
set( SSL_VERSION "${SSL_VERSION}" CACHE INTERNAL "" FORCE )
|
||||||
|
message( STATUS "Found OpenSSL: version ${SSL_VERSION}" )
|
||||||
|
set( OPENSSL_LIBRARIES "ssl;crypto" CACHE INTERNAL "ssl and crypto libs" FORCE )
|
||||||
|
endif()
|
||||||
|
endif( NOT OPENSSL_FOUND )
|
||||||
|
|
||||||
|
if( NOT OPENSSL_FOUND )
|
||||||
|
tde_message_fatal( "OpenSSL support is required but OpenSSL was not found on your system" )
|
||||||
|
else()
|
||||||
|
check_include_file( "openssl/aes.h" HAVE_OPENSSL_AES_H )
|
||||||
|
check_include_file( "openssl/blowfish.h" HAVE_OPENSSL_BLOWFISH_H )
|
||||||
|
endif( NOT OPENSSL_FOUND )
|
||||||
|
|
||||||
|
|
||||||
|
##### check for zlib
|
||||||
|
|
||||||
|
find_package( ZLIB )
|
||||||
|
|
||||||
|
if( ZLIB_FOUND )
|
||||||
|
set( HAVE_LIBZ 1 )
|
||||||
|
endif( ZLIB_FOUND )
|
||||||
|
|
||||||
|
|
||||||
|
##### check for functions
|
||||||
|
|
||||||
|
check_function_exists( poll HAVE_POLL )
|
||||||
|
check_function_exists( select HAVE_SELECT )
|
||||||
|
|
||||||
|
|
||||||
|
##### check headers
|
||||||
|
|
||||||
|
check_include_file( "sys/time.h" HAVE_SYS_TIME_H )
|
||||||
|
check_include_files( "sys/time.h;time.h" TIME_WITH_SYS_TIME )
|
||||||
|
check_include_files( "sys/poll.h" HAVE_SYS_POLL_H )
|
||||||
|
|
||||||
|
|
||||||
|
##### check for symbols
|
||||||
|
|
||||||
|
check_symbol_exists( gethostbyname "netdb.h" HAVE_GETHOSTBYNAME )
|
||||||
|
check_symbol_exists( gethostbyaddr "netdb.h" HAVE_GETHOSTBYADDR )
|
@ -0,0 +1,41 @@
|
|||||||
|
#define VERSION "@VERSION@"
|
||||||
|
|
||||||
|
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
|
||||||
|
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
|
||||||
|
|
||||||
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||||
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||||
|
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
||||||
|
|
||||||
|
/* Defined if you have the gethostbyname function */
|
||||||
|
#cmakedefine HAVE_GETHOSTBYNAME 1
|
||||||
|
|
||||||
|
/* Defined if you have the gethostbyaddr function */
|
||||||
|
#cmakedefine HAVE_GETHOSTBYADDR 1
|
||||||
|
|
||||||
|
/* Defined if you have the OpenSSL library */
|
||||||
|
#cmakedefine OPENSSL_CRYPTO 1
|
||||||
|
|
||||||
|
/* Defined if you have the <openssl/aes.h> header */
|
||||||
|
#cmakedefine HAVE_OPENSSL_AES_H 1
|
||||||
|
|
||||||
|
/* Defined if you have the <openssl/blowfish.h> header */
|
||||||
|
#cmakedefine HAVE_OPENSSL_BLOWFISH_H 1
|
||||||
|
|
||||||
|
/* Defined if you have the <sys/time.h> header */
|
||||||
|
#cmakedefine HAVE_SYS_TIME_H 1
|
||||||
|
|
||||||
|
/* Defined if you have both <sys/time.h> and <time.h> headers */
|
||||||
|
#cmakedefine TIME_WITH_SYS_TIME 1
|
||||||
|
|
||||||
|
/* Defined if you have the Zlib library */
|
||||||
|
#cmakedefine HAVE_LIBZ 1
|
||||||
|
|
||||||
|
/* Defined if you have the <sys/poll.h> header */
|
||||||
|
#cmakedefine HAVE_SYS_POLL_H 1
|
||||||
|
|
||||||
|
/* Defined if you have the poll function */
|
||||||
|
#cmakedefine HAVE_POLL 1
|
||||||
|
|
||||||
|
/* Defined if you have the select function */
|
||||||
|
#cmakedefine HAVE_SELECT 1
|
@ -0,0 +1,107 @@
|
|||||||
|
'\" -*- coding: us-ascii -*-
|
||||||
|
.if \n(.g .ds T< \\FC
|
||||||
|
.if \n(.g .ds T> \\F[\n[.fam]]
|
||||||
|
.de URL
|
||||||
|
\\$2 \(la\\$1\(ra\\$3
|
||||||
|
..
|
||||||
|
.if \n(.g .mso www.tmac
|
||||||
|
.TH kftpgrabber 1 "mars 17, 2006" "" ""
|
||||||
|
.SH NAME
|
||||||
|
kftpgrabber \- ftp client for TDE
|
||||||
|
.SH SYNOPSIS
|
||||||
|
'nh
|
||||||
|
.fi
|
||||||
|
.ad l
|
||||||
|
\fBkftpgrabber\fR \kx
|
||||||
|
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
|
||||||
|
'in \n(.iu+\nxu
|
||||||
|
[\fB\fIoptions\fB\fR]
|
||||||
|
'in \n(.iu-\nxu
|
||||||
|
.ad b
|
||||||
|
'hy
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fBkftpgrabber\fR is a graphical ftp client for TDE.
|
||||||
|
It supports technologies like ZeroConf, TLS/SSL and FXP
|
||||||
|
.PP
|
||||||
|
Some features:
|
||||||
|
|
||||||
|
- Multiple FTP sessions (tabs)
|
||||||
|
.br
|
||||||
|
- Transfer queue
|
||||||
|
.br
|
||||||
|
- TLS/SSL support for encrypted connections (implicit and explicit)
|
||||||
|
.br
|
||||||
|
- Partial X509 certificate support for authentication
|
||||||
|
.br
|
||||||
|
- File eXchange Protocol (FXP) transfer support
|
||||||
|
.br
|
||||||
|
- One Time Password (OTP) support - S/Key, MD5, RMD160, SHA1
|
||||||
|
.br
|
||||||
|
- Drag and Drop support
|
||||||
|
.br
|
||||||
|
- Site bookmarking
|
||||||
|
.br
|
||||||
|
- Encrypted bookmark support (password can be saved to TDEWallet)
|
||||||
|
.br
|
||||||
|
- Distributed FTP support (PRET)
|
||||||
|
.br
|
||||||
|
- SSCN and CPSV support
|
||||||
|
.br
|
||||||
|
- Skiplist
|
||||||
|
.br
|
||||||
|
- ZeroConf (aka. Rendezvous) support for local site discovery
|
||||||
|
.br
|
||||||
|
- Bookmark sharing with Kopete contacts
|
||||||
|
.br
|
||||||
|
- Bookmark import plugins
|
||||||
|
.br
|
||||||
|
- Support for SFTP protocol
|
||||||
|
.br
|
||||||
|
- Traffic graph
|
||||||
|
.br
|
||||||
|
- Speed limiting
|
||||||
|
.br
|
||||||
|
- Priority and skip lists
|
||||||
|
.br
|
||||||
|
- Fast directory listings via control channel on servers that support STAT
|
||||||
|
.br
|
||||||
|
- Integrated SFV checksum verifier
|
||||||
|
.br
|
||||||
|
- Ability to view/edit remote files
|
||||||
|
.br
|
||||||
|
- Exporting of directory listings into text files
|
||||||
|
.br
|
||||||
|
- "On file exists" action matrix for Download, Upload and FXP transfers
|
||||||
|
.SH OPTIONS
|
||||||
|
All TDE and Qt programs accept some common command-line options.
|
||||||
|
\fBkftpgrabber\fR has no application-specific options.
|
||||||
|
.TP
|
||||||
|
\*(T<\fB\-\-help\fR\*(T>
|
||||||
|
Show help about options
|
||||||
|
.TP
|
||||||
|
\*(T<\fB\-\-help\-qt\fR\*(T>
|
||||||
|
Show Qt specific options
|
||||||
|
.TP
|
||||||
|
\*(T<\fB\-\-help\-tde\fR\*(T>
|
||||||
|
Show TDE specific options
|
||||||
|
.TP
|
||||||
|
\*(T<\fB\-\-help\-all\fR\*(T>
|
||||||
|
Show all options
|
||||||
|
.TP
|
||||||
|
\*(T<\fB\-\-author\fR\*(T>
|
||||||
|
Show author information
|
||||||
|
.TP
|
||||||
|
\*(T<\fB\-v\fR\*(T> \*(T<\fB\-\-version\fR\*(T>
|
||||||
|
Show version information
|
||||||
|
.TP
|
||||||
|
\*(T<\fB\-\-license\fR\*(T>
|
||||||
|
Show license information
|
||||||
|
.SH AUTHOR
|
||||||
|
This manual page was written by Fathi Boudra <<\*(T<fboudra@free.fr\*(T>>> for
|
||||||
|
the Debian system (but may be used by others). Permission is
|
||||||
|
granted to copy, distribute and/or modify this document under
|
||||||
|
the terms of the GNU General Public License, Version 2 any
|
||||||
|
later version published by the Free Software Foundation.
|
||||||
|
.PP
|
||||||
|
On Debian systems, the complete text of the GNU General Public
|
||||||
|
License can be found in /usr/share/common-licenses/GPL.
|
@ -0,0 +1 @@
|
|||||||
|
add_subdirectory( src )
|
@ -0,0 +1,81 @@
|
|||||||
|
add_subdirectory( misc )
|
||||||
|
add_subdirectory( engine )
|
||||||
|
add_subdirectory( ui )
|
||||||
|
add_subdirectory( widgets )
|
||||||
|
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### kftpgrabber (executable)
|
||||||
|
|
||||||
|
tde_add_executable( ${PROJECT_NAME} AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
main.cpp
|
||||||
|
mainwindow.cpp
|
||||||
|
checksumverifier.cpp
|
||||||
|
kftpbookmarks.cpp
|
||||||
|
kftpqueue.cpp
|
||||||
|
mainactions.cpp
|
||||||
|
kftpbookmarkaction.cpp
|
||||||
|
kftpqueueprocessor.cpp
|
||||||
|
kftpsession.cpp
|
||||||
|
kftpqueueconverter.cpp
|
||||||
|
kftptransfer.cpp
|
||||||
|
kftptransferfile.cpp
|
||||||
|
kftptransferdir.cpp
|
||||||
|
kftpfileexistsactions.cpp
|
||||||
|
statistics.cpp site.cpp
|
||||||
|
queueobject.cpp
|
||||||
|
queuegroup.cpp
|
||||||
|
directoryscanner.cpp
|
||||||
|
LINK
|
||||||
|
tdeui-shared
|
||||||
|
tdeio-shared
|
||||||
|
tdecore-shared
|
||||||
|
tdeparts-shared
|
||||||
|
tdednssd-shared
|
||||||
|
bookmarkwidgets-static
|
||||||
|
browser-static
|
||||||
|
queueviewwidget-static
|
||||||
|
widgets-static
|
||||||
|
engine-static
|
||||||
|
kftpgrabbercore-static
|
||||||
|
customcommands-static
|
||||||
|
ui-static
|
||||||
|
kftpinterfaces-shared
|
||||||
|
tdewalletclient-shared
|
||||||
|
|
||||||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### icons
|
||||||
|
|
||||||
|
tde_install_icons( ${PROJECT_NAME} )
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
|
||||||
|
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES kftpgrabber-bi-wizard.png kftpgrabber-logo.png kftpgrabberui.rc
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
||||||
|
)
|
@ -0,0 +1,40 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${OPENSSL_INCLUDE_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### engine (static)
|
||||||
|
|
||||||
|
tde_add_library( engine STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
socket.cpp
|
||||||
|
thread.cpp
|
||||||
|
directorylisting.cpp
|
||||||
|
commands.cpp
|
||||||
|
event.cpp
|
||||||
|
ftpsocket.cpp
|
||||||
|
ftpdirectoryparser.cpp
|
||||||
|
cache.cpp
|
||||||
|
sftpsocket.cpp
|
||||||
|
connectionretry.cpp
|
||||||
|
speedlimiter.cpp
|
||||||
|
ssl.cpp
|
||||||
|
LINK
|
||||||
|
ssh-static
|
||||||
|
|
||||||
|
DEPENDENCIES kftpgrabbercore-static
|
||||||
|
)
|
@ -0,0 +1,52 @@
|
|||||||
|
add_subdirectory( interfaces )
|
||||||
|
add_subdirectory( plugins )
|
||||||
|
add_subdirectory( libs )
|
||||||
|
add_subdirectory( customcommands )
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc/interfaces
|
||||||
|
${OPENSSL_INCLUDE_DIR}
|
||||||
|
${X11_INCLUDE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### kftpgrabbercore (static)
|
||||||
|
|
||||||
|
tde_add_library( kftpgrabbercore STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
misc.cpp
|
||||||
|
kftpotpgenerator.cpp
|
||||||
|
kftpapi.cpp
|
||||||
|
desencryptor.cpp
|
||||||
|
kftpwalletconnection.cpp
|
||||||
|
kftppluginmanager.cpp
|
||||||
|
kftpzeroconf.cpp
|
||||||
|
kftpconfig.kcfgc
|
||||||
|
configbase.cpp
|
||||||
|
filter.cpp
|
||||||
|
filterwidgethandler.cpp
|
||||||
|
LINK
|
||||||
|
kftpinterfaces-shared
|
||||||
|
customcommands-static
|
||||||
|
${OPENSSL_LIBRARIES}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES kftpgrabber.kcfg
|
||||||
|
DESTINATION ${KCFG_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,36 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### customcommands (static)
|
||||||
|
|
||||||
|
tde_add_library( customcommands STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
handlers.cpp
|
||||||
|
entry.cpp
|
||||||
|
manager.cpp
|
||||||
|
parameterentrydialog.cpp
|
||||||
|
responsedialog.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES commands.xml
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
||||||
|
)
|
@ -0,0 +1,44 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### kftpinterfaces (shared)
|
||||||
|
|
||||||
|
tde_add_library( kftpinterfaces SHARED AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
kftpbookmarkimportplugin.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
tdeparts-shared
|
||||||
|
|
||||||
|
VERSION 0.0.0
|
||||||
|
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kftpbookmarkimportplugin.desktop
|
||||||
|
DESTINATION ${SERVICETYPES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES kftpbookmarkimportplugin.h
|
||||||
|
DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
|
||||||
|
)
|
@ -0,0 +1 @@
|
|||||||
|
add_subdirectory( ssh )
|
@ -0,0 +1,25 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${OPENSSL_INCLUDE_DIR}
|
||||||
|
${ZLIB_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### ssh (static)
|
||||||
|
|
||||||
|
tde_add_library( ssh STATIC_PIC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
auth.c base64.c buffer.c channels.c client.c connect.c
|
||||||
|
crypt.c dh.c error.c gzip.c kex.c keyfiles.c keys.c misc.c
|
||||||
|
options.c packet.c sftp.c string.c wrapper.c
|
||||||
|
)
|
@ -0,0 +1 @@
|
|||||||
|
add_subdirectory( bookmarkimport )
|
@ -0,0 +1,4 @@
|
|||||||
|
add_subdirectory( gftp )
|
||||||
|
add_subdirectory( ncftp )
|
||||||
|
add_subdirectory( kftp )
|
||||||
|
add_subdirectory( filezilla3 )
|
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc/interfaces
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### kftpimportplugin_filezilla3 (kpart)
|
||||||
|
|
||||||
|
tde_add_kpart( kftpimportplugin_filezilla3 AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
kftpimportfz3plugin.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
kftpinterfaces-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kftpimportplugin_filezilla3.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,36 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc/interfaces
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### kftpimportplugin_gftp (kpart)
|
||||||
|
|
||||||
|
tde_add_kpart( kftpimportplugin_gftp AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
kftpimportgftpplugin.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
kftpinterfaces-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kftpimportplugin_gftp.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc/interfaces
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### kftpimportplugin_kftp (kpart)
|
||||||
|
|
||||||
|
tde_add_kpart( kftpimportplugin_kftp AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
kftpimportkftpplugin.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
kftpinterfaces-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kftpimportplugin_kftp.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc/interfaces
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### kftpimportplugin_ncftp (kpart)
|
||||||
|
|
||||||
|
tde_add_kpart( kftpimportplugin_ncftp AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
kftpimportncftpplugin.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
kftpinterfaces-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kftpimportplugin_ncftp.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,36 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### ui (static)
|
||||||
|
|
||||||
|
tde_add_library( ui STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
bookmark_properties.ui
|
||||||
|
kftpfilteraddpatternlayout.ui
|
||||||
|
kftpquickconnectlayout.ui
|
||||||
|
kftpqueueeditorlayout.ui
|
||||||
|
kftpsearchlayout.ui
|
||||||
|
kftpbookmarkimportlayout.ui
|
||||||
|
kftpbookmarkeditortlswidget.ui
|
||||||
|
config_general.ui
|
||||||
|
config_transfers.ui
|
||||||
|
config_log.ui
|
||||||
|
config_display.ui
|
||||||
|
config_filters.ui
|
||||||
|
foobar.cpp
|
||||||
|
checksum_verifier.ui
|
||||||
|
)
|
@ -0,0 +1,52 @@
|
|||||||
|
add_subdirectory( queueview )
|
||||||
|
add_subdirectory( browser )
|
||||||
|
add_subdirectory( bookmarks )
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### widgets (static)
|
||||||
|
|
||||||
|
tde_add_library( widgets STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
logview.cpp
|
||||||
|
kftpselectserverdialog.cpp
|
||||||
|
kftpserverlineedit.cpp
|
||||||
|
listview.cpp
|
||||||
|
quickconnect.cpp
|
||||||
|
systemtray.cpp
|
||||||
|
balloon.cpp
|
||||||
|
searchdialog.cpp
|
||||||
|
kftpzeroconflistview.cpp
|
||||||
|
trafficgraph.cpp
|
||||||
|
kftptabwidget.cpp
|
||||||
|
failedtransfers.cpp
|
||||||
|
listviewitem.cpp
|
||||||
|
sidebar.cpp
|
||||||
|
multitabbar.cpp
|
||||||
|
configdialog.cpp
|
||||||
|
configfilter.cpp
|
||||||
|
verifier.cpp
|
||||||
|
filtereditor.cpp
|
||||||
|
widgetlister.cpp
|
||||||
|
overlaywidget.cpp
|
||||||
|
popupmessage.cpp
|
||||||
|
|
||||||
|
DEPENDENCIES kftpgrabbercore-static ui-static
|
||||||
|
)
|
@ -0,0 +1,32 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### bookmarkwidgets (static)
|
||||||
|
|
||||||
|
tde_add_library( bookmarkwidgets STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
editor.cpp
|
||||||
|
editortls.cpp
|
||||||
|
listview.cpp
|
||||||
|
importwizard.cpp
|
||||||
|
sidebar.cpp
|
||||||
|
|
||||||
|
DEPENDENCIES kftpgrabbercore-static ui-static
|
||||||
|
)
|
@ -0,0 +1,35 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/engine
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### browser (static)
|
||||||
|
|
||||||
|
tde_add_library( browser STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
view.cpp actions.cpp
|
||||||
|
treeview.cpp
|
||||||
|
propsplugin.cpp
|
||||||
|
filterwidget.cpp
|
||||||
|
detailsview.cpp
|
||||||
|
locationnavigator.cpp
|
||||||
|
dirlister.cpp
|
||||||
|
|
||||||
|
DEPENDENCIES kftpgrabbercore-static ui-static
|
||||||
|
)
|
@ -0,0 +1,31 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${OPENSSL_INCLUDE_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
|
||||||
|
${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
|
||||||
|
${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### queueviewwidget (static)
|
||||||
|
|
||||||
|
tde_add_library( queueviewwidget STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
queueeditor.cpp
|
||||||
|
queueview.cpp
|
||||||
|
threadview.cpp
|
||||||
|
|
||||||
|
DEPENDENCIES kftpgrabbercore-static ui-static
|
||||||
|
)
|
Loading…
Reference in new issue