[Merkaartor] Add .desktop file
Rainer Keller
mail at rainerkeller.de
Wed Jul 2 15:30:30 BST 2008
Hi everyone,
now I have generated a patch applicable to your repository.
Index: merkaartor.desktop
===================================================================
--- merkaartor.desktop (revision 0)
+++ merkaartor.desktop (revision 0)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=0.10.0
+Name=Merkaartor
+Type=Application
+Comment=Merkaartor is (will be) a mapping program
+Exec=merkaartor
+TryExec=merkaartor
+#Icon=merkartor.png
+Categories=Network
Index: Merkaartor.pro
===================================================================
--- Merkaartor.pro (revision 8485)
+++ Merkaartor.pro (working copy)
@@ -68,6 +68,17 @@
}
INSTALLS += target
+
+# Install desktop files to make merkaartor appear in application menus
+ desktop_file.path=$${PREFIX}/share/applications
+ desktop_file.files=merkaartor.desktop
+ INSTALLS+=desktop_file
+
+# If merkaartor has a logo this as to be activated
+# desktop_icon.path=$${PREFIX}/share/pixmaps
+# desktop_icon.files=merkaartor.png
+# INSTALLS+=desktop_icon
+
}
win32-msvc* {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: desktop.patch
Type: text/x-diff
Size: 996 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20080702/ea1249e4/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20080702/ea1249e4/attachment.pgp>
More information about the Merkaartor
mailing list