[Pkg-ocaml-maint-commits] [ocaml] 01/02: Convert the menu file to a desktop file

Ximin Luo infinity0 at debian.org
Wed Aug 16 12:11:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian/experimental
in repository ocaml.

commit e9fd7e652666fc1ad4de3f1c5ff40978c77bc3f5
Author: Pino Toscano <pino at debian.org>
Date:   Sun Aug 13 12:35:55 2017 +0200

    Convert the menu file to a desktop file
---
 debian/changelog               | 3 +++
 debian/ocaml-interp.install.in | 1 +
 debian/ocaml-interp.menu       | 5 -----
 debian/ocaml.desktop           | 8 ++++++++
 4 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index af1bb88..ad259e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 at debian.org>  Wed, 09 Aug 2017 14:59:56 +0200
 
 ocaml (4.05.0-7) experimental; urgency=medium
diff --git a/debian/ocaml-interp.install.in b/debian/ocaml-interp.install.in
index badda65..4da0808 100644
--- a/debian/ocaml-interp.install.in
+++ b/debian/ocaml-interp.install.in
@@ -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
index 04be798..0000000
--- a/debian/ocaml-interp.menu
+++ /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
index 0000000..15b736b
--- /dev/null
+++ b/debian/ocaml.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=ocaml
+Name=OCaml
+GenericName=OCaml Toplevel
+Type=Application
+Terminal=true
+Icon=ocaml
+Categories=Development;ConsoleOnly;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml.git



More information about the Pkg-ocaml-maint-commits mailing list