summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScarlett Clark <sgclark@kde.org>2016-07-25 10:52:09 (GMT)
committerScarlett Clark <sgclark@kde.org>2016-07-25 10:52:09 (GMT)
commit55904c8ca6ca0c8b3ae4eaec0698c9f39196522c (patch)
treec13e8659402d99e616b47a0f17b532b97a9bb527
parent270ffb6ad8fea1a9025f425bf68feb3e4ff2c580 (diff)
Rename desktop file to use reverse dns naming standard
REVIEW:128506 In order to have consistancy for automation, I would like to have desktop files use the standards outlined here: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
-rw-r--r--src/application/CMakeLists.txt2
-rw-r--r--src/application/kapptemplate.appdata.xml2
-rwxr-xr-xsrc/application/org.kde.kapptemplate.desktop (renamed from src/application/kapptemplate.desktop)0
3 files changed, 2 insertions, 2 deletions
diff --git a/src/application/CMakeLists.txt b/src/application/CMakeLists.txt
index d15bddc..acaed0a 100644
--- a/src/application/CMakeLists.txt
+++ b/src/application/CMakeLists.txt
@@ -16,7 +16,7 @@ add_executable(kapptemplate ${kapptemplate_SRCS})
target_link_libraries(kapptemplate KF5::CoreAddons KF5::ConfigWidgets KF5::Completion KF5::KIOWidgets KF5::Archive KF5::KIOCore KF5::I18n)
install(TARGETS kapptemplate ${INSTALL_TARGETS_DEFAULT_ARGS})
-install(PROGRAMS kapptemplate.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
+install(PROGRAMS org.kde.kapptemplate.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES kapptemplate.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES kapptemplate.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES default.png DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/template_previews)
diff --git a/src/application/kapptemplate.appdata.xml b/src/application/kapptemplate.appdata.xml
index c542c77..4f7a150 100644
--- a/src/application/kapptemplate.appdata.xml
+++ b/src/application/kapptemplate.appdata.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop">
- <id>kapptemplate.desktop</id>
+ <id>org.kde.kapptemplate.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>KAppTemplate</name>
diff --git a/src/application/kapptemplate.desktop b/src/application/org.kde.kapptemplate.desktop
index 73c739b..73c739b 100755
--- a/src/application/kapptemplate.desktop
+++ b/src/application/org.kde.kapptemplate.desktop