From 0d5735d22e68f5c672d61cef3ab16fa139734fbc Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Sun, 3 Dec 2017 12:15:21 +0100 Subject: [PATCH] Add an appdata file This allows "app center" applications like GNOME Software and Plasma Discover to show Dino in all its glory, so users can install it simply. --- CMakeLists.txt | 1 + main/CMakeLists.txt | 1 + main/data/im.dino.Dino.appdata.xml | 60 ++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 main/data/im.dino.Dino.appdata.xml diff --git a/CMakeLists.txt b/CMakeLists.txt index ec6583a1..5361b13f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,7 @@ set_path(SHARE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/share" "Installation dire set_path(BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" "Installation directory for user executables") set_path(DATA_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/dino" "Installation directory for dino-specific data") +set_path(APPDATA_FILE_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/metainfo" "Installation directory for .appdata.xml files") set_path(DESKTOP_FILE_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/applications" "Installation directory for .desktop files") set_path(SERVICE_FILE_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/dbus-1/services" "Installation directory for .service files") set_path(ICON_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/icons" "Installation directory for icons") diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 689610a7..2a5377a1 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -151,6 +151,7 @@ if(WIN32) endif(WIN32) install(TARGETS dino ${TARGET_INSTALL}) +install(FILES data/im.dino.Dino.appdata.xml DESTINATION ${APPDATA_FILE_INSTALL_DIR}) install(FILES data/im.dino.Dino.desktop DESTINATION ${DESKTOP_FILE_INSTALL_DIR}) install(FILES data/im.dino.Dino.service DESTINATION ${SERVICE_FILE_INSTALL_DIR}) install(FILES data/icons/im.dino.Dino.svg DESTINATION ${ICON_INSTALL_DIR}/hicolor/scalable/apps) diff --git a/main/data/im.dino.Dino.appdata.xml b/main/data/im.dino.Dino.appdata.xml new file mode 100644 index 00000000..ebaf8df6 --- /dev/null +++ b/main/data/im.dino.Dino.appdata.xml @@ -0,0 +1,60 @@ + + + im.dino.Dino + im.dino.Dino.desktop + CC0-1.0 + GPL-3.0+ + Dino + Modern XMPP Client + +

+ Dino is a modern open-source chat client for the desktop. It focuses on providing a clean and reliable + Jabber/XMPP experience while having your privacy in mind. +

+

+ It supports end-to-end encryption with OMEMO and OpenPGP and allows configuring privacy-related features + such as read marker and typing notifications. +

+

+ Dino fetches history from the server and synchronizes messages with other devices. +

+
+ + + Main window with conversations + https://dino.im/img/appdata/main.png + + + Start a chat + https://dino.im/img/appdata/start_chat.png + + + Contact details + https://dino.im/img/appdata/contact_details.png + + + dino + Dino Development Team + https://dino.im + https://github.com/dino/dino/issues + https://liberapay.com/Dino + https://hosted.weblate.org/projects/dino/ + + appstream@dino.im + + +