new file mode 100644
@@ -0,0 +1,5 @@
+BB_CONF_FRAGMENT_SUMMARY = "Ship GNOME help files"
+BB_CONF_FRAGMENT_DESCRIPTION = "Enables the helpfiles DISTRO_FEATURE, so recipes inheriting gnome-help keep their help files, and installs the *-help-<lingua> packages for each IMAGE_LINGUAS entry in images."
+
+DISTRO_FEATURES:append = " helpfiles"
+IMAGE_LINGUAS_COMPLEMENTARY:append = " *-help-%s"
@@ -7,9 +7,6 @@ LAYERVERSION = "1"
LAYERSERIES_COMPAT = "garburn"
LAYERDEPENDS = "oe-core meta-oe meta-oe-networking meta-oe-python"
-# auto-pack gnome help files
-IMAGE_LINGUAS_COMPLEMENTARY:append = " ${@bb.utils.contains('DISTRO_FEATURES','helpfiles','*-help-%s','',d)}"
-
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\
faenza-icon-theme->gdk-pixbuf \
faenza-icon-theme->gtk+3 \
With the new layer format, layer.conf only passes a few variable prefixes to the global configuration, so the IMAGE_LINGUAS_COMPLEMENTARY append there is ignored and bitbake warns on every parse: Variable IMAGE_LINGUAS_COMPLEMENTARY is set by meta-gnome but will be ignored. Images therefore no longer pick up the *-help-<lingua> packages when the helpfiles DISTRO_FEATURE is set. The variable is read while building an image, so layervars.conf, which only applies to this layer's recipes, does not help either. Add a helpfiles fragment that sets both the helpfiles DISTRO_FEATURE and the complementary glob, the way the layer migration suggests for optional layer configuration. Enable it with bitbake-config-build enable-fragment meta-oe-gnome/helpfiles Distros that set helpfiles directly need to add IMAGE_LINGUAS_COMPLEMENTARY:append = " *-help-%s" themselves. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- meta-gnome/conf/fragments/helpfiles.conf | 5 +++++ meta-gnome/conf/layer.conf | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 meta-gnome/conf/fragments/helpfiles.conf