Feature added by: Cristian Morales Vega (RedDwarf) Feature #310621, revision 1 Title: Get rid of %suse_update_desktop_files openSUSE-11.4: Unconfirmed Priority Requester: Desirable Requested by: Cristian Morales Vega (reddwarf) Description: In less than a month we will have the openSUSE Conference 2010 with the motto "Collaboration across Borders". So I think it's a good time to fix this. The openSUSE Build Service is a great tool, and with mostly just some "Substitutes" you can have a single spec file, mostly without %if's, that will build in any RPM-based distro. Now in my experience one of the most problematic things is the %suse_update_desktop_files macro. That forces to add ugly "%if 0%{?suse_version}" to every package with a .desktop file. One would say openSUSE could just do as Fedora and use freedesktop's desktop-file-install, deprecating %suse_update_desktop_files. But it's my understanding %suse_update_desktop_files is also used, somehow, for translations. I would like to help here. But I don't thing there is much documentation about how translations/X-SuSE-translate/%suse_update_desktop_files exactly work (I have been packaging for some years now and have no idea). But, from my ignorance, I would say that if Fedora can we can also handle translations in a way that doesn't requires of that macro. I don't know, perhaps this can be solved through OBS's prjconf in a way that Fedora/Mandriva targets work even if the spec file uses %suse_update_desktop_files (redefining the macro to use desktop-file-install?) but I'm not sure if that's possible. Otherwise openSUSE should stop using that macro... Perhaps it will take years to fix all packages, but we should at least deprecate it and define a clear path of how this should be done from now. P.S. Any link explaining the translations/X-SuSE-translate/%suse_update_desktop_files is welcome. -- openSUSE Feature: https://features.opensuse.org/310621