[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: desktop-file-install



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

Attachment: pgpk6i74jJcA5.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]