Ran across the above URL, and checked it out on my system: sure enough, I no longer have an icon in my desktop menu for gtkam-0.1.16.1. It's not in any submenu. So I ran qlist gtkam, and it shows that the icons and .desktop entry should be present in the usual places: $ qlist gtkam [snip] /usr/share/applications/gtkam.desktop /usr/share/pixmaps/gtkam.png /usr/share/pixmaps/gtkam-camera.png So I investigated the .desktop file: it's almost completely invalid! It still looks for "gtkam-camera.png", which it's not allowed to do. You're not supposed to use file extensions in your .desktop entries. I ran the desktop file validation tool just to see what else is wrong: $ desktop-file-validate /usr/share/applications/gtkam.desktop warning: key "Encoding" in group "Desktop Entry" is deprecated error: file contains key "_Name" in group "Desktop Entry", but key names must contain only the characters A-Za-z0-9- (they may have a "[LOCALE]" postfix) error: file contains key "_Comment" in group "Desktop Entry", but key names must contain only the characters A-Za-z0-9- (they may have a "[LOCALE]" postfix) warning: value "gtkam-camera.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 error: required key "Name" in group "Desktop Entry" is not present * * * This needs a quick fix for Gentoo users, and probably a permanent upstream fix too. As it is, no one who has gtkam installed can actually use their program without resorting to the commandline! Thanks.
@nightmorph, if you want to fix it, you can go ahead.
(In reply to comment #1) > @nightmorph, if you want to fix it, you can go ahead. I don't have commit access to gentoo-x86; my perms are in other trees, so I need one of you to do it.
hum I thought I commented that patches will obviously be considered if you can't commit it yourself.
actually adding the keyword sounds sensible.
Created attachment 195630 [details, diff] gtkam.desktop.patch Fixes the errors reported by desktop-file-validate.
looks fine, let's get this merged
+ 09 Jul 2009; Gilles Dartiguelongue <eva@gentoo.org> -gtkam-0.1.14.ebuild, + -gtkam-0.1.15.ebuild, gtkam-0.1.16.1.ebuild, + +files/gtkam-0.1.16.1-desktop-validation.patch, -files/gtkam.png: + Fix validity of .desktop file, bug #271569. Clean up old revisions. +