From 39fb5fb9586e9974c2bf4772e18c86b07e3a4a41 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Fri, 1 May 2020 20:38:00 +0100 Subject: [PATCH] Install AppStream data as .metainfo.xml Following advice from https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 7c54977e..38a819a9 100755 --- a/setup.py +++ b/setup.py @@ -72,7 +72,7 @@ class BuildData(build): [file_data.write(line.lstrip('_')) for line in file_in] appdata_in='data/terminator.appdata.xml.in' - appdata_data='data/terminator.appdata.xml' + appdata_data='data/terminator.metainfo.xml' rc = os.system ("C_ALL=C " + INTLTOOL_MERGE + " -x -u -c " + TOP_BUILDDIR + "/po/.intltool-merge-cache " + TOP_BUILDDIR + "/po " + appdata_in + " " + appdata_data) @@ -206,8 +206,8 @@ setup(name=APP_NAME, license='GNU GPL v2', scripts=['terminator', 'remotinator'], data_files=[ - ('share/appdata', ['data/terminator.appdata.xml']), ('share/applications', ['data/terminator.desktop']), + ('share/metainfo', ['data/terminator.metainfo.xml']), (os.path.join(man_dir, 'man1'), ['doc/terminator.1']), (os.path.join(man_dir, 'man5'), ['doc/terminator_config.5']), ('share/pixmaps', ['data/icons/hicolor/48x48/apps/terminator.png']),