[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 " ">
|
---|
[780a799a] | 10 | <!ENTITY colord-md5sum "9bd8a1f117742c31d195a09092ca3066">
|
---|
[b26bc4c] | 11 | <!ENTITY colord-size "1.1 MB">
|
---|
[c9ba90cb] | 12 | <!ENTITY colord-buildsize "30 MB (additional 3 MB to rebuild and install
|
---|
| 13 | the API documentation, and 3 MB for the tests)">
|
---|
[0749710c] | 14 | <!ENTITY colord-time "0.4 SBU">
|
---|
[f1a8ab0] | 15 | ]>
|
---|
| 16 |
|
---|
[880c568] | 17 | <sect1 id="colord" xreflabel="Colord-&colord-version;">
|
---|
[f1a8ab0] | 18 | <?dbhtml filename="colord.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
[880c568] | 25 | <title>Colord-&colord-version;</title>
|
---|
[f1a8ab0] | 26 |
|
---|
| 27 | <indexterm zone="colord">
|
---|
[880c568] | 28 | <primary sortas="a-Colord">Colord</primary>
|
---|
[f1a8ab0] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[7ded7e3] | 32 | <title>Introduction to Colord</title>
|
---|
[f1a8ab0] | 33 |
|
---|
[7ded7e3] | 34 | <para>
|
---|
[01996ebb] | 35 | <application>Colord</application> is a system activated daemon that
|
---|
| 36 | maps devices to color profiles. It is used by
|
---|
[7ded7e3] | 37 | <application>GNOME Color Manager</application> for system integration
|
---|
| 38 | and use when there are no users logged in.
|
---|
| 39 | </para>
|
---|
[f1a8ab0] | 40 |
|
---|
[b5404468] | 41 | &lfs75_checked;
|
---|
[f1a8ab0] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[7ded7e3] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&colord-download-http;"/>
|
---|
| 48 | </para>
|
---|
[f1a8ab0] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[7ded7e3] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&colord-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[f1a8ab0] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[7ded7e3] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &colord-md5sum;
|
---|
| 58 | </para>
|
---|
[f1a8ab0] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[7ded7e3] | 61 | <para>
|
---|
| 62 | Download size: &colord-size;
|
---|
| 63 | </para>
|
---|
[f1a8ab0] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[7ded7e3] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &colord-buildsize;
|
---|
| 68 | </para>
|
---|
[f1a8ab0] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[7ded7e3] | 71 | <para>
|
---|
| 72 | Estimated build time: &colord-time;
|
---|
| 73 | </para>
|
---|
[f1a8ab0] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
[7ded7e3] | 77 | <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
|
---|
[f1a8ab0] | 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c341539] | 80 | <para role="required">
|
---|
[fa99d008] | 81 | <xref linkend="glib2"/>,
|
---|
| 82 | <xref linkend="intltool"/>,
|
---|
[de84a824] | 83 | <xref linkend="lcms2"/>,
|
---|
| 84 | <xref linkend="sqlite"/>, and
|
---|
| 85 | <xref linkend="dbus"/>
|
---|
[c341539] | 86 | </para>
|
---|
| 87 |
|
---|
[0749710c] | 88 | <bridgehead renderas="sect4">Required (for the tests)</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
[f1607a4] | 90 | <xref linkend="valgrind"/>
|
---|
[0749710c] | 91 | </para>
|
---|
| 92 |
|
---|
[7ded7e3] | 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c341539] | 94 | <para role="recommended">
|
---|
[fa99d008] | 95 | <xref linkend="libgusb"/>,
|
---|
| 96 | <xref linkend="udev-extras"/> (for GUdev),
|
---|
| 97 | <xref linkend="polkit"/>,
|
---|
| 98 | <xref linkend="gobject-introspection"/>, and
|
---|
[01996ebb] | 99 | <xref linkend="vala"/>
|
---|
[c341539] | 100 | </para>
|
---|
[f1a8ab0] | 101 |
|
---|
[7ded7e3] | 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c341539] | 103 | <para role="optional">
|
---|
[b194f2b] | 104 | <ulink url="bash-completion.alioth.debian.org">Bash Completion</ulink>,
|
---|
[665ac79f] | 105 | <ulink url="http://www.freedesktop.org/software/colord/releases/">
|
---|
| 106 | colord-gtk</ulink> and <xref linkend="gnome-desktop"/>
|
---|
[82b5e658] | 107 | (To build the example tools),
|
---|
[01996ebb] | 108 | <xref linkend="docbook-utils"/>,
|
---|
[d6da5da] | 109 | <xref linkend="gtk-doc"/> and
|
---|
[c341539] | 110 | <xref linkend="sane"/>
|
---|
| 111 | </para>
|
---|
[f1a8ab0] | 112 |
|
---|
| 113 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 114 | <ulink url="&blfs-wiki;/colord"/>
|
---|
| 115 | </para>
|
---|
[f1a8ab0] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
[7ded7e3] | 119 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 120 |
|
---|
[d6da5da] | 121 | <para>
|
---|
| 122 | There should be a dedicated user and group to take control
|
---|
| 123 | of the <command>colord</command> daemon after it is started.
|
---|
| 124 | Issue the following commands as the
|
---|
| 125 | <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 129 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 130 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 131 |
|
---|
[7ded7e3] | 132 | <para>
|
---|
| 133 | Install <application>Colord</application> by running the following
|
---|
| 134 | commands:
|
---|
| 135 | </para>
|
---|
[f1a8ab0] | 136 |
|
---|
[4ad93b6] | 137 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 138 | --sysconfdir=/etc \
|
---|
| 139 | --localstatedir=/var \
|
---|
| 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 |
|
---|
[663b79c2] | 213 | <para><option>--libexecdir=/usr/lib/colord</option>: This option
|
---|
| 214 | creates a <filename class="directory">colord</filename> directory in
|
---|
| 215 | <filename class="directory">/usr/lib</filename> instead of putting the
|
---|
| 216 | program's private programs into <filename
|
---|
| 217 | class="directory">/usr/libexec</filename> in accordance with the old
|
---|
| 218 | version of the FHS used before LFS-7.5.</para>
|
---|
| 219 |
|
---|
[f1a8ab0] | 220 | </sect2>
|
---|
| 221 |
|
---|
| 222 | <sect2 role="content">
|
---|
| 223 | <title>Contents</title>
|
---|
| 224 |
|
---|
| 225 | <segmentedlist>
|
---|
| 226 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 227 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 228 | <segtitle>Installed Directories</segtitle>
|
---|
| 229 |
|
---|
| 230 | <seglistitem>
|
---|
[c341539] | 231 | <seg>
|
---|
[4890200] | 232 | cd-create-profile, cd-fix-profile, cd-iccdump, colord,
|
---|
[4ad93b6] | 233 | colord-sane, colord-session, and colormgr
|
---|
[c341539] | 234 | </seg>
|
---|
| 235 | <seg>
|
---|
[c9ba90cb] | 236 | libcolordprivate.so, libcolord.so, libcolorhug.so and
|
---|
| 237 | several under /usr/lib/colord-plugin
|
---|
[c341539] | 238 | </seg>
|
---|
| 239 | <seg>
|
---|
[7ded7e3] | 240 | /usr/include/colord-1,
|
---|
| 241 | /usr/lib/colord,
|
---|
[28b61748] | 242 | /usr/lib/colord-plugins,
|
---|
[7ded7e3] | 243 | /usr/lib/colord-sensors,
|
---|
| 244 | /usr/share/color,
|
---|
[c8f8332] | 245 | /usr/share/colord,
|
---|
[c341539] | 246 | /usr/share/gtk-doc/html/colord and
|
---|
| 247 | /var/lib/colord
|
---|
| 248 | </seg>
|
---|
[f1a8ab0] | 249 | </seglistitem>
|
---|
| 250 | </segmentedlist>
|
---|
| 251 |
|
---|
| 252 | <variablelist>
|
---|
| 253 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 254 | <?dbfo list-presentation="list"?>
|
---|
| 255 | <?dbhtml list-presentation="table"?>
|
---|
| 256 |
|
---|
| 257 | <varlistentry id="cd-create-profile">
|
---|
| 258 | <term><command>cd-create-profile</command></term>
|
---|
| 259 | <listitem>
|
---|
[7ded7e3] | 260 | <para>
|
---|
| 261 | is a Color Manager Profile Creation Tool.
|
---|
| 262 | </para>
|
---|
[f1a8ab0] | 263 | <indexterm zone="colord cd-create-profile">
|
---|
| 264 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="cd-fix-profile">
|
---|
| 270 | <term><command>cd-fix-profile</command></term>
|
---|
| 271 | <listitem>
|
---|
[7ded7e3] | 272 | <para>
|
---|
| 273 | is a tool used to fix metadata in ICC profiles.
|
---|
| 274 | </para>
|
---|
[f1a8ab0] | 275 | <indexterm zone="colord cd-fix-profile">
|
---|
| 276 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 |
|
---|
| 281 | <varlistentry id="colormgr">
|
---|
| 282 | <term><command>colormgr</command></term>
|
---|
| 283 | <listitem>
|
---|
[7ded7e3] | 284 | <para>
|
---|
| 285 | is a text-mode program that allows you to interact with colord
|
---|
| 286 | on the command line.
|
---|
| 287 | </para>
|
---|
[f1a8ab0] | 288 | <indexterm zone="colord colormgr">
|
---|
| 289 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 290 | </indexterm>
|
---|
| 291 | </listitem>
|
---|
| 292 | </varlistentry>
|
---|
| 293 |
|
---|
| 294 | <varlistentry id="libcolord">
|
---|
[c8f8332] | 295 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 296 | <listitem>
|
---|
[7ded7e3] | 297 | <para>
|
---|
| 298 | contains the <application>Colord</application> API functions.
|
---|
| 299 | </para>
|
---|
[f1a8ab0] | 300 | <indexterm zone="colord libcolord">
|
---|
[c341539] | 301 | <primary sortas="c-libcolord">libcolord.so</primary>
|
---|
[f1a8ab0] | 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 |
|
---|
| 306 | </variablelist>
|
---|
| 307 |
|
---|
| 308 | </sect2>
|
---|
| 309 |
|
---|
| 310 | </sect1>
|
---|