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 |
|
---|
7 | <!ENTITY colord-download-http
|
---|
8 | "http://www.freedesktop.org/software/colord/releases/colord-&colord-version;.tar.xz">
|
---|
9 | <!ENTITY colord-download-ftp " ">
|
---|
10 | <!ENTITY colord-md5sum "02f3e9cbb24a375bb981e680fae8e9be">
|
---|
11 | <!ENTITY colord-size "1.2 MB">
|
---|
12 | <!ENTITY colord-buildsize "36 MB (additional 4 MB for the tests)">
|
---|
13 | <!ENTITY colord-time "0.4 SBU (additional 0.1 SBU for the tests)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="colord" xreflabel="Colord-&colord-version;">
|
---|
17 | <?dbhtml filename="colord.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Colord-&colord-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="colord">
|
---|
27 | <primary sortas="a-Colord">Colord</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Colord</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>Colord</application> is a system activated daemon that
|
---|
35 | maps devices to color profiles. It is used by
|
---|
36 | <application>GNOME Color Manager</application> for system integration
|
---|
37 | and use when there are no users logged in.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs77_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&colord-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&colord-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &colord-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &colord-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &colord-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &colord-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required">
|
---|
80 | <xref linkend="dbus"/>,
|
---|
81 | <xref linkend="glib2"/>,
|
---|
82 | <xref linkend="lcms2"/>, and
|
---|
83 | <xref linkend="sqlite"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Required (for the tests)</bridgehead>
|
---|
87 | <para role="required">
|
---|
88 | <xref linkend="valgrind"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
92 | <para role="recommended">
|
---|
93 | <xref linkend="libgusb"/>,
|
---|
94 | <xref linkend="gobject-introspection"/>,
|
---|
95 | <xref linkend="polkit"/>,
|
---|
96 | <xref linkend="udev-extras"/> (for GUdev), and
|
---|
97 | <xref linkend="vala"/>
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
101 | <para role="optional">
|
---|
102 | <xref linkend="gnome-desktop"/> and
|
---|
103 | <ulink url="http://www.freedesktop.org/software/colord/releases/">
|
---|
104 | colord-gtk</ulink> (to build the example tools),
|
---|
105 | <xref linkend="docbook-utils"/>,
|
---|
106 | <xref linkend="gtk-doc"/>,
|
---|
107 | <xref linkend="libxslt"/>,
|
---|
108 | <xref linkend="sane"/>,
|
---|
109 | <ulink url="http://www.argyllcms.com/">ArgllCMS</ulink>, and
|
---|
110 | <ulink url="http://bash-completion.alioth.debian.org/">Bash Completion</ulink>,
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para condition="html" role="usernotes">User Notes:
|
---|
114 | <ulink url="&blfs-wiki;/colord"/>
|
---|
115 | </para>
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="installation">
|
---|
119 | <title>Installation of Colord</title>
|
---|
120 |
|
---|
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 |
|
---|
132 | <para>
|
---|
133 | Install <application>Colord</application> by running the following
|
---|
134 | commands:
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <screen><userinput>./configure --prefix=/usr \
|
---|
138 | --sysconfdir=/etc \
|
---|
139 | --localstatedir=/var \
|
---|
140 | --with-daemon-user=colord \
|
---|
141 | --enable-vala \
|
---|
142 | --enable-systemd-login=no \
|
---|
143 | --disable-argyllcms-sensor \
|
---|
144 | --disable-bash-completion \
|
---|
145 | --disable-static \
|
---|
146 | --with-systemdsystemunitdir=no &&
|
---|
147 | make</userinput></screen>
|
---|
148 |
|
---|
149 | <para>
|
---|
150 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
151 | </para>
|
---|
152 |
|
---|
153 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
154 |
|
---|
155 | <para>
|
---|
156 | To test the results, issue: <command>make -k check</command>. For unknown
|
---|
157 | reasons, some tests may fail. Note that system-wide
|
---|
158 | <application>D-Bus</application> daemon must be running or the tests
|
---|
159 | will fail.
|
---|
160 | </para>
|
---|
161 |
|
---|
162 | </sect2>
|
---|
163 |
|
---|
164 | <sect2 role="commands">
|
---|
165 | <title>Command Explanations</title>
|
---|
166 |
|
---|
167 | <para>
|
---|
168 | <parameter>--with-daemon-user=colord</parameter>: This
|
---|
169 | switch is used so the <command>colord</command> daemon
|
---|
170 | will run as an unprivileged user instead of
|
---|
171 | <systemitem class="username">root</systemitem> user.
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | <para>
|
---|
175 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
176 | building of the Vala bindings. Remove if you don't
|
---|
177 | have <xref linkend="vala"/> installed.
|
---|
178 | </para>
|
---|
179 |
|
---|
180 | <para>
|
---|
181 | <parameter>--enable-systemd-login=no</parameter>: This parameter fixes
|
---|
182 | building without <application>systemd</application>, which is not part
|
---|
183 | of LFS/BLFS. If you use <application>systemd</application>,
|
---|
184 | replace "no" by "yes".
|
---|
185 | </para>
|
---|
186 |
|
---|
187 | <para>
|
---|
188 | <parameter>--disable-argyllcms-sensor</parameter>: Disables <ulink
|
---|
189 | url="http://www.argyllcms.com/">ArgllCMS</ulink> sensor driver.
|
---|
190 | </para>
|
---|
191 |
|
---|
192 | <para>
|
---|
193 | <parameter>--disable-bash-completion</parameter>: This switch
|
---|
194 | disables <application>Bash Completion</application>
|
---|
195 | support for <application>Colord</application> apps.
|
---|
196 | </para>
|
---|
197 |
|
---|
198 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
199 | href="../../xincludes/static-libraries.xml"/>
|
---|
200 |
|
---|
201 | <para>
|
---|
202 | <parameter>--with-systemdsystemunitdir=no</parameter>: Disables
|
---|
203 | attempting to build with systemd libraries.
|
---|
204 | </para>
|
---|
205 |
|
---|
206 | <para>
|
---|
207 | <option>--enable-gtk-doc</option>: Use this switch if
|
---|
208 | <application>GTK-Doc</application> is installed and you wish to build
|
---|
209 | and install the API documentation.
|
---|
210 | </para>
|
---|
211 |
|
---|
212 | <para>
|
---|
213 | <option>--disable-gusb</option>: Use this switch if you don't have
|
---|
214 | <application>libgusb</application> installed.
|
---|
215 | </para>
|
---|
216 |
|
---|
217 | <para>
|
---|
218 | <option>--disable-udev</option>: Use this switch if you don't have GUdev
|
---|
219 | installed.
|
---|
220 | </para>
|
---|
221 |
|
---|
222 | <para>
|
---|
223 | <option>--disable-polkit</option>: Use this switch if you don't have
|
---|
224 | <application>Polkit</application> installed.
|
---|
225 | </para>
|
---|
226 |
|
---|
227 | </sect2>
|
---|
228 |
|
---|
229 | <sect2 role="content">
|
---|
230 | <title>Contents</title>
|
---|
231 |
|
---|
232 | <segmentedlist>
|
---|
233 | <segtitle>Installed Programs</segtitle>
|
---|
234 | <segtitle>Installed Libraries</segtitle>
|
---|
235 | <segtitle>Installed Directories</segtitle>
|
---|
236 |
|
---|
237 | <seglistitem>
|
---|
238 | <seg>
|
---|
239 | cd-create-profile, cd-fix-profile, cd-iccdump, cd-it8, and colormgr
|
---|
240 | </seg>
|
---|
241 | <seg>
|
---|
242 | libcolord.so, libcolordprivate.so, and libcolorhug.so
|
---|
243 | </seg>
|
---|
244 | <seg>
|
---|
245 | /usr/include/colord-1,
|
---|
246 | /usr/lib/colord-plugins,
|
---|
247 | /usr/lib/colord-sensors,
|
---|
248 | /usr/share/color{,d},
|
---|
249 | /usr/share/gtk-doc/html/colord and
|
---|
250 | /var/lib/colord
|
---|
251 | </seg>
|
---|
252 | </seglistitem>
|
---|
253 | </segmentedlist>
|
---|
254 |
|
---|
255 | <variablelist>
|
---|
256 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
257 | <?dbfo list-presentation="list"?>
|
---|
258 | <?dbhtml list-presentation="table"?>
|
---|
259 |
|
---|
260 | <varlistentry id="cd-create-profile">
|
---|
261 | <term><command>cd-create-profile</command></term>
|
---|
262 | <listitem>
|
---|
263 | <para>
|
---|
264 | is a Color Manager Profile Creation Tool.
|
---|
265 | </para>
|
---|
266 | <indexterm zone="colord cd-create-profile">
|
---|
267 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
268 | </indexterm>
|
---|
269 | </listitem>
|
---|
270 | </varlistentry>
|
---|
271 |
|
---|
272 | <varlistentry id="cd-fix-profile">
|
---|
273 | <term><command>cd-fix-profile</command></term>
|
---|
274 | <listitem>
|
---|
275 | <para>
|
---|
276 | is a tool used to fix metadata in ICC profiles.
|
---|
277 | </para>
|
---|
278 | <indexterm zone="colord cd-fix-profile">
|
---|
279 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
280 | </indexterm>
|
---|
281 | </listitem>
|
---|
282 | </varlistentry>
|
---|
283 |
|
---|
284 | <varlistentry id="cd-it8">
|
---|
285 | <term><command>cd-it8</command></term>
|
---|
286 | <listitem>
|
---|
287 | <para>
|
---|
288 | is a Color Manager Testing Tool.
|
---|
289 | </para>
|
---|
290 | <indexterm zone="colord cd-it8">
|
---|
291 | <primary sortas="b-cd-it8">cd-it8</primary>
|
---|
292 | </indexterm>
|
---|
293 | </listitem>
|
---|
294 | </varlistentry>
|
---|
295 |
|
---|
296 | <varlistentry id="colormgr">
|
---|
297 | <term><command>colormgr</command></term>
|
---|
298 | <listitem>
|
---|
299 | <para>
|
---|
300 | is a text-mode program that allows you to interact with colord
|
---|
301 | on the command line.
|
---|
302 | </para>
|
---|
303 | <indexterm zone="colord colormgr">
|
---|
304 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
305 | </indexterm>
|
---|
306 | </listitem>
|
---|
307 | </varlistentry>
|
---|
308 |
|
---|
309 | <varlistentry id="libcolord">
|
---|
310 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
311 | <listitem>
|
---|
312 | <para>
|
---|
313 | contains the <application>Colord</application> API functions.
|
---|
314 | </para>
|
---|
315 | <indexterm zone="colord libcolord">
|
---|
316 | <primary sortas="c-libcolord">libcolord.so</primary>
|
---|
317 | </indexterm>
|
---|
318 | </listitem>
|
---|
319 | </varlistentry>
|
---|
320 |
|
---|
321 | </variablelist>
|
---|
322 |
|
---|
323 | </sect2>
|
---|
324 |
|
---|
325 | </sect1>
|
---|