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.
![[Note]](../images/note.png)
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/gcr/3.41/gcr-3.41.1.tar.xz
Download MD5 sum: c1e98af977236255006e11e8f8cfbaca
Download size: 1008 KB
Estimated disk space required: 33 MB (with tests)
Estimated build time: 0.2 SBU (with tests; both using parallelism=4)
GLib-2.78.1, libgcrypt-1.10.3, and p11-kit-0.25.3
GnuPG-2.4.3, gobject-introspection-1.78.1, GTK+-3.24.38, libsecret-0.21.1, libxslt-1.1.39, and Vala-0.56.14
Install Gcr by running the following commands:
sed -i 's:"/desktop:"/org:' schema/*.xml &&
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
-Dgtk_doc=false \
.. &&
ninjaIf you have Gi-DocGen-2023.3 installed and wish to build the API documentation for this package, issue:
sed -e "/install_dir/s@,\$@ / 'gcr-3.41.1'&@" \
-e "/fatal-warnings/d" \
-i ../docs/*/meson.build &&
meson configure -Dgtk_doc=true &&
ninjaTo test the results, issue: ninja test. The tests must be run from an X Terminal or similar.
Now, as the root user:
ninja install
--buildtype=release: Specify a buildtype
suitable for stable releases of the package, as the default may
produce unoptimized binaries.
-Dgtk=false: Use this switch if you
haven't installed GTK+-3.24.38. Note that
gcr-viewer will not be installed
if this is passed to meson.
-Dgtk_doc=true: Allow building this package without Gi-DocGen-2023.3
installed. If you have Gi-DocGen-2023.3 installed and
you wish to rebuild and install the API documentation, a
meson configure command will reset this
option.