diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-08-08 13:44:28 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-11 18:04:25 +0100 |
| commit | 660b68d5f8eac95c2f34b1eb7cdec8744d186d74 (patch) | |
| tree | c26d59200a3b8676a4686d56f6cb1e889b1eb2d0 /meta/recipes-gnome/gcr/gcr_4.4.0.1.bb | |
| parent | fb94528d8fefa5e87adb74b1eef650763e9421ad (diff) | |
| download | poky-660b68d5f8eac95c2f34b1eb7cdec8744d186d74.tar.gz | |
gcr: upgrade 4.3.1 -> 4.4.0.1
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
(From OE-Core rev: 32e9d178c114bd315cbbd5f00c00ec064ead5102)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gcr/gcr_4.4.0.1.bb')
| -rw-r--r-- | meta/recipes-gnome/gcr/gcr_4.4.0.1.bb | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gcr/gcr_4.4.0.1.bb b/meta/recipes-gnome/gcr/gcr_4.4.0.1.bb new file mode 100644 index 0000000000..25c394c9d0 --- /dev/null +++ b/meta/recipes-gnome/gcr/gcr_4.4.0.1.bb | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | SUMMARY = "A library for bits of crypto UI and parsing etc" | ||
| 2 | DESCRIPTION = "GCR is a library for displaying certificates, and crypto UI, \ | ||
| 3 | accessing key stores. It also provides the viewer for crypto files on the \ | ||
| 4 | GNOME desktop." | ||
| 5 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcr" | ||
| 6 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues" | ||
| 7 | |||
| 8 | LICENSE = "LGPL-2.0-only" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | ||
| 10 | |||
| 11 | DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \ | ||
| 12 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}" | ||
| 13 | |||
| 14 | CFLAGS += "-D_GNU_SOURCE" | ||
| 15 | |||
| 16 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
| 17 | inherit gnomebase gtk-icon-cache gi-docgen features_check vala gobject-introspection gettext mime mime-xdg | ||
| 18 | UPSTREAM_CHECK_REGEX = "gcr-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | ||
| 19 | |||
| 20 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" | ||
| 21 | |||
| 22 | SRC_URI[archive.sha256sum] = "0c3c341e49f9f4f2532a4884509804190a0c2663e6120360bb298c5d174a8098" | ||
| 23 | |||
| 24 | PACKAGECONFIG ??= " \ | ||
| 25 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | ||
| 26 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ | ||
| 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \ | ||
| 28 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} \ | ||
| 29 | " | ||
| 30 | PACKAGECONFIG[gtk] = "-Dgtk4=true,-Dgtk4=false,gtk4" | ||
| 31 | PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh" | ||
| 32 | #'Use systemd socket activation for server programs' | ||
| 33 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" | ||
| 34 | PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false," | ||
| 35 | |||
| 36 | FILES:${PN} += " \ | ||
| 37 | ${datadir}/dbus-1 \ | ||
| 38 | ${datadir}/gcr-4 \ | ||
| 39 | ${systemd_user_unitdir}/gcr-ssh-agent.socket \ | ||
| 40 | ${systemd_user_unitdir}/gcr-ssh-agent.service \ | ||
| 41 | " | ||
| 42 | |||
| 43 | # http://errors.yoctoproject.org/Errors/Details/20229/ | ||
| 44 | ARM_INSTRUCTION_SET:armv4 = "arm" | ||
| 45 | ARM_INSTRUCTION_SET:armv5 = "arm" | ||
| 46 | ARM_INSTRUCTION_SET:armv6 = "arm" | ||
| 47 | |||
| 48 | EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross" | ||
| 49 | |||
| 50 | do_write_config:append() { | ||
| 51 | cat >${WORKDIR}/meson-${PN}.cross <<EOF | ||
| 52 | [binaries] | ||
| 53 | gpg = '${bindir}/gpg' | ||
| 54 | ssh-add = '${bindir}/ssh-add' | ||
| 55 | ssh-agent = '${bindir}/ssh-agent' | ||
| 56 | EOF | ||
| 57 | } | ||
| 58 | |||
| 59 | # gnome_verdir is coming from gnomebase.bbclass, which seems to work | ||
| 60 | # with gcr as long as its version has 3 sections (x.y.z). | ||
| 61 | # This version is 4.4.0.1 - add a custom version parser, otherwise the | ||
| 62 | # original parser constructs invalid download URL. | ||
| 63 | # It can be removed with the next update, when/if the version has only | ||
| 64 | # 3 sections again. | ||
| 65 | def gnome_verdir(v): | ||
| 66 | return ".".join(v.split(".")[:2]) or v | ||
