4c357c39 | 2019-05-03 13:02:28 | gregory guy |
conversion to the cmake building system Signed-off-by: gregory guy <g-gregory@...> |
||
A CMakeLists.txt A ConfigureChecks.cmake A config.h.cmake A doc/CMakeLists.txt A doc/de/CMakeLists.txt A doc/en/CMakeLists.txt A doc/es/CMakeLists.txt A doc/fr/CMakeLists.txt A doc/hu/CMakeLists.txt A doc/it/CMakeLists.txt A doc/man/CMakeLists.txt A doc/man/kshowmail.1 A doc/ru/CMakeLists.txt A doc/sv/CMakeLists.txt A kshowmail/CMakeLists.txt A kshowmail/kcmconfigs/CMakeLists.txt A pics/CMakeLists.txt A po/CMakeLists.txt A sounds/CMakeLists.txt M kshowmail/alertdialog.cpp M kshowmail/alertdialog.h M kshowmail/configelem.cpp M kshowmail/configelem.h M kshowmail/configlist.cpp M kshowmail/configlist.h M kshowmail/decodeRFC2047.h M kshowmail/encryption.h M kshowmail/filteritem.h M kshowmail/filteritemcriteria.h M kshowmail/filterlog.h M kshowmail/filterlogentry.h M kshowmail/filterlogview.h M kshowmail/filterlogviewdeleteditem.h M kshowmail/filterlogviewmoveditem.h M kshowmail/headerfilter.h M kshowmail/kcmconfigs/accountsetupdialog.h M kshowmail/kcmconfigs/configaccounts.h M kshowmail/kcmconfigs/configactions.h M kshowmail/kcmconfigs/configdisplay.h M kshowmail/kcmconfigs/configfilter.h M kshowmail/kcmconfigs/configgeneral.h M kshowmail/kcmconfigs/configlog.h M kshowmail/kcmconfigs/configspamcheck.h M kshowmail/kcmconfigs/encryption.h M kshowmail/kcmconfigs/filtercriteriawidget.h M kshowmail/kcmconfigs/filtersetupdialog.h M kshowmail/kcmconfigs/mailboxwizard.h M kshowmail/kcmconfigs/mailboxwizardlistitem.h M kshowmail/kcmconfigs/senderlistdialog.h M kshowmail/kcmconfigs/tdewalletaccess.h M kshowmail/kfeedback.cpp M kshowmail/kfeedback.h M kshowmail/kshowmail.cpp M kshowmail/kshowmaildoc.cpp M kshowmail/kshowmaildoc.h M kshowmail/kshowmaildock.cpp M kshowmail/kshowmaildock.h M kshowmail/kshowmailview.cpp M kshowmail/kshowmailview.h M kshowmail/senderlistfilter.h M kshowmail/serverdialog.h M kshowmail/showheaderdialog.h M kshowmail/showlistviewitem.h M kshowmail/showmaildialog.h M kshowmail/showrecord.h M kshowmail/showrecordelem.h M kshowmail/tdewalletaccess.h M kshowmail/types.h |
||
CMakeLists.txtdiff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f23dcac --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,80 @@ +############################################ +# # +# Improvements and feedbacks are welcome # +# # +# This file is released under GPL >= 3 # +# # +############################################ + + +cmake_minimum_required( VERSION 2.8 ) + + +#### general package setup + +project( kshowmail ) +set( VERSION R14.1.0 ) + + +#### include essential cmake modules + +include( FindPkgConfig ) +include( CheckFunctionExists ) +include( CheckSymbolExists ) +include( CheckIncludeFile ) +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 -UTQT_NO_ASCII_CAST ) + +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( pics ) +add_subdirectory( sounds ) +add_subdirectory( ${PROJECT_NAME} ) +tde_conditional_add_subdirectory( BUILD_DOC doc ) +tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) + + +##### write configure files + +configure_file( config.h.cmake config.h @ONLY ) ConfigureChecks.cmakediff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 0000000..d67d3c9 --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,35 @@ +########################################### +# # +# 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 mimelib1 support + +find_path( MIMELIB1_INCLUDE_DIR NAMES "mimelib/mimepp.h" ) +find_library( MIMELIB1_LIBRARIES NAMES mimelib ) + +if( (NOT MIMELIB1_INCLUDE_DIR) OR (NOT MIMELIB1_LIBRARIES) ) + tde_message_fatal( "mimelib1 is required but either the headers or the library have not been found on your system" ) +endif( (NOT MIMELIB1_INCLUDE_DIR) OR (NOT MIMELIB1_LIBRARIES) ) config.h.cmakediff --git a/config.h.cmake b/config.h.cmake new file mode 100644 index 0000000..61ede3a --- /dev/null +++ b/config.h.cmake @@ -0,0 +1,8 @@ +#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@ doc/CMakeLists.txtdiff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 0000000..ca7faeb --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,9 @@ +add_subdirectory( en ) +add_subdirectory( de ) +add_subdirectory( es ) +add_subdirectory( sv ) +add_subdirectory( fr ) +add_subdirectory( hu ) +add_subdirectory( it ) +add_subdirectory( ru ) +add_subdirectory( man ) doc/de/CMakeLists.txtdiff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt new file mode 100644 index 0000000..eca4bd4 --- /dev/null +++ b/doc/de/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG de ) doc/en/CMakeLists.txtdiff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt new file mode 100644 index 0000000..ba3ef3e --- /dev/null +++ b/doc/en/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION ${PROJECT_NAME} ) doc/es/CMakeLists.txtdiff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt new file mode 100644 index 0000000..7995d65 --- /dev/null +++ b/doc/es/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG es ) doc/fr/CMakeLists.txtdiff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt new file mode 100644 index 0000000..495f168 --- /dev/null +++ b/doc/fr/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG fr ) doc/hu/CMakeLists.txtdiff --git a/doc/hu/CMakeLists.txt b/doc/hu/CMakeLists.txt new file mode 100644 index 0000000..9847ebe --- /dev/null +++ b/doc/hu/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG hu ) doc/it/CMakeLists.txtdiff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt new file mode 100644 index 0000000..e213f2f --- /dev/null +++ b/doc/it/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG it ) doc/man/CMakeLists.txtdiff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt new file mode 100644 index 0000000..8512250 --- /dev/null +++ b/doc/man/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES ${PROJECT_NAME}.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) doc/man/kshowmail.1diff --git a/doc/man/kshowmail.1 b/doc/man/kshowmail.1 new file mode 100644 index 0000000..6903cf4 --- /dev/null +++ b/doc/man/kshowmail.1 @@ -0,0 +1,62 @@ +.TH QT: "1" "April 2007" "Qt: 3.3.7" "User Commands" +.SH NAME +kshowmail \- A powerful pop3 mail checker +.SH SYNOPSIS +.B kshowmail +[\fIQt-options\fR] [\fITDE-options\fR] [\fIoptions\fR] [\fIaccount\fR] +.SH DESCRIPTION +KShowmail can be used to show mails on a POP3 server without actually +downloading them. The headers or the complete mails can be viewed, and +unwanted mails can be deleted. An initial and an interval timer can be set to +check the mails periodical. KShowmail supports multiple accounts. +.SS "Generic options:" +.TP +\fB\-\-help\fR +Show help about options +.TP +\fB\-\-help\-qt\fR +Show Qt specific options +.TP +\fB\-\-help\-tde\fR +Show TDE specific options +.TP +\fB\-\-help\-all\fR +Show all options +.TP +\fB\-\-author\fR +Show author information +.TP +\fB\-v\fR, \fB\-\-version\fR +Show version information +.TP +\fB\-\-license\fR +Show license information +.TP +\fB\-\-\fR** Diff limit reached (max: 250 lines) ** |
||
311f886a | 2019-05-05 00:22:40 | Slávek Banko |
Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@...> |
||
M CMakeLists.txt M kshowmail/configelem.cpp M kshowmail/configlist.cpp M kshowmail/encryption.cpp M kshowmail/kcmconfigs/encryption.cpp M kshowmail/kshowmail.cpp M kshowmail/showrecord.cpp M kshowmail/showrecordelem.cpp |
||
** Diff limit reached (max: 250 lines) **
|
||
9559eac5 | 2019-05-05 17:13:26 | Automated System |
Update translation template. |
||
M po/kshowmail.pot |
||
** Diff limit reached (max: 250 lines) **
|
||
62028bf7 | 2019-05-05 17:13:54 | TDE Weblate |
Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: applications/kshowmail Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/kshowmail/ |
||
M po/cs.po M po/de.po M po/es.po M po/fr.po M po/hu.po M po/it.po M po/ru.po M po/sv.po |
||
** Diff limit reached (max: 250 lines) **
|
c637448c | 2019-05-05 00:39:00 | Slávek Banko |
Removed obsolete TQCollection and replace with TQPtrCollection. Signed-off-by: Slávek Banko <slavek.banko@...> (cherry picked from commit 727ef5ef1c2b28593bc07bdd353bdb17197aacae) |
||
M doc/html/classCommandList-members.html M doc/html/classCommandList.html M doc/html/classConfigList-members.html M doc/html/classConfigList.html M doc/html/classFilterList-members.html M doc/html/classFilterList.html M doc/html/commandlist_8cpp-source.html M doc/html/commandlist_8h-source.html M doc/html/configlist_8cpp-source.html M doc/html/configlist_8h-source.html M doc/html/filterlist_8cpp-source.html M doc/html/filterlist_8h-source.html M kshowmail/configlist.cpp M kshowmail/configlist.h |
||
** Diff limit reached (max: 250 lines) **
|
||
665005a3 | 2019-05-05 00:39:35 | gregory guy |
conversion to the cmake building system Signed-off-by: gregory guy <g-gregory@...> (cherry picked from commit 4c357c392d3aa896844e120d4c0c40e188f557c5) |
||
A CMakeLists.txt A ConfigureChecks.cmake A config.h.cmake A doc/CMakeLists.txt A doc/de/CMakeLists.txt A doc/en/CMakeLists.txt A doc/es/CMakeLists.txt A doc/fr/CMakeLists.txt A doc/hu/CMakeLists.txt A doc/it/CMakeLists.txt A doc/man/CMakeLists.txt A doc/man/kshowmail.1 A doc/ru/CMakeLists.txt A doc/sv/CMakeLists.txt A kshowmail/CMakeLists.txt A kshowmail/kcmconfigs/CMakeLists.txt A pics/CMakeLists.txt A po/CMakeLists.txt A sounds/CMakeLists.txt M kshowmail/alertdialog.cpp M kshowmail/alertdialog.h M kshowmail/configelem.cpp M kshowmail/configelem.h M kshowmail/configlist.cpp M kshowmail/configlist.h M kshowmail/decodeRFC2047.h M kshowmail/encryption.h M kshowmail/filteritem.h M kshowmail/filteritemcriteria.h M kshowmail/filterlog.h M kshowmail/filterlogentry.h M kshowmail/filterlogview.h M kshowmail/filterlogviewdeleteditem.h M kshowmail/filterlogviewmoveditem.h M kshowmail/headerfilter.h M kshowmail/kcmconfigs/accountsetupdialog.h M kshowmail/kcmconfigs/configaccounts.h M kshowmail/kcmconfigs/configactions.h M kshowmail/kcmconfigs/configdisplay.h M kshowmail/kcmconfigs/configfilter.h M kshowmail/kcmconfigs/configgeneral.h M kshowmail/kcmconfigs/configlog.h M kshowmail/kcmconfigs/configspamcheck.h M kshowmail/kcmconfigs/encryption.h M kshowmail/kcmconfigs/filtercriteriawidget.h M kshowmail/kcmconfigs/filtersetupdialog.h M kshowmail/kcmconfigs/mailboxwizard.h M kshowmail/kcmconfigs/mailboxwizardlistitem.h M kshowmail/kcmconfigs/senderlistdialog.h M kshowmail/kcmconfigs/tdewalletaccess.h M kshowmail/kfeedback.cpp M kshowmail/kfeedback.h M kshowmail/kshowmail.cpp M kshowmail/kshowmaildoc.cpp M kshowmail/kshowmaildoc.h M kshowmail/kshowmaildock.cpp M kshowmail/kshowmaildock.h M kshowmail/kshowmailview.cpp M kshowmail/kshowmailview.h M kshowmail/senderlistfilter.h M kshowmail/serverdialog.h M kshowmail/showheaderdialog.h M kshowmail/showlistviewitem.h M kshowmail/showmaildialog.h M kshowmail/showrecord.h M kshowmail/showrecordelem.h M kshowmail/tdewalletaccess.h M kshowmail/types.h |
||
** Diff limit reached (max: 250 lines) **
|
||
949efb36 | 2019-05-05 00:39:55 | Slávek Banko |
Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@...> (cherry picked from commit 311f886aa79e4a7f722a4e14e36207cb3d609e57) |
||
M CMakeLists.txt M kshowmail/configelem.cpp M kshowmail/configlist.cpp M kshowmail/encryption.cpp M kshowmail/kcmconfigs/encryption.cpp M kshowmail/kshowmail.cpp M kshowmail/showrecord.cpp M kshowmail/showrecordelem.cpp |
||
** Diff limit reached (max: 250 lines) **
|
||
8b5da2d3 | 2019-05-05 18:33:44 | Automated System |
Update translation template. |
||
M po/kshowmail.pot |
||
** Diff limit reached (max: 250 lines) **
|
||
a41c89fd | 2019-05-05 19:08:03 | Automated System |
Merge translation files from master branch. |
||
M po/cs.po M po/de.po M po/es.po M po/fr.po M po/hu.po M po/it.po M po/ru.po M po/sv.po |
||
** Diff limit reached (max: 250 lines) **
|