[Bug 519071] Review Request: wiipresent - Giving presentations (or control applications) with your Wiimote

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 28 22:39:01 UTC 2009


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 <christoph.wickert at googlemail.com>  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.




More information about the Fedora-package-review mailing list