source: general/sysutils/colord.xml@ 30c1c72

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 30c1c72 was 30c1c72, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Tag GTK+-2, GTK+-3, and Sawfish

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