Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=519071





--- Comment #3 from Christoph Wickert <[email protected]>  
2009-08-28 18:39:00 EDT ---
One more thing....

The desktop file contains:

Categories=Application;Office;X-Red-Hat-Base;
...
GenericName=Written by Dag Wieers and Geerd-Dietger Hoffmann

"Application" no longer is a valid category, see
http://standards.freedesktop.org/menu-spec/latest/apa.html
"X-Red-Hat-Base" is obsolete, too.
The last one is an abuse of the GenericName tag that doesn't make any sense.
You could do this with desktop-file-install (instead of desktop-file-validate):

desktop-file-install                                    \
--remove-category="Application"                         \
--remove-category="X-Red-Hat-Base"                      \
--copy-name-to-generic-name                             \
--delete-original                                       \
--dir=%{buildroot}%{_datadir}/applications              \
%{buildroot}/%{_datadir}/applications/wiipresent.desktop

Instead of --copy-name-to-generic-name you can also use
--remove-key=GenericName.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/fedora-package-review

Reply via email to