Re: desktop-file-install

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

 



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: pgpFFHXlFsr4D.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux