Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285922 - www-client/chromium and chromium-bin: invalid .desktop entry
Summary: www-client/chromium and chromium-bin: invalid .desktop entry
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 09:38 UTC by nm (RETIRED)
Modified: 2009-09-22 12:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nm (RETIRED) gentoo-dev 2009-09-22 09:38:05 UTC
Both chromium and chromium bin create and invalid bit of code when make_desktop_entry is called at the end of their ebuilds.

Instead of specifying ${PN}-whatever.png, leave off the extension .png. This must be changed, otherwise the generated .desktop file is invalid and there's a good chance that the icon won't show up in your menu.

Check it with desktop-file-validate: although eutils.eclass does this, it doesn't die, and instead only prints an error. This is a problem because on Xfce at least, 7/10 applications won't show up in the menu if their .desktop entries are at all invalid, especially their icon info.

So just punt the .png from make_desktop_entry, and you'll be all set.
Comment 1 Bernard Cafarelli gentoo-dev 2009-09-22 12:09:30 UTC
Sorry, they worked in my xfce desktop, so I did not see this validity problem

Fixed for both chromium and chromium-bin!