From 54ee07cac8e229edfa31832bfad2320f2cb42066 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Fri, 15 Jan 2010 14:32:09 +0000 Subject: [PATCH] resolve the last remaining apps/runtime dependency the ugly way svn path=/branches/work/akonadi-ports/kdepim/; revision=1075083 --- CMakeLists.txt | 5 ++- imapresource.kcfg | 84 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+), 3 deletions(-) create mode 100644 imapresource.kcfg diff --git a/CMakeLists.txt b/CMakeLists.txt index 1170376f7..23036fdea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -194,7 +194,7 @@ soprano_add_ontology(kmailprivate_LIB_SRCS ) macro(add_resource_iface _kcfgFile _ifaceName _className) - kcfg_generate_dbus_interface(${kdepim-runtime_SOURCE_DIR}/resources/${_kcfgFile} ${_ifaceName}) + kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/${_kcfgFile} ${_ifaceName}) string(TOLOWER ${_className} _codeFile) set_source_files_properties( ${CMAKE_CURRENT_BINARY_DIR}/${_ifaceName}.xml PROPERTIES INCLUDE "metatype.h") qt4_add_dbus_interface(kmailprivate_LIB_SRCS @@ -202,8 +202,7 @@ macro(add_resource_iface _kcfgFile _ifaceName _className) ) endmacro(add_resource_iface) -add_resource_iface( imap/imapresource.kcfg - org.kde.Akonadi.Imap.Settings ImapSettings ) +add_resource_iface( imapresource.kcfg org.kde.Akonadi.Imap.Settings ImapSettings ) # TODO PORT # qt4_generate_dbus_interface(kmcomposewin.h org.kde.kmail.mailcomposer.xml OPTIONS -a) diff --git a/imapresource.kcfg b/imapresource.kcfg new file mode 100644 index 000000000..9a6e90701 --- /dev/null +++ b/imapresource.kcfg @@ -0,0 +1,84 @@ + + + + + + + + + + + + 1 + + + + 1 + + + + false + + + + + + false + + + + 5 + + + + true + + + + true + + + + -1 + + + + true + + + + + + + + + + + + + + false + + + + true + + + + 2000 + + + + + + + kmail-vacation.siv + + +