[f1a8ab0] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0d7900a] | 7 | <!ENTITY colord-download-http
|
---|
[c341539] | 8 | "http://www.freedesktop.org/software/colord/releases/colord-&colord-version;.tar.xz">
|
---|
[f1a8ab0] | 9 | <!ENTITY colord-download-ftp " ">
|
---|
[4ad93b6] | 10 | <!ENTITY colord-md5sum "98cd74c2be108cbd81c4a9cd6b324910">
|
---|
| 11 | <!ENTITY colord-size "1.0 MB">
|
---|
| 12 | <!ENTITY colord-buildsize "34 MB">
|
---|
| 13 | <!ENTITY colord-time "0.3 SBU">
|
---|
[f1a8ab0] | 14 | ]>
|
---|
| 15 |
|
---|
[880c568] | 16 | <sect1 id="colord" xreflabel="Colord-&colord-version;">
|
---|
[f1a8ab0] | 17 | <?dbhtml filename="colord.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[880c568] | 24 | <title>Colord-&colord-version;</title>
|
---|
[f1a8ab0] | 25 |
|
---|
| 26 | <indexterm zone="colord">
|
---|
[880c568] | 27 | <primary sortas="a-Colord">Colord</primary>
|
---|
[f1a8ab0] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[7ded7e3] | 31 | <title>Introduction to Colord</title>
|
---|
[f1a8ab0] | 32 |
|
---|
[7ded7e3] | 33 | <para>
|
---|
[01996ebb] | 34 | <application>Colord</application> is a system activated daemon that
|
---|
| 35 | maps devices to color profiles. It is used by
|
---|
[7ded7e3] | 36 | <application>GNOME Color Manager</application> for system integration
|
---|
| 37 | and use when there are no users logged in.
|
---|
| 38 | </para>
|
---|
[f1a8ab0] | 39 |
|
---|
[0b33a30] | 40 | &lfs73_checked;
|
---|
[f1a8ab0] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[7ded7e3] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&colord-download-http;"/>
|
---|
| 47 | </para>
|
---|
[f1a8ab0] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[7ded7e3] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&colord-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[f1a8ab0] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[7ded7e3] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &colord-md5sum;
|
---|
| 57 | </para>
|
---|
[f1a8ab0] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[7ded7e3] | 60 | <para>
|
---|
| 61 | Download size: &colord-size;
|
---|
| 62 | </para>
|
---|
[f1a8ab0] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[7ded7e3] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &colord-buildsize;
|
---|
| 67 | </para>
|
---|
[f1a8ab0] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[7ded7e3] | 70 | <para>
|
---|
| 71 | Estimated build time: &colord-time;
|
---|
| 72 | </para>
|
---|
[f1a8ab0] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[7ded7e3] | 76 | <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
|
---|
[f1a8ab0] | 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c341539] | 79 | <para role="required">
|
---|
| 80 | <xref linkend="dbus"/>,
|
---|
[d6da5da] | 81 | <xref linkend="libgusb"/>,
|
---|
[01996ebb] | 82 | <xref linkend="lcms2"/> and
|
---|
| 83 | <xref linkend="sqlite"/>
|
---|
[c341539] | 84 | </para>
|
---|
| 85 |
|
---|
[7ded7e3] | 86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c341539] | 87 | <para role="recommended">
|
---|
[01996ebb] | 88 | <xref linkend="gobject-introspection"/>,
|
---|
| 89 | <xref linkend="polkit"/>,
|
---|
[816595b] | 90 | <xref linkend="udev"/> or
|
---|
| 91 | <xref linkend="udev-extras"/> (for GUdev) and
|
---|
[01996ebb] | 92 | <xref linkend="vala"/>
|
---|
[c341539] | 93 | </para>
|
---|
[f1a8ab0] | 94 |
|
---|
[7ded7e3] | 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c341539] | 96 | <para role="optional">
|
---|
[b194f2b] | 97 | <ulink url="bash-completion.alioth.debian.org">Bash Completion</ulink>,
|
---|
[665ac79f] | 98 | <ulink url="http://www.freedesktop.org/software/colord/releases/">
|
---|
| 99 | colord-gtk</ulink> and <xref linkend="gnome-desktop"/>
|
---|
[82b5e658] | 100 | (To build the example tools),
|
---|
[01996ebb] | 101 | <xref linkend="docbook-utils"/>,
|
---|
[d6da5da] | 102 | <xref linkend="gtk-doc"/> and
|
---|
[c341539] | 103 | <xref linkend="sane"/>
|
---|
| 104 | </para>
|
---|
[f1a8ab0] | 105 |
|
---|
| 106 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 107 | <ulink url="&blfs-wiki;/colord"/>
|
---|
| 108 | </para>
|
---|
[f1a8ab0] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
[7ded7e3] | 112 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 113 |
|
---|
[d6da5da] | 114 | <para>
|
---|
| 115 | There should be a dedicated user and group to take control
|
---|
| 116 | of the <command>colord</command> daemon after it is started.
|
---|
| 117 | Issue the following commands as the
|
---|
| 118 | <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 122 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 123 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 124 |
|
---|
[7ded7e3] | 125 | <para>
|
---|
| 126 | Install <application>Colord</application> by running the following
|
---|
| 127 | commands:
|
---|
| 128 | </para>
|
---|
[f1a8ab0] | 129 |
|
---|
[4ad93b6] | 130 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 131 | --sysconfdir=/etc \
|
---|
| 132 | --localstatedir=/var \
|
---|
[01996ebb] | 133 | --libexecdir=/usr/lib/colord \
|
---|
[4ad93b6] | 134 | --with-daemon-user=colord \
|
---|
| 135 | --enable-vala \
|
---|
| 136 | --disable-bash-completion \
|
---|
| 137 | --disable-systemd-login \
|
---|
[c341539] | 138 | --disable-static &&
|
---|
[f1a8ab0] | 139 | make</userinput></screen>
|
---|
| 140 |
|
---|
[7ded7e3] | 141 | <para>
|
---|
| 142 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 143 | </para>
|
---|
[f1a8ab0] | 144 |
|
---|
| 145 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 146 |
|
---|
[d6da5da] | 147 | <para>
|
---|
| 148 | To test the results, issue: <command>make check</command>. Note
|
---|
| 149 | that system-wide <application>D-Bus</application> daemon must
|
---|
| 150 | be running or the tests will fail.
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
[f1a8ab0] | 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="commands">
|
---|
| 156 | <title>Command Explanations</title>
|
---|
| 157 |
|
---|
[28b61748] | 158 | <para>
|
---|
[d6da5da] | 159 | <parameter>--with-daemon-user=colord</parameter>: This
|
---|
| 160 | switch is used so the <command>colord</command> daemon
|
---|
| 161 | will run as an unprivileged user instead of
|
---|
| 162 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 163 | </para>
|
---|
| 164 |
|
---|
| 165 | <para>
|
---|
[d6da5da] | 166 | <option>--enable-vala</option>: This switch enables
|
---|
| 167 | building of the Vala bindings. Remove if you don't
|
---|
| 168 | have <xref linkend="vala"/> installed.
|
---|
[28b61748] | 169 | </para>
|
---|
| 170 |
|
---|
[b194f2b] | 171 | <para>
|
---|
| 172 | <option>--disable-bash-completion</option>: This switch
|
---|
| 173 | disables <application>Bash Completion</application>
|
---|
| 174 | support for <application>Colord</application> apps.
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
[82b5e658] | 177 | <para>
|
---|
| 178 | <option>--disable-systemd-login</option>: This switch
|
---|
| 179 | prevents <command>configure</command> to look for
|
---|
| 180 | <application>Systemd</application> libraries since
|
---|
| 181 | <application>Systemd</application> is not part of
|
---|
| 182 | LFS or BLFS.
|
---|
| 183 | </para>
|
---|
| 184 |
|
---|
[c341539] | 185 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 186 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c341539] | 187 |
|
---|
| 188 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 189 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f1a8ab0] | 190 |
|
---|
| 191 | </sect2>
|
---|
| 192 |
|
---|
| 193 | <sect2 role="content">
|
---|
| 194 | <title>Contents</title>
|
---|
| 195 |
|
---|
| 196 | <segmentedlist>
|
---|
| 197 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 198 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 199 | <segtitle>Installed Directories</segtitle>
|
---|
| 200 |
|
---|
| 201 | <seglistitem>
|
---|
[c341539] | 202 | <seg>
|
---|
[4890200] | 203 | cd-create-profile, cd-fix-profile, cd-iccdump, colord,
|
---|
[4ad93b6] | 204 | colord-sane, colord-session, and colormgr
|
---|
[c341539] | 205 | </seg>
|
---|
| 206 | <seg>
|
---|
[82b5e658] | 207 | libcolordprivate.so, libcolord.so and
|
---|
| 208 | libcolorhug.so
|
---|
[c341539] | 209 | </seg>
|
---|
| 210 | <seg>
|
---|
[7ded7e3] | 211 | /usr/include/colord-1,
|
---|
| 212 | /usr/lib/colord,
|
---|
[28b61748] | 213 | /usr/lib/colord-plugins,
|
---|
[7ded7e3] | 214 | /usr/lib/colord-sensors,
|
---|
| 215 | /usr/share/color,
|
---|
[c8f8332] | 216 | /usr/share/colord,
|
---|
[c341539] | 217 | /usr/share/gtk-doc/html/colord and
|
---|
| 218 | /var/lib/colord
|
---|
| 219 | </seg>
|
---|
[f1a8ab0] | 220 | </seglistitem>
|
---|
| 221 | </segmentedlist>
|
---|
| 222 |
|
---|
| 223 | <variablelist>
|
---|
| 224 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 225 | <?dbfo list-presentation="list"?>
|
---|
| 226 | <?dbhtml list-presentation="table"?>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="cd-create-profile">
|
---|
| 229 | <term><command>cd-create-profile</command></term>
|
---|
| 230 | <listitem>
|
---|
[7ded7e3] | 231 | <para>
|
---|
| 232 | is a Color Manager Profile Creation Tool.
|
---|
| 233 | </para>
|
---|
[f1a8ab0] | 234 | <indexterm zone="colord cd-create-profile">
|
---|
| 235 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="cd-fix-profile">
|
---|
| 241 | <term><command>cd-fix-profile</command></term>
|
---|
| 242 | <listitem>
|
---|
[7ded7e3] | 243 | <para>
|
---|
| 244 | is a tool used to fix metadata in ICC profiles.
|
---|
| 245 | </para>
|
---|
[f1a8ab0] | 246 | <indexterm zone="colord cd-fix-profile">
|
---|
| 247 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 |
|
---|
| 252 | <varlistentry id="colormgr">
|
---|
| 253 | <term><command>colormgr</command></term>
|
---|
| 254 | <listitem>
|
---|
[7ded7e3] | 255 | <para>
|
---|
| 256 | is a text-mode program that allows you to interact with colord
|
---|
| 257 | on the command line.
|
---|
| 258 | </para>
|
---|
[f1a8ab0] | 259 | <indexterm zone="colord colormgr">
|
---|
| 260 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="libcolord">
|
---|
[c8f8332] | 266 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 267 | <listitem>
|
---|
[7ded7e3] | 268 | <para>
|
---|
| 269 | contains the <application>Colord</application> API functions.
|
---|
| 270 | </para>
|
---|
[f1a8ab0] | 271 | <indexterm zone="colord libcolord">
|
---|
[c341539] | 272 | <primary sortas="c-libcolord">libcolord.so</primary>
|
---|
[f1a8ab0] | 273 | </indexterm>
|
---|
| 274 | </listitem>
|
---|
| 275 | </varlistentry>
|
---|
| 276 |
|
---|
| 277 | </variablelist>
|
---|
| 278 |
|
---|
| 279 | </sect2>
|
---|
| 280 |
|
---|
| 281 | </sect1>
|
---|