[short answer:  Users can remove the electronics menu by removing the
extra-xdg-menus
package or by the "exmenen" and "exmendis" commands. See long explanation below]


Thanks for testing and bringing this up.

This is actually a more complicated bug then it seems at first.

Debian's menu items must conform to the freedesktop.org specification
[1], which requires that a program be included in one of the following
main categories [2]:

AudioVideo      A multimedia (audio/video) application  
Audio   An audio application    Desktop entry must include AudioVideo as well
Video   A video application     Desktop entry must include AudioVideo as well
Development     An application for development  
Education       Educational software    
Game    A game  
Graphics        Graphical application   
Network Network application such as a web browser       
Office  An office type application      
Settings        Settings applications   Entries may appear in a separate menu
or as part of a "Control Center"
System  System application, "System Tools" such as say a log viewer or
network monitor
Utility Small utility application, "Accessories"



Engineering/Electronics applications don't really fit
in any of those, and this is a "known bug" of the freedesktop
specification [3]. The Debian electronics packaging team came up with
their own solution [4-5]:

""Engineering;Electronics;" are used as application categories, they
_are_ non-standard, but categories such as (Education and Science) are
completely inappropriate for the engineering applications maintained
by the team.
.
This course of action does cause lintian to give
desktop-entry-lacks-main-category warnings, and those warnings are
ignored.
.
Also, extra-xdg-menus is to be added to the Recommends field (in
debian/control) to provide menu categories for Electronics
applications."

However, discussions with DDs outside of the team found this to be
sub-optimal since (1) if it isn't a bug then lintian should be fixed
so that we aren't just ignoring a warning in every package we maintain
and (2) if you remove extra-xdg-menus (which is possible since it is
only a "Recommends") you get a blank spot (or a question mark icon in
Ubuntu derivatives) in the menu tree that will hold eagle.

So, for now, we have to choose one of the above list of categories
(right now it is "Development"). We are also listing it as
Engineering;Electronics; and "Recommends" the extra-xdg-menus package
so users get the "Electronics" menu where it makes sense for them to
find it.


[1] http://lintian.debian.org/tags/desktop-entry-lacks-main-category.html
[2] http://standards.freedesktop.org/menu-spec/1.0/apa.html
[3] http://lists.freedesktop.org/archives/xdg/2009-October/011086.html
[4] 
http://lists.alioth.debian.org/pipermail/pkg-electronics-devel/2009-November/001282.html
[5] http://wiki.debian.org/PkgElectronics



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to