[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 " ">
|
---|
[0749710c] | 10 | <!ENTITY colord-md5sum "1a7d2a8649358fa72d5c3b0e4c21a04f">
|
---|
[b26bc4c] | 11 | <!ENTITY colord-size "1.1 MB">
|
---|
[0749710c] | 12 | <!ENTITY colord-buildsize "30 MB">
|
---|
| 13 | <!ENTITY colord-time "0.4 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 |
|
---|
[f374379d] | 40 | &lfs74_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">
|
---|
[fa99d008] | 80 | <xref linkend="glib2"/>,
|
---|
| 81 | <xref linkend="intltool"/>,
|
---|
[de84a824] | 82 | <xref linkend="lcms2"/>,
|
---|
| 83 | <xref linkend="sqlite"/>, and
|
---|
| 84 | <xref linkend="dbus"/>
|
---|
[c341539] | 85 | </para>
|
---|
| 86 |
|
---|
[0749710c] | 87 | <bridgehead renderas="sect4">Required (for the tests)</bridgehead>
|
---|
| 88 | <para role="required">
|
---|
| 89 | <ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
[7ded7e3] | 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c341539] | 93 | <para role="recommended">
|
---|
[fa99d008] | 94 | <xref linkend="libgusb"/>,
|
---|
| 95 | <xref linkend="udev-extras"/> (for GUdev),
|
---|
| 96 | <xref linkend="polkit"/>,
|
---|
| 97 | <xref linkend="gobject-introspection"/>, and
|
---|
[01996ebb] | 98 | <xref linkend="vala"/>
|
---|
[c341539] | 99 | </para>
|
---|
[f1a8ab0] | 100 |
|
---|
[7ded7e3] | 101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c341539] | 102 | <para role="optional">
|
---|
[b194f2b] | 103 | <ulink url="bash-completion.alioth.debian.org">Bash Completion</ulink>,
|
---|
[665ac79f] | 104 | <ulink url="http://www.freedesktop.org/software/colord/releases/">
|
---|
| 105 | colord-gtk</ulink> and <xref linkend="gnome-desktop"/>
|
---|
[82b5e658] | 106 | (To build the example tools),
|
---|
[01996ebb] | 107 | <xref linkend="docbook-utils"/>,
|
---|
[d6da5da] | 108 | <xref linkend="gtk-doc"/> and
|
---|
[c341539] | 109 | <xref linkend="sane"/>
|
---|
| 110 | </para>
|
---|
[f1a8ab0] | 111 |
|
---|
| 112 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 113 | <ulink url="&blfs-wiki;/colord"/>
|
---|
| 114 | </para>
|
---|
[f1a8ab0] | 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="installation">
|
---|
[7ded7e3] | 118 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 119 |
|
---|
[d6da5da] | 120 | <para>
|
---|
| 121 | There should be a dedicated user and group to take control
|
---|
| 122 | of the <command>colord</command> daemon after it is started.
|
---|
| 123 | Issue the following commands as the
|
---|
| 124 | <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 128 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 129 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 130 |
|
---|
[7ded7e3] | 131 | <para>
|
---|
| 132 | Install <application>Colord</application> by running the following
|
---|
| 133 | commands:
|
---|
| 134 | </para>
|
---|
[f1a8ab0] | 135 |
|
---|
[4ad93b6] | 136 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 137 | --sysconfdir=/etc \
|
---|
| 138 | --localstatedir=/var \
|
---|
[01996ebb] | 139 | --libexecdir=/usr/lib/colord \
|
---|
[4ad93b6] | 140 | --with-daemon-user=colord \
|
---|
| 141 | --enable-vala \
|
---|
| 142 | --disable-bash-completion \
|
---|
| 143 | --disable-systemd-login \
|
---|
[c341539] | 144 | --disable-static &&
|
---|
[f1a8ab0] | 145 | make</userinput></screen>
|
---|
| 146 |
|
---|
[7ded7e3] | 147 | <para>
|
---|
| 148 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[f1a8ab0] | 150 |
|
---|
| 151 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 152 |
|
---|
[d6da5da] | 153 | <para>
|
---|
[0749710c] | 154 | To test the results, issue: <command>make -k check</command>. For unknown
|
---|
| 155 | reasons, one test (cd-self-test) fails. Note that system-wide
|
---|
| 156 | <application>D-Bus</application> daemon must be running or the tests will
|
---|
| 157 | fail.
|
---|
[d6da5da] | 158 | </para>
|
---|
| 159 |
|
---|
[f1a8ab0] | 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="commands">
|
---|
| 163 | <title>Command Explanations</title>
|
---|
| 164 |
|
---|
[28b61748] | 165 | <para>
|
---|
[d6da5da] | 166 | <parameter>--with-daemon-user=colord</parameter>: This
|
---|
| 167 | switch is used so the <command>colord</command> daemon
|
---|
| 168 | will run as an unprivileged user instead of
|
---|
| 169 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 170 | </para>
|
---|
| 171 |
|
---|
| 172 | <para>
|
---|
[fa99d008] | 173 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
[d6da5da] | 174 | building of the Vala bindings. Remove if you don't
|
---|
| 175 | have <xref linkend="vala"/> installed.
|
---|
[28b61748] | 176 | </para>
|
---|
| 177 |
|
---|
[b194f2b] | 178 | <para>
|
---|
[fa99d008] | 179 | <parameter>--disable-bash-completion</parameter>: This switch
|
---|
[b194f2b] | 180 | disables <application>Bash Completion</application>
|
---|
| 181 | support for <application>Colord</application> apps.
|
---|
| 182 | </para>
|
---|
| 183 |
|
---|
[82b5e658] | 184 | <para>
|
---|
[fa99d008] | 185 | <parameter>--disable-systemd-login</parameter>: This switch
|
---|
[82b5e658] | 186 | prevents <command>configure</command> to look for
|
---|
| 187 | <application>Systemd</application> libraries since
|
---|
| 188 | <application>Systemd</application> is not part of
|
---|
| 189 | LFS or BLFS.
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
[c341539] | 192 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 193 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c341539] | 194 |
|
---|
| 195 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 196 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f1a8ab0] | 197 |
|
---|
[fa99d008] | 198 | <para>
|
---|
| 199 | <option>--disable-gusb</option>: Use this switch if you don't have
|
---|
| 200 | <application>libgusb</application> installed.
|
---|
| 201 | </para>
|
---|
| 202 |
|
---|
| 203 | <para>
|
---|
| 204 | <option>--disable-gudev</option>: Use this switch if you don't have GUdev
|
---|
| 205 | installed.
|
---|
| 206 | </para>
|
---|
| 207 |
|
---|
| 208 | <para>
|
---|
| 209 | <option>--disable-polkit</option>: Use this switch if you don't have
|
---|
| 210 | <application>Polkit</application> installed.
|
---|
| 211 | </para>
|
---|
| 212 |
|
---|
[f1a8ab0] | 213 | </sect2>
|
---|
| 214 |
|
---|
| 215 | <sect2 role="content">
|
---|
| 216 | <title>Contents</title>
|
---|
| 217 |
|
---|
| 218 | <segmentedlist>
|
---|
| 219 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 220 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 221 | <segtitle>Installed Directories</segtitle>
|
---|
| 222 |
|
---|
| 223 | <seglistitem>
|
---|
[c341539] | 224 | <seg>
|
---|
[4890200] | 225 | cd-create-profile, cd-fix-profile, cd-iccdump, colord,
|
---|
[4ad93b6] | 226 | colord-sane, colord-session, and colormgr
|
---|
[c341539] | 227 | </seg>
|
---|
| 228 | <seg>
|
---|
[82b5e658] | 229 | libcolordprivate.so, libcolord.so and
|
---|
| 230 | libcolorhug.so
|
---|
[c341539] | 231 | </seg>
|
---|
| 232 | <seg>
|
---|
[7ded7e3] | 233 | /usr/include/colord-1,
|
---|
| 234 | /usr/lib/colord,
|
---|
[28b61748] | 235 | /usr/lib/colord-plugins,
|
---|
[7ded7e3] | 236 | /usr/lib/colord-sensors,
|
---|
| 237 | /usr/share/color,
|
---|
[c8f8332] | 238 | /usr/share/colord,
|
---|
[c341539] | 239 | /usr/share/gtk-doc/html/colord and
|
---|
| 240 | /var/lib/colord
|
---|
| 241 | </seg>
|
---|
[f1a8ab0] | 242 | </seglistitem>
|
---|
| 243 | </segmentedlist>
|
---|
| 244 |
|
---|
| 245 | <variablelist>
|
---|
| 246 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 247 | <?dbfo list-presentation="list"?>
|
---|
| 248 | <?dbhtml list-presentation="table"?>
|
---|
| 249 |
|
---|
| 250 | <varlistentry id="cd-create-profile">
|
---|
| 251 | <term><command>cd-create-profile</command></term>
|
---|
| 252 | <listitem>
|
---|
[7ded7e3] | 253 | <para>
|
---|
| 254 | is a Color Manager Profile Creation Tool.
|
---|
| 255 | </para>
|
---|
[f1a8ab0] | 256 | <indexterm zone="colord cd-create-profile">
|
---|
| 257 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
| 261 |
|
---|
| 262 | <varlistentry id="cd-fix-profile">
|
---|
| 263 | <term><command>cd-fix-profile</command></term>
|
---|
| 264 | <listitem>
|
---|
[7ded7e3] | 265 | <para>
|
---|
| 266 | is a tool used to fix metadata in ICC profiles.
|
---|
| 267 | </para>
|
---|
[f1a8ab0] | 268 | <indexterm zone="colord cd-fix-profile">
|
---|
| 269 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
| 274 | <varlistentry id="colormgr">
|
---|
| 275 | <term><command>colormgr</command></term>
|
---|
| 276 | <listitem>
|
---|
[7ded7e3] | 277 | <para>
|
---|
| 278 | is a text-mode program that allows you to interact with colord
|
---|
| 279 | on the command line.
|
---|
| 280 | </para>
|
---|
[f1a8ab0] | 281 | <indexterm zone="colord colormgr">
|
---|
| 282 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 283 | </indexterm>
|
---|
| 284 | </listitem>
|
---|
| 285 | </varlistentry>
|
---|
| 286 |
|
---|
| 287 | <varlistentry id="libcolord">
|
---|
[c8f8332] | 288 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 289 | <listitem>
|
---|
[7ded7e3] | 290 | <para>
|
---|
| 291 | contains the <application>Colord</application> API functions.
|
---|
| 292 | </para>
|
---|
[f1a8ab0] | 293 | <indexterm zone="colord libcolord">
|
---|
[c341539] | 294 | <primary sortas="c-libcolord">libcolord.so</primary>
|
---|
[f1a8ab0] | 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 |
|
---|
| 299 | </variablelist>
|
---|
| 300 |
|
---|
| 301 | </sect2>
|
---|
| 302 |
|
---|
| 303 | </sect1>
|
---|