desktop-file-install

Todd Zullinger tmz at pobox.com
Sun Aug 26 05:01:23 UTC 2007


KH KH wrote:
> You shouldn't use desktop-validate from within your spec file
> because it will output rationnal (that's it's aim actually)...
> Instead, you have to follow the guideline and still uses:
> http://fedoraproject.org/wiki/Packaging/Guidelines
>
> desktop-file-install --vendor=""                      \
>  --delete-original                                    \
>  --dir=%{buildroot}%{_datadir}/applications           \
>  %{buildroot}/%{_datadir}/applications/foo.desktop

Actually, it's not --vendor="", it's --vendor="<vendor_id>", with the
explanation of vendor_id just below the examples:

    * If upstream uses <vendor_id>, leave it intact, otherwise use
      fedora as <vendor_id>.
    
    * It is important that vendor_id stay constant for the life of a
      package. 

  This is mostly for the sake of menu-editing (which bases off of
  .desktop file/path names).

I've seen a few reviewers telling people not to use vendor, which I
tend to think is being confused with the Vendor: specfile tag.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Experience is not what happens to a man. It is what a man does with
what happens to him.
    -- Aldous Huxley

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070826/59e70134/attachment.sig>


More information about the fedora-devel-list mailing list