summaryrefslogtreecommitdiff
path: root/altosui
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-19 10:25:07 -0700
committerKeith Packard <keithp@keithp.com>2014-06-19 10:25:07 -0700
commit37856672c57f2fd91184c2391a201bbbdc48545e (patch)
treefc911bfdc91ea71320820038c706274c9280a59f /altosui
parent1d773cb8921848c99f12b8cd9840cb0267b66e1f (diff)
linux: .desktop files must begin with organization name
The spec requires that .desktop files start with the organization name, so I've renamed all of them to altusmetrum-<application>.desktop Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui')
-rw-r--r--altosui/Makefile.am6
-rw-r--r--altosui/altusmetrum-altosui.desktop.in (renamed from altosui/altos.desktop.in)3
2 files changed, 5 insertions, 4 deletions
diff --git a/altosui/Makefile.am b/altosui/Makefile.am
index 352fb430..bc074a95 100644
--- a/altosui/Makefile.am
+++ b/altosui/Makefile.am
@@ -64,7 +64,7 @@ LIBALTOS= \
altos.dll
desktopdir = $(datadir)/applications
-desktop_file = altos.desktop
+desktop_file = altusmetrum-altosui.desktop
desktop_SCRIPTS = $(desktop_file)
JAR=altosui.jar
@@ -141,7 +141,7 @@ FAT_FILES=$(FATJAR) $(ALTOSLIB_CLASS) $(ALTOSUILIB_CLASS) $(FREETTS_CLASS) $(JFR
LINUX_LIBS=libaltos32.so libaltos64.so
-LINUX_FILES=$(FAT_FILES) $(LINUX_LIBS) $(FIRMWARE) $(DOC) altos.desktop.in ../icon/altusmetrum.svg
+LINUX_FILES=$(FAT_FILES) $(LINUX_LIBS) $(FIRMWARE) $(DOC) $(desktop_file).in ../icon/altusmetrum.svg
LINUX_EXTRA=altosui-fat
MACOSX_INFO_PLIST=Info.plist
@@ -161,7 +161,7 @@ clean-local:
EXTRA_DIST = $(desktop_file).in
$(desktop_file): $(desktop_file).in
- sed -e 's#%bindir%#@bindir@#' -e 's#%icondir%#$(datadir)/icons/hicolor/scalable/apps#' ${srcdir}/altos.desktop.in > $@
+ sed -e 's#%bindir%#@bindir@#' -e 's#%icondir%#$(datadir)/icons/hicolor/scalable/apps#' ${srcdir}/$(desktop_file).in > $@
chmod +x $@
if FATINSTALL
diff --git a/altosui/altos.desktop.in b/altosui/altusmetrum-altosui.desktop.in
index 66114348..716571ce 100644
--- a/altosui/altos.desktop.in
+++ b/altosui/altusmetrum-altosui.desktop.in
@@ -1,10 +1,11 @@
[Desktop Entry]
Type=Application
+Version=1.0
Name=AltOS UI
GenericName=Altus Metrum Ground Station
Comment=View and log downlink data from Altus Metrum products
Icon=%icondir%/altusmetrum.svg
Exec=%bindir%/altosui %f
Terminal=false
-MimeType=text/plain;
+MimeType=application/vnd.altusmetrum.telemetry;application/vnd.altusmetrum.eeprom
Categories=Education;Electronics;Science;