[gnome-tour/mcatanzaro/remove-metainfo] Remove metainfo file




commit 5234c2e43b5526a6408a818d7846ac52b955937a
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Nov 24 12:55:19 2020 -0600

    Remove metainfo file
    
    Tour is not an app because it has NoDisplay=true in its desktop file.
    Therefore, it should not install appstream metainfo. This could be
    brought back in the future if the desktop file is made visible.
    
    See discussion in:
    
    https://gitlab.gnome.org/GNOME/gnome-software/-/issues/445

 data/meson.build                       | 25 --------------------
 data/org.gnome.Tour.metainfo.xml.in.in | 42 ----------------------------------
 2 files changed, 67 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index d71b4a3..6752644 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -25,31 +25,6 @@ if desktop_file_validate.found()
   )
 endif
 
-# Appdata
-appdata_conf = configuration_data()
-appdata_conf.set('app-id', application_id)
-appdata_conf.set('gettext-package', gettext_package)
-appdata_file = i18n.merge_file (
-  input: configure_file(
-    input: '@0  metainfo xml in in'.format(base_id),
-    output: '@BASENAME@',
-    configuration: appdata_conf
-  ),
-  output: '@0  metainfo xml'.format(application_id),
-  po_dir: podir,
-  install: true,
-  install_dir: datadir / 'metainfo'
-)
-# Validate Appdata
-if appstream_util.found()
-  test(
-    'validate-appdata', appstream_util,
-    args: [
-      'validate', '--nonet', appdata_file.full_path()
-    ]
-  )
-endif
-
 # Resources
 resources = gnome.compile_resources(
   'resources',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]