Colord-1.2.3

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

Package Information

Colord Dependencies

Required

D-Bus-1.8.8, GLib-2.42.0, Little CMS-2.6, and SQLite-3.8.6

Required (for the tests)

Valgrind-3.10.0

Recommended

Optional

gnome-desktop-3.12.2 and colord-gtk (to build the example tools), DocBook-utils-0.6.14, GTK-Doc-1.21, libxslt-1.1.28, SANE-1.0.24, Valgrind-3.10.0 (required for the tests), and Bash Completion,

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                \
            --enable-systemd-login=no    \
            --disable-bash-completion    \
            --disable-static             \
            --with-systemdsystemunitdir=no &&
make

Now, as the root user:

make install

To test the results, issue: make -k check. For unknown reasons, some tests may fail. Note that system-wide D-Bus daemon must be running or the tests will fail.

Command Explanations

--enable-libsystemd-login=no: This parameter fixes building without systemd, which is not part of LFS/BLFS. If you use systemd, replace "no" by "yes".

--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.26.0 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.

--with-systemdsystemunitdir=no: Disable attempting to build with systemd libraries.

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

--enable-gtk-doc: Use this switch if GTK-Doc is installed and you wish to build 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.

Contents

Installed Programs: cd-create-profile, cd-fix-profile, cd-iccdump, colord, colord-sane, colord-session, and colormgr
Installed Libraries: libcolord.so, libcolordprivate.so, and lndibcolorhug.so
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-09-18 04:56:07 +0000