summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Toscano <luigi.toscano@tiscali.it>2016-10-14 21:27:52 (GMT)
committerLuigi Toscano <luigi.toscano@tiscali.it>2016-10-14 21:29:36 (GMT)
commitfbfc97cd69f3108253656d8dc0bf56b6fdfbb82b (patch)
treeac754c1c9f335aa67a047b0be74f9d6ecf9e6909
parent605ea5637e6e53cd31c0b9a8cf7d2822b1948757 (diff)
Add namespace to desktop and appdata filesv16.12.1v16.12.0v16.11.90v16.11.80
- add the organization namespace to the desktop file (renaming it from the previous name used to not conflict with the service file), and then the appdata file, according the specification; - it is worth nothing that the appdata file previosuly referenced the desktop file for the service, not the one for the application; - use the new directory for metadata (metainfo) files.
-rw-r--r--jovie/CMakeLists.txt4
-rw-r--r--jovie/org.kde.jovie.appdata.xml (renamed from jovie/jovie.appdata.xml)2
-rw-r--r--jovie/org.kde.jovie.desktop (renamed from jovie/jovieapp.desktop)0
3 files changed, 3 insertions, 3 deletions
diff --git a/jovie/CMakeLists.txt b/jovie/CMakeLists.txt
index eb1f7f6..fa23e62 100644
--- a/jovie/CMakeLists.txt
+++ b/jovie/CMakeLists.txt
@@ -35,5 +35,5 @@ install(TARGETS jovie_bin ${INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES SSMLtoPlainText.xsl DESTINATION ${DATA_INSTALL_DIR}/jovie/xslt/ )
install( FILES jovie.desktop kttsd.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( PROGRAMS jovieapp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES jovie.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/appdata/ )
+install( PROGRAMS org.kde.jovie.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES org.kde.jovie.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/metainfo/ )
diff --git a/jovie/jovie.appdata.xml b/jovie/org.kde.jovie.appdata.xml
index 6e0b17a..1599b70 100644
--- a/jovie/jovie.appdata.xml
+++ b/jovie/org.kde.jovie.appdata.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop">
- <id>jovie.desktop</id>
+ <id>org.kde.jovie.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>Jovie</name>
diff --git a/jovie/jovieapp.desktop b/jovie/org.kde.jovie.desktop
index 73cc678..73cc678 100644
--- a/jovie/jovieapp.desktop
+++ b/jovie/org.kde.jovie.desktop