diff --git a/src/console/CMakeLists.txt b/src/console/CMakeLists.txt index fcb92a9..46728da 100644 --- a/src/console/CMakeLists.txt +++ b/src/console/CMakeLists.txt @@ -1,97 +1,98 @@ ecm_create_qm_loader(userfeedback_console_QM_LOADER userfeedbackconsole5_qt) set(console_lib_srcs core/aggregation.cpp core/aggregationelement.cpp core/product.cpp core/sample.cpp core/schemaentry.cpp core/schemaentryelement.cpp core/schemaentrytemplates.cpp core/survey.cpp rest/restapi.cpp rest/restclient.cpp rest/serverinfo.cpp jobs/job.cpp jobs/handshakejob.cpp jobs/productexportjob.cpp jobs/productimportjob.cpp jobs/securityscanjob.cpp model/aggregateddatamodel.cpp model/aggregationeditormodel.cpp model/aggregationelementmodel.cpp model/aggregationelementeditmodel.cpp model/categoryaggregationmodel.cpp model/datamodel.cpp model/extrarowsproxymodel.cpp model/numericaggregationmodel.cpp model/productmodel.cpp model/ratiosetaggregationmodel.cpp model/rolemappingproxymodel.cpp model/schemamodel.cpp model/singlerowfilterproxymodel.cpp model/surveymodel.cpp model/timeaggregationmodel.cpp schematemplates/schematemplates.qrc ) add_library(KUserFeedbackConsole STATIC ${console_lib_srcs}) target_link_libraries(KUserFeedbackConsole Qt5::Network) target_include_directories(KUserFeedbackConsole PUBLIC "$") target_compile_features(KUserFeedbackConsole PRIVATE cxx_generic_lambdas) target_compile_definitions(KUserFeedbackConsole PUBLIC QT_DISABLE_DEPRECATED_BEFORE=0x050600 QT_DEPRECATED_WARNINGS) if(NOT TARGET KUserFeedbackWidgets) return() endif() set(console_srcs connectdialog.cpp main.cpp mainwindow.cpp helpcontroller.cpp analytics/aggregator.cpp analytics/analyticsview.cpp analytics/categoryaggregator.cpp analytics/chartexportdialog.cpp analytics/chartutil.cpp analytics/numericaggregator.cpp analytics/ratiosetaggregator.cpp analytics/totalaggregator.cpp schemaeditor/aggregationeditwidget.cpp schemaeditor/schemaeditor.cpp schemaeditor/schemaeditwidget.cpp schemaeditor/schemaentryitemeditorfactory.cpp surveyeditor/surveydialog.cpp surveyeditor/surveyeditor.cpp widgets/metaenumcombobox.cpp ${userfeedback_console_QM_LOADER} ) add_executable(KUserFeedbackConsoleApplication ${console_srcs}) target_compile_features(KUserFeedbackConsoleApplication PRIVATE cxx_generic_lambdas) set_target_properties(KUserFeedbackConsoleApplication PROPERTIES OUTPUT_NAME UserFeedbackConsole) target_link_libraries(KUserFeedbackConsoleApplication Qt5::Widgets Qt5::Network Qt5::Charts Qt5::PrintSupport Qt5::Svg KUserFeedbackWidgets KUserFeedbackConsole KUserFeedbackCommon ) install(TARGETS KUserFeedbackConsoleApplication ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) if(UNIX AND NOT APPLE) - install(FILES UserFeedbackConsole.desktop DESTINATION ${KDE_INSTALL_APPDIR}) + install(FILES org.kde.kuserfeedback-console.desktop DESTINATION ${KDE_INSTALL_APPDIR}) + install(FILES org.kde.kuserfeedback-console.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) endif() diff --git a/src/console/org.kde.kuserfeedback-console.appdata.xml b/src/console/org.kde.kuserfeedback-console.appdata.xml new file mode 100644 index 0000000..60dbaa8 --- /dev/null +++ b/src/console/org.kde.kuserfeedback-console.appdata.xml @@ -0,0 +1,26 @@ + + + org.kde.kuserfeedback-console + CC0-1.0 + LGPL-2.0-or-later + KUserFeedback Console + Analytics and administration tool for KUserFeedback servers + +

Features:

+
    +
  • Create, edit and remove products and product data schemas.
  • +
  • Manage user surveys.
  • +
  • Basic review and analytics of telemetry data.
  • +
  • Product schema and telemetry data import/export.
  • +
+
+ + Development + + https://bugs.kde.org/enter_bug.cgi?format=guided&product=frameworks-kuserfeedback + KDE + + UserFeedbackConsole + + org.kde.kuserfeedback-console.desktop +
diff --git a/src/console/UserFeedbackConsole.desktop b/src/console/org.kde.kuserfeedback-console.desktop similarity index 100% rename from src/console/UserFeedbackConsole.desktop rename to src/console/org.kde.kuserfeedback-console.desktop