The Gcr package contains libraries used for displaying certificates and accessing key stores. It also provides the viewer for crypto files on the GNOME Desktop.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://download.gnome.org/sources/gcr/3.41/gcr-3.41.2.tar.xz
Download SHA256 Sum: bad10f3c553a0e1854649ab59c5b2434da22ca1a54ae6138f1f53961567e1ab7
Download MD5 sum: 40a754ba44d5e95e4d07656d6302900c
Download size: 7,830.5 KB
Estimated disk space required: 22,106.8 KB
Estimated build time: less than 0.5 SBU
GLib-2.86.2 (GObject Introspection recommended), libgcrypt-1.11.2, and p11-kit-0.25.10
GnuPG-2.4.8, GTK-3.24.51, libsecret-0.21.7, libxslt-1.1.43, and Vala-0.56.18
"gi-docgen" and "valgrind"
First, apply a fix for building without OpenSSH installed:
sed '/ssh.add/d; /ssh.agent/d' -i meson.build
Prepare Gcr by running the following commands:
sed -i 's:"/desktop:"/org:' schema/*.xml
meson setup build --prefix=/usr \
--buildtype=release \
-D gtk_doc=false \
-D ssh_agent=falseninja -C build
![[Note]](../images/note.png)
The tests must be run from an X Terminal or similar. To test the results, issue:
ninja -C build test
Now Install the package, as the root user:
ninja -C build install
--buildtype=release: Specify a buildtype
suitable for stable releases of the package, as the default may
produce unoptimized binaries.
-D ssh_agent=false: Disable the ssh-agent
implementation from this package. This implementation is intended to
replace the ssh-agent implementation of
gnome-keyring-48.0, but the replacement still has several
unresolved issues.
-D gtk=false: Use this switch if you
haven't installed GTK-3.24.51. Note that
gcr-viewer will not be installed
if this is option is used.
-D gtk_doc=true: If you want to build the
documentation and you have "gi-docgen" installed.