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/4.4/gcr-4.4.0.1.tar.xz
Download SHA256 Sum: 0c3c341e49f9f4f2532a4884509804190a0c2663e6120360bb298c5d174a8098
Download MD5 sum: 01da4445b5b16801c6dcc7d8945b4cc4
Download size: 5,583.1 KB
Estimated disk space required: 17,502.9 KB
Estimated build time: less than 0.5 SBU
GLib-2.86.2 (GObject Introspection recommended), libgcrypt-1.11.2, p11-kit-0.25.10
GnuPG-2.4.8, GTK-4.20.3, libsecret-0.21.7, libxslt-1.1.43, and Vala-0.56.18
"gi-docgen", GnuTLS-3.8.11, OpenSSH-10.2p1, and "valgrind"
![[Note]](../images/note.png)
Both gcr-3 and gcr-4 are coinstallable. This version of the package is used to support GTK-4 applications, such as "gnome-shell" and "epiphany".
Prepare Gcr by running the following commands:
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 gtk4=false: Use this switch if you
haven't installed GTK-4.20.3. Note that
gcr-viewer-gtk4 will not be installed
if this is passed to meson.
-D gtk_doc=false: Allow building this
package without "gi-docgen" installed.
-D ssh_agent=false: Disable the ssh-agent
implementation of 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 crypto=gnutls: Use this switch if you have
GnuTLS-3.8.11 installed and wish to use it
instead of libgcrypt-1.11.2.