Summary: | desktop eclasses: make_desktop_entry doc improvement | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dominique Michel <dominique.c.michel> |
Component: | Eclasses | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://specifications.freedesktop.org/menu-spec/latest/apas02.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dominique Michel
2023-09-04 10:54:23 UTC
And I made a mistake. With the above desktop entry command, the QA notice is correct because I used ':' instead of ';' semicolums. But it is even worst with the use of make_desktop_entry zita-dc1 'zita-Dynamic Compressor 1' zita-dc1 AudioVideo;Audio;Engineering The result is * QA Notice: command not found: * * /var/tmp/portage/media-sound/zita-dc1-0.3.3/temp/environment: line 1621: Audio: command not found * /var/tmp/portage/media-sound/zita-dc1-0.3.3/temp/environment: line 1622: Engineering: command not found So, I try to put the cats in quotes and everythins is working fine: make_desktop_entry zita-dc1 'zita-Dynamic Compressor 1' zita-dc1 'AudioVideo;Audio;Engineering;' One solution can be to close that bug as invalid. Another solution would be to change it into a documentation improvement for https://devmanual.gentoo.org/eclass-reference/desktop.eclass/index.html and add an example like that one. AudioVideo;Audio;Engineering
these are separate commands, after ; it tries to execute Audio, then Engineering, not pass it to make_desktop_entry
You need to use quotes
For an example from app-emulation/ruffle:
> make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \
> "MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;"
(can leave out the mimetype part, just an example of what you can do)
|