diff mbox series

gcr: remove now-redundant gnome_verdir() replacement

Message ID 20260925115848.1858665-1-ross.burton@arm.com
State New
Headers show
Series gcr: remove now-redundant gnome_verdir() replacement | expand

Commit Message

Ross Burton Sept. 25, 2026, 11:58 a.m. UTC
This recipe was the first inheriting gnomebase to have a four-part
version, and worked around the broken logic in gnome_verdir() in the
recipe instead of fixing gnomebase.

Now that gnomebase has been fixed[1], this replacement is not needed.

[1] oe-core 6daf319364d ("classes/gnomebase: improve gnome_verdir() logic")

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-gnome/gcr/gcr_4.4.1.bb | 9 ---------
 1 file changed, 9 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-gnome/gcr/gcr_4.4.1.bb b/meta/recipes-gnome/gcr/gcr_4.4.1.bb
index 93028d2497d..f2f7e5633d0 100644
--- a/meta/recipes-gnome/gcr/gcr_4.4.1.bb
+++ b/meta/recipes-gnome/gcr/gcr_4.4.1.bb
@@ -45,12 +45,3 @@  ssh-add = '${bindir}/ssh-add'
 ssh-agent = '${bindir}/ssh-agent'
 EOF
 }
-
-# gnome_verdir is coming from gnomebase.bbclass, which seems to work
-# with gcr as long as its version has 3 sections (x.y.z).
-# This version is 4.4.0.1 - add a custom version parser, otherwise the
-# original parser constructs invalid download URL.
-# It can be removed with the next update, when/if the version has only
-# 3 sections again.
-def gnome_verdir(v):
-    return ".".join(v.split(".")[:2]) or v