Convert the menu file to a desktop file
authorPino Toscano <pino@debian.org>
Sun, 13 Aug 2017 10:35:55 +0000 (12:35 +0200)
committerXimin Luo <infinity0@debian.org>
Wed, 16 Aug 2017 12:06:55 +0000 (14:06 +0200)
debian/changelog
debian/ocaml-interp.install.in
debian/ocaml-interp.menu [deleted file]
debian/ocaml.desktop [new file with mode: 0644]

index af1bb88152bfe9659e1eca90e6454ba3ce04e538..ad259e50510171e14b97367cd3ff184f96b9646a 100644 (file)
@@ -7,6 +7,9 @@ ocaml (4.05.0-8) UNRELEASED; urgency=medium
     * Compute a stable name for preprocessed files (Closes: #838188).
       Thanks to Johannes Schauer for the patch!
 
+  [ Pino Toscano ]
+  * Convert the menu file to a desktop file. (see #741573)
+
  -- Ximin Luo <infinity0@debian.org>  Wed, 09 Aug 2017 14:59:56 +0200
 
 ocaml (4.05.0-7) experimental; urgency=medium
index badda65e6781432b081bb6600e9179f05f81a318..4da080817e272ef4d1e6eef3ed4ef90daa27d0d4 100644 (file)
@@ -1,3 +1,4 @@
 usr/bin/ocaml
 usr/share/man/man1/ocaml.1
+debian/ocaml.desktop /usr/share/applications
 debian/ocaml.xpm /usr/share/pixmaps
diff --git a/debian/ocaml-interp.menu b/debian/ocaml-interp.menu
deleted file mode 100644 (file)
index 04be798..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-?package(ocaml-interp):needs="text" section="Applications/Programming" \
-       title="Ocaml" longtitle="Ocaml Toplevel" \
-       hints="ocaml" \
-       command="/usr/bin/ocaml" \
-       icon="/usr/share/pixmaps/ocaml.xpm"
diff --git a/debian/ocaml.desktop b/debian/ocaml.desktop
new file mode 100644 (file)
index 0000000..15b736b
--- /dev/null
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=ocaml
+Name=OCaml
+GenericName=OCaml Toplevel
+Type=Application
+Terminal=true
+Icon=ocaml
+Categories=Development;ConsoleOnly;