D23306: Add AppStream metadata file

Matthias Klumpp noreply at phabricator.kde.org
Tue Aug 20 20:58:36 BST 2019


mak added a comment.


  @ngraham
  
  > Alternative to D23302 <https://phabricator.kde.org/D23302>. According to the AppStream documentation (https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html),
  >  adding an AppStream metadata file with multiple launchable tags will prevent AppStream
  >  info generators from parsing desktop files to determine metadata,
  
  I don't think this will do what you intend. What will actually happen here is that an AppStream generator will not *merge* in data from any of the desktop files into the final metadata collection, only being limited to what is in the .desktop file. Having the two `launchable` tags though will make software centers ask the user which app they want to launch if they click on the "Launch" button in a software center, which in this case are both identical.
  
  If you just want to hide a .desktop file from being processed by AppStream, there is a much simpler solution: Just add `X-AppStream-Ignore=true` to the .desktop file in question, and it will be hidden (unless it is referenced in a metainfo file of course, in which case it may still be used as data source for that metainfo file).

REPOSITORY
  R124 System Settings

REVISION DETAIL
  https://phabricator.kde.org/D23306

To: ngraham, apol, mak, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190820/90458eb2/attachment.html>


More information about the Plasma-devel mailing list