Jason L Tibbitts III wrote:
For some reason that confuses me a bit. The first line after the
example says "we're going to talk about --vendor in the context of the
menu spec", then the first item says not to use --vendor at all and
the second item talks about KDE and --dir.
Plus, I'm not sure how I'm supposed to know if the upstream provides
vendor_id.
OK, I updated the draft to include 2 examples, one
using --vendor=<vendor_id> the other using
--dir=%buildroot%_datadir/applications/<vendor_id> --vendor=""
and included language from the spec describing the difference (hopefully):
-------------------
To prevent that a desktop entry from one party inadvertently cancels out the
desktop entry from another party because both happen to get the same
desktop-file id it is recommended that providers of desktop-files ensure
that all desktop-file ids start with a vendor prefix... Please namespace
the filename, as in "vendor-foo.desktop", or use a subdirectory of
datadir/applications/ so you have "vendor/foo.desktop"...
-----------------
-- Rex