Hi, Le mercredi 14 décembre 2011, à 10:12 +0100, Stephan Kulow a écrit :
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.
That's great news!
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.
If people are using %suse_update_desktop_file to edit the .desktop file, I recommend to look at using desktop-file-install instead (in desktop-file-utils). It doesn't provide all the options of %suse_update_desktop_file yet, but I can add what is needed. This would move us closer to what other distros do.
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.
We can move that to desktop-file-utils if it helps. Cheers, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org