Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185869 - mail-client/mozilla-{firefox,thunderbird} - desktop files don't match FDO specs
Summary: mail-client/mozilla-{firefox,thunderbird} - desktop files don't match FDO specs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-19 14:13 UTC by Bugs Bunny
Modified: 2007-07-25 17:55 UTC (History)
1 user (show)

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 Bugs Bunny 2007-07-19 14:13:00 UTC
The desktop file is inconsistent and should use Categories=Application;Office; instead of Categories=Application;Network; this can be confusing for people moving away from another distro and moving to gentoo.

Reproducible: Always
Comment 1 Bugs Bunny 2007-07-19 14:15:49 UTC
I should note that both desktop files are incorrect.

[09:14:15][Thu Jul 19]
[anarchy - icon]  cat mozilla-thunderbird.desktop 
[Desktop Entry]
Name=Mozilla Thunderbird
Comment=Mail & News Reader
Exec=/usr/bin/thunderbird
Icon=thunderbird-icon.png
Terminal=false
Type=Application
Categories=Application;Network;
[09:14:19][Thu Jul 19]
[anarchy - icon]  cat mozilla-thunderbird-unbranded.desktop 
[Desktop Entry]
Name=Mozilla Thunderbird
Comment=Mail & News Reader
Exec=/usr/bin/thunderbird
Icon=thunderbird-icon-unbranded.png
Terminal=false
Type=Application
Categories=Application;Network;
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-19 14:23:02 UTC
# desktop-file-validate /usr/share/applications/mozilla-thunderbird.desktop

/usr/share/applications/mozilla-thunderbird.desktop: error: required key "Encoding" not found
/usr/share/applications/mozilla-thunderbird.desktop: warning: The 'Application' category is not defined by the desktop entry specification.  Please use one of "AudioVideo", "Audio", "Video", "Development", "Education", "Game", "Graphics", "Network", "Office", "Settings", "System", "Utility" instead

Application is not a valid category, so no, it should be something like Categories=Office;Email; instead [1] w/ Encoding=UTF-8 added. Regardless, how's it confusing in Network I fail to see.

[1] http://standards.freedesktop.org/menu-spec/latest/apa.html
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-07-19 14:47:38 UTC
(In reply to comment #2)
> /usr/share/applications/mozilla-thunderbird.desktop: error: required key
> "Encoding" not found

> w/ Encoding=UTF-8 added.

No. See bug 181999.
Comment 4 subs 2007-07-21 00:13:38 UTC
The seamonkey update has caused a missing icon in the gnome menu. I believe the ebuild is incorrect so I am not sure if this should go here. Notice the changes between seamonkey-1.1.2 & 1.1.3:

1.1.3:

        # Install icon and .desktop for menu entry
        doicon ${FILESDIR}/icon/${PN}-icon.png
        domenu ${FILESDIR}/icon/${PN}.desktop

1.1.2:

        # Install icon and .desktop for menu entry
        doins ${FILESDIR}/icon/${PN}.png
        doins ${FILESDIR}/icon/${PN}.desktop
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-07-25 17:55:26 UTC
All mozilla products fixed, closing.