
Hi, Le mercredi 14 décembre 2011, à 22:17 +0400, Ilya Chernykh a écrit :
On Wednesday 14 December 2011 20:18:22 Vincent Untz wrote:
Here's how to replace %suse_update_desktop_file options with it:
%suse_update_desktop_file -N <string> => desktop-file-edit --set-name <string> %suse_update_desktop_file -C <string> => desktop-file-edit --set-comment <string> %suse_update_desktop_file -G <string> => desktop-file-edit --set-generic-name <string> %suse_update_desktop_file <category> => desktop-file-edit --add-category=<category> %suse_update_desktop_file -r => desktop-file-edit --remove-key Categories %suse_update_desktop_file -u => desktop-file-edit --set-key NoDisplay --set-value true %suse_update_desktop_file -D <string> => desktop-file-edit --set-key DocPath --set-value <string> %suse_update_desktop_file -d <string> => desktop-file-edit --set-key X-SuSE-DocTeamID --set-value <string> %suse_update_desktop_file -i => desktop-file-install --dir %{buildroot}%{_datadir}/applications
Of course, you can combine all the options. I don't believe that -u and -D options are used often enough to be worth a specific desktop-file-edit option.
If there are people caring deeply about --create, I can add such an option too.
Is there anything else missing people would like to see before I do a release?
Is it possible to make a wrapper/aliases for the abovementioned correspondencies so not to rewrite all the specs?
There's no point in making a wrapper: just keep using %suse_update_desktop_file if this is what you prefer :-) 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