source: general/sysutils/colord.xml@ d60cd837

elogind
Last change on this file since d60cd837 was d60cd837, checked in by DJ Lucas <dj@…>, 5 years ago

Merge to HEAD 21080.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/BOOK-elogind@21081 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.3 KB
Line 
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 "https://www.freedesktop.org/software/colord/releases/colord-&colord-version;.tar.xz">
8 <!ENTITY colord-download-ftp " ">
9 <!ENTITY colord-md5sum "f032ecac927e9078c41fff97800441e8">
10 <!ENTITY colord-size "1.8 MB">
11 <!ENTITY colord-buildsize "22 MB (with tests)">
12 <!ENTITY colord-time "0.2 SBU (with tests)">
13]>
14
15<sect1 id="colord" xreflabel="colord-&colord-version;">
16 <?dbhtml filename="colord.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Colord-&colord-version;</title>
24
25 <indexterm zone="colord">
26 <primary sortas="a-colord">Colord</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Colord</title>
31
32 <para>
33 <application>Colord</application> is a system service that makes it easy
34 to manage, install, and generate color profiles. It is used mainly by
35 <application>GNOME Color Manager</application> for system integration
36 and use when no users are logged in.
37 </para>
38
39 &lfs83_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&colord-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&colord-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &colord-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &colord-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &colord-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &colord-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="dbus"/>,
80 <xref linkend="glib2"/>,
81 <xref linkend="lcms2"/>,
82 <xref linkend="polkit"/>, and
83 <!-- Polkit now needed, see #11481 in Trac -->
84 <xref linkend="sqlite"/>
85 </para>
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <xref linkend="gobject-introspection"/>,
90 <xref linkend="libgudev"/>,
91 <xref linkend="libgusb"/>,
92 <phrase revision="sysv">and</phrase>
93 <phrase revision="systemd"><xref linkend="systemd"/>, and</phrase>
94 <xref linkend="vala"/>
95 </para>
96
97 <bridgehead renderas="sect4">Optional</bridgehead>
98 <para role="optional">
99 <xref linkend="docbook-utils"/>,
100 <xref linkend="gnome-desktop"/> and
101 <xref linkend="colord-gtk"/> (to build the example tools),
102 <xref linkend="gtk-doc"/>,
103 <xref linkend="libxslt"/>,
104 <xref linkend="sane"/>,
105 <ulink url="http://www.argyllcms.com/">ArgyllCMS</ulink>, and
106 <ulink url="https://github.com/scop/bash-completion/">Bash Completion</ulink>
107 </para>
108
109 <para condition="html" role="usernotes">
110 User Notes: <ulink url="&blfs-wiki;/colord"/>
111 </para>
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of Colord</title>
116
117 <para>
118 There should be a dedicated user and group to take control of the colord
119 daemon after it has started. Issue the following commands as the
120 <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>groupadd -g 71 colord &amp;&amp;
124useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
125 -g colord -s /bin/false colord</userinput></screen>
126
127 <para>First, clean up about 100 warnings:</para>
128
129<screen><userinput>mv po/fur.po po/ur.po &amp;&amp;
130sed -i 's/fur/ur/' po/LINGUAS</userinput></screen>
131
132 <para>
133 Install <application>Colord</application> by running the following
134 commands:
135 </para>
136
137<screen revision="sysv"><userinput>mkdir build &amp;&amp;
138cd build &amp;&amp;
139
140meson --prefix=/usr \
141 --sysconfdir=/etc \
142 --localstatedir=/var \
143 -Ddaemon_user=colord \
144 -Dvapi=true \
145 -Dsystemd=false \
146 -Dlibcolordcompat=true \
147 -Dargyllcms_sensor=false \
148 -Dbash_completion=false \
149 -Ddocs=false \
150 -Dman=false .. &amp;&amp;
151ninja</userinput></screen>
152
153<screen revision="systemd"><userinput>mkdir build &amp;&amp;
154cd build &amp;&amp;
155
156meson --prefix=/usr \
157 --sysconfdir=/etc \
158 --localstatedir=/var \
159 -Ddaemon_user=colord \
160 -Dvapi=true \
161 -Dsystemd=true \
162 -Dlibcolordcompat=true \
163 -Dargyllcms_sensor=false \
164 -Dbash_completion=false \
165 -Ddocs=false \
166 -Dman=false .. &amp;&amp;
167ninja</userinput></screen>
168
169 <para>
170 Now, as the <systemitem class="username">root</systemitem> user:
171 </para>
172
173<screen role="root"><userinput>ninja install</userinput></screen>
174
175 <para>
176 To test the results, issue: <command>ninja -k 2 test</command>.
177 One test, <filename>colord-self-test-daemon</filename>, will fail.
178 The test suite must be run after the package is installed, and the
179 system-wide D-Bus Daemon must be running.
180 </para>
181
182 </sect2>
183
184 <sect2 role="commands">
185 <title>Command Explanations</title>
186
187 <para>
188 <parameter>-Ddaemon_user=colord</parameter>: This switch is used
189 so the colord daemon will run as an unprivileged user instead of the
190 <systemitem class="username">root</systemitem> user.
191 </para>
192
193 <para>
194 <parameter>-Dvapi=true</parameter>: This switch enables building
195 the <application>Vala</application> bindings. Remove if you don't have
196 <xref linkend="vala"/> installed.
197 </para>
198
199 <para revision="sysv">
200 <parameter>-Dsystemd=false</parameter>: This switch disables
201 support for <application>systemd</application> login in Colord
202 applications.
203 </para>
204
205 <para revision="systemd">
206 <parameter>-Dsystemd=true</parameter>: This switch enables
207 installation of the <application>systemd</application> service.
208 </para>
209
210 <para>
211 <parameter>-Dlibcolordcompat=true</parameter>: This switch enables
212 building a compatibility library for older packages that use
213 <application>Colord</application>.
214 </para>
215
216 <para>
217 <parameter>-Dargyllcms_sensor=false</parameter>: This switch
218 disables the ArgLLCMS sensor driver. Omit if you have
219 <ulink url="http://www.argyllcms.com/">ArgyllCMS</ulink> installed
220 and wish to use it.
221 </para>
222
223 <para>
224 <parameter>-Dbash_completion=false</parameter>: This switch
225 disables Bash Completion support for Colord applications.
226 </para>
227
228 <para>
229 <parameter>-Ddocs=false</parameter>: This switch disables building
230 of documentation. Omit if you have <xref linkend="gtk-doc"/> avaialable.
231 </para>
232
233 <para>
234 <parameter>-Dman=false</parameter>: This switch disables building
235 of man pages. Omit if you have <xref linkend="docbook-utils"/>
236 avaialable.
237 </para>
238
239 </sect2>
240
241 <sect2 role="content">
242 <title>Contents</title>
243
244 <segmentedlist>
245 <segtitle>Installed Programs</segtitle>
246 <segtitle>Installed Libraries</segtitle>
247 <segtitle>Installed Directories</segtitle>
248
249 <seglistitem>
250 <seg>
251 cd-create-profile,
252 cd-fix-profile,
253 cd-iccdump,
254 cd-it8, and
255 colormgr
256 </seg>
257 <seg>
258 libcolord.so,
259 libcolordcompat.so,
260 libcolordprivate.so, and
261 libcolorhug.so
262 </seg>
263 <seg>
264 /usr/include/colord-1,
265 /usr/lib/colord-{plugins,sensors},
266 /usr/share/color{d},
267 /usr/share/gtk-doc/html/colord, and
268 /var/lib/colord
269 </seg>
270 </seglistitem>
271 </segmentedlist>
272
273 <variablelist>
274 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
275 <?dbfo list-presentation="list"?>
276 <?dbhtml list-presentation="table"?>
277
278 <!-- If the program or library name conflicts (is the same) as the
279 package name, add -prog or -lib to the varlistentry entity id
280 and the 2nd entry of the indexterm zone entity -->
281
282 <varlistentry id="cd-create-profile">
283 <term><command>cd-create-profile</command></term>
284 <listitem>
285 <para>
286 is the Color Manager Profile Creation Tool.
287 </para>
288 <indexterm zone="colord cd-create-profile">
289 <primary sortas="b-cd-create-profile">cd-create-profile</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="cd-fix-profile">
295 <term><command>cd-fix-profile</command></term>
296 <listitem>
297 <para>
298 is a tool used to fix metadata in ICC profiles.
299 </para>
300 <indexterm zone="colord cd-fix-profile">
301 <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="cd-iccdump">
307 <term><command>cd-iccdump</command></term>
308 <listitem>
309 <para>
310 dumps the contents of an ICC profile as human readable text.
311 </para>
312 <indexterm zone="colord cd-iccdump">
313 <primary sortas="b-cd-iccdump">cd-iccdump</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="cd-it8">
319 <term><command>cd-it8</command></term>
320 <listitem>
321 <para>
322 is the Color Manager Testing Tool.
323 </para>
324 <indexterm zone="colord cd-it8">
325 <primary sortas="b-cd-it8">cd-it8</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="colormgr">
331 <term><command>colormgr</command></term>
332 <listitem>
333 <para>
334 is a text-mode program that allows you to interact with colord on
335 the command line.
336 </para>
337 <indexterm zone="colord colormgr">
338 <primary sortas="b-colormgr">colormgr</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 <varlistentry id="libcolord.so">
344 <term><filename class="libraryfile">libcolord.so</filename></term>
345 <listitem>
346 <para>
347 contains the <application>Colord</application> API functions.
348 </para>
349 <indexterm zone="colord libcolord.so">
350 <primary sortas="c-libcolord.so">libcolord.so</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
355 <varlistentry id="libcolordcompat.so">
356 <term><filename class="libraryfile">libcolordcompat.so</filename></term>
357 <listitem>
358 <para>
359 contains legacy API functions for compatibility with older
360 applications.
361 </para>
362 <indexterm zone="colord libcolordcompat.so">
363 <primary sortas="c-libcolordcompat.so">libcolordcompat.so</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="libcolordprivate.so">
369 <term><filename class="libraryfile">libcolordprivate.so</filename></term>
370 <listitem>
371 <para>
372 contains internal API functions for the programs included with
373 <application>Colord</application>.
374 </para>
375 <indexterm zone="colord libcolordprivate.so">
376 <primary sortas="c-libcolordprivate.so">libcolordprivate.so</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="libcolorhug.so">
382 <term><filename class="libraryfile">libcolorhug.so</filename></term>
383 <listitem>
384 <para>
385 contains a simple display hardware colorimiter.
386 </para>
387 <indexterm zone="colord libcolorhug.so">
388 <primary sortas="c-libcolorhug.so">libcolorhug.so</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
392 </variablelist>
393 </sect2>
394</sect1>
Note: See TracBrowser for help on using the repository browser.