From dfff65bf050cb39ee77781cc2cd760ca1f496e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 31 Jan 2024 02:43:56 +0100 Subject: [PATCH] extensions-app: Fix app ID in .Devel metainfo The ID is currently hard-coded to the non-development one, with the result that the .Devel app effectively doesn't have any metainfo. Fix that by configuring the file with the correct ID. Part-of: --- subprojects/extensions-app/data/metainfo/meson.build | 6 +++++- .../data/metainfo/org.gnome.Extensions.metainfo.xml.in | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/subprojects/extensions-app/data/metainfo/meson.build b/subprojects/extensions-app/data/metainfo/meson.build index df56b80d2..a7a823034 100644 --- a/subprojects/extensions-app/data/metainfo/meson.build +++ b/subprojects/extensions-app/data/metainfo/meson.build @@ -1,6 +1,10 @@ metainfo = app_id + '.metainfo.xml' i18n.merge_file( - input: base_id + '.metainfo.xml.in', + input: configure_file( + input: base_id + '.metainfo.xml.in', + output: app_id + '.metainfo.xml.in', + configuration: {'app_id': app_id}, + ), output: metainfo, po_dir: po_dir, install: true, diff --git a/subprojects/extensions-app/data/metainfo/org.gnome.Extensions.metainfo.xml.in b/subprojects/extensions-app/data/metainfo/org.gnome.Extensions.metainfo.xml.in index 2d5a69269..1e7b219e4 100644 --- a/subprojects/extensions-app/data/metainfo/org.gnome.Extensions.metainfo.xml.in +++ b/subprojects/extensions-app/data/metainfo/org.gnome.Extensions.metainfo.xml.in @@ -1,6 +1,6 @@ - org.gnome.Extensions + @app_id@ Extensions Manage your GNOME Extensions @@ -22,7 +22,7 @@ gnome-extensions-app - org.gnome.Extensions.desktop + @app_id@.desktop HiDpiIcon