[gnome-software: 14/15] build: Rename hardcoded_popular option to hardcoded_curated
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 14/15] build: Rename hardcoded_popular option to hardcoded_curated
- Date: Mon, 9 May 2022 13:09:05 +0000 (UTC)
commit 1934a3598f8b0e3a804e61908b447c022b786113
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed May 4 13:13:55 2022 +0100
build: Rename hardcoded_popular option to hardcoded_curated
To reflect changes in the underlying terminology in `GsAppQuery` and
`GsPluginJobListApps`.
This introduces no functional changes.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Helps: #1472
data/appdata/org.gnome.Software.appdata.xml.in | 4 ++++
data/assets/meson.build | 4 ++--
...{org.gnome.Software.Popular.xml => org.gnome.Software.Curated.xml} | 0
doc/vendor-customisation.md | 4 ++--
meson_options.txt | 2 +-
5 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/data/appdata/org.gnome.Software.appdata.xml.in b/data/appdata/org.gnome.Software.appdata.xml.in
index 4ebe901bf..4d5022c17 100644
--- a/data/appdata/org.gnome.Software.appdata.xml.in
+++ b/data/appdata/org.gnome.Software.appdata.xml.in
@@ -75,6 +75,10 @@
distribution vendors wishing to mark their apps as popular should
see `doc/vendor-customisation.md` for examples of how to do this now
</li>
+ <li>
+ The <code>hardcoded_popular</code> Meson option has been renamed to
+ <code>hardcoded_curated</code>.
+ </li>
</ul>
</description>
</release>
diff --git a/data/assets/meson.build b/data/assets/meson.build
index 956875fc2..ca2cfa1ab 100644
--- a/data/assets/meson.build
+++ b/data/assets/meson.build
@@ -4,8 +4,8 @@ if get_option('default_featured_apps')
)
endif
-if get_option('hardcoded_popular')
- install_data('org.gnome.Software.Popular.xml',
+if get_option('hardcoded_curated')
+ install_data('org.gnome.Software.Curated.xml',
install_dir : join_paths(get_option('datadir'), 'swcatalog', 'xml'),
)
endif
diff --git a/data/assets/org.gnome.Software.Popular.xml b/data/assets/org.gnome.Software.Curated.xml
similarity index 100%
rename from data/assets/org.gnome.Software.Popular.xml
rename to data/assets/org.gnome.Software.Curated.xml
diff --git a/doc/vendor-customisation.md b/doc/vendor-customisation.md
index fc9c869e5..856a9e683 100644
--- a/doc/vendor-customisation.md
+++ b/doc/vendor-customisation.md
@@ -173,10 +173,10 @@ GNOME Software ships a default list of featured applications, chosen to match
the [GNOME Circle](https://circle.gnome.org/). See
`data/assets/org.gnome.Software.Featured.xml` for this list, and for an example
of the metainfo XML needed to feature or highlight applications. See
-`data/assets/org.gnome.Software.Popular.xml` for a default hard-coded list of
+`data/assets/org.gnome.Software.Curated.xml` for a default hard-coded list of
curated high quality applications, which is displayed in the “Editor’s Choice”
section of the overview page.
Pass `-Ddefault_featured_apps=false` when configuring GNOME Software to disable
-the default list of featured applications. Pass `-Dhardcoded_popular=false` to
+the default list of featured applications. Pass `-Dhardcoded_curated=false` to
disable the default list of “Editor’s Choice” applications.
diff --git a/meson_options.txt b/meson_options.txt
index 57658e2fe..35d426ee1 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -15,7 +15,7 @@ option('snap', type : 'boolean', value : false, description : 'enable Snap suppo
option('external_appstream', type : 'boolean', value : false, description : 'enable external AppStream
support')
option('valgrind', type : 'boolean', value : true, description : 'enable Valgrind debugging integration')
option('gtk_doc', type : 'boolean', value : true, description : 'enable API reference')
-option('hardcoded_popular', type : 'boolean', value : true, description : 'enable installation of default
popular apps list')
+option('hardcoded_curated', type : 'boolean', value : true, description : 'enable installation of default
curated apps list')
option('default_featured_apps', type : 'boolean', value : true, description : 'enable installation of
default featured apps list')
option('mogwai', type : 'boolean', value : false, description : 'enable metered data support using Mogwai')
option('sysprof', type : 'feature', value : 'auto', description : 'enable sysprof-capture support for
profiling')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]