colord-gtk-0.3.1

#### Beyond Linux® From Scratch (System V Edition) - Version r13.0-791

### Chapter 25. Graphical Environment Libraries

- Prev

  libcairomm-1.16 (cairomm-1.18.0)

- Next

  FLTK-1.4.5

- Up
- Home

# colord-gtk-0.3.1

## Introduction to Colord GTK

The Colord GTK package contains GTK+ bindings for Colord.

### Note

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.

### Package Information

- Download (HTTP): https://www.freedesktop.org/software/colord/releases/colord-gtk-0.3.1.tar.xz

- Download MD5 sum: d436740c06e42af421384f16b2a9a0a7

- Download size: 24 KB

- Estimated disk space required: 2.1 MB

- Estimated build time: less than 0.1 SBU

### Colord GTK Dependencies

#### Required

colord-1.4.8 and GTK-3.24.52

#### Recommended

GLib-2.88.1 (with GObject Introspection), GTK-4.22.4, and Vala-0.56.19

#### Optional

docbook-xml-5.0, docbook-xsl-ns-1.79.2, libxslt-1.1.45 (to build the man page), and GTK-Doc-1.36.1

## Installation of Colord GTK

### Warning

If building the documentation ninja -j1 must be used.

Install Colord GTK by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr       \
                --buildtype=release \
                -D gtk4=true        \
                -D vapi=true        \
                -D docs=false       \
                -D man=false        \
                ..                  &&
    ninja

If docbook-xml-5.0, docbook-xsl-ns-1.79.2, and libxslt-1.1.45 are installed, build the man page:

    sed '/class="manual"/i \
         <refmiscinfo class="source">colord-gtk</refmiscinfo>' \
        -i ../man/*.xml &&
    meson configure -D man=true &&
    ninja

To test the results, issue: ninja test. The tests need to be run from an X session, and may require a color profile for your primary display.

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

`-D vapi=true`: This switch enables building of the Vala bindings. Remove this switch if you don't have Vala-0.56.19 installed.

`-D gtk4=true`: This switch enables building the GTK-4 bindings for colord. Set this option to 'false' if you do not have GTK-4.22.4 installed.

`-D docs=false`: This switch disables building gtk-doc based documentation. Even if gtk-doc is installed, you will need the namespaced versions of the Docbook XSL stylesheets.

## Contents

Installed Programs: cd-convert
Installed Libraries: libcolord-gtk.so and libcolord-gtk4.so
Installed Directories: /usr/include/colord-1/colord-gtk and /usr/share/gtk-doc/html/colord-gtk

### Short Descriptions

cd-convert | is a Color Manager Testing Tool
`libcolord-gtk.so` | contains the Colord GTK+ bindings
`libcolord-gtk4.so` | contains the Colord GTK-4 bindings

- Prev

  libcairomm-1.16 (cairomm-1.18.0)

- Next

  FLTK-1.4.5

- Up
- Home