Package: ocaml-interp Severity: wishlist Tags: patch Hi,
as result of bug #741573 (i.e. the CTTE resolution on menu systems), Debian is migrating away from the Debian menu, in favour of the FreeDesktop/XDG menu. While the current menu file does not violate Policy ยง9.6, since there is no desktop file installed as well, IMHO it would be a better idea to migrate to a desktop menu. Attached there is a Git commit on top of the current debian/experimental branch to do this conversion. Thanks, -- Pino
>From 9d6a32a7291fa4e56a07ff00a2c0f36674efbd6f Mon Sep 17 00:00:00 2001 From: Pino Toscano <p...@debian.org> Date: Sun, 13 Aug 2017 12:35:55 +0200 Subject: [PATCH] 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(-) delete mode 100644 debian/ocaml-interp.menu create mode 100644 debian/ocaml.desktop diff --git a/debian/changelog b/debian/changelog index af1bb881..ad259e50 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 <infini...@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 badda65e..4da08081 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 04be7987..00000000 --- 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 00000000..15b736b1 --- /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; -- 2.14.1