From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions
Date: Thu, 17 Sep 2026 23:24:34 +0200 [thread overview]
Message-ID: <20260917212435.93696-2-jaipaul.cheernam@est.tech> (raw)
In-Reply-To: <20260917212435.93696-1-jaipaul.cheernam@est.tech>
gnome_verdir() stripped the last version component, so four-component
versions broke: libsecret 0.21.8.2 resolved to 0.21.8/ instead of 0.21/,
causing a fetch 404. Use the first two components instead, which is
unchanged for existing recipes.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
Changes since v1: shorten commit message and code comment; no functional change.
meta/classes-recipe/gnomebase.bbclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/classes-recipe/gnomebase.bbclass b/meta/classes-recipe/gnomebase.bbclass
index 57933dda71a..9715e90f165 100644
--- a/meta/classes-recipe/gnomebase.bbclass
+++ b/meta/classes-recipe/gnomebase.bbclass
@@ -5,7 +5,9 @@
#
def gnome_verdir(v):
- return ".".join(v.split(".")[:-1]) or v
+ # GNOME dirs use the first two version components, e.g. 0.21.8.2 -> 0.21
+ parts = v.split(".")
+ return ".".join(parts[:2] if len(parts) >= 3 else parts[:-1]) or v
GNOME_COMPRESS_TYPE ?= "xz"
next prev parent reply other threads:[~2026-09-17 21:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-17 7:49 [PATCH 0/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam
2026-09-17 7:49 ` [PATCH 1/2] gnomebase: fix gnome_verdir for four-component versions Jaipaul Cheernam
2026-09-17 7:49 ` [PATCH 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam
2026-09-17 20:07 ` [OE-core] " Richard Purdie
2026-09-17 21:19 ` Jaipaul Cheernam
2026-09-17 21:24 ` [PATCH v2 0/2] libsecret: upgrade to 0.21.8.2 and fix gnomebase verdir Jaipaul Cheernam
2026-09-17 21:24 ` Jaipaul Cheernam [this message]
2026-09-19 2:11 ` [OE-core] [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions Tim Orling
2026-09-23 14:05 ` Ross Burton
2026-09-23 14:21 ` Ross Burton
2026-09-23 14:42 ` Ross Burton
2026-09-23 14:45 ` Jaipaul Cheernam
2026-09-17 21:24 ` [PATCH v2 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260917212435.93696-2-jaipaul.cheernam@est.tech \
--to=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox