Commit 9afb7835 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Autogenerate categories files

parent ac07cd68
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
# KDE Application Version, managed by release script
set (RELEASE_SERVICE_VERSION_MAJOR "21")
......@@ -96,6 +96,6 @@ endif()
ki18n_install(po)
kdoctools_install(po)
install(FILES ark.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
ecm_qt_install_logging_categories(EXPORT ARK FILE ark.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
......@@ -14,7 +14,7 @@ qt5_add_resources(ark_SRCS ark.qrc)
ecm_qt_declare_logging_category(ark_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.main)
CATEGORY_NAME ark.main DESCRIPTION "Ark Main" EXPORT ARK)
# For Mac and Windows.
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-ark.png")
......
ark.main Ark Main IDENTIFIER [ARK]
ark.kerfuffle Ark Kerfuffle IDENTIFIER [ARK]
ark.part Ark KPart IDENTIFIER [ARK]
ark.libarchive Ark Libarchive plugin IDENTIFIER [ARK]
ark.singlefile Ark Singlefile plugin IDENTIFIER [ARK]
ark.clizip Ark Infozip plugin IDENTIFIER [ARK]
ark.clirar Ark Rar plugin IDENTIFIER [ARK]
ark.cliunarchiver Ark The Unarchiver plugin IDENTIFIER [ARK]
ark.cli7z Ark p7zip plugin IDENTIFIER [ARK]
......@@ -43,7 +43,7 @@ ki18n_wrap_ui(kerfuffle_SRCS
ecm_qt_declare_logging_category(kerfuffle_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.kerfuffle)
CATEGORY_NAME ark.kerfuffle DESCRIPTION "Ark Kerfuffle" EXPORT ARK)
add_library(kerfuffle SHARED ${kerfuffle_SRCS})
generate_export_header(kerfuffle BASE_NAME kerfuffle)
......
......@@ -15,7 +15,7 @@ qt5_add_resources(arkpart_PART_SRCS arkpart.qrc)
ecm_qt_declare_logging_category(arkpart_PART_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.part)
CATEGORY_NAME ark.part DESCRIPTION "Ark KPart" EXPORT ARK)
qt5_add_dbus_adaptor(arkpart_PART_SRCS dnddbusinterface.xml part.h Ark::Part)
......
......@@ -7,7 +7,7 @@ set(kerfuffle_cli7z_SRCS cliplugin.cpp)
ecm_qt_declare_logging_category(kerfuffle_cli7z_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.cli7z)
CATEGORY_NAME ark.cli7z DESCRIPTION "Ark p7zip" EXPORT ARK)
# NOTE: the first double-quotes of the first mime and the last
# double-quotes of the last mime must NOT be escaped.
......
......@@ -8,7 +8,7 @@ set(kerfuffle_clirar_SRCS cliplugin.cpp)
ecm_qt_declare_logging_category(kerfuffle_clirar_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.clirar)
CATEGORY_NAME ark.clirar DESCRIPTION "Ark Rar plugin" EXPORT ARK)
# NOTE: the first double-quotes of the first mime and the last
# double-quotes of the last mime must NOT be escaped.
......
......@@ -8,7 +8,7 @@ set(kerfuffle_cliunarchiver_SRCS cliplugin.cpp)
ecm_qt_declare_logging_category(kerfuffle_cliunarchiver_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.cliunarchiver)
CATEGORY_NAME ark.cliunarchiver DESCRIPTION "Ark The Unarchiver plugin" EXPORT ARK)
# NOTE: the first double-quotes of the first mime and the last
# double-quotes of the last mime must NOT be escaped.
......
......@@ -7,7 +7,7 @@ set(kerfuffle_clizip_SRCS cliplugin.cpp)
ecm_qt_declare_logging_category(kerfuffle_clizip_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.clizip)
CATEGORY_NAME ark.clizip DESCRIPTION "Ark Infozip plugin" EXPORT ARK)
# NOTE: the first double-quotes of the first mime and the last
# double-quotes of the last mime must NOT be escaped.
......
......@@ -16,7 +16,7 @@ set(kerfuffle_libarchive_SRCS ${kerfuffle_libarchive_readonly_SRCS} readwritelib
ecm_qt_declare_logging_category(kerfuffle_libarchive_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.libarchive)
CATEGORY_NAME ark.libarchive DESCRIPTION "Ark Libarchive plugin" EXPORT ARK)
# NOTE: the first double-quotes of the first mime and the last
# double-quotes of the last mime must NOT be escaped.
......
......@@ -3,7 +3,7 @@ set(kerfuffle_singlefile_SRCS singlefileplugin.cpp)
ecm_qt_declare_logging_category(kerfuffle_singlefile_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.singlefile)
CATEGORY_NAME ark.singlefile DESCRIPTION "Ark Singlefile plugin" EXPORT ARK)
set(SUPPORTED_LIBSINGLEFILE_MIMETYPES "")
set(INSTALLED_LIBSINGLEFILE_PLUGINS "")
......
......@@ -11,7 +11,7 @@ set(kerfuffle_libzip_SRCS libzipplugin.cpp ark_debug.cpp)
ecm_qt_declare_logging_category(kerfuffle_libzip_SRCS
HEADER ark_debug.h
IDENTIFIER ARK
CATEGORY_NAME ark.libzip)
CATEGORY_NAME ark.libzip DESCRIPTION "Ark Infozip plugin" EXPORT ARK)
# NOTE: the first double-quotes of the first mime and the last
# double-quotes of the last mime must NOT be escaped.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment