source: general/sysutils/colord.xml@ f8b4f14

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since f8b4f14 was 91318eb, checked in by Pierre Labastie <pierre.labastie@…>, 16 months ago

Add "setup" to meson commands

I've not been very consistent on typography, but it is a start

  • Property mode set to 100644
File size: 12.5 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 &lfs113_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 <xref linkend="gobject-introspection"/>,
86 <xref linkend="libgudev"/>,
87 <xref linkend="libgusb"/>,
88 <phrase revision="sysv">and</phrase>
89 <phrase revision="systemd"><xref linkend="systemd"/>, and</phrase>
90 <xref linkend="vala"/>
91 </para>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional">
95 <xref linkend="gnome-desktop"/> and
96 <xref linkend="colord-gtk"/> (to build the example tools),
97 <xref linkend="docbook-utils"/>,
98 <xref linkend="gtk-doc"/>,
99 <xref linkend="libxslt"/>,
100 <xref linkend="sane"/>,
101 <ulink url="https://www.argyllcms.com/">ArgyllCMS</ulink>, and
102 <ulink url="https://github.com/scop/bash-completion/">Bash Completion</ulink>
103 </para>
104
105 <para condition="html" role="usernotes">
106 User Notes: <ulink url="&blfs-wiki;/colord"/>
107 </para>
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of Colord</title>
112
113 <para>
114 There should be a dedicated user and group to take control of the colord
115 daemon after it has started. Issue the following commands as the
116 <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>groupadd -g 71 colord &amp;&amp;
120useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
121 -g colord -s /bin/false colord</userinput></screen>
122
123 <!-- https://github.com/hughsie/colord/pull/146 -->
124 <para>
125 Fix a double free causing a build failure on 32-bit x86 and runtime
126 crashes with some monitors:
127 </para>
128
129<screen><userinput>sed '/cmsUnregisterPluginsTHR/d' -i lib/colord/cd-context-lcms.c</userinput></screen>
130
131 <para>
132 Install <application>Colord</application> by running the following
133 commands:
134 </para>
135
136<screen revision="sysv"><userinput>mkdir build &amp;&amp;
137cd build &amp;&amp;
138
139meson setup .. \
140 --prefix=/usr \
141 --buildtype=release \
142 -Ddaemon_user=colord \
143 -Dvapi=true \
144 -Dsystemd=false \
145 -Dlibcolordcompat=true \
146 -Dargyllcms_sensor=false \
147 -Dbash_completion=false \
148 -Ddocs=false \
149 -Dman=false &amp;&amp;
150ninja</userinput></screen>
151
152<screen revision="systemd"><userinput>mkdir build &amp;&amp;
153cd build &amp;&amp;
154
155meson setup .. \
156 --prefix=/usr \
157 --buildtype=release \
158 -Ddaemon_user=colord \
159 -Dvapi=true \
160 -Dsystemd=true \
161 -Dlibcolordcompat=true \
162 -Dargyllcms_sensor=false \
163 -Dbash_completion=false \
164 -Ddocs=false \
165 -Dman=false &amp;&amp;
166ninja</userinput></screen>
167
168 <para>
169 Now, as the <systemitem class="username">root</systemitem> user:
170 </para>
171
172<screen role="root"><userinput>ninja install</userinput></screen>
173
174 <para>
175 To test the results, issue: <command>ninja test</command>.
176 One test, <filename>colord-self-test-daemon</filename>, will fail if the
177 package is already installed. The test suite must be run with the
178 system-wide D-Bus Daemon running.
179 </para>
180
181 </sect2>
182
183 <sect2 role="commands">
184 <title>Command Explanations</title>
185
186 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
187 href="../../xincludes/meson-buildtype-release.xml"/>
188
189 <para>
190 <parameter>-Ddaemon_user=colord</parameter>: This switch is used
191 so the colord daemon will run as an unprivileged user instead of the
192 <systemitem class="username">root</systemitem> user.
193 </para>
194
195 <para>
196 <parameter>-Dvapi=true</parameter>: This switch enables building
197 the <application>Vala</application> bindings. Remove if you don't have
198 <xref linkend="vala"/> installed.
199 </para>
200
201 <para revision="sysv">
202 <parameter>-Dsystemd=false</parameter>: This switch disables
203 support for <application>systemd</application> login in Colord
204 applications.
205 </para>
206
207 <para revision="systemd">
208 <parameter>-Dsystemd=true</parameter>: This switch enables
209 installation of the <application>systemd</application> service.
210 </para>
211
212 <para>
213 <parameter>-Dlibcolordcompat=true</parameter>: This switch enables
214 building a compatibility library for older packages that use
215 <application>Colord</application>.
216 </para>
217
218 <para>
219 <parameter>-Dargyllcms_sensor=false</parameter>: This switch
220 disables the ArgLLCMS sensor driver. Omit if you have
221 <ulink url="https://www.argyllcms.com/">ArgyllCMS</ulink> installed
222 and wish to use it.
223 </para>
224
225 <para>
226 <parameter>-Dbash_completion=false</parameter>: This switch
227 disables Bash Completion support for Colord applications.
228 </para>
229
230 <para>
231 <parameter>-Ddocs=false</parameter>: This switch disables building
232 of documentation. Omit if you have <xref linkend="gtk-doc"/> available.
233 </para>
234
235 <para>
236 <parameter>-Dman=false</parameter>: This switch disables building
237 of man pages. Omit if you have <xref linkend="docbook-utils"/>
238 available. Namespaced versions of the docbook-xsl stylesheets
239 are also required.
240 </para>
241
242 </sect2>
243
244 <sect2 role="content">
245 <title>Contents</title>
246
247 <segmentedlist>
248 <segtitle>Installed Programs</segtitle>
249 <segtitle>Installed Libraries</segtitle>
250 <segtitle>Installed Directories</segtitle>
251
252 <seglistitem>
253 <seg>
254 cd-create-profile,
255 cd-fix-profile,
256 cd-iccdump,
257 cd-it8, and
258 colormgr
259 </seg>
260 <seg>
261 libcolord.so,
262 libcolordcompat.so,
263 libcolordprivate.so, and
264 libcolorhug.so
265 </seg>
266 <seg>
267 /usr/include/colord-1,
268 /usr/lib/colord-{plugins,sensors},
269 /usr/share/color{d},
270 /usr/share/gtk-doc/html/colord, and
271 /var/lib/colord
272 </seg>
273 </seglistitem>
274 </segmentedlist>
275
276 <variablelist>
277 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
278 <?dbfo list-presentation="list"?>
279 <?dbhtml list-presentation="table"?>
280
281 <!-- If the program or library name conflicts (is the same) as the
282 package name, add -prog or -lib to the varlistentry entity id
283 and the 2nd entry of the indexterm zone entity -->
284
285 <varlistentry id="cd-create-profile">
286 <term><command>cd-create-profile</command></term>
287 <listitem>
288 <para>
289 is the Color Manager Profile Creation Tool
290 </para>
291 <indexterm zone="colord cd-create-profile">
292 <primary sortas="b-cd-create-profile">cd-create-profile</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="cd-fix-profile">
298 <term><command>cd-fix-profile</command></term>
299 <listitem>
300 <para>
301 is a tool used to fix metadata in ICC profiles
302 </para>
303 <indexterm zone="colord cd-fix-profile">
304 <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="cd-iccdump">
310 <term><command>cd-iccdump</command></term>
311 <listitem>
312 <para>
313 dumps the contents of an ICC profile as human readable text
314 </para>
315 <indexterm zone="colord cd-iccdump">
316 <primary sortas="b-cd-iccdump">cd-iccdump</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="cd-it8">
322 <term><command>cd-it8</command></term>
323 <listitem>
324 <para>
325 is the Color Manager Testing Tool
326 </para>
327 <indexterm zone="colord cd-it8">
328 <primary sortas="b-cd-it8">cd-it8</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="colormgr">
334 <term><command>colormgr</command></term>
335 <listitem>
336 <para>
337 is a text-mode program that allows you to interact with colord on
338 the command line
339 </para>
340 <indexterm zone="colord colormgr">
341 <primary sortas="b-colormgr">colormgr</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="libcolord.so">
347 <term><filename class="libraryfile">libcolord.so</filename></term>
348 <listitem>
349 <para>
350 contains the <application>Colord</application> API functions
351 </para>
352 <indexterm zone="colord libcolord.so">
353 <primary sortas="c-libcolord.so">libcolord.so</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358 <varlistentry id="libcolordcompat.so">
359 <term><filename class="libraryfile">libcolordcompat.so</filename></term>
360 <listitem>
361 <para>
362 contains legacy API functions for compatibility with older
363 applications
364 </para>
365 <indexterm zone="colord libcolordcompat.so">
366 <primary sortas="c-libcolordcompat.so">libcolordcompat.so</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="libcolordprivate.so">
372 <term><filename class="libraryfile">libcolordprivate.so</filename></term>
373 <listitem>
374 <para>
375 contains internal API functions for the programs included with
376 <application>Colord</application>
377 </para>
378 <indexterm zone="colord libcolordprivate.so">
379 <primary sortas="c-libcolordprivate.so">libcolordprivate.so</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="libcolorhug.so">
385 <term><filename class="libraryfile">libcolorhug.so</filename></term>
386 <listitem>
387 <para>
388 contains a simple display hardware colorimiter
389 </para>
390 <indexterm zone="colord libcolorhug.so">
391 <primary sortas="c-libcolorhug.so">libcolorhug.so</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395 </variablelist>
396 </sect2>
397
398</sect1>
Note: See TracBrowser for help on using the repository browser.