Gcr-3.28.1

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 33. GNOME Libraries and Utilities

- Prev

  GNOME Libraries and Utilities

- Next

  gsettings-desktop-schemas-3.28.1

- Up
- Home

# Gcr-3.28.1

## Introduction to Gcr

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-8.4 platform.

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gcr/3.28/gcr-3.28.1.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gcr/3.28/gcr-3.28.1.tar.xz

- Download MD5 sum: afd88cacfd54c1ac5b3e0eb35e3aa674

- Download size: 1.3 MB

- Estimated disk space required: 86 MB (with tests)

- Estimated build time: 0.9 SBU (with tests)

### Gcr Dependencies

#### Required

GLib-2.58.3, libgcrypt-1.8.4, libtasn1-4.13, and p11-kit-0.23.15

#### Recommended

GnuPG-2.2.13, gobject-introspection-1.58.3, GTK+-3.24.5, libxslt-1.1.33, and Vala-0.42.5

#### Optional

GTK-Doc-1.29 and Valgrind-3.14.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gcr

## Installation of Gcr

Install Gcr by running the following commands:

    sed -i -r 's:"(/desktop):"/org/gnome\1:' schema/*.xml &&

    ./configure --prefix=/usr     \
                --sysconfdir=/etc \
                --without-gtk-doc &&
    make

To test the results, issue: make -k check. The tests must be run from an X Terminal or similar.

Now, as the `root` user:

    make install

## Command Explanations

sed ... schema/*.xml: This command fixes a deprecated entry in the schema template.

`--without-gtk`: Use this switch if you haven't installed GTK+-3.24.5. Note that gcr-viewer will not be installed if this is passed to configure.

`--enable-gtk-doc`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

## Contents

Installed Program: gcr-viewer
Installed Libraries: libgck-1.so, libgcr-3.so, libgcr-base-3.so and libgcr-ui-3.so
Installed Directories: /usr/include/gck-1, /usr/{include,share,share/gtk-doc/html}/gcr-3, and /usr/share/gtk-doc/html/gck

### Short Descriptions

gcr-viewer | is used to view certificates and key files.
`libgck-1.so` | contains GObject bindings for PKCS#11.
`libgcr-3.so` | contains functions for high level crypto parsing.

Last updated on 2019-02-16 21:14:14 -0600

- Prev

  GNOME Libraries and Utilities

- Next

  gsettings-desktop-schemas-3.28.1

- Up
- Home