* Stephan Kulow <coolo@suse.de> [2011-12-14 10:12]:
Hi,
Over the last couple of days I reworked update-desktop-files not to rely on an explicit %suse_update_desktop_file call. Instead Factory will have an additional brp script that trims the translations from .desktop files.
So: if you can live with an rpmlint warning on older distributions (I submited a rpmlint with the warning gone for factory), you can skip the macro now if you call it without options.
The most useful option of the macro should be the -n option now, as this one will mark the .desktop file with translate=false, which then also skips the trimming.
There is one problem with removing the buildrequires on update-desktop-files though: this package includes rpm provide triggers for mimehandler(), so don't remove the buildrequire if you have MimeType= in your .desktop file. Or we move that triggers to a package always installed in factory.
The macro also has some other very useful functions, it allows one to replace the name, generic name, or all categories without the need add and maintain patches. I also find the ability to generate desktop files from scratch convenient and compact though it is less important. Since desktop-file-install currently is not able to do any of that I don't think it is a good idea to obsolete %suse_update_desktop_file. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org