[GRASS-dev] [GRASS GIS] #2777: Drop menu file in favor of desktop file

GRASS GIS trac at osgeo.org
Thu Oct 22 15:05:15 PDT 2015


#2777: Drop menu file in favor of desktop file
-------------------------+-------------------------
 Reporter:  sebastic     |      Owner:  grass-dev@…
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  7.0.2
Component:  Packaging    |    Version:  svn-trunk
 Keywords:               |        CPU:  All
 Platform:  Linux        |
-------------------------+-------------------------
 The menu files are no longer required for the Debian packages since
 [https://lists.debian.org/debian-devel-announce/2015/09/msg00000.html CTTE
 #741573 - Debian Menu System] which advised:

 > In addition to those changes, the Technical Committee resolves that
 > packages providing a .desktop file shall not also provide a menu file
 > for the same application.

 In the attached patch the menu file and its associated XPM icon are
 removed, leaving the desktop file and its associated PNG icons in its
 place.

 The PNG icons are installed in the hicolor theme following the
 [http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-
 latest.html#install_icons Icon Theme Specification]:

 > So, you're an application author, and want to install application icons
 > so that they work in the KDE and Gnome menus. Minimally you should
 install
 > a 48x48 icon in the hicolor theme. This means installing a PNG file in
 > $prefix/share/icons/hicolor/48x48/apps. Optionally you can install icons
 > in different sizes. For example, installing a svg icon in
 > $prefix/share/icons/hicolor/scalable/apps means most desktops will have
 > one icon that works for all sizes. You might even want to install icons
 > with a look that matches other well known themes so your application
 will
 > fit in with some specific desktop environment.

 The SVG icon
 ([https://grass.osgeo.org/uploads/images/logo/grasslogo_vector.svg
 grasslogo_vector.svg]) is also installed to have an icon for all size
 besides 48x48 & 64x64.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2777>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list