Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started 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):
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.
-
Patches welcome.
-
Mentioned patch in attachment.