Author Topic: Legacy path: /usr/share/appdata/ deprecation  (Read 862 times)

Offline grem

  • Multiple posting newcomer
  • *
  • Posts: 17
Legacy path: /usr/share/appdata/ deprecation
« on: March 16, 2020, 06:21:11 am »
As stated on freedesktop.org site:
Quote
Legacy Path
AppStream tools scan the /usr/share/appdata/ path for legacy compatibility as well. It should not be used anymore by new software though, even on older Linux distributions (like RHEL 7 and Ubuntu 16.04 LTS) the metainfo path is well supported. Support for the legacy path will likely be dropped completely with a future AppStream 1.0 release.

i.e. /usr/share/metainfo should be used instead by new software.

Therefore 'appdatadir = $(datarootdir)/appdata' in 'Makefile.am' and  in 'src/plugins/contrib/appdata/Makefile.am' should be 'appdatadir = $(datarootdir)/metainfo' instead.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12911
    • Travis build status
Re: Legacy path: /usr/share/appdata/ deprecation
« Reply #1 on: March 16, 2020, 09:18:34 am »
Patches welcome.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline grem

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Legacy path: /usr/share/appdata/ deprecation
« Reply #2 on: March 16, 2020, 11:50:59 am »
Mentioned patch in attachment.