#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 33. GNOME Libraries and Desktop

- Prev

  GNOME Libraries and Desktop

- Next

  gsettings-desktop-schemas-3.38.0

- Up
- Home

# Gcr-3.38.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-10.1 platform.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/gcr/3.38/gcr-3.38.1.tar.xz

- Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gcr/3.38/gcr-3.38.1.tar.xz

- Download MD5 sum: e7f9e86da73b7308aae16cac0f392721

- Download size: 1.0 MB

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

- Estimated build time: 0.4 SBU (with tests)

### Gcr Dependencies

#### Required

GLib-2.66.7, libgcrypt-1.9.2, and p11-kit-0.23.22

#### Recommended

GnuPG-2.2.27, gobject-introspection-1.66.1, GTK+-3.24.25, libxslt-1.1.34, and Vala-0.50.3

#### Optional

GTK-Doc-1.33.2 and Valgrind-3.16.1

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

## Installation of Gcr

### Caution

If you are upgrading from a version of gcr prior to 3.36.0, you must run the `remove-la-files.sh` script from the Libtool archive (.la) files after installing gcr.

Install Gcr by running the following commands:

    sed -i 's:"/desktop:"/org:' schema/*.xml &&

    mkdir gcr-build &&
    cd    gcr-build &&

    meson --prefix=/usr -Dgtk_doc=false .. &&
    ninja

To test the results, issue: ninja test. The tests must be run from an X Terminal or similar.

Now, as the `root` user:

    ninja install

## Command Explanations

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

`-Dgtk=false`: Use this switch if you haven't installed GTK+-3.24.25. Note that gcr-viewer will not be installed if this is passed to meson.

`-Dgtk_doc=true`: Use this switch if you wish to generate the API reference documentation. Note that you must have GTK-Doc installed.

## Contents

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

### Short Descriptions

gcr-viewer | is used to view certificates and key files
`libgck-1.so` | contains GObject bindings for PKCS#11

Last updated on 2021-02-21 20:38:24 -0800

- Prev

  GNOME Libraries and Desktop

- Next

  gsettings-desktop-schemas-3.38.0

- Up
- Home