summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-20 12:01:54 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-20 12:01:54 (GMT)
commit9da95afd712785e3aeb2fdd030a576846b9bc7ca (patch)
treea10f7fb11652ab002327e2a8320d2ec715d4c56c
parentc1ccaa18073a0fb4ac61ac253a7696692ebd2a8a (diff)
Rename categories
-rw-r--r--CMakeLists.txt2
-rw-r--r--libkleo.categories4
-rw-r--r--libkleo.renamecategories2
-rw-r--r--src/CMakeLists.txt6
4 files changed, 8 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee40dfa..99eb7b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,5 +86,5 @@ install(FILES
add_subdirectory(src)
-install( FILES libkleo.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
+install( FILES libkleo.renamecategories libkleo.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff --git a/libkleo.categories b/libkleo.categories
index ccb1e95..df2558c 100644
--- a/libkleo.categories
+++ b/libkleo.categories
@@ -1,2 +1,2 @@
-log_kleo_ui libkleo (kleo_ui)
-log_gpgme_backend libkleo (gpgme_backend)
+org.kde.pim.kleo_ui libkleo (kleo_ui)
+org.kde.pim.gpgme_backend libkleo (gpgme_backend)
diff --git a/libkleo.renamecategories b/libkleo.renamecategories
new file mode 100644
index 0000000..2017ffa
--- /dev/null
+++ b/libkleo.renamecategories
@@ -0,0 +1,2 @@
+log_kleo_ui org.kde.pim.kleo_ui
+log_gpgme_backend org.kde.pim.gpgme_backend
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 671d92c..c7ed1f3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -52,7 +52,7 @@ set(libkleo_backend_qgpgme_SRCS
backends/qgpgme/qgpgmerefreshkeysjob.cpp
backends/qgpgme/qgpgmekeyformailboxjob.cpp
)
-ecm_qt_declare_logging_category(libkleo_backend_qgpgme_SRCS HEADER gpgme_backend_debug.h IDENTIFIER GPGPME_BACKEND_LOG CATEGORY_NAME log_gpgme_backend)
+ecm_qt_declare_logging_category(libkleo_backend_qgpgme_SRCS HEADER gpgme_backend_debug.h IDENTIFIER GPGPME_BACKEND_LOG CATEGORY_NAME org.kde.pim.gpgme_backend)
set(libkleo_backend_chiasmus_SRCS
backends/chiasmus/config_data.c
@@ -89,7 +89,7 @@ set(libkleo_core_SRCS
utils/formatting.cpp
utils/classify
)
-ecm_qt_declare_logging_category(libkleo_core_SRCS HEADER libkleo_debug.h IDENTIFIER LIBKLEO_LOG CATEGORY_NAME log_libkleo)
+ecm_qt_declare_logging_category(libkleo_core_SRCS HEADER libkleo_debug.h IDENTIFIER LIBKLEO_LOG CATEGORY_NAME org.kde.pim.libkleo)
set(libkleo_ui_common_SRCS
ui/dnattributeorderconfigwidget.cpp
@@ -103,7 +103,7 @@ set(libkleo_ui_common_SRCS
ui/progressdialog.cpp
ui/auditlogviewer.cpp
)
-ecm_qt_declare_logging_category(libkleo_ui_common_SRCS HEADER kleo_ui_debug.h IDENTIFIER KLEO_UI_LOG CATEGORY_NAME log_kleo_ui)
+ecm_qt_declare_logging_category(libkleo_ui_common_SRCS HEADER kleo_ui_debug.h IDENTIFIER KLEO_UI_LOG CATEGORY_NAME org.kde.pim.kleo_ui)
set(libkleo_ui_SRCS # make this a separate lib.
ui/keylistview.cpp