summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2015-09-10 09:43:05 (GMT)
committerAndreas Cord-Landwehr <cordlandwehr@kde.org>2015-09-10 09:43:05 (GMT)
commitb397d9447b1bf7c2c4dce5e27cf67ed24bb127ec (patch)
tree65e8a94acfaa92767e3c6a2f4fc33c368f6d2ce8
parent8b8977f65602466c0ea560453d0fb2adcadcd286 (diff)
Use reverse notation for desktop files.
-rw-r--r--CMakeLists.txt3
-rw-r--r--org.kde.kalzium.appdata.xml (renamed from kalzium.appdata.xml)2
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/kalzium_cml.desktop77
-rwxr-xr-xsrc/org.kde.kalzium.desktop (renamed from src/kalzium.desktop)0
5 files changed, 3 insertions, 81 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b6582de..1993720 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,7 +66,6 @@ add_subdirectory(data)
add_subdirectory(libscience)
add_subdirectory(qml)
-
-install(FILES kalzium.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/appdata/)
+install(FILES org.kde.kalzium.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/appdata/)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff --git a/kalzium.appdata.xml b/org.kde.kalzium.appdata.xml
index 5b56a1e..23f21d1 100644
--- a/kalzium.appdata.xml
+++ b/org.kde.kalzium.appdata.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop">
- <id>kalzium.desktop</id>
+ <id>org.kde.kalzium.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>Kalzium</name>
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2ee0c95..efa8da5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -172,7 +172,7 @@ install(TARGETS kalzium ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
-install(PROGRAMS kalzium.desktop kalzium_cml.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
+install(PROGRAMS org.kde.kalzium.desktop org.kde.kalzium_cml.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES kalzium.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES kalziumui.rc DESTINATION ${DATA_INSTALL_DIR}/kalzium)
install(FILES kalzium.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
diff --git a/src/kalzium_cml.desktop b/src/kalzium_cml.desktop
deleted file mode 100644
index 2b317b2..0000000
--- a/src/kalzium_cml.desktop
+++ /dev/null
@@ -1,77 +0,0 @@
-[Desktop Entry]
-Name=Kalzium
-Name[af]=Kalzium
-Name[ast]=Kalzium
-Name[be]=Kalzium
-Name[bg]=Kalzium
-Name[bn]=ক্যালজিয়াম
-Name[br]=Kalzium
-Name[bs]=Kalzium
-Name[ca]=Kalzium
-Name[ca@valencia]=Kalzium
-Name[cs]=Kalzium
-Name[csb]=Kalzium
-Name[cy]=Kalzium
-Name[da]=Kalzium
-Name[de]=Kalzium
-Name[el]=Kalzium
-Name[en_GB]=Kalzium
-Name[eo]=Kalzium
-Name[es]=Kalzium
-Name[et]=Kalzium
-Name[eu]=Kalzium
-Name[fi]=Kalzium
-Name[fr]=Kalzium
-Name[ga]=Kalzium
-Name[gl]=Kalzium
-Name[gu]=કેલ્ઝિયમ
-Name[he]=Kalzium
-Name[hi]=के-एल्जियम
-Name[hne]=के-एल्जियम
-Name[hr]=Kalzium
-Name[hu]=Kalzium
-Name[is]=Kalzium
-Name[it]=Kalzium
-Name[ja]=Kalzium
-Name[ka]=Kalzium
-Name[kk]=Kalzium
-Name[km]=Kalzium
-Name[ko]=Kalzium
-Name[lt]=Kalzium
-Name[lv]=Kalzium
-Name[mk]=Калциум
-Name[ml]=കാല്‍സിയം
-Name[mr]=केल्झियम
-Name[ms]=Kalzium
-Name[nb]=Kalzium
-Name[nds]=Kalzium
-Name[ne]=काल्जियम
-Name[nl]=Kalzium
-Name[nn]=Kalzium
-Name[pa]=ਕੈਲਜ਼ੀਅਮ
-Name[pl]=Kalzium (Program do nauki pierwiastków chemicznych)
-Name[pt]=Kalzium
-Name[pt_BR]=Kalzium
-Name[ro]=Kalzium
-Name[ru]=Kalzium
-Name[se]=Kalzium
-Name[sk]=Kalzium
-Name[sl]=Kalzium
-Name[sv]=Kalzium
-Name[ta]=கால்சியம்
-Name[te]=క్యల్జ్యిం
-Name[tg]=Kalzium
-Name[tr]=Kalzium
-Name[ug]=Kalzium
-Name[uk]=Kalzium
-Name[vi]=Kalzium
-Name[xh]=Kalzium
-Name[x-test]=xxKalziumxx
-Name[zh_CN]=Kalzium
-Name[zh_TW]=化學_Kalzium
-Exec=kalzium -caption %c -molecule %f
-NoDisplay=true
-Type=Application
-Terminal=false
-Icon=kalzium
-MimeType=chemical/x-cml;
diff --git a/src/kalzium.desktop b/src/org.kde.kalzium.desktop
index 6b7c31c..6b7c31c 100755
--- a/src/kalzium.desktop
+++ b/src/org.kde.kalzium.desktop