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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>  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
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]