Bug 22521 - sirius - broken menu (missing secondary category)
Summary: sirius - broken menu (missing secondary category)
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: sirius (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Ilya Mashkin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-13 20:57 MSK by viy
Modified: 2009-12-28 22:32 MSK (History)
0 users

See Also:


Attachments
patch (351 bytes, patch)
2009-12-13 20:57 MSK, viy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description viy 2009-12-13 20:57:19 MSK
Created attachment 4120 [details]
patch

меню файл надо бы удалить, 
а sirius.desktop файл починить согласно приложенному патчу.

надо у нас починить и скопировать починенный пакет в 5.1

Я письмо в upstream написал:
Dear Henrik,
let me submit a patch for the sirius.desktop

--- sirius.desktop.in~  2003-02-17 21:33:04 +0200
+++ sirius.desktop.in   2009-12-13 19:46:33 +0200
@@ -1,9 +1,8 @@
 [Desktop Entry]
-Encoding=UTF-8
 _Name=Sirius
 _Comment=Sirius, a othello playing program
 Exec=sirius
-Icon=sirius.png
+Icon=sirius
 Terminal=false
 Type=Application
-Categories=GNOME;Application;Game;
+Categories=GNOME;Game;BoardGame;

The most essential part there is an addition of BoardGame;
subcategory according to
http://standards.freedesktop.org/menu-spec/latest/apa.html

in my case it fixes placement of sirius in BoardGames submenu
of Games menu.

the rest of patch is due to the warnings issued by
desktop-file-validate utility.

$ desktop-file-validate sirius.desktop
sirius.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
sirius.desktop: warning: value "sirius.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described
+in the Icon Theme Specification if the value is not an absolute path
sirius.desktop: warning: value "GNOME;Application;Game;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"
Comment 1 Repository Robot 2009-12-27 03:54:32 MSK
sirius-0.8.0-alt2 -> sisyphus:

* Sun Dec 27 2009 Ilya Mashkin <oddity@altlinux> 0.8.0-alt2

- fix requires
- remove menu file
- fix desktop file (Closes: #22521)
Comment 2 viy 2009-12-28 22:32:40 MSK
спасибо!