diff mbox series

gcr: upgrade 4.3.1 -> 4.4.0.1

Message ID 20250808114428.3614375-1-skandigraun@gmail.com
State New
Headers show
Series gcr: upgrade 4.3.1 -> 4.4.0.1 | expand

Commit Message

Gyorgy Sarvari Aug. 8, 2025, 11:44 a.m. UTC
Due to a version number that has 4 sections, the recipe needs to override
gnome_gverdir function from gnomebase.bbclass to construct a valid download url.

Changelog:
gcr 4.4.0.1:
- meson: Fix gck vesion

gcr 4.4.0:
- gcr: Add OID for Extended Key Usage
- gcr: Avoid g_strv_builder_unref_to_strv()
- gck: Disable parallel tests using gck-mock module
- meson: Do a stricter check on GLib version
- gcr: Support parsing ed25519 SSH public keys
- Updated translations

gcr 4.3.90.3:
- ci: Another tarball publish fix

gcr 4.3.90.2:
- meson: fix library version

gcr 4.3.90.1:
- ci: Tarball publish fix

gcr 4.3.90:
- gcr: Add new GcrCertificateExtension API
- gcr: Vala override for CertificateField.get_value
- Fix meson test failures in FIPS mode
- doap: Remove invalid maintainer entry
- tests: Replace echo -n by printf
- build: Avoid redundant libegg linking into gck tests
- build: Fix some GLib/GTK deprecation warnings
- ssh-agent: Request rsa-sha2-256 signature in tests
- Updated translations

gcr 4.3.91:
- Several updates to the CI
- gcr: Implement Certificate Policies extension
- gcr: Implement Authority Information Access (AIA) extension
- gcr: Implement Authority Key Identifier extension
- gcr: Implement CRL Distribution Points extension
- gcr: Add GcrGeneralNames helper object
- gck: Add missing finish-func annotation to gck_slot_open_session_full_async
- Migrate away from g_assert() in some unit tests
- Updated translations

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 .../gcr/{gcr_4.3.1.bb => gcr_4.4.0.1.bb}              | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
 rename meta/recipes-gnome/gcr/{gcr_4.3.1.bb => gcr_4.4.0.1.bb} (80%)
diff mbox series

Patch

diff --git a/meta/recipes-gnome/gcr/gcr_4.3.1.bb b/meta/recipes-gnome/gcr/gcr_4.4.0.1.bb
similarity index 80%
rename from meta/recipes-gnome/gcr/gcr_4.3.1.bb
rename to meta/recipes-gnome/gcr/gcr_4.4.0.1.bb
index f556376258..25c394c9d0 100644
--- a/meta/recipes-gnome/gcr/gcr_4.3.1.bb
+++ b/meta/recipes-gnome/gcr/gcr_4.4.0.1.bb
@@ -19,7 +19,7 @@  UPSTREAM_CHECK_REGEX = "gcr-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
 
 REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
 
-SRC_URI[archive.sha256sum] = "b2f070fff1840eef70546a28be80235427c116aadc593b5b68ccc869be3aa09d"
+SRC_URI[archive.sha256sum] = "0c3c341e49f9f4f2532a4884509804190a0c2663e6120360bb298c5d174a8098"
 
 PACKAGECONFIG ??= " \
 	${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
@@ -55,3 +55,12 @@  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