Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
baloo5
add-baloo-engine-debugging-category.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File add-baloo-engine-debugging-category.patch of Package baloo5
From f5f1ae889fe97e1f4f00341ac3f9161bd10740b2 Mon Sep 17 00:00:00 2001 From: Valerii Malov <jazzvoid@gmail.com> Date: Sat, 9 Feb 2019 21:02:22 +0300 Subject: add baloo engine debugging category Reviewers: #baloo, mlaurent, bruns Reviewed By: #baloo, mlaurent, bruns Subscribers: bruns, mlaurent, kde-frameworks-devel Tags: #frameworks, #baloo Differential Revision: https://phabricator.kde.org/D18873 --- baloo.categories | 1 + src/engine/CMakeLists.txt | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/baloo.categories b/baloo.categories index f16ac0f..0e2f9e8 100644 --- a/baloo.categories +++ b/baloo.categories @@ -1,3 +1,4 @@ org.kde.baloo Baloo File debug IDENTIFIER [BALOO] kf5.kio.kio_tags Baloo Tags (KIO) DEFAULT_SEVERITY [WARNING] IDENTIFIER [BALOO] kf5.kio.kio_timeline Baloo Timeline (KIO) DEFAULT_SEVERITY [WARNING] IDENTIFIER [Baloo::KIO_TIMELINE] +org.kde.baloo.engine Baloo Engine DEFAULT_SEVERITY [WARNING] IDENTIFIER [Baloo::ENGINE] diff --git a/src/engine/CMakeLists.txt b/src/engine/CMakeLists.txt index 4009ae9..4a5a4f2 100644 --- a/src/engine/CMakeLists.txt +++ b/src/engine/CMakeLists.txt @@ -26,6 +26,13 @@ set(BALOO_ENGINE_SRCS fsutils.cpp ) +ecm_qt_declare_logging_category( + BALOO_ENGINE_SRCS + HEADER "enginedebug.h" + IDENTIFIER "Baloo::ENGINE" + DEFAULT_SEVERITY Warning + CATEGORY_NAME "org.kde.baloo.engine") + if(${BUILD_EXPERIMENTAL}) set(BALOO_ENGINE_SRCS ${BALOO_ENGINE_SRCS} experimental/databasesanitizer.cpp) endif() @@ -48,6 +55,7 @@ set_target_properties(KF5BalooEngine PROPERTIES SOVERSION ${BALOO_SOVERSION} EXPORT_NAME BalooEngine ) + ##target_include_directories(KF5BalooEngine INTERFACE "$<INSTALL_INTERFACE:${KF5_INCLUDE_INSTALL_DIR}/Baloo>") generate_export_header(KF5BalooEngine BASE_NAME BALOO_ENGINE EXPORT_FILE_NAME engine_export.h) -- cgit v1.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor