From patchwork Thu Dec 3 07:52:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107091 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9399.1796284352032590301 for ; Wed, 02 Dec 2026 23:52:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=OK2GVEAg; spf=pass (domain: gmail.com, ip: 209.85.214.178, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-2f11330e550so36183535ad.0 for ; Wed, 02 Dec 2026 23:52:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796284351; x=1796889151; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=pYs64Jx6m96K8bWI1QZQv6xwwQMIMVNaP/iT3khHGlc=; b=OK2GVEAgkfuEwPJjFCHi4x6t7nRA+jG/IV+OicmF90z7RKG8KGE1E29itGmG2Z0f4z STT8kXGsSv/LPNYLl87fx3lqh6ZphT974uMxmT3KmFTsLDOSTTb1Y+Sr8VpDs3ojFQ0B A5fp5zX/k55GREpz0GSjiefx9k4KtOP9nVXlwk3vgJVODh5CRy6wHVQoI292vP7Rou40 GkK2wJzUr6A2p3JeEAsP1kLuplXpTO9OBM+zrqNDt+qdjkK/ZZE2Z0rJbJWKONEZMw4u jLDA8EpevHiEPp6viZTMq3i+odGoRL068hAoneGerFNRFciXsJOEAk83nfm6MWWzkc2a 2arQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796284351; x=1796889151; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=pYs64Jx6m96K8bWI1QZQv6xwwQMIMVNaP/iT3khHGlc=; b=t4t9fmzKPz0pSfPANmAIitu7SB/UWLq7BRkJwxvGskkrwheiigbM9exuUj0LObsRA5 0QGY507tJ04Z0cq5Bd7b+I+jd11dqFGdaiyq2p1prd9AreUzqmrG2t3ANZ6ysdl6qYij MyiD2JLMLLrVB24oTfmMkmLuZ78pzNf6bs5VK3vbYpWx5Xqv+4vAt1xyJhdFEBLRoI5w E0Cl1QDygOyT5dNuP/kt2mNLZnkGC+S7m+5TiusnDyPCc0WDz6vkUuRTKFb/eAP3jS23 sK/4yBnbEs5LnYntCQO2nIU5obB19DGYxnT4Gz3o0rAWvSitO+I+grmNvL758kWU/KD6 MwgQ== X-Gm-Message-State: APuU4Z9Pw45lLS1ekKviE+EB8GIV/sVOped8s1EYG3XKUXcGMjySym9O OzcXe771ad+5OFKoQ0/j7LIzFSUK9RfoEd7Bws9EsMdXOiVOUz6+8nj/C65mdUgL X-Gm-Gg: AZFdTZezKa/b2Nya1lyX6swHam9YU/Q8sUORqbb737+BSbDuV87QiOMSFn7DO7eghvx q7kjAUDEeY1G/7RJKs874dfAmAYPepO98VRKL5+HVWEC98rl3MXFvJ2QAdgwPE7Q0gJg6K6nKFb 9NduRPADhoMeer7EGfBmdzkjk1brucYQ9q7l/m5vAHnh+dVGt+OMdFxqKiae3VOhq606xVZvENZ BN62O8D3fC4rLZK8KhCqD1ZUcBNgseOJ1txroiEix4Wpjoj4rvSIPKUjFJ3MpJ7pIvb3QO6Zf01 bJChBm1Qbr9T0o3zHxrtg9KK38v405RrYavphR70nf4wUAFG2Zp1UTqL2VGIu3obTXVpW+xXlgH MJ4bujLBl7BYzR95grttoPVqXs/eTNOafLEnoY6ng+zlwvxvDZ7s1BIiipk1srJH2z19YkWEje3 dbJLzIaMXxO6cOHf57E+Y11nk4v38SonsPJOSIDXe1W+q9r6suOACgayICt7OTlZvl0UgXbRGQ3 91q94PwsytTgv1Re4texJrKCxx7G2wmQDuBX2TphgSXCEFNzmR2ldwp3DKKofZVJT52XTcocykY yAMAn/ATODVBtJT01651OzRYippI6ZdDmDAHT71wejSUbFZNkJNATyaSPBJGq20Ro3kCojlkcCx JC7SUlwaZ8K04Xz0xLf1LBefZ7uwOIEyjPjnIUuB/qm4K/D8yaMkYu4JKVuNp3R/PVSHQyRUgTw 2duR1Mga9LEL2O01ZNOwc5VHko46IVtOwOR7O1rGfNySd5neRCjCiMNKxpVWnjspiTUhg8m51jZ ElDgqsuUBbpHr+EuxbYgs9CvcwlKG5BovzWYthenL6AX7J/+Z7LIsECTjSxCB2buwgTJDXhYjwF Tjni X-Received: by 2002:a17:902:e847:b0:2ef:e28e:8f17 with SMTP id d9443c01a7336-2f03f1dfb9emr436212815ad.49.1796284351355; Wed, 02 Dec 2026 23:52:31 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f04a49cfffsm206819435ad.46.2026.12.02.23.52.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 23:52:30 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-gnome][PATCH 2/2] meta-gnome: Move the help files setup to a configuration fragment Date: Wed, 2 Dec 2026 23:52:27 -0800 Message-ID: <20261203075227.3404641-3-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261203075227.3404641-1-khem.raj@oss.qualcomm.com> References: <20261203075227.3404641-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Thu, 03 Dec 2026 07:52:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133885 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- 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 --- 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 diff --git a/meta-gnome/conf/fragments/helpfiles.conf b/meta-gnome/conf/fragments/helpfiles.conf new file mode 100644 index 0000000000..88bda94a6f --- /dev/null +++ b/meta-gnome/conf/fragments/helpfiles.conf @@ -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- packages for each IMAGE_LINGUAS entry in images." + +DISTRO_FEATURES:append = " helpfiles" +IMAGE_LINGUAS_COMPLEMENTARY:append = " *-help-%s" diff --git a/meta-gnome/conf/layer.conf b/meta-gnome/conf/layer.conf index 4230f61987..32c0de4f4f 100644 --- a/meta-gnome/conf/layer.conf +++ b/meta-gnome/conf/layer.conf @@ -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 \