summaryrefslogtreecommitdiffstats
path: root/kshowmail
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-09-30 11:03:15 +0200
committergregory guy <gregory-tde@laposte.net>2020-09-30 11:03:15 +0200
commite167d15409204539a0fa3a5b7260ca090192d6fa (patch)
tree9ee388acd73ced62c05ec5552e90361b4d80b214 /kshowmail
parent7d6ae8bb0067208c70ab0711a8b06678bf022acc (diff)
downloadkshowmail-e167d15409204539a0fa3a5b7260ca090192d6fa.tar.gz
kshowmail-e167d15409204539a0fa3a5b7260ca090192d6fa.zip
Drop automake build support.
Add basic cmake build instructions. Delete empty folder templates. Delete rpm stuff (kshowmail.spec and build-kshowmail folder). Rework of the README and AUTHORS files. Add BUGS file. Move the kshowmail.desktop file into XDG_APPS_INSTALL_DIR directory, see TDE/tde#26 and bug 2408. Some cosmetics. Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kshowmail')
-rw-r--r--kshowmail/CMakeLists.txt5
-rw-r--r--kshowmail/Makefile.am60
-rw-r--r--kshowmail/kcmconfigs/CMakeLists.txt4
-rw-r--r--kshowmail/kcmconfigs/Makefile.am36
-rw-r--r--kshowmail/templates/cpp_template16
-rw-r--r--kshowmail/templates/header_template16
6 files changed, 3 insertions, 134 deletions
diff --git a/kshowmail/CMakeLists.txt b/kshowmail/CMakeLists.txt
index ef44f75..e02e44b 100644
--- a/kshowmail/CMakeLists.txt
+++ b/kshowmail/CMakeLists.txt
@@ -60,7 +60,4 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${APPS_INSTALL_DIR}/Internet
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
diff --git a/kshowmail/Makefile.am b/kshowmail/Makefile.am
deleted file mode 100644
index 80441f3..0000000
--- a/kshowmail/Makefile.am
+++ /dev/null
@@ -1,60 +0,0 @@
-####### tdevelop will overwrite this part!!! (begin)##########
-bin_PROGRAMS = kshowmail
-
-## INCLUDES were found outside tdevelop specific part
-
-kshowmail_SOURCES = AlertDlg.ui alertdialog.cpp configelem.cpp configlist.cpp \
- decodeRFC2047.cpp encryption.cpp filteritem.cpp filteritemcriteria.cpp filterlog.cpp \
- filterlogentry.cpp headerfilter.cpp kfeedback.cpp kshowmail.cpp kshowmaildoc.cpp \
- kshowmaildock.cpp kshowmailfeedback.cpp kshowmailview.cpp tdewalletaccess.cpp main.cpp \
- senderlistfilter.cpp serverdialog.cpp showheaderdialog.cpp showlistviewitem.cpp \
- showmaildialog.cpp showrecord.cpp showrecordelem.cpp uniqueapp.cpp filterlogview.cpp \
- filterlogviewdeleteditem.cpp filterlogviewmoveditem.cpp
-kshowmail_LDADD = $(LIB_TDEUTILS) -lmimelib $(LIB_KFILE) $(LIB_TDEUI) \
- $(LIB_TDECORE) $(LIB_TDEIO) $(LIB_TQT) $(LIBSOCKET) -ltdewalletclient -lDCOP
-
-
-EXTRA_DIST = main.cpp kshowmail.cpp kshowmail.h kshowmaildoc.cpp kshowmaildoc.h commandentry.cpp commandentry.h kshowmailview.cpp kshowmailview.h OptionDlg.ui OptionDlg.h optiondialog.cpp optiondialog.h ServerDlg.ui serverdialog.cpp serverdialog.h EditDlg.ui editdialog.cpp editdialog.h commanddialog.cpp commanddialog.h CommandDlg.ui commandlist.cpp commandlist.h CommandEntryDlg.ui commandentrydialog.cpp commandentrydialog.h configelem.cpp configelem.h kshowmaildock.cpp kshowmaildock.h configlist.cpp configlist.h AlertDlg.ui alertdialog.cpp alertdialog.h uniqueapp.cpp uniqueapp.h showrecordelem.cpp showrecordelem.h showrecord.cpp showrecord.h kshowmail.desktop decodeRFC2047.h decodeRFC2047.cpp showlistviewitem.cpp showlistviewitem.h kfeedback.cpp kfeedback.h kshowmailfeedback.cpp filter.cpp filter.h filterelem.cpp filterelem.h filterdialog.cpp filterdialog.h FilterDlg.ui FilterEntryDlg.ui filterentrydialog.cpp filterentrydialog.h filterlist.cpp filterlist.h logger.cpp logger.h
-
-
-####### tdevelop will overwrite this part!!! (end)############
-# this 10 paths are KDE specific. Use them:
-# kde_htmldir Where your docs should go to. (contains lang subdirs)
-# kde_appsdir Where your application file (.kdelnk) should go to.
-# kde_icondir Where your icon should go to.
-# kde_minidir Where your mini icon should go to.
-# kde_datadir Where you install application data. (Use a subdir)
-# kde_locale Where translation files should go to.(contains lang subdirs)
-# kde_cgidir Where cgi-bin executables should go to.
-# kde_confdir Where config files should go to.
-# kde_mimedir Where mimetypes should go to.
-# kde_toolbardir Where general toolbar icons should go to.
-# kde_wallpaperdir Where general wallpapers should go to.
-
-# set the include path for X, qt and KDE
-INCLUDES = $(all_includes)
-
-METASOURCES = AUTO
-
-# the library search path.
-kshowmail_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-
-rcdir = $(kde_datadir)/kshowmail
-rc_DATA = kshowmailui.rc
-
-messages: rc.cpp
- LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
- if test -n "$$LIST"; then \
- $(XGETTEXT) $$LIST -o $(podir)/kshowmail.pot; \
- fi
-
-noinst_HEADERS = constants.h encryption.h filteritem.h filteritemcriteria.h \
- filterlog.h filterlogentry.h headerfilter.h kshowmail.desktop tdewalletaccess.h \
- senderlistfilter.h showheaderdialog.h showmaildialog.h types.h filterlogview.h \
- filterlogviewdeleteditem.h filterlogviewmoveditem.h
-
-shelldesktopdir = $(kde_appsdir)/Internet
-shelldesktop_DATA = kshowmail.desktop
-
-KDE_ICON = kshowmail
-SUBDIRS = kcmconfigs
diff --git a/kshowmail/kcmconfigs/CMakeLists.txt b/kshowmail/kcmconfigs/CMakeLists.txt
index d2f590b..12f16aa 100644
--- a/kshowmail/kcmconfigs/CMakeLists.txt
+++ b/kshowmail/kcmconfigs/CMakeLists.txt
@@ -131,7 +131,7 @@ tde_add_kpart( kcm_kshowmailconfigspamcheck AUTOMOC
file( GLOB _desktops RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
-install(
- FILES ${_desktops}
+tde_create_translated_desktop(
+ SOURCE ${_desktops}
DESTINATION ${SERVICES_INSTALL_DIR}
)
diff --git a/kshowmail/kcmconfigs/Makefile.am b/kshowmail/kcmconfigs/Makefile.am
deleted file mode 100644
index 1b11abb..0000000
--- a/kshowmail/kcmconfigs/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-INCLUDES = $(all_includes)
-METASOURCES = AUTO
-kde_module_LTLIBRARIES = kcm_kshowmailconfigaccounts.la \
- kcm_kshowmailconfigactions.la kcm_kshowmailconfigdisplay.la kcm_kshowmailconfigfilter.la \
- kcm_kshowmailconfiggeneral.la kcm_kshowmailconfiglog.la kcm_kshowmailconfigspamcheck.la
-kcm_kshowmailconfigactions_la_LDFLAGS = -avoid-version -module $(all_libraries) $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO)
-noinst_HEADERS = accountsetupdialog.h accountsetupitem.h configaccounts.h \
- configactions.h configdisplay.h configfilter.h configgeneral.h configlog.h \
- configspamcheck.h encryption.h filtercriteriawidget.h filtersetupdialog.h \
- filtersetupitem.h tdewalletaccess.h mailboxwizard.h mailboxwizardlistitem.h \
- senderlistdialog.h
-kcm_kshowmailconfigactions_la_SOURCES = configactions.cpp
-kde_services_DATA = kshowmailconfigaccounts.desktop \
- kshowmailconfigactions.desktop kshowmailconfigdisplay.desktop kshowmailconfigfilter.desktop \
- kshowmailconfiggeneral.desktop kshowmailconfiglog.desktop kshowmailconfigspamcheck.desktop
-kcm_kshowmailconfiggeneral_la_LDFLAGS = -avoid-version -module\
- $(all_libraries) $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI)
-kcm_kshowmailconfiggeneral_la_SOURCES = configgeneral.cpp
-kcm_kshowmailconfigdisplay_la_LDFLAGS = -avoid-version -module\
- $(all_libraries) $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI)
-kcm_kshowmailconfigdisplay_la_SOURCES = configdisplay.cpp
-kcm_kshowmailconfigaccounts_la_LDFLAGS = -avoid-version -module\
- $(all_libraries) $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) -ltdewalletclient
-kcm_kshowmailconfigaccounts_la_SOURCES = configaccounts.cpp \
- accountsetupitem.cpp accountsetupdialog.cpp encryption.cpp tdewalletaccess.cpp
-kcm_kshowmailconfigfilter_la_LDFLAGS = -avoid-version -module\
- $(all_libraries) $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO)
-kcm_kshowmailconfigfilter_la_SOURCES = configfilter.cpp senderlistdialog.cpp \
- filtersetupitem.cpp filtersetupdialog.cpp filtercriteriawidget.cpp mailboxwizard.cpp \
- mailboxwizardlistitem.cpp
-kcm_kshowmailconfiglog_la_LDFLAGS = $(all_libraries) -avoid-version -module $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI)
-kcm_kshowmailconfiglog_la_SOURCES = configlog.cpp
-kcm_kshowmailconfigspamcheck_la_LDFLAGS = $(all_libraries) -avoid-version \
- -module $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO)
-kcm_kshowmailconfigspamcheck_la_SOURCES = configspamcheck.cpp mailboxwizard.cpp \
- mailboxwizardlistitem.cpp
diff --git a/kshowmail/templates/cpp_template b/kshowmail/templates/cpp_template
deleted file mode 100644
index 6afef5d..0000000
--- a/kshowmail/templates/cpp_template
+++ /dev/null
@@ -1,16 +0,0 @@
-/***************************************************************************
- |FILENAME| - description
- -------------------
- begin : |DATE|
- copyright : (C) |YEAR| by |AUTHOR|
- email : |EMAIL|
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
diff --git a/kshowmail/templates/header_template b/kshowmail/templates/header_template
deleted file mode 100644
index 6afef5d..0000000
--- a/kshowmail/templates/header_template
+++ /dev/null
@@ -1,16 +0,0 @@
-/***************************************************************************
- |FILENAME| - description
- -------------------
- begin : |DATE|
- copyright : (C) |YEAR| by |AUTHOR|
- email : |EMAIL|
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/