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* {
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* {

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/merkaartor

Reply via email to