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