Colord-1.0.6

Introduction to Colord

Colord is a system activated daemon that maps devices to color profiles. It is used by GNOME Color Manager for system integration and use when there are no users logged in.

This package is known to build and work properly using an LFS-7.5 platform.

Package Information

Colord Dependencies

Required

GLib-2.38.2, Intltool-0.50.2, Little CMS-2.5, SQLite-3.8.3.1, and D-Bus-1.8.0

Required (for the tests)

Valgrind

Recommended

Optional

Bash Completion, colord-gtk and gnome-desktop-3.10.2 (To build the example tools), DocBook-utils-0.6.14, GTK-Doc-1.19 and SANE-1.0.24

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

Installation of Colord

There should be a dedicated user and group to take control of the colord daemon after it is started. Issue the following commands as the root user:

groupadd -g 71 colord &&
useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
        -g colord -s /bin/false colord

Install Colord by running the following commands:

./configure --prefix=/usr                \
            --sysconfdir=/etc            \
            --localstatedir=/var         \
            --with-daemon-user=colord    \
            --enable-vala                \
            --disable-bash-completion    \
            --disable-systemd-login      \
            --disable-static &&
make

Now, as the root user:

make install

To test the results, issue: make -k check. For unknown reasons, one test (cd-self-test) fails. Note that system-wide D-Bus daemon must be running or the tests will fail.

Command Explanations

--with-daemon-user=colord: This switch is used so the colord daemon will run as an unprivileged user instead of root user.

--enable-vala: This switch enables building of the Vala bindings. Remove if you don't have Vala-0.22.1 installed.

--disable-bash-completion: This switch disables Bash Completion support for Colord apps.

--disable-systemd-login: This switch prevents configure to look for Systemd libraries since Systemd is not part of LFS or BLFS.

--disable-static: This switch prevents installation of static versions of the libraries.

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

--disable-gusb: Use this switch if you don't have libgusb installed.

--disable-gudev: Use this switch if you don't have GUdev installed.

--disable-polkit: Use this switch if you don't have Polkit installed.

--libexecdir=/usr/lib/colord: This option creates a colord directory in /usr/lib instead of putting the program's private programs into /usr/libexec in accordance with the old version of the FHS used before LFS-7.5.

Contents

Installed Programs: cd-create-profile, cd-fix-profile, cd-iccdump, colord, colord-sane, colord-session, and colormgr
Installed Libraries: libcolordprivate.so, libcolord.so, libcolorhug.so and several under /usr/lib/colord-plugin
Installed Directories: /usr/include/colord-1, /usr/lib/colord, /usr/lib/colord-plugins, /usr/lib/colord-sensors, /usr/share/color, /usr/share/colord, /usr/share/gtk-doc/html/colord and /var/lib/colord

Short Descriptions

cd-create-profile

is a Color Manager Profile Creation Tool.

cd-fix-profile

is a tool used to fix metadata in ICC profiles.

colormgr

is a text-mode program that allows you to interact with colord on the command line.

libcolord.so

contains the Colord API functions.

Last updated on 2014-03-03 19:06:31 -0800