Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: grem on March 16, 2020, 06:21:11 am

Title: Legacy path: /usr/share/appdata/ deprecation
Post by: grem on March 16, 2020, 06:21:11 am
As stated on freedesktop.org site (https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent):
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.
Title: Re: Legacy path: /usr/share/appdata/ deprecation
Post by: oBFusCATed on March 16, 2020, 09:18:34 am
Patches welcome.
Title: Re: Legacy path: /usr/share/appdata/ deprecation
Post by: grem on March 16, 2020, 11:50:59 am
Mentioned patch in attachment.