summaryrefslogtreecommitdiff
path: root/telegps
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 /telegps
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 'telegps')
-rw-r--r--telegps/Makefile.am8
-rw-r--r--telegps/altusmetrum-telegps.desktop.in (renamed from telegps/telegps.desktop.in)2
2 files changed, 5 insertions, 5 deletions
diff --git a/telegps/Makefile.am b/telegps/Makefile.am
index 8868c723..c4f6a58b 100644
--- a/telegps/Makefile.am
+++ b/telegps/Makefile.am
@@ -89,7 +89,7 @@ FIRMWARE_TG=$(FIRMWARE_TG_1_0)
FIRMWARE=$(FIRMWARE_TG) $(FIRMWARE_TD) $(FIRMWARE_TBT)
desktopdir = $(datadir)/applications
-desktop_file = telegps.desktop
+desktop_file = altusmetrum-telegps.desktop
desktop_SCRIPTS = $(desktop_file)
all-local: telegps-test telegps-jdb $(JAR)
@@ -106,7 +106,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}/telegps.desktop.in > $@
+ sed -e 's#%bindir%#@bindir@#' -e 's#%icondir%#$(datadir)/icons/hicolor/scalable/apps#' ${srcdir}/$(desktop_file).in > $@
chmod +x $@
LINUX_DIST=TeleGPS-Linux-$(VERSION).tar.bz2
@@ -120,8 +120,8 @@ DOC=$(TELEGPS_DOC)
FAT_FILES=$(FATJAR) $(ALTOSLIB_CLASS) $(ALTOSUILIB_CLASS) $(FREETTS_CLASS) $(JFREECHART_CLASS) $(JCOMMON_CLASS)
-LINUX_FILES=$(FAT_FILES) libaltos.so $(FIRMWARE) $(DOC) telegps.desktop.in ../icon/telegps.svg
-LINUX_EXTRA=telegps-fat telegps.desktop.in
+LINUX_FILES=$(FAT_FILES) libaltos.so $(FIRMWARE) $(DOC) $(desktop_file).in ../icon/telegps.svg
+LINUX_EXTRA=telegps-fat $(desktop_file).in
MACOSX_INFO_PLIST=Info.plist
MACOSX_README=ReadMe-Mac.rtf
diff --git a/telegps/telegps.desktop.in b/telegps/altusmetrum-telegps.desktop.in
index 3d249d8a..76c1eb42 100644
--- a/telegps/telegps.desktop.in
+++ b/telegps/altusmetrum-telegps.desktop.in
@@ -6,5 +6,5 @@ Comment=View and log data from TeleGPS tracking devices
Icon=%icondir%/telegps.svg
Exec=%bindir%/telegps %f
Terminal=false
-MimeType=text/plain;
+MimeType=application/vnd.altusmetrum.telemetry;application/vnd.altusmetrum.eeprom
Categories=Education;Electronics;Science;